File tree 8 files changed +14
-6
lines changed
8 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ command:
38
38
# or the one randomly defined by openshift (larger values). Otherwise, the chart is still using the default value.
39
39
exec : if [ $(id -u) -lt {{ $uid }} ] || [ $(id -G | awk '{print $2}') -lt {{ $gid }} ]; then exit 1; fi
40
40
exit-status : 0
41
- {{ if .Vars.master.serviceAccount. automountServiceAccountToken }}
41
+ {{ if .Vars.master.automountServiceAccountToken }}
42
42
check-sa :
43
43
exec : cat /var/run/secrets/kubernetes.io/serviceaccount/token | cut -d '.' -f 2 | xargs -I '{}' echo '{}====' | fold -w 4 | sed '$ d' | tr -d '\n' | base64 -d
44
44
exit-status : 0
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ master:
25
25
type : LoadBalancer
26
26
serviceAccount :
27
27
create : true
28
- automountServiceAccountToken : true
28
+ automountServiceAccountToken : true
29
29
replica :
30
30
replicaCount : 3
31
31
containerPorts :
Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ maintainers:
34
34
name : redis
35
35
sources :
36
36
- https://github.com/bitnami/charts/tree/main/bitnami/redis
37
- version : 18.7.1
37
+ version : 18.8.0
Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ The command removes all the Kubernetes components associated with the chart and
180
180
| ` master.updateStrategy.type ` | Redis® ; master statefulset strategy type | ` RollingUpdate ` |
181
181
| ` master.minReadySeconds ` | How many seconds a pod needs to be ready before killing the next, during update | ` 0 ` |
182
182
| ` master.priorityClassName ` | Redis® ; master pods' priorityClassName | ` "" ` |
183
+ | ` master.automountServiceAccountToken ` | Mount Service Account token in pod | ` false ` |
183
184
| ` master.hostAliases ` | Redis® ; master pods host aliases | ` [] ` |
184
185
| ` master.podLabels ` | Extra labels for Redis® ; master pods | ` {} ` |
185
186
| ` master.podAnnotations ` | Annotations for Redis® ; master pods | ` {} ` |
@@ -298,6 +299,7 @@ The command removes all the Kubernetes components associated with the chart and
298
299
| ` replica.minReadySeconds ` | How many seconds a pod needs to be ready before killing the next, during update | ` 0 ` |
299
300
| ` replica.priorityClassName ` | Redis® ; replicas pods' priorityClassName | ` "" ` |
300
301
| ` replica.podManagementPolicy ` | podManagementPolicy to manage scaling operation of %%MAIN_CONTAINER_NAME%% pods | ` "" ` |
302
+ | ` replica.automountServiceAccountToken ` | Mount Service Account token in pod | ` false ` |
301
303
| ` replica.hostAliases ` | Redis® ; replicas pods host aliases | ` [] ` |
302
304
| ` replica.podLabels ` | Extra labels for Redis® ; replicas pods | ` {} ` |
303
305
| ` replica.podAnnotations ` | Annotations for Redis® ; replicas pods | ` {} ` |
Original file line number Diff line number Diff line change 65
65
securityContext : {{- omit .Values.master.podSecurityContext "enabled" | toYaml | nindent 8 }}
66
66
{{- end }}
67
67
serviceAccountName : {{ template "redis.masterServiceAccountName" . }}
68
- automountServiceAccountToken : {{ .Values.master.serviceAccount. automountServiceAccountToken }}
68
+ automountServiceAccountToken : {{ .Values.master.automountServiceAccountToken }}
69
69
{{- if .Values.master.priorityClassName }}
70
70
priorityClassName : {{ .Values.master.priorityClassName | quote }}
71
71
{{- end }}
Original file line number Diff line number Diff line change 63
63
securityContext : {{- omit .Values.replica.podSecurityContext "enabled" | toYaml | nindent 8 }}
64
64
{{- end }}
65
65
serviceAccountName : {{ template "redis.replicaServiceAccountName" . }}
66
- automountServiceAccountToken : {{ .Values.replica.serviceAccount. automountServiceAccountToken }}
66
+ automountServiceAccountToken : {{ .Values.replica.automountServiceAccountToken }}
67
67
{{- if .Values.replica.priorityClassName }}
68
68
priorityClassName : {{ .Values.replica.priorityClassName | quote }}
69
69
{{- end }}
Original file line number Diff line number Diff line change @@ -54,13 +54,13 @@ spec:
54
54
{{- end }}
55
55
spec :
56
56
{{- include "redis.imagePullSecrets" . | nindent 6 }}
57
+ automountServiceAccountToken : {{ .Values.replica.automountServiceAccountToken }}
57
58
{{- if .Values.replica.hostAliases }}
58
59
hostAliases : {{- include "common.tplvalues.render" (dict "value" .Values.replica.hostAliases "context" $) | nindent 8 }}
59
60
{{- end }}
60
61
{{- if .Values.replica.podSecurityContext.enabled }}
61
62
securityContext : {{- omit .Values.replica.podSecurityContext "enabled" | toYaml | nindent 8 }}
62
63
{{- end }}
63
- automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }}
64
64
serviceAccountName : {{ template "redis.serviceAccountName" . }}
65
65
{{- if .Values.replica.priorityClassName }}
66
66
priorityClassName : {{ .Values.replica.priorityClassName | quote }}
Original file line number Diff line number Diff line change @@ -333,6 +333,9 @@ master:
333
333
# # @param master.priorityClassName Redis® master pods' priorityClassName
334
334
# #
335
335
priorityClassName : " "
336
+ # # @param master.automountServiceAccountToken Mount Service Account token in pod
337
+ # #
338
+ automountServiceAccountToken : false
336
339
# # @param master.hostAliases Redis® master pods host aliases
337
340
# # https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
338
341
# #
@@ -792,6 +795,9 @@ replica:
792
795
# # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
793
796
# #
794
797
podManagementPolicy : " "
798
+ # # @param replica.automountServiceAccountToken Mount Service Account token in pod
799
+ # #
800
+ automountServiceAccountToken : false
795
801
# # @param replica.hostAliases Redis® replicas pods host aliases
796
802
# # https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
797
803
# #
You can’t perform that action at this time.
0 commit comments