Skip to content

Commit

Permalink
fix wrong rendering on boolean arguments (#43)
Browse files Browse the repository at this point in the history
#release
Signed-off-by: Di Xu <stephenhsu90@gmail.com>
  • Loading branch information
dixudx authored Apr 10, 2023
1 parent 6e69693 commit 12ae815
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/clusternet-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ kubeVersion: ""
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.12.0
version: 0.12.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,5 @@ spec:
- --leader-elect={{ .Values.leaderElect }}
- --leader-elect-resource-namespace=$(AGENT_NAMESPACE)
{{- range $key, $value := .Values.extraArgs }}
{{- if $value }}
- --{{ $key }}={{ $value }}
{{- else }}
- --{{ $key }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/clusternet-hub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ kubeVersion: ""
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.12.0
version: 0.12.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,7 @@ spec:
- --peer-port={{ .Values.peerPort }}
- --feature-gates={{ .Values.featureGates }}
{{- range $key, $value := .Values.extraArgs }}
{{- if $value }}
- --{{ $key }}={{ $value }}
{{- else }}
- --{{ $key }}
{{- end }}
{{- end }}
volumeMounts:
- mountPath: /etc/clusternet
Expand Down

0 comments on commit 12ae815

Please sign in to comment.