Testing fixing the secrets not found error

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>
This commit is contained in:
Chaoran Yu
2018-12-10 16:39:58 +08:00
parent 565879616b
commit bd404ddac4
3 changed files with 7 additions and 1 deletions
@@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "sparkoperator.fullname" . }}-cr
annotations:
"helm.sh/hook": pre-install
labels:
app.kubernetes.io/name: {{ include "sparkoperator.name" . }}
helm.sh/chart: {{ include "sparkoperator.chart" . }}
@@ -35,6 +37,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "sparkoperator.fullname" . }}-crb
annotations:
"helm.sh/hook": pre-install
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: {{ include "sparkoperator.name" . }}
@@ -3,6 +3,8 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "sparkoperator.serviceAccountName" . }}
annotations:
"helm.sh/hook": pre-install
labels:
app.kubernetes.io/name: {{ include "sparkoperator.name" . }}
helm.sh/chart: {{ include "sparkoperator.chart" . }}
@@ -4,7 +4,7 @@ kind: Job
metadata:
name: {{ include "sparkoperator.fullname" . }}-init
annotations:
"helm.sh/hook": post-install
"helm.sh/hook": pre-install
"helm.sh/hook-delete-policy": hook-succeeded
labels:
app.kubernetes.io/name: {{ include "sparkoperator.name" . }}