1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-15 04:57:56 +00:00

deployment: disable service links in NFD master pod

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
AhmedGrati 2023-01-27 16:55:05 +01:00
parent 1aa76029ac
commit 743c877ad8
3 changed files with 3 additions and 0 deletions

View file

@ -14,6 +14,7 @@ spec:
app: nfd app: nfd
spec: spec:
serviceAccount: nfd-master serviceAccount: nfd-master
enableServiceLinks: false
tolerations: [] tolerations: []
containers: containers:
- name: nfd-master - name: nfd-master

View file

@ -15,6 +15,7 @@ spec:
app: nfd-master app: nfd-master
spec: spec:
serviceAccount: nfd-master serviceAccount: nfd-master
enableServiceLinks: false
tolerations: [] tolerations: []
containers: containers:
- name: nfd-master - name: nfd-master

View file

@ -27,6 +27,7 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
serviceAccountName: {{ include "node-feature-discovery.master.serviceAccountName" . }} serviceAccountName: {{ include "node-feature-discovery.master.serviceAccountName" . }}
enableServiceLinks: false
securityContext: securityContext:
{{- toYaml .Values.master.podSecurityContext | nindent 8 }} {{- toYaml .Values.master.podSecurityContext | nindent 8 }}
containers: containers: