File tree Expand file tree Collapse file tree 9 files changed +42
-11
lines changed
Expand file tree Collapse file tree 9 files changed +42
-11
lines changed Original file line number Diff line number Diff line change 1717 selfSigner :
1818 enabled : false
1919 caProvided : false
20+
21+ statefulset :
22+ serviceAccount :
23+ create : false
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
66 name : cockroachdb-init
77 namespace : " unhelm-namespace-placeholder"
88 labels :
9- helm.sh/chart : cockroachdb-11.0.3
9+ helm.sh/chart : cockroachdb-11.2.2
1010 app.kubernetes.io/name : cockroachdb
1111 app.kubernetes.io/instance : " cockroachdb"
1212 app.kubernetes.io/managed-by : " Helm"
@@ -22,11 +22,19 @@ spec:
2222 app.kubernetes.io/instance : " cockroachdb"
2323 app.kubernetes.io/component : init
2424 spec :
25+ securityContext :
26+ seccompProfile :
27+ type : " RuntimeDefault"
28+ runAsGroup : 1000
29+ runAsUser : 1000
30+ fsGroup : 1000
31+ runAsNonRoot : true
2532 restartPolicy : OnFailure
2633 terminationGracePeriodSeconds : 0
34+ serviceAccountName : default
2735 containers :
2836 - name : cluster-init
29- image : " cockroachdb/cockroach:v23.1.4 "
37+ image : " cockroachdb/cockroach:v23.1.12 "
3038 imagePullPolicy : " IfNotPresent"
3139 # Run the command in an `while true` loop because this Job is bound
3240 # to come up before the CockroachDB Pods (due to the time needed to
6472
6573 initCluster;
6674 env :
75+ securityContext :
76+ allowPrivilegeEscalation : false
77+ capabilities :
78+ drop : ["ALL"]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
66 name : cockroachdb-budget
77 namespace : " unhelm-namespace-placeholder"
88 labels :
9- helm.sh/chart : cockroachdb-11.0.3
9+ helm.sh/chart : cockroachdb-11.2.2
1010 app.kubernetes.io/name : cockroachdb
1111 app.kubernetes.io/instance : " cockroachdb"
1212 app.kubernetes.io/managed-by : " Helm"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ metadata:
1010 name : cockroachdb
1111 namespace : " unhelm-namespace-placeholder"
1212 labels :
13- helm.sh/chart : cockroachdb-11.0.3
13+ helm.sh/chart : cockroachdb-11.2.2
1414 app.kubernetes.io/name : cockroachdb
1515 app.kubernetes.io/instance : " cockroachdb"
1616 app.kubernetes.io/managed-by : " Helm"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ metadata:
99 name : cockroachdb-public
1010 namespace : " unhelm-namespace-placeholder"
1111 labels :
12- helm.sh/chart : cockroachdb-11.0.3
12+ helm.sh/chart : cockroachdb-11.2.2
1313 app.kubernetes.io/name : cockroachdb
1414 app.kubernetes.io/instance : " cockroachdb"
1515 app.kubernetes.io/managed-by : " Helm"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
66 name : cockroachdb
77 namespace : " unhelm-namespace-placeholder"
88 labels :
9- helm.sh/chart : cockroachdb-11.0.3
9+ helm.sh/chart : cockroachdb-11.2.2
1010 app.kubernetes.io/name : cockroachdb
1111 app.kubernetes.io/instance : " cockroachdb"
1212 app.kubernetes.io/managed-by : " Helm"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
66 name : cockroachdb
77 namespace : " unhelm-namespace-placeholder"
88 labels :
9- helm.sh/chart : cockroachdb-11.0.3
9+ helm.sh/chart : cockroachdb-11.2.2
1010 app.kubernetes.io/name : cockroachdb
1111 app.kubernetes.io/instance : " cockroachdb"
1212 app.kubernetes.io/managed-by : " Helm"
2929 app.kubernetes.io/instance : " cockroachdb"
3030 app.kubernetes.io/component : cockroachdb
3131 spec :
32+ serviceAccountName : default
3233 affinity :
3334 podAntiAffinity :
3435 preferredDuringSchedulingIgnoredDuringExecution :
5455 terminationGracePeriodSeconds : 60
5556 containers :
5657 - name : db
57- image : " cockroachdb/cockroach:v23.1.4 "
58+ image : " cockroachdb/cockroach:v23.1.12 "
5859 imagePullPolicy : " IfNotPresent"
5960 args :
6061 - shell
@@ -115,10 +116,24 @@ spec:
115116 initialDelaySeconds : 10
116117 periodSeconds : 5
117118 failureThreshold : 2
119+ securityContext :
120+ allowPrivilegeEscalation : false
121+ capabilities :
122+ drop :
123+ - ALL
124+ privileged : false
125+ readOnlyRootFilesystem : true
118126 volumes :
119127 - name : datadir
120128 persistentVolumeClaim :
121129 claimName : datadir
130+ securityContext :
131+ seccompProfile :
132+ type : " RuntimeDefault"
133+ fsGroup : 1000
134+ runAsGroup : 1000
135+ runAsUser : 1000
136+ runAsNonRoot : true
122137 volumeClaimTemplates :
123138 - metadata :
124139 name : datadir
Original file line number Diff line number Diff line change 1111 restartPolicy : Never
1212 containers :
1313 - name : client-test
14- image : " cockroachdb/cockroach:v23.1.4 "
14+ image : " cockroachdb/cockroach:v23.1.12 "
1515 imagePullPolicy : " IfNotPresent"
1616 command :
1717 - /cockroach/cockroach
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Note the following instances of namespace strings that Kustomize won't replace
1010 value: cockroachdb.unhelm-namespace-placeholder.svc.cluster.local
1111 - name: COCKROACH_CHANNEL
1212 value: kubernetes-helm
13- image: cockroachdb/cockroach:v23.1.4
13+ image: cockroachdb/cockroach:v23.1.12
1414 imagePullPolicy: IfNotPresent
1515 livenessProbe:
1616--
@@ -36,4 +36,4 @@ Note the following instances of namespace strings that Kustomize won't replace
3636 - "26257"
3737 - -e
3838 - SHOW DATABASES;
39- image: cockroachdb/cockroach:v23.1.4
39+ image: cockroachdb/cockroach:v23.1.12
You can’t perform that action at this time.
0 commit comments