mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/memcached] fix: 🔒 Move service-account token auto-mount to pod declaration (#22431)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
@@ -31,4 +31,4 @@ maintainers:
|
||||
name: memcached
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/memcached
|
||||
version: 6.8.1
|
||||
version: 6.9.0
|
||||
|
||||
@@ -142,6 +142,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `containerSecurityContext.allowPrivilegeEscalation` | Set container's Security Context allowPrivilegeEscalation | `false` |
|
||||
| `containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
|
||||
| `containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
|
||||
| `automountServiceAccountToken` | Mount Service Account token in pod | `false` |
|
||||
| `hostAliases` | Add deployment host aliases | `[]` |
|
||||
| `podLabels` | Extra labels for Memcached pods | `{}` |
|
||||
| `podAnnotations` | Annotations for Memcached pods | `{}` |
|
||||
|
||||
@@ -36,6 +36,7 @@ spec:
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- include "memcached.imagePullSecrets" . | nindent 6 }}
|
||||
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
|
||||
{{- if .Values.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -40,6 +40,7 @@ spec:
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- include "memcached.imagePullSecrets" . | nindent 6 }}
|
||||
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
|
||||
{{- if .Values.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -250,6 +250,9 @@ containerSecurityContext:
|
||||
drop: ["ALL"]
|
||||
seccompProfile:
|
||||
type: "RuntimeDefault"
|
||||
## @param automountServiceAccountToken Mount Service Account token in pod
|
||||
##
|
||||
automountServiceAccountToken: false
|
||||
## @param hostAliases Add deployment 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