Skip to content

Commit

Permalink
Default value for optional; bumping common chart version
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocph committed Oct 20, 2023
1 parent aafc0bb commit 8032acb
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion charts/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ type: library
# 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.3.1
version: 0.4.0
10 changes: 2 additions & 8 deletions charts/common/templates/_envFromRef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,24 @@ envFrom: &envFrom
{{- range .Values.existingSecrets }}
- secretRef:
name: {{ .name }}
optional: {{ .optional }}
optional: {{ .optional | default false }}
{{- end }}

{{- range .Values.existingConfigMaps }}
- configMapRef:
name: {{ .name }}
optional: {{ .optional }}
optional: {{ .optional | default false }}
{{- end }}

{{- if .Values.secretEnabled }}
- secretRef:
name: {{ include "common.robustName" $.Release.Name }}
{{- end }}


{{- if .Values.secretName }}
- secretRef:
name: {{ .Values.secretName }}
{{- end }}

{{- if .Values.sealedSecrets }}
- secretRef:
name: {{ template "common.robustName" .Release.Name }}
{{- end }}

{{- end }}
{{- end }}
6 changes: 3 additions & 3 deletions charts/cron-job/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: file://../common
version: 0.3.1
digest: sha256:64689b29ef8b2262efbd5d49bccf40f798698d426dcfdc7c632aaf183a8cc681
generated: "2023-08-18T08:34:24.144108449+02:00"
version: 0.4.0
digest: sha256:d4eccd332ada7362f429e04b82022f5605a02e2d3aa7b9fdf8adaf4f6c9e03eb
generated: "2023-10-20T10:53:13.982995773+02:00"
2 changes: 1 addition & 1 deletion charts/cron-job/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ version: 0.58.0

dependencies:
- name: common
version: 0.3.1
version: 0.4.0
repository: file://../common
Binary file removed charts/cron-job/charts/common-0.3.1.tgz
Binary file not shown.
Binary file added charts/cron-job/charts/common-0.4.0.tgz
Binary file not shown.
6 changes: 3 additions & 3 deletions charts/onechart/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: file://../common
version: 0.3.1
digest: sha256:64689b29ef8b2262efbd5d49bccf40f798698d426dcfdc7c632aaf183a8cc681
generated: "2023-08-18T08:31:18.469039683+02:00"
version: 0.4.0
digest: sha256:d4eccd332ada7362f429e04b82022f5605a02e2d3aa7b9fdf8adaf4f6c9e03eb
generated: "2023-10-20T10:52:47.237955041+02:00"
2 changes: 1 addition & 1 deletion charts/onechart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ version: 0.58.0

dependencies:
- name: common
version: 0.3.1
version: 0.4.0
repository: file://../common
Binary file removed charts/onechart/charts/common-0.3.1.tgz
Binary file not shown.
Binary file added charts/onechart/charts/common-0.4.0.tgz
Binary file not shown.

0 comments on commit 8032acb

Please sign in to comment.