Skip to content

Commit bf89202

Browse files
committed
Update templated files to rev 2b73b32 (#96)
Automatically created PR based on commit 2b73b32beb75a63600e50a962c50b473fda62021 in stackabletech/operator-templating repo. Triggered by: Manual run triggered by: teozkr with message [Allow using operator charts as dependencies, note that this will require the equivalent change to be made for downstream charts]
1 parent bba639e commit bf89202

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

deploy/helm/spark-k8s-operator/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ data:
44
{{ (.Files.Glob "configs/*").AsConfig | indent 2 }}
55
kind: ConfigMap
66
metadata:
7-
name: {{ .Release.Name }}-configmap
7+
name: {{ include "operator.fullname" . }}-configmap
88
labels:
99
{{- include "operator.labels" . | nindent 4 }}

deploy/helm/spark-k8s-operator/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: apps/v1
33
kind: Deployment
44
metadata:
5-
name: {{ .Release.Name }}-deployment
5+
name: {{ include "operator.fullname" . }}-deployment
66
labels:
77
{{- include "operator.labels" . | nindent 4 }}
88
spec:
@@ -26,7 +26,7 @@ spec:
2626
imagePullSecrets:
2727
{{- toYaml . | nindent 8 }}
2828
{{- end }}
29-
serviceAccountName: {{ .Release.Name }}-serviceaccount
29+
serviceAccountName: {{ include "operator.fullname" . }}-serviceaccount
3030
securityContext:
3131
{{- toYaml .Values.podSecurityContext | nindent 8 }}
3232
containers:
@@ -43,7 +43,7 @@ spec:
4343
volumes:
4444
- name: config-spec
4545
configMap:
46-
name: {{ .Release.Name }}-configmap
46+
name: {{ include "operator.fullname" . }}-configmap
4747
{{- with .Values.nodeSelector }}
4848
nodeSelector:
4949
{{- toYaml . | nindent 8 }}

deploy/helm/spark-k8s-operator/templates/serviceaccount.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
apiVersion: v1
44
kind: ServiceAccount
55
metadata:
6-
name: {{ .Release.Name }}-serviceaccount
6+
name: {{ include "operator.fullname" . }}-serviceaccount
77
labels:
88
{{- include "operator.labels" . | nindent 4 }}
99
{{- with .Values.serviceAccount.annotations }}
@@ -15,15 +15,15 @@ apiVersion: rbac.authorization.k8s.io/v1
1515
# This cluster role binding allows anyone in the "manager" group to read secrets in any namespace.
1616
kind: ClusterRoleBinding
1717
metadata:
18-
name: {{ .Release.Name }}-clusterrolebinding
18+
name: {{ include "operator.fullname" . }}-clusterrolebinding
1919
labels:
2020
{{- include "operator.labels" . | nindent 4 }}
2121
subjects:
2222
- kind: ServiceAccount
23-
name: {{ .Release.Name }}-serviceaccount
23+
name: {{ include "operator.fullname" . }}-serviceaccount
2424
namespace: {{ .Release.Namespace }}
2525
roleRef:
2626
kind: ClusterRole
27-
name: {{ .Release.Name }}-clusterrole
27+
name: {{ include "operator.fullname" . }}-clusterrole
2828
apiGroup: rbac.authorization.k8s.io
2929
{{- end }}

0 commit comments

Comments
 (0)