diff --git a/.zed/settings.json b/.zed/settings.json new file mode 100644 index 0000000..7836a9a --- /dev/null +++ b/.zed/settings.json @@ -0,0 +1,12 @@ +{ + "file_types": { + "Helm": [ + "**/templates/**/*.tpl", + "**/templates/**/*.yaml", + "**/templates/**/*.yml", + "**/helmfile.d/**/*.yaml", + "**/helmfile.d/**/*.yml", + "**/values*.yaml", + ], + }, +} diff --git a/charts/compose-app/templates/deploy.yaml b/charts/compose-app/templates/deploy.yaml index e0d8bb2..ff6d7ac 100644 --- a/charts/compose-app/templates/deploy.yaml +++ b/charts/compose-app/templates/deploy.yaml @@ -34,6 +34,7 @@ spec: containers: - name: {{ $name }} image: {{ $data.image | quote }} + imagePullPolicy: {{ $data.imagePullPolicy | default "Always" | quote }} ports: {{ range $p := $data.ports }} - containerPort: {{ $p.port }} @@ -67,7 +68,7 @@ spec: - {{ $cmd | quote }} {{ end }} {{ end }} - + --- kind: Service apiVersion: v1 @@ -90,4 +91,4 @@ spec: targetPort: {{ $port.port }} {{ end }} -{{ end }} \ No newline at end of file +{{ end }}