File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
manifests/ingress-controller Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -1141,6 +1141,9 @@ Resources:
1141
1141
- Action : ' acm:DescribeCertificate'
1142
1142
Effect : Allow
1143
1143
Resource : ' *'
1144
+ - Action : ' acm:ListTagsForCertificate'
1145
+ Effect : Allow
1146
+ Resource : ' *'
1144
1147
- Action : ' autoscaling:DescribeAutoScalingGroups'
1145
1148
Effect : Allow
1146
1149
Resource : ' *'
@@ -1224,7 +1227,7 @@ Resources:
1224
1227
RoleName : " {{.Cluster.LocalID}}-app-ingr-ctrl"
1225
1228
Type : ' AWS::IAM::Role'
1226
1229
{{ if eq .Cluster.ConfigItems.skipper_open_policy_agent_enabled "true" }}
1227
- # Note: this is not strictly specific to Open Policy Agent and can be extend
1230
+ # Note: this is not strictly specific to Open Policy Agent and can be extend
1228
1231
# if Skipper Ingress needs to access other AWS resources
1229
1232
SkipperIngressIAMRole :
1230
1233
Properties :
Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ kube_aws_ingress_controller_nlb_cross_zone: "true"
46
46
kube_aws_ingress_controller_cert_polling_interval : " 2m"
47
47
# sets the default LB type: "network" or "application" are valid choices (overwritten by nlb_switch)
48
48
kube_aws_ingress_default_lb_type : " application"
49
+ # cert filter
50
+ {{if eq .Cluster.Environment "production"}}
51
+ kube_aws_ingress_controller_cert_filter_tag : " "
52
+ {{else}}
53
+ kube_aws_ingress_controller_cert_filter_tag : " kubernetes=enabled"
54
+ {{end}}
49
55
50
56
# ALB to NLB switch
51
57
# "pre":
Original file line number Diff line number Diff line change 56
56
- --load-balancer-type={{ .Cluster.ConfigItems.kube_aws_ingress_default_lb_type }}
57
57
# {{ end }}
58
58
- --cert-polling-interval={{ .Cluster.ConfigItems.kube_aws_ingress_controller_cert_polling_interval }}
59
+ # {{ if .Cluster.ConfigItems.kube_aws_ingress_controller_cert_filter_tag }}
60
+ - --cert-filter-tag={{ .Cluster.ConfigItems.kube_aws_ingress_controller_cert_filter_tag }}
61
+ # {{ end }}
59
62
env :
60
63
- name : CUSTOM_FILTERS
61
64
value : " tag:kubernetes.io/cluster/{{ .Cluster.ID }}=owned tag:node.kubernetes.io/role=worker tag:zalando.org/ingress-enabled=true"
You can’t perform that action at this time.
0 commit comments