mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-19 18:16:12 +10:00
[bitnami/spark] Adding extra pod labels (#4311)
* added extra labels values for worker/master pods * removed identation * increased patch version * fixed variable * Update bitnami/spark/Chart.yaml Increasing the minor version instead of patch version Co-authored-by: Andrés Bono <andresbonojimenez@gmail.com> * changing variable name Co-authored-by: Andrés Bono <andresbonojimenez@gmail.com> Co-authored-by: Andrés Bono <andresbonojimenez@gmail.com>
This commit is contained in:
co-authored by
Andrés Bono
parent
7008521c57
commit
8baa73cded
@@ -21,4 +21,4 @@ name: spark
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-spark
|
||||
- https://spark.apache.org/
|
||||
version: 4.0.0
|
||||
version: 4.1.0
|
||||
|
||||
@@ -67,6 +67,7 @@ The following tables lists the configurable parameters of the spark chart and th
|
||||
| `master.securityContext.fsGroup` | Group ID for the container | `1001` |
|
||||
| `master.securityContext.runAsUser` | User ID for the container | `1001` |
|
||||
| `master.podAnnotations` | Annotations for pods in StatefulSet | `{}` (The value is evaluated as a template) |
|
||||
| `master.extraPodLabels` | Extra labels for pods in StatefulSet | `{}` (The value is evaluated as a template) |
|
||||
| `master.nodeSelector` | Node affinity policy | `{}` (The value is evaluated as a template) |
|
||||
| `master.tolerations` | Tolerations for pod assignment | `[]` (The value is evaluated as a template) |
|
||||
| `master.affinity` | Affinity for pod assignment | `{}` (The value is evaluated as a template) |
|
||||
@@ -103,6 +104,7 @@ The following tables lists the configurable parameters of the spark chart and th
|
||||
| `worker.securityContext.fsGroup` | Group ID for the container | `1001` |
|
||||
| `worker.securityContext.runAsUser` | User ID for the container | `1001` |
|
||||
| `worker.podAnnotations` | Annotations for pods in StatefulSet | `{}` |
|
||||
| `worker.extraPodLabels` | Extra labels for pods in StatefulSet | `{}` (The value is evaluated as a template) |
|
||||
| `worker.nodeSelector` | Node labels for pod assignment. Used as a template from the values. | `{}` |
|
||||
| `worker.tolerations` | Toleration labels for pod assignment | `[]` |
|
||||
| `worker.affinity` | Affinity and AntiAffinity rules for pod assignment | `{}` |
|
||||
|
||||
@@ -14,6 +14,9 @@ spec:
|
||||
metadata:
|
||||
labels: {{- include "common.labels.standard" . | nindent 8 }}
|
||||
app.kubernetes.io/component: master
|
||||
{{- if .Values.master.extraPodLabels }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.master.extraPodLabels "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.master.podAnnotations }}
|
||||
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.master.podAnnotations "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -14,6 +14,9 @@ spec:
|
||||
metadata:
|
||||
labels: {{- include "common.labels.standard" . | nindent 8 }}
|
||||
app.kubernetes.io/component: worker
|
||||
{{- if .Values.worker.extraPodLabels }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.worker.extraPodLabels "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.worker.podAnnotations }}
|
||||
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.worker.podAnnotations "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -78,6 +78,11 @@ master:
|
||||
##
|
||||
podAnnotations: {}
|
||||
|
||||
## Labes to add to the statefulset
|
||||
##
|
||||
##
|
||||
extraPodLabels: {}
|
||||
|
||||
## Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -186,6 +191,11 @@ worker:
|
||||
##
|
||||
podAnnotations: {}
|
||||
|
||||
## Labes to add to the statefulset
|
||||
##
|
||||
##
|
||||
extraPodLabels: {}
|
||||
|
||||
## Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
|
||||
@@ -78,6 +78,11 @@ master:
|
||||
##
|
||||
podAnnotations: {}
|
||||
|
||||
## Labes to add to the statefulset
|
||||
##
|
||||
##
|
||||
extraPodLabels: {}
|
||||
|
||||
## Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -186,6 +191,11 @@ worker:
|
||||
##
|
||||
podAnnotations: {}
|
||||
|
||||
## Labes to add to the statefulset
|
||||
##
|
||||
##
|
||||
extraPodLabels: {}
|
||||
|
||||
## Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user