Adding ingress class name to ingress template (#716)

This commit is contained in:
Tobias Dahlberg
2022-06-22 16:58:45 +02:00
parent 1d341a21d0
commit 8dabca5418
5 changed files with 14 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ database_username: "{{ deployment_type }}"
task_privileged: false
service_type: ClusterIP
ingress_type: none
ingress_class_name: ''
ingress_path: '/'
ingress_path_type: 'Prefix'
# Add annotations to the service account. Specify as literal block. E.g.:

View File

@@ -16,6 +16,9 @@ metadata:
{{ ingress_annotations | indent(width=4) }}
{% endif %}
spec:
{% if ingress_class_name %}
ingressClassName: '{{ ingress_class_name }}'
{% endif %}
rules:
- http:
paths: