Skip to content

Commit

Permalink
Evaluate the create conditonal when creating the SA (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwc authored Jul 3, 2024
1 parent f3cc41e commit 4130ada
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/databricks-kube-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 0.7.0
name: databricks-kube-operator
description: A kube-rs operator for managing Databricks API resources
version: 0.8.0
version: 0.8.1

home: https://github.com/mach-kernel/databricks-kube-operator
sources:
Expand Down
2 changes: 2 additions & 0 deletions charts/databricks-kube-operator/templates/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{{- $svcAccount := include "databricks-kube-operator.serviceAccountName" . }}
{{- if .Values.serviceAccount.create }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: "{{ $svcAccount }}"
namespace: {{ .Release.Namespace }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down

0 comments on commit 4130ada

Please sign in to comment.