Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
feat: add ingressClassName (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgametrio authored Mar 13, 2024
1 parent 80e3e14 commit 1940ce5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/values-complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ metadata:
service:
name: complete
ingress:
className: alb
hosts:
- www.example.com
- doc.example.com
Expand Down
3 changes: 3 additions & 0 deletions templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className }}
{{- end}}
{{- if .Values.ingress.tls }}
tls:
- hosts:
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ service:

# Activated by setting at least one host
ingress:
className:
annotations:
hosts: []
paths: ["/"]
Expand Down

0 comments on commit 1940ce5

Please sign in to comment.