Skip to content

Commit

Permalink
Allow labels to be set on ingress
Browse files Browse the repository at this point in the history
Signed-off-by: Justin S <[email protected]>
  • Loading branch information
jseiser committed Jan 12, 2024
1 parent c73670a commit fe43eb7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/policy-reporter/charts/ui/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ metadata:
namespace: {{ include "ui.namespace" . }}
labels:
{{- include "ui.labels" . | nindent 4 }}
{{- if .Values.ingress.labels }}
{{- with .Values.ingress.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- if or .Values.annotations .Values.ingress.annotations }}
annotations:
{{- with .Values.ingress.annotations }}
Expand Down
5 changes: 5 additions & 0 deletions charts/policy-reporter/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ metadata:
namespace: {{ include "policyreporter.namespace" . }}
labels:
{{- include "policyreporter.labels" . | nindent 4 }}
{{- if .Values.ingress.labels }}
{{- with .Values.ingress.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- if or .Values.annotations .Values.ingress.annotations }}
annotations:
{{- with .Values.ingress.annotations }}
Expand Down

0 comments on commit fe43eb7

Please sign in to comment.