Skip to content

Commit

Permalink
added node selector to choose between AWS and Azure Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen Angali authored and Naveen Angali committed Feb 16, 2024
1 parent 08897bb commit 5c0fcd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file modified profisee-platform-0.1.30.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions profisee-platform/templates/statefullset-profisee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@ spec:
serviceAccountName: profiseeserviceaccount
automountServiceAccountToken: false
nodeSelector:
{{- if .Values.cloud.azure.isProvider }}
{{ if hasSuffix "win22" .Values.image.tag }}
"kubernetes.azure.com/os-sku": Windows2022
{{ else }}
"kubernetes.azure.com/os-sku": Windows2019
{{ end }}
{{- end }}
{{- if .Values.cloud.aws.isProvider }}
"kubernetes.io/os": windows"
{{- end }}
volumes:
- name: data-volume
projected:
Expand Down

0 comments on commit 5c0fcd4

Please sign in to comment.