Skip to content

Commit 14d4559

Browse files
authored
Merge pull request #403 from skiedude/master
Add missing policy and fix function
2 parents e71b4b1 + db7adf7 commit 14d4559

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## Development
4+
* Fix syntax with ensure-packs-volumes-are-writable job (#403) (by @skiedude)
5+
36
## v1.0.0
47
* Bump to latest CircleCI orb versions ([email protected] and [email protected] by @ZoeLeah)
58
* Remove unsupported k8s Versions (1.24.x and 1.25.x by @ZoeLeah)

templates/jobs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ spec:
540540
and then delete this st2canary pod manually.
541541
INTRO
542542
543-
function __handle_error__(){
543+
function __handle_error__ {
544544
cat <<- 'FAIL'
545545
ERROR: One or more volumes in st2.packs.volumes (from helm values) does not meet
546546
StackStorm's shared volumes requirements!
@@ -577,6 +577,7 @@ spec:
577577
{{- toYaml $.Values.st2.packs.volumes.configs | nindent 10 }}
578578
{{- end }}
579579
# st2canary job does not support extra_volumes. Let us know if you need this.
580+
restartPolicy: Never
580581
{{- if $.Values.dnsPolicy }}
581582
dnsPolicy: {{ $.Values.dnsPolicy }}
582583
{{- end }}

0 commit comments

Comments
 (0)