mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Testing fixing the secrets not found error
Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>
This commit is contained in:
@@ -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" . }}
|
||||
|
||||
Reference in New Issue
Block a user