Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] fix(helm): add serviceAccountName to pod spec in deployment.yaml (#10573)

Bharath Krishna47a005d50e8f
diff --git a/dev/charts/gravitino/templates/deployment.yaml b/dev/charts/gravitino/templates/deployment.yaml
index 1991be47ef..624ddde526 100644
--- a/dev/charts/gravitino/templates/deployment.yaml
+++ b/dev/charts/gravitino/templates/deployment.yaml
@@ -47,6 +47,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
+ serviceAccountName: {{ .Values.serviceAccountName }}
{{- with .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
diff --git a/dev/charts/gravitino/values.yaml b/dev/charts/gravitino/values.yaml
index ee81a583bc..7c7080346c 100644
--- a/dev/charts/gravitino/values.yaml
+++ b/dev/charts/gravitino/values.yaml
@@ -470,6 +470,10 @@ ingress:
##
annotations: {}
+## Service account name for the Gravitino pod
+##
+serviceAccountName: default
+
## Deployment replicas
##
replicas: 1