Skip to content

Commit

Permalink
BC-5163 - change ingress class seting to spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Sep 19, 2023
1 parent ef8bc3c commit 71f0a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/superhero-dashboard/templates/ingress.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ metadata:
name: {{ NAMESPACE }}-shd-ingress
namespace: {{ NAMESPACE }}
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-redirect: "{{ TLS_ENABELD|default("false") }}"
# type of authentication
nginx.ingress.kubernetes.io/auth-type: basic
Expand All @@ -18,6 +17,7 @@ metadata:
{% endif %}

spec:
ingressClassName: nginx
{% if CLUSTER_ISSUER is defined or (TLS_ENABELD is defined and TLS_ENABELD|bool) %}
tls:
- hosts:
Expand Down

0 comments on commit 71f0a0b

Please sign in to comment.