Skip to content

Commit

Permalink
Test: change how configMap and secrets are set
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago Botto committed Aug 15, 2023
1 parent 907e5d5 commit f2d182d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ type: application
# 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.0.15-beta5
version: 0.0.15-beta6

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.0.15-beta5"
appVersion: "0.0.15-beta6"
icon: https://cncf-branding.netlify.app/img/projects/helm/horizontal/color/helm-horizontal-color.png
2 changes: 2 additions & 0 deletions charts/common/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ spec:
{{- range $volume := .Values.deployment.volumes }}
- name: {{ $fullName }}-{{ $volume.name }}-volume
{{- if $volume.configMap }}
configMap:
{{- toYaml $volume.configMap | nindent 10 }}
{{- else if $volume.secret }}
secret:
{{- toYaml $volume.secret | nindent 10 }}
{{- else }}
persistentVolumeClaim:
Expand Down

0 comments on commit f2d182d

Please sign in to comment.