mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/sparkoperator] fix invalid webhook init job (#23887)
* [sparkoperator] fix invalid webhook init job
Prior to this commit, helm validation for webhook-init-job of
incubator/sparkoperator failed in helm3 with the following error:
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Job.spec): unknown field "metadata" in io.k8s.api.batch.v1.JobSpec
Issue was introduced by https://github.com/helm/charts/pull/23876 by
accident, as other jobs in this chart (incubator/sparkoperator) were not
affected.
Signed-off-by: Oleksandr Kovalchuk <anxolerd@outlook.com>
* Bump chart version
Signed-off-by: Oleksandr Kovalchuk <anxolerd@outlook.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: sparkoperator
|
||||
description: A Helm chart for Spark on Kubernetes operator
|
||||
version: 0.8.3
|
||||
version: 0.8.4
|
||||
appVersion: v1beta2-1.2.0-3.0.0
|
||||
keywords:
|
||||
- spark
|
||||
|
||||
@@ -10,13 +10,13 @@ metadata:
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
spec:
|
||||
metadata:
|
||||
name: {{ include "sparkoperator.fullname" . }}-webhook-init
|
||||
{{- if .Values.istio.enabled }}
|
||||
annotations:
|
||||
"sidecar.istio.io/inject": "false"
|
||||
{{- end }}
|
||||
template:
|
||||
metadata:
|
||||
name: {{ include "sparkoperator.fullname" . }}-webhook-init
|
||||
{{- if .Values.istio.enabled }}
|
||||
annotations:
|
||||
"sidecar.istio.io/inject": "false"
|
||||
{{- end }}
|
||||
spec:
|
||||
serviceAccountName: {{ include "sparkoperator.serviceAccountName" . }}
|
||||
restartPolicy: OnFailure
|
||||
|
||||
Reference in New Issue
Block a user