Skip to content

Commit

Permalink
🐛 fix(chart): switch from ingress annotation to ingressClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
reg0bs authored and W3D3 committed Feb 5, 2025
1 parent 6b6f4f2 commit b450d8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ metadata:
{{- .Values.aws.ingress.annotations | toYaml | nindent 4 }}
{{ end }}
spec:
{{ if .Values.aws.enabled }}
ingressClassName: alb
{{ end }}
rules:
{{ if .Values.localDev.enabled }}
- host: unguard.kube
Expand Down
1 change: 0 additions & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ aws:
enabled: false
ingress:
annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/scheme: internal
alb.ingress.kubernetes.io/load-balancer-name: "unguard-lb"
Expand Down

0 comments on commit b450d8c

Please sign in to comment.