Merge pull request #197 from RylandDeGregory/rylanddegregory-patch-1

Update docs and service Template for LoadBalancer ingress type
This commit is contained in:
Shane McDonald
2021-04-08 12:45:05 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

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

View File

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