Skip to content

Commit

Permalink
feat(charts): add ingress class
Browse files Browse the repository at this point in the history
add spec.ingressClassName
  • Loading branch information
Thomgrus committed Feb 17, 2022
1 parent 8b04332 commit 5346c34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/candidate/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ metadata:
{{ toYaml .Values.ingress.annotations | indent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.class }}
ingressClassName: {{ .Values.ingress.class }}
{{- end }}
rules:
- host: {{ .Values.ingress.host }}
http:
Expand Down
1 change: 1 addition & 0 deletions charts/candidate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ ingress:
host: ara.test
annotations: {}
tls: {}
class: ""

loadBalancer:
enabled: true
Expand Down

0 comments on commit 5346c34

Please sign in to comment.