Skip to content

Commit

Permalink
Another test
Browse files Browse the repository at this point in the history
  • Loading branch information
kostyaplis committed Apr 26, 2020
1 parent 0b49bc2 commit a716266
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/basic/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: basic
version: 0.0.7
version: 0.0.8
10 changes: 5 additions & 5 deletions charts/basic/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ spec:
resources:
{{- toYaml . | trim | nindent 16 }}
{{- end }}
env:
{{- range $name, $value := .env }}
- name: {{ $name | quote }}
value: {{ $value | quote }}
{{- end }}
env:
{{- range $name, $value := .doesnt_exist.env }}
- name: {{ $name | quote }}
value: {{ $value | quote }}
{{- end }}
restartPolicy: OnFailure
{{- with $.Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
5 changes: 3 additions & 2 deletions skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ profiles:
releases:
- name: cronjob
namespace: default
chartPath: test-cronjob/basic
remote: true
chartPath: ./charts/basic
#chartPath: test-cronjob/basic
#remote: true
wait: true
valuesFiles:
- values.yaml

0 comments on commit a716266

Please sign in to comment.