Skip to content

Commit d0ba3b2

Browse files
committed
Remove enabled as it is redundant
1 parent a6e57c7 commit d0ba3b2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

charts/logprep/templates/service-account.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and .Values.serviceAccount.create .Values.serviceAccount.enabled }}
1+
{{- if .Values.serviceAccount.create }}
22
apiVersion: v1
33
kind: ServiceAccount
44
metadata:

charts/logprep/values.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ resources:
1616
memory: "2Gi"
1717
cpu: "250m"
1818
serviceAccount:
19-
# if not enabled nothing happens
20-
enabled: true
2119
create: true
2220
# auto generates if left empty
2321
name: ""
22+
# only set if create true
2423
automountServiceAccountToken: false
2524
# if enabled: the default security context for the pod
2625
podSecurityContext:

0 commit comments

Comments
 (0)