File tree Expand file tree Collapse file tree 5 files changed +18
-1
lines changed
deploy/helm/spark-k8s-operator Expand file tree Collapse file tree 5 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
5
5
## [ Unreleased]
6
6
7
+ ### Added
8
+
9
+ - Helm: support labels in values.yaml ([ #344 ] ).
10
+
7
11
### Changed
8
12
9
13
- Various documentation of the CRD ([ #319 ] ).
@@ -17,6 +21,7 @@ All notable changes to this project will be documented in this file.
17
21
18
22
[ #313 ] : https://github.com/stackabletech/spark-k8s-operator/pull/313
19
23
[ #319 ] : https://github.com/stackabletech/spark-k8s-operator/pull/319
24
+ [ #344 ] : https://github.com/stackabletech/spark-k8s-operator/pull/344
20
25
21
26
## [ 23.11.0] - 2023-11-24
22
27
Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ Selector labels
55
55
{ {- define " operator.selectorLabels" -} }
56
56
app.kubernetes.io/name: { { include " operator.appname" . } }
57
57
app.kubernetes.io/instance: { { .Release.Name } }
58
+ { {- with .Values.labels } }
59
+ { { toYaml . } }
60
+ { {- end } }
58
61
{ {- end } }
59
62
60
63
{ {/*
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1
3
3
kind : ClusterRole
4
4
metadata :
5
5
name : {{ include "operator.fullname" . }}-clusterrole
6
+ labels :
7
+ {{- include "operator.labels" . | nindent 4 }}
6
8
rules :
7
9
- apiGroups :
8
10
- " "
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ apiVersion: security.openshift.io/v1
4
4
kind : SecurityContextConstraints
5
5
metadata :
6
6
name : spark-k8s-scc
7
+ labels :
8
+ {{- include "operator.labels" . | nindent 4 }}
7
9
annotations :
8
10
kubernetes.io/description : |-
9
11
This resource is derived from hostmount-anyuid. It provides all the features of the
@@ -47,6 +49,8 @@ apiVersion: rbac.authorization.k8s.io/v1
47
49
kind : ClusterRole
48
50
metadata :
49
51
name : {{ include "operator.name" . }}-clusterrole
52
+ labels :
53
+ {{- include "operator.labels" . | nindent 4 }}
50
54
rules :
51
55
- apiGroups :
52
56
- " "
Original file line number Diff line number Diff line change 3
3
image :
4
4
repository : docker.stackable.tech/stackable/spark-k8s-operator
5
5
pullPolicy : IfNotPresent
6
+ pullSecrets : []
6
7
7
- imagePullSecrets : []
8
8
nameOverride : " "
9
9
fullnameOverride : " "
10
10
@@ -19,6 +19,9 @@ serviceAccount:
19
19
20
20
podAnnotations : {}
21
21
22
+ # Provide additional labels which get attached to all deployed resources
23
+ labels : {}
24
+
22
25
podSecurityContext : {}
23
26
# fsGroup: 2000
24
27
You can’t perform that action at this time.
0 commit comments