Skip to content

Commit

Permalink
add ingress class
Browse files Browse the repository at this point in the history
  • Loading branch information
Syntax3rror404 committed Jan 11, 2024
1 parent 2d441e6 commit a890cb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ metadata:
annotations:
{{- toYaml .Values.ingress.annotations | nindent 4 }}
spec:
ingressClassName: nginx-example
rules:
{{- range .Values.ingress.hosts }}
{{ .Values.ingress.class }}
- host: {{ .host }}
http:
paths:
Expand Down
1 change: 1 addition & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ configMap:
ingress:
enabled: false
class: ""
annotations: {}
hosts:
- host: slides.example.com
Expand Down

0 comments on commit a890cb8

Please sign in to comment.