Skip to content

Commit

Permalink
deployment/helm: don't deploy topology-updater conf unnecessarily
Browse files Browse the repository at this point in the history
Only deploy the topology-updater config if topology-updater itself (the
daemon) is deployed.
  • Loading branch information
marquiz committed Jan 25, 2024
1 parent f3e07ae commit 8adb4b3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.topologyUpdater.enable -}}
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -8,3 +9,4 @@ metadata:
data:
nfd-topology-updater.conf: |-
{{- .Values.topologyUpdater.config | toYaml | nindent 4 }}
{{- end }}

0 comments on commit 8adb4b3

Please sign in to comment.