From acb00706f1e38ea7099f189ddbea5c9e06077f64 Mon Sep 17 00:00:00 2001 From: tiptophelmet Date: Sun, 6 Apr 2025 19:45:22 +0300 Subject: [PATCH] :hammer: Add default value for Dex node selector terms --- config/configStruct.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/configStruct.go b/config/configStruct.go index 4cd4bef31..2082d82e2 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -50,6 +50,17 @@ func CreateDefaultConfig() ConfigStruct { }, }, }, + Dex: []v1.NodeSelectorTerm{ + { + MatchExpressions: []v1.NodeSelectorRequirement{ + { + Key: "kubernetes.io/os", + Operator: v1.NodeSelectorOpIn, + Values: []string{"linux"}, + }, + }, + }, + }, }, Tolerations: configStructs.TolerationsConfig{ Workers: []v1.Toleration{