File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
deployment/helm/node-feature-discovery/templates Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,6 @@ roleRef:
47
47
name : {{ include "node-feature-discovery.fullname" . }}-gc
48
48
subjects :
49
49
- kind : ServiceAccount
50
- name : {{ .Values.gc.serviceAccount.name | default "nfd-gc" }}
50
+ name : {{ include "node-feature-discovery.gc.serviceAccountName" . }}
51
51
namespace : {{ include "node-feature-discovery.namespace" . }}
52
52
{{- end }}
Original file line number Diff line number Diff line change 27
27
{{- toYaml . | nindent 8 }}
28
28
{{- end }}
29
29
spec :
30
- serviceAccountName : {{ .Values. gc.serviceAccountName | default "nfd-gc" }}
30
+ serviceAccountName : {{ include "node-feature-discovery. gc.serviceAccountName" . }}
31
31
dnsPolicy : ClusterFirstWithHostNet
32
32
{{- with .Values.imagePullSecrets }}
33
33
imagePullSecrets :
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ metadata:
27
27
{{- end }}
28
28
{{- end }}
29
29
30
- {{- if and .Values.gc.enable .Values.gc.rbac .create (or .Values.enableNodeFeatureApi .Values.topologyUpdater.enable) }}
30
+ {{- if and .Values.gc.enable .Values.gc.serviceAccount .create (or .Values.enableNodeFeatureApi .Values.topologyUpdater.enable) }}
31
31
---
32
32
apiVersion : v1
33
33
kind : ServiceAccount
34
34
metadata :
35
- name : {{ .Values.gc.serviceAccount.name | default "nfd-gc" }}
35
+ name : {{ include "node-feature-discovery.gc.serviceAccountName" . }}
36
36
namespace : {{ include "node-feature-discovery.namespace" . }}
37
37
labels :
38
38
{{- include "node-feature-discovery.labels" . | nindent 4 }}
You can’t perform that action at this time.
0 commit comments