Skip to content

Commit

Permalink
Chart labels, annotations, and priority class config (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
wozniakjan authored Dec 5, 2022
1 parent fbf8cf5 commit 594b392
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sapbtp-operator-charts/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
selector:
matchLabels:
control-plane: controller-manager
app.kubernetes.io/instance: sap-btp-operator
app.kubernetes.io/name: sap-btp-operator
template:
metadata:
annotations:
Expand All @@ -20,6 +22,9 @@ spec:
{{- $secretTls := (include (print $.Template.BasePath "/secret-tls.yml") .) -}}
{{- $configSha := (print $configmap $secret $secretTls) | sha256sum }}
checksum/config: {{ $configSha }}
{{- if .Values.manager.annotations }}
{{- toYaml .Values.manager.annotations | nindent 8 }}
{{- end }}
labels:
control-plane: controller-manager
app.kubernetes.io/instance: sap-btp-operator
Expand Down Expand Up @@ -112,6 +117,9 @@ spec:
imagePullSecrets: {{ toYaml .Values.manager.imagePullSecrets | nindent 8 }}
{{- end }}
terminationGracePeriodSeconds: 10
{{- if .Values.manager.priorityClassName }}
priorityClassName: {{ .Values.manager.priorityClassName }}
{{- end }}
volumes:
- name: cert
secret:
Expand Down

0 comments on commit 594b392

Please sign in to comment.