mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/zookeeper] fix: 🔒 Move service-account token auto-mount to pod declaration (#22470)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> Signed-off-by: Javier J. Salmerón-García <jsalmeron@vmware.com>
This commit is contained in:
@@ -28,4 +28,4 @@ maintainers:
|
|||||||
name: zookeeper
|
name: zookeeper
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/bitnami/charts/tree/main/bitnami/zookeeper
|
- https://github.com/bitnami/charts/tree/main/bitnami/zookeeper
|
||||||
version: 12.5.1
|
version: 12.6.0
|
||||||
|
|||||||
@@ -174,6 +174,7 @@ The command removes all the Kubernetes components associated with the chart and
|
|||||||
| `containerSecurityContext.allowPrivilegeEscalation` | Set container's Security Context allowPrivilegeEscalation | `false` |
|
| `containerSecurityContext.allowPrivilegeEscalation` | Set container's Security Context allowPrivilegeEscalation | `false` |
|
||||||
| `containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
|
| `containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
|
||||||
| `containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
|
| `containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
|
||||||
|
| `automountServiceAccountToken` | Mount Service Account token in pod | `false` |
|
||||||
| `hostAliases` | ZooKeeper pods host aliases | `[]` |
|
| `hostAliases` | ZooKeeper pods host aliases | `[]` |
|
||||||
| `podLabels` | Extra labels for ZooKeeper pods | `{}` |
|
| `podLabels` | Extra labels for ZooKeeper pods | `{}` |
|
||||||
| `podAnnotations` | Annotations for ZooKeeper pods | `{}` |
|
| `podAnnotations` | Annotations for ZooKeeper pods | `{}` |
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ spec:
|
|||||||
enableServiceLinks: {{ .Values.enableServiceLinks }}
|
enableServiceLinks: {{ .Values.enableServiceLinks }}
|
||||||
serviceAccountName: {{ template "zookeeper.serviceAccountName" . }}
|
serviceAccountName: {{ template "zookeeper.serviceAccountName" . }}
|
||||||
{{- include "zookeeper.imagePullSecrets" . | nindent 6 }}
|
{{- include "zookeeper.imagePullSecrets" . | nindent 6 }}
|
||||||
|
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
|
||||||
{{- if .Values.hostAliases }}
|
{{- if .Values.hostAliases }}
|
||||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
|
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -360,6 +360,9 @@ containerSecurityContext:
|
|||||||
drop: ["ALL"]
|
drop: ["ALL"]
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: "RuntimeDefault"
|
type: "RuntimeDefault"
|
||||||
|
## @param automountServiceAccountToken Mount Service Account token in pod
|
||||||
|
##
|
||||||
|
automountServiceAccountToken: false
|
||||||
## @param hostAliases ZooKeeper pods host aliases
|
## @param hostAliases ZooKeeper pods host aliases
|
||||||
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||||
##
|
##
|
||||||
|
|||||||
Reference in New Issue
Block a user