Skip to content

Commit

Permalink
extend ingress with optional config: spec.ingressClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
chrira committed May 1, 2023
1 parent 8c5db2d commit f786102
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/acend-training-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ description: Deploy acend training pages
type: application
maintainers:
- name: acend
version: 0.1.8
version: 0.1.9
appVersion: 1.0.0
3 changes: 3 additions & 0 deletions charts/acend-training-chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .ingress.ingressClassName }}
ingressClassName: {{ .ingress.ingressClassName}}
{{- end }}
tls:
{{- if .ingress.emptyTLS }}
- {}
Expand Down
4 changes: 2 additions & 2 deletions charts/acend-training-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ acendTraining:
podAnnotations: {}
ingress:
annotations:
kubernetes.io/ingress.class: nginx-public
kubernetes.io/tls-acme: "true"
ingressClassName: nginx-public
useDefaultSecret: true
appname: hugo-training-template
domain: k8s.puzzle.ch
domain: puzzle.ch
# domainmain: puzzle.ch

nameOverride: ""
Expand Down

0 comments on commit f786102

Please sign in to comment.