Skip to content
Snippets Groups Projects
Commit ab6bf76a authored by Arie Peterson's avatar Arie Peterson
Browse files

Allow setting custom userbackend pod labels

parent 13a68a9f
No related branches found
No related tags found
1 merge request!44Resolve "Allow setting deployment labels"
Pipeline #7962 failed with stages
in 14 seconds
......@@ -3,8 +3,8 @@ kind: Deployment
metadata:
name: {{ include "single-sign-on.fullname" . }}-userbackend
labels:
{{ include "single-sign-on.labels" . | nindent 4 }}
{{ .Values.userbackend.deploymentLabels | nindent 4 }}
{{- include "single-sign-on.labels" . | nindent 4 }}
{{- toYaml .Values.userbackend.deploymentLabels | nindent 4 }}
spec:
replicas: 1
selector:
......@@ -14,6 +14,7 @@ spec:
metadata:
labels:
app.kubernetes.io/name: {{ include "single-sign-on.name" . }}-userbackend
{{- toYaml .Values.userbackend.podLabels | nindent 8 }}
annotations:
{{- toYaml .Values.userbackend.podAnnotations | nindent 8 }}
spec:
......
......@@ -62,6 +62,7 @@ userbackend:
storageClass: "-"
annotations: {}
deploymentLabels: {}
podLabels: {}
podAnnotations: {}
hydra:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment