Skip to content

Commit

Permalink
updated statefulset for node selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen Angali authored and Naveen Angali committed Sep 11, 2023
1 parent 99613b3 commit 41d61f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Binary file modified profisee-platform-0.1.29.tgz
Binary file not shown.
6 changes: 5 additions & 1 deletion profisee-platform/templates/statefullset-profisee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ spec:
serviceAccountName: profiseeserviceaccount
automountServiceAccountToken: false
nodeSelector:
"kubernetes.io/os": windows
{{ if hasSuffix "win22" .Values.image.tag }}
"kubernetes.azure.com/os-sku": Windows2022
{{ else }}
"kubernetes.azure.com/os-sku": Windows2019
{{ end }}
volumes:
- name: data-volume
projected:
Expand Down

0 comments on commit 41d61f4

Please sign in to comment.