diff --git a/README.md b/README.md index 1ff18e97..1920685c 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ spec: spec: ... tower_ingress_type: LoadBalancer - tower_ingress_protocol: http + tower_loadbalancer_protocol: http ``` #### TLS Termination @@ -267,7 +267,7 @@ spec: tower_image: myorg/my-custom-awx tower_image_pull_policy: Always tower_image_pull_secret: pull_secret_name - tower_ee_images: + tower_ee_images: - name: my-custom-awx-ee image: myorg/my-custom-awx-ee ``` diff --git a/roles/installer/templates/tower_service.yaml.j2 b/roles/installer/templates/tower_service.yaml.j2 index 7e2e8a1b..321a5909 100644 --- a/roles/installer/templates/tower_service.yaml.j2 +++ b/roles/installer/templates/tower_service.yaml.j2 @@ -9,7 +9,7 @@ metadata: app.kubernetes.io/part-of: '{{ meta.name }}' app.kubernetes.io/managed-by: awx-operator app.kubernetes.io/component: awx -{% if tower_ingress_type | lower == 'loadbalancer' %} +{% if tower_ingress_type | lower == 'loadbalancer' and tower_loadbalancer_annotations %} annotations: {{ tower_loadbalancer_annotations | indent(width=4) }} {% endif %}