Skip to content

Commit

Permalink
Set operator key correct in SpireAgentScheduleAffinity
Browse files Browse the repository at this point in the history
In the last change due to a copy paste error the wrong key got into the
spire agent affinity resulting in an install error.

Signed-off-by: Maartje Eyskens <[email protected]>
  • Loading branch information
meyskens authored and tklauser committed Nov 28, 2023
1 parent d9c83cd commit 8d169e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ var (
// nodes labeled with CiliumNoScheduleLabel.
SpireAgentScheduleAffinity = []string{
"authentication.mutual.spire.install.agent.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].key=" + CiliumNoScheduleLabel,
"authentication.mutual.spire.install.agent.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].authentication.mutual.spire.install.agent=NotIn",
"authentication.mutual.spire.install.agent.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].operator=NotIn",
"authentication.mutual.spire.install.agent.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].values[0]=true",
}
)

0 comments on commit 8d169e2

Please sign in to comment.