mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/spark] fix: 🔒 Move service-account token auto-mount to pod declaration (#22462)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
@@ -27,4 +27,4 @@ maintainers:
|
||||
name: spark
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/spark
|
||||
version: 8.2.1
|
||||
version: 8.3.0
|
||||
|
||||
@@ -102,6 +102,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `master.containerPorts.http` | Specify the port where the web interface will listen on the master over HTTP | `8080` |
|
||||
| `master.containerPorts.https` | Specify the port where the web interface will listen on the master over HTTPS | `8480` |
|
||||
| `master.containerPorts.cluster` | Specify the port where the master listens to communicate with workers | `7077` |
|
||||
| `master.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
|
||||
| `master.hostAliases` | Deployment pod host aliases | `[]` |
|
||||
| `master.extraContainerPorts` | Specify the port where the running jobs inside the masters listens | `[]` |
|
||||
| `master.daemonMemoryLimit` | Set the memory limit for the master daemon | `""` |
|
||||
@@ -181,6 +182,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `worker.containerPorts.http` | Specify the port where the web interface will listen on the worker over HTTP | `8080` |
|
||||
| `worker.containerPorts.https` | Specify the port where the web interface will listen on the worker over HTTPS | `8480` |
|
||||
| `worker.containerPorts.cluster` | Specify the port where the worker listens to communicate with workers | `""` |
|
||||
| `worker.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
|
||||
| `worker.hostAliases` | Add deployment host aliases | `[]` |
|
||||
| `worker.extraContainerPorts` | Specify the port where the running jobs inside the workers listens | `[]` |
|
||||
| `worker.daemonMemoryLimit` | Set the memory limit for the worker daemon | `""` |
|
||||
|
||||
@@ -47,6 +47,7 @@ spec:
|
||||
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.master.podAntiAffinityPreset "component" "master" "customLabels" $podLabels "context" $) | nindent 10 }}
|
||||
nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.master.nodeAffinityPreset.type "key" .Values.master.nodeAffinityPreset.key "values" .Values.master.nodeAffinityPreset.values) | nindent 10 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.master.automountServiceAccountToken }}
|
||||
{{- if .Values.master.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.master.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -48,6 +48,7 @@ spec:
|
||||
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.worker.podAntiAffinityPreset "component" "worker" "customLabels" $podLabels "context" $) | nindent 10 }}
|
||||
nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.worker.nodeAffinityPreset.type "key" .Values.worker.nodeAffinityPreset.key "values" .Values.worker.nodeAffinityPreset.values) | nindent 10 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.worker.automountServiceAccountToken }}
|
||||
{{- if .Values.worker.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.worker.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -136,6 +136,9 @@ master:
|
||||
http: 8080
|
||||
https: 8480
|
||||
cluster: 7077
|
||||
## @param master.automountServiceAccountToken Mount Service Account token in pod
|
||||
##
|
||||
automountServiceAccountToken: false
|
||||
## @param master.hostAliases Deployment pod host aliases
|
||||
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||
##
|
||||
@@ -419,6 +422,9 @@ worker:
|
||||
http: 8080
|
||||
https: 8480
|
||||
cluster: ""
|
||||
## @param worker.automountServiceAccountToken Mount Service Account token in pod
|
||||
##
|
||||
automountServiceAccountToken: false
|
||||
## @param worker.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