Skip to content

Commit dd8d7f6

Browse files
Helm - service to be only deployed when needed (#1389)
* Helm - service to be only deployed when needed Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]> * Update deployment/helm/node-feature-discovery/templates/service.yaml Co-authored-by: Markus Lehtonen <[email protected]> --------- Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]> Co-authored-by: Markus Lehtonen <[email protected]>
1 parent 4ad6491 commit dd8d7f6

File tree

1 file changed

+2
-0
lines changed
  • deployment/helm/node-feature-discovery/templates

1 file changed

+2
-0
lines changed

deployment/helm/node-feature-discovery/templates/service.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if not .Values.enableNodeFeatureApi }}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -16,3 +17,4 @@ spec:
1617
selector:
1718
{{- include "node-feature-discovery.selectorLabels" . | nindent 4 }}
1819
role: master
20+
{{- end}}

0 commit comments

Comments
 (0)