cmd/k8s-operator,k8s-operator: proxyclass affinity (#11862)

add ability to set affinity rules to proxyclass

Updates#11861

Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
This commit is contained in:
Lee Briggs
2024-04-24 09:31:35 -07:00
committed by GitHub
parent 31e6bdbc82
commit 14ac41febc
8 changed files with 2420 additions and 1 deletions

View File

@@ -8,4 +8,4 @@ set -eu
# files. We want to exclude all kube-related code from plan9 builds because some
# apimachinery libraries refer to syscalls that are not available for plan9
# https://github.com/kubernetes/apimachinery/blob/v0.28.2/pkg/util/net/util.go#L42-L63
sed -i "1 s|$| \&\& \!plan9|" k8s-operator/apis/v1alpha1/zz_generated.deepcopy.go
sed -i.bak "1 s|$| \\&\\& \\!plan9|" k8s-operator/apis/v1alpha1/zz_generated.deepcopy.go && rm k8s-operator/apis/v1alpha1/zz_generated.deepcopy.go.bak