Skip to content

Commit

Permalink
Temp test
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago Botto committed Aug 15, 2023
1 parent afd5712 commit 9333149
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 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-beta13
version: 0.0.15-beta14

# 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-beta13"
appVersion: "0.0.15-beta14"
icon: https://cncf-branding.netlify.app/img/projects/helm/horizontal/color/helm-horizontal-color.png
24 changes: 4 additions & 20 deletions charts/common/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,14 @@ spec:
{{- if .Values.deployment.volumes }}
volumes:
{{- range $volume := .Values.deployment.volumes }}
#{{- if $volume.configMap }}
- name: {{ $volume.name }}
configMap:
#{{- toYaml $volume.configMap | nindent 12 }}
name: {{ $volume.configMap.name }}
items:
- key: {{ $volume.configMap.items.key }}
path: {{ $volume.configMap.items.path }}
#{{- else if $volume.secret }}
#- name: {{ $volume.name }}
# secret:
# {{- toYaml $volume.secret | nindent 12 }}
#{{- else }}
#- name: {{ $fullName }}-{{ $volume.name }}-volume
# persistentVolumeClaim:
# claimName: {{ $fullName }}-{{ $volume.name }}-pvc
#{{- end }}
{{- range $item := $volume.configMap.items }}
- key: {{ $item.key }}
path: {{ $item.path }}
{{- end }}
{{- end }}
{{- end }}
containers:
Expand All @@ -70,15 +61,8 @@ spec:
{{- if .Values.deployment.volumes }}
volumeMounts:
{{- range $volume := .Values.deployment.volumes }}
#{{- if $volume.configMap }}
- name: {{ $volume.name }}
readOnly: true
#{{- else if $volume.secret }}
#- name: {{ $volume.secret.name }}
# readOnly: true
#{{- else }}
#- name: {{ $fullName }}-{{ $volume.name }}-volume
#{{- end}}
mountPath: {{ $volume.mountPath }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 9333149

Please sign in to comment.