Skip to content

Commit

Permalink
Allow user-defined labels to be specified for the ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
latc0 committed Nov 8, 2024
1 parent 0b41093 commit 11a5f40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ metadata:
namespace: {{ $.Release.Namespace }}
labels:
{{- include "sealed-secrets-web.labels" . | nindent 4 }}
{{- with .Values.ingress.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
3 changes: 3 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ ingress:
# nginx.ingress.kubernetes.io/use-regex: "true"
# nginx.ingress.kubernetes.io/ssl-redirect: 'true'

# -- Ingress labels
labels: {}

# -- Ingress hosts
hosts:
- paths:
Expand Down

0 comments on commit 11a5f40

Please sign in to comment.