Skip to content

Commit

Permalink
Merge pull request #153 from sergey-aerokube/master
Browse files Browse the repository at this point in the history
fix if-else conditions
  • Loading branch information
aandryashin authored Jun 16, 2022
2 parents 59b8c42 + fdbe5c6 commit 8755b62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions browser-ops/templates/cron-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,10 @@ spec:
- name: LIST
{{- if eq "\"all\"" (.Values.browserImageVersions | quote) }}
value: "0"
{{- else }}
{{- if eq "\"recent\"" (.Values.browserImageVersions | quote) }}
{{- else if eq "\"recent\"" (.Values.browserImageVersions | quote) }}
value: "-1"
{{- else }}
value: {{ .Values.browserImageVersions | quote }}
{{- end }}
{{- end }}
{{- end }}
restartPolicy: Never

6 changes: 1 addition & 5 deletions browser-ops/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
##
## List of browsersets names to update
##

browsersets:
- default

Expand All @@ -10,17 +9,14 @@ browsersets:
##
## (102.0 vs 102.0.1245.30-1)
##

browserImageTagFormat: short

##
## Browser versions appeared in web interface: all | recent | positive number
## Browser versions appeared in web interface: all | recent | positive number(last N versions)
##

browserImageVersions: recent

##
## Schedule
##

schedule: "0 1 * * *"

0 comments on commit 8755b62

Please sign in to comment.