Skip to content

Commit

Permalink
Merge commit 'refs/pull/164/head' of github.com:OpenUnison/helm-charts
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbiam committed Jan 9, 2025
2 parents 11fcbd2 + 004c070 commit 9be5826
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions orchestra/templates/tests/precheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,14 @@ spec:
runAsUser: 431
runAsGroup: 433
{{ end }}
{{ $length := len .Values.services.node_selectors }}
{{ if eq $length 0 }}
nodeSelector: {}
{{ else }}
nodeSelector: {{ range $key,$value := .Values.services.node_selectors }}
{{ $key }}: {{ $value | quote }}
{{ end }}
{{ end }}

volumes:
- name: scripts
Expand Down

0 comments on commit 9be5826

Please sign in to comment.