mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Various fixes (#10623)
Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
2134064cc3
commit
81db4694bc
@@ -1,6 +1,6 @@
|
||||
name: sparkoperator
|
||||
description: A Helm chart for Spark on Kubernetes operator
|
||||
version: 0.1.5
|
||||
version: 0.1.6
|
||||
appVersion: v1alpha1-0.5-2.4.0
|
||||
kubeVersion: ">=1.8.0-0"
|
||||
keywords:
|
||||
|
||||
@@ -55,7 +55,6 @@ spec:
|
||||
ports:
|
||||
- containerPort: {{ .Values.metricsPort }}
|
||||
{{ end }}
|
||||
command: ["/usr/bin/spark-operator"]
|
||||
args:
|
||||
- -v=2
|
||||
- -namespace={{ .Values.sparkJobNamespace }}
|
||||
@@ -74,6 +73,6 @@ spec:
|
||||
- -enable-webhook=true
|
||||
- -webhook-svc-namespace={{ .Release.Namespace }}
|
||||
- -webhook-port={{ .Values.webhookPort }}
|
||||
- -webhook-svc-name={{ include "sparkoperator.fullname" . }}-webhook
|
||||
- -webhook-svc-name={{ .Release.Name }}-webhook
|
||||
- -webhook-config-name={{ include "sparkoperator.fullname" . }}-webhook-config
|
||||
{{- end }}
|
||||
|
||||
@@ -4,7 +4,7 @@ kind: Job
|
||||
metadata:
|
||||
name: {{ include "sparkoperator.fullname" . }}-cleanup
|
||||
annotations:
|
||||
"helm.sh/hook": pre-delete
|
||||
"helm.sh/hook": pre-delete, pre-upgrade
|
||||
"helm.sh/hook-delete-policy": hook-succeeded
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "sparkoperator.name" . }}
|
||||
|
||||
@@ -4,7 +4,7 @@ kind: Job
|
||||
metadata:
|
||||
name: {{ include "sparkoperator.fullname" . }}-init
|
||||
annotations:
|
||||
"helm.sh/hook": post-install
|
||||
"helm.sh/hook": post-install, post-upgrade
|
||||
"helm.sh/hook-delete-policy": hook-succeeded
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "sparkoperator.name" . }}
|
||||
@@ -20,5 +20,5 @@ spec:
|
||||
- name: main
|
||||
image: {{ .Values.operatorImageName }}:{{ .Values.operatorVersion }}
|
||||
imagePullPolicy: {{ .Values.imagePullPolicy }}
|
||||
command: ["/usr/bin/gencerts.sh", "-n", "{{ .Release.Namespace }}", "-s", '{{ include "sparkoperator.fullname" . }}-webhook', "-p"]
|
||||
command: ["/usr/bin/gencerts.sh", "-n", "{{ .Release.Namespace }}", "-s", "{{ .Release.Name }}-webhook", "-p"]
|
||||
{{ end }}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ include "sparkoperator.fullname" . }}-webhook
|
||||
name: {{ .Release.Name }}-webhook
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "sparkoperator.name" . }}
|
||||
helm.sh/chart: {{ include "sparkoperator.chart" . }}
|
||||
|
||||
Reference in New Issue
Block a user