File tree 5 files changed +17
-3
lines changed
deploy/helm/druid-operator 5 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,14 @@ All notable changes to this project will be documented in this file.
7
7
### Added
8
8
9
9
- Various documentation of the CRD ([ #494 ] ).
10
+ - Helm: support labels in values.yaml ([ #509 ] ).
10
11
11
12
### Updated
12
13
13
14
- ` operator-rs ` ` 0.56.1 ` -> ` 0.57.0 ` ([ #494 ] ).
14
15
15
16
[ #494 ] : https://github.com/stackabletech/druid-operator/pull/494
17
+ [ #509 ] : https://github.com/stackabletech/druid-operator/pull/509
16
18
17
19
## [ 23.11.0] - 2023-11-24
18
20
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 23
23
labels :
24
24
{{- include "operator.selectorLabels" . | nindent 8 }}
25
25
spec :
26
- {{- with .Values.imagePullSecrets }}
26
+ {{- with .Values.image.pullSecrets }}
27
27
imagePullSecrets :
28
28
{{- toYaml . | nindent 8 }}
29
29
{{- end }}
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
- " "
@@ -135,6 +137,8 @@ apiVersion: security.openshift.io/v1
135
137
kind : SecurityContextConstraints
136
138
metadata :
137
139
name : druid-scc
140
+ labels :
141
+ {{- include "operator.labels" . | nindent 4 }}
138
142
annotations :
139
143
kubernetes.io/description : |-
140
144
This resource is derived from hostmount-anyuid. It provides all the features of the
@@ -178,6 +182,8 @@ apiVersion: rbac.authorization.k8s.io/v1
178
182
kind : ClusterRole
179
183
metadata :
180
184
name : {{ include "operator.name" . }}-clusterrole
185
+ labels :
186
+ {{- include "operator.labels" . | nindent 4 }}
181
187
rules :
182
188
- apiGroups :
183
189
- " "
@@ -202,4 +208,4 @@ rules:
202
208
- druid-scc
203
209
verbs :
204
210
- use
205
- {{ end }}
211
+ {{ end }}
Original file line number Diff line number Diff line change 3
3
image :
4
4
repository : docker.stackable.tech/stackable/druid-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