Skip to content

Commit

Permalink
chore: auto-commit 2024-10-30-12-20-08
Browse files Browse the repository at this point in the history
  • Loading branch information
smnbbrv committed Oct 30, 2024
1 parent 074bc2c commit 2b25c17
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 34 deletions.
2 changes: 1 addition & 1 deletion charts/application/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name: application
icon: https://avatars3.githubusercontent.com/u/29914027?s=200&v=4
description: Generic application deployment
type: application
version: 1.2.10
version: 1.2.11
33 changes: 0 additions & 33 deletions charts/application/templates/files-configmaps.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions charts/application/templates/files-containers-configmaps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{- range $containerIndex, $container := .Values.containers }}
{{- range $fileIndex, $file := $container.files }}

---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "application.fullname" $ }}-configmap-files-containers-{{ $containerIndex }}-{{ $fileIndex }}
labels:
{{- include "application.labels" $ | nindent 4 }}
data:
{{ regexFind "[^/]+$" $file.path }}: |- {{ $file.content | nindent 4 }}
{{- end -}}
{{- end -}}
14 changes: 14 additions & 0 deletions charts/application/templates/files-init-containers-configmaps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{- range $containerIndex, $container := .Values.initContainers }}
{{- range $fileIndex, $file := $container.files }}

---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "application.fullname" $ }}-configmap-files-init-containers-{{ $containerIndex }}-{{ $fileIndex }}
labels:
{{- include "application.labels" $ | nindent 4 }}
data:
{{ regexFind "[^/]+$" $file.path }}: |- {{ $file.content | nindent 4 }}
{{- end -}}
{{- end -}}

0 comments on commit 2b25c17

Please sign in to comment.