mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-06 13:22:50 +00:00
Issue #1: Get memcached and rabbitmq deployments running.
This commit is contained in:
@@ -40,7 +40,9 @@ spec:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: OPERATOR_NAME
|
||||
value: "tower-operator"
|
||||
value: tower-operator
|
||||
# - name: ANSIBLE_VERBOSITY
|
||||
# value: '4'
|
||||
volumes:
|
||||
- name: runner
|
||||
emptyDir: {}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
- name: Ensure configured Tower resources exist in the cluster.
|
||||
k8s:
|
||||
definition: "{{ lookup('template', item) | from_yaml }}"
|
||||
definition: "{{ lookup('template', item) | from_yaml_all | list }}"
|
||||
with_items:
|
||||
- tower_postgres.yaml.j2
|
||||
- tower_memcached.yaml.j2
|
||||
- tower_postgres.yaml.j2
|
||||
- tower_rabbitmq.yaml.j2
|
||||
|
||||
@@ -9,6 +9,9 @@ metadata:
|
||||
app: tower-memcached
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: tower-memcached
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
||||
@@ -24,7 +24,7 @@ spec:
|
||||
- name: RABBITMQ_DEFAULT_VHOST
|
||||
value: awx
|
||||
- name: RABBITMQ_NODE_PORT
|
||||
value: 5672
|
||||
value: '5672'
|
||||
ports:
|
||||
- containerPort: 15672
|
||||
- containerPort: 5672
|
||||
|
||||
Reference in New Issue
Block a user