diff --git a/helm/kubenurse/templates/daemonset.yaml b/helm/kubenurse/templates/daemonset.yaml index 98274f8a..d5b2bbb7 100644 --- a/helm/kubenurse/templates/daemonset.yaml +++ b/helm/kubenurse/templates/daemonset.yaml @@ -72,6 +72,8 @@ spec: value: {{ .Values.check_neighbourhood | quote }} - name: KUBENURSE_CHECK_INTERVAL value: {{ .Values.check_interval }} + - name: KUBENURSE_SHUTDOWN_DURATION + value: {{ .Values.shutdown_duration }} - name: KUBENURSE_USE_TLS value: {{ .Values.use_tls | quote }} {{- if .Values.cert_file }} diff --git a/helm/kubenurse/values.yaml b/helm/kubenurse/values.yaml index 74e44ed4..20c0d53e 100644 --- a/helm/kubenurse/values.yaml +++ b/helm/kubenurse/values.yaml @@ -9,7 +9,7 @@ daemonset: containerSecurityContext: {} containerResources: {} containerImagePullPolicy: IfNotPresent - tolerations: + tolerations: - effect: NoSchedule key: node-role.kubernetes.io/master operator: Equal @@ -21,7 +21,7 @@ daemonset: volumes: [] priorityClassName: "" -serviceMonitor: +serviceMonitor: enabled: false labels: {} @@ -33,7 +33,7 @@ insecure: true service_url: "" # KUBENURSE_ALLOW_UNSCHEDULABLE allow_unschedulable: false -# KUBENURSE_NEIGHBOUR_FILTER +# KUBENURSE_NEIGHBOUR_FILTER neighbour_filter: app.kubernetes.io/name=kubenurse # KUBENURSE_EXTRA_CA extra_ca: "" @@ -49,6 +49,8 @@ check_api_me_service: true check_neighbourhood: true # KUBENURSE_CHECK_INTERVAL check_interval: 5s +# KUBENURSE_SHUTDOWN_DURATION +shutdown_duration: 5s # KUBENURSE_USE_TLS use_tls: false # KUBENURSE_CERT_FILE