Issue #1: Get memcached and rabbitmq deployments running.

This commit is contained in:
Jeff Geerling
2019-11-05 14:02:33 -06:00
parent b9b7114e09
commit da675b7b59
4 changed files with 9 additions and 4 deletions

View File

@@ -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: {}

View File

@@ -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

View File

@@ -9,6 +9,9 @@ metadata:
app: tower-memcached
spec:
replicas: 1
selector:
matchLabels:
app: tower-memcached
template:
metadata:
labels:

View File

@@ -24,7 +24,7 @@ spec:
- name: RABBITMQ_DEFAULT_VHOST
value: awx
- name: RABBITMQ_NODE_PORT
value: 5672
value: '5672'
ports:
- containerPort: 15672
- containerPort: 5672