Skip to content

Commit

Permalink
Add option to disable daemonset (#7)
Browse files Browse the repository at this point in the history
Signed-off-by: v.oleynikov <[email protected]>
  • Loading branch information
duckhawk authored Jan 10, 2024
1 parent 76fccf9 commit 7724917
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions openapi/config-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ properties:
enableDevMode:
type: boolean
default: false
disableDs:
type: boolean
default: false
description: Disable sds-node-configurator daemonset
5 changes: 4 additions & 1 deletion openapi/doc-ru-config-values.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
properties: {}
type: object
properties:
disableDs:
description: Выключить sds-node-configurator daemonset
3 changes: 2 additions & 1 deletion templates/agent/daemonset.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if not .Values.sdsNodeConfigurator.disableDs }}
---
apiVersion: apps/v1
kind: DaemonSet
Expand Down Expand Up @@ -72,4 +73,4 @@ spec:
path: /lib/modules/
type: DirectoryOrCreate
name: host-modules-dir

{{- end }}

0 comments on commit 7724917

Please sign in to comment.