File tree Expand file tree Collapse file tree 5 files changed +18
-2
lines changed
deploy/helm/listener-operator Expand file tree Collapse file tree 5 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,16 @@ 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 ([ #142 ] ).
10
+
7
11
### Fixed
8
12
9
13
- Replace "Release.Name" with "operator.fullname" in Helm resource names ([ #131 ] )
10
14
11
15
[ #131 ] : https://github.com/stackabletech/listener-operator/pull/131
16
+ [ #142 ] : https://github.com/stackabletech/listener-operator/pull/142
12
17
13
18
## [ 23.11.0] - 2023-11-24
14
19
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 20
20
app.kubernetes.io/role : node
21
21
{{- include "operator.selectorLabels" . | nindent 8 }}
22
22
spec :
23
- {{- with .Values.imagePullSecrets }}
23
+ {{- with .Values.image.pullSecrets }}
24
24
imagePullSecrets :
25
25
{{- toYaml . | nindent 8 }}
26
26
{{- end }}
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 : listener-scc
7
+ labels :
8
+ {{- include "operator.labels" . | nindent 4 }}
7
9
annotations :
8
10
kubernetes.io/description :
9
11
listener-scc includes the minimum required privileges to run the listener-operator.
@@ -45,6 +47,8 @@ apiVersion: rbac.authorization.k8s.io/v1
45
47
kind : ClusterRole
46
48
metadata :
47
49
name : {{ include "operator.fullname" . }}-clusterrole
50
+ labels :
51
+ {{- include "operator.labels" . | nindent 4 }}
48
52
rules :
49
53
- apiGroups :
50
54
- " "
Original file line number Diff line number Diff line change 3
3
image :
4
4
repository : docker.stackable.tech/stackable/listener-operator
5
5
pullPolicy : IfNotPresent
6
+ pullSecrets : []
7
+
6
8
csiProvisioner :
7
9
image :
8
10
repository : docker.stackable.tech/k8s/sig-storage/csi-provisioner
@@ -28,7 +30,6 @@ csiNodeDriverRegistrar:
28
30
cpu : 100m
29
31
memory : 128Mi
30
32
31
- imagePullSecrets : []
32
33
nameOverride : " "
33
34
fullnameOverride : " "
34
35
@@ -43,6 +44,9 @@ serviceAccount:
43
44
44
45
podAnnotations : {}
45
46
47
+ # Provide additional labels which get attached to all deployed resources
48
+ labels : {}
49
+
46
50
podSecurityContext : {}
47
51
# fsGroup: 2000
48
52
You can’t perform that action at this time.
0 commit comments