Skip to content

Commit cad4b5d

Browse files
authored
Merge pull request #6803 from zalando-incubator/stackset-sync-annotations
Synchronize annotation feature for StackSet.
2 parents 0ccee02 + a13a732 commit cad4b5d

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed

cluster/config-defaults.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,8 +886,13 @@ stackset_configmap_support_enabled: "false"
886886
{{end}}
887887

888888
# enable/disable traffic segment support for stackset
889+
{{if eq .Cluster.Environment "e2e"}}
890+
stackset_enable_traffic_segments: "true"
891+
stackset_annotated_traffic_segments: "true"
892+
{{else}}
889893
stackset_enable_traffic_segments: "false"
890894
stackset_annotated_traffic_segments: "false"
895+
{{end}}
891896

892897
# Enable/Disable profiling for Kubernetes components
893898
enable_control_plane_profiling: "false"

cluster/manifests/stackset-controller/deployment.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $version := "v1.4.23" }}
1+
{{ $version := "v1.4.26" }}
22
apiVersion: apps/v1
33
kind: Deployment
44
metadata:
@@ -46,6 +46,20 @@ spec:
4646
{{- if eq .Cluster.ConfigItems.stackset_annotated_traffic_segments "true" }}
4747
- "--annotated-traffic-segments"
4848
{{- end }}
49+
{{if eq .Cluster.Environment "e2e"}}
50+
- "--sync-ingress-annotation=example.org/i-haz-synchronize"
51+
- "--sync-ingress-annotation=teapot.org/the-best"
52+
{{else}}
53+
- "--sync-ingress-annotation=alb.ingress.kubernetes.io/ip-address-type"
54+
- "--sync-ingress-annotation=zalando.org/aws-load-balancer-ssl-cert"
55+
- "--sync-ingress-annotation=zalando.org/aws-load-balancer-scheme"
56+
- "--sync-ingress-annotation=zalando.org/aws-load-balancer-security-group"
57+
- "--sync-ingress-annotation=zalando.org/aws-load-balancer-ssl-policy"
58+
- "--sync-ingress-annotation=zalando.org/aws-load-balancer-type"
59+
- "--sync-ingress-annotation=zalando.org/aws-load-balancer-http2"
60+
- "--sync-ingress-annotation=zalando.org/aws-waf-web-acl-id"
61+
- "--sync-ingress-annotation=kubernetes.io/ingress.class"
62+
{{ end}}
4963
- "--cluster-domain={{ .Values.hosted_zone }}"
5064
- "--cluster-domain=ingress.cluster.local"
5165
resources:

test/e2e/cluster_config.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ clusters:
4343
stackset_ingress_source_switch_ttl: "1m"
4444
teapot_admission_controller_daemonset_reserved_cpu: "518m"
4545
karpenter_pools_enabled: "true"
46-
stackset_enable_traffic_segments: "true"
47-
stackset_annotated_traffic_segments: "true"
4846
criticality_level: 1
4947
environment: e2e
5048
id: ${CLUSTER_ID}

test/e2e/stackset/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/zalando-incubator/kubernetes-on-aws/test/e2e/stackset
22

33
go 1.21
44

5-
require github.com/zalando-incubator/stackset-controller v1.4.25
5+
require github.com/zalando-incubator/stackset-controller v1.4.26
66

77
require (
88
github.com/beorn7/perks v1.0.1 // indirect

test/e2e/stackset/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@ github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:
438438
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
439439
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
440440
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
441-
github.com/zalando-incubator/stackset-controller v1.4.25 h1:iKZa4028gcNcgMsKEvIuLL3VFLU73zTM3gDnNQQFJ8M=
442-
github.com/zalando-incubator/stackset-controller v1.4.25/go.mod h1:9sGmpa7ABBiAI/uBUPEkyzN+P+hNlOIVc+naGh6m1ro=
441+
github.com/zalando-incubator/stackset-controller v1.4.26 h1:BdxjU2Nn6HJov7Stec4jNuA+a/XFR0jSBuFm5oo8loA=
442+
github.com/zalando-incubator/stackset-controller v1.4.26/go.mod h1:9sGmpa7ABBiAI/uBUPEkyzN+P+hNlOIVc+naGh6m1ro=
443443
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
444444
go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
445445
go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg=

0 commit comments

Comments
 (0)