Skip to content

Commit

Permalink
Add variable defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
enver committed Apr 3, 2023
1 parent 86684b9 commit 38af4b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/label-nodes/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
appVersion: "1.0"
description: A Helm chart for label-nodes
name: label-nodes
version: 0.0.2
version: 0.0.3
maintainers:
- name: Enver Cicak
- name: enver
6 changes: 3 additions & 3 deletions charts/label-nodes/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ spec:
- name: LOG_LEVEL
value: INFO
- name: INTERVAL_SECONDS
value: {{ .Values.interval | quote }}
value: {{ .Values.interval | default 60 | quote }}
- name: SOURCE_LABEL_PREFIX
value: {{ .Values.source_label_prefix | quote }}
value: {{ .Values.source_label_prefix | default "node-role.kubernetes/" | quote }}
- name: DESTINATION_LABEL_PREFIX
value: {{ .Values.destination_label_prefix | quote }}
value: {{ .Values.destination_label_prefix | default "node-role.kubernetes.io/" | quote }}
{{- with .Values.resources }}
resources:
{{- toYaml . | nindent 10 }}
Expand Down

0 comments on commit 38af4b6

Please sign in to comment.