Skip to content

Commit

Permalink
condition
Browse files Browse the repository at this point in the history
  • Loading branch information
larrywax committed Sep 21, 2023
1 parent a4f7440 commit 9724cd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/airbyte/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
{{- with .Values.serviceAccount.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if semverCompare ">=1.24-0" .Capabilities.KubeVersion.GitVersion -}}
{{ if and (semverCompare ">=1.24-0" .Capabilities.KubeVersion.GitVersion) .Values.serviceAccount.create_secret -}}
---
apiVersion: v1
kind: Secret
Expand Down
1 change: 1 addition & 0 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ fullnameOverride: ""
##
serviceAccount:
create: true
create_secret: false
annotations: {}
name: *service-account-name

Expand Down

0 comments on commit 9724cd2

Please sign in to comment.