diff --git a/profisee-platform-0.1.31.tgz b/profisee-platform-0.1.31.tgz index c0f4c2b..6e6c355 100644 Binary files a/profisee-platform-0.1.31.tgz and b/profisee-platform-0.1.31.tgz differ diff --git a/profisee-platform/templates/statefullset-profisee.yaml b/profisee-platform/templates/statefullset-profisee.yaml index a7e414f..ff5de15 100644 --- a/profisee-platform/templates/statefullset-profisee.yaml +++ b/profisee-platform/templates/statefullset-profisee.yaml @@ -22,6 +22,7 @@ spec: terminationGracePeriodSeconds: 60 serviceAccountName: profiseeserviceaccount automountServiceAccountToken: false + {{- if (gt (int .Values.profiseeRunTime.clusterNodeCount) 1) }} affinity: podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: @@ -31,6 +32,7 @@ spec: matchLabels: app: profisee topologyKey: "kubernetes.io/hostname" + {{- end}} nodeSelector: {{- if .Values.cloud.azure.isProvider }} {{ if hasSuffix "win22" .Values.image.tag }}