mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 06:12:54 +00:00
Merge pull request #272 from kimbernator/devel
Add support for custom service labels
This commit is contained in:
@@ -9,6 +9,12 @@ database_username: "{{ deployment_type }}"
|
||||
tower_task_privileged: false
|
||||
tower_ingress_type: none
|
||||
|
||||
# Custom labels for the tower service. Specify as literal block. E.g.:
|
||||
# tower_service_labels: |
|
||||
# environment: non-production
|
||||
# zone: internal
|
||||
tower_service_labels: ''
|
||||
|
||||
# Add annotations to the ingress. Specify as literal block. E.g.:
|
||||
# tower_ingress_annotations: |
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
|
||||
@@ -9,6 +9,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: '{{ meta.name }}'
|
||||
app.kubernetes.io/managed-by: '{{ deployment_type }}-operator'
|
||||
app.kubernetes.io/component: '{{ deployment_type }}'
|
||||
{{ tower_service_labels | indent(width=4) }}
|
||||
{% if tower_ingress_type | lower == 'loadbalancer' and tower_loadbalancer_annotations %}
|
||||
annotations:
|
||||
{{ tower_loadbalancer_annotations | indent(width=4) }}
|
||||
|
||||
Reference in New Issue
Block a user