File tree Expand file tree Collapse file tree 6 files changed +43
-1
lines changed
helm/aws-load-balancer-controller Expand file tree Collapse file tree 6 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : aws-load-balancer-controller
3
3
description : AWS Load Balancer Controller Helm chart for Kubernetes
4
- version : 1.3.4
4
+ version : 1.3.5
5
5
appVersion : v2.3.1
6
6
home : https://github.com/aws/eks-charts
7
7
icon : https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
Original file line number Diff line number Diff line change @@ -185,6 +185,9 @@ The default values set by the application itself can be confirmed [here](https:/
185
185
| ` terminationGracePeriodSeconds ` | Time period for controller pod to do a graceful shutdown | 10 |
186
186
| ` ingressClass ` | The ingress class to satisfy | alb |
187
187
| ` createIngressClassResource ` | Create ingressClass resource | true |
188
+ | ` ingressClassParams.name ` | IngressClassParams resource's name, default to the aws load balancer controller's name | None
189
+ | ` ingressClassParams.create ` | If ` true ` , create a new ingressClassParams | true
190
+ | ` ingressClassParams.spec ` | IngressClassParams defined ingress specifications | {}
188
191
| ` region ` | The AWS region for the kubernetes cluster | None |
189
192
| ` vpcId ` | The VPC ID for the Kubernetes cluster | None |
190
193
| ` awsMaxRetries ` | Maximum retries for AWS APIs | None |
Original file line number Diff line number Diff line change @@ -117,3 +117,10 @@ Convert map to comma separated key=value string
117
117
{ {- define " aws-load-balancer-controller.convertMapToCsv" -} }
118
118
{ {- range $key , $value := . -} } { { $key } }={ { $value } }, { {- end -} }
119
119
{ {- end -} }
120
+
121
+ { {/*
122
+ Create the name of the ingressClassParams
123
+ */} }
124
+ { {- define " aws-load-balancer-controller.ingressClassParamsName" -} }
125
+ { { default (include " aws-load-balancer-controller.fullname" .) .Values.ingressClassParams.name } }
126
+ { {- end -} }
Original file line number Diff line number Diff line change @@ -7,4 +7,10 @@ metadata:
7
7
{{- include "aws-load-balancer-controller.labels" . | nindent 4 }}
8
8
spec :
9
9
controller : ingress.k8s.aws/alb
10
+ {{- if or .Values.ingressClassParams.create .Values.ingressClassParams.name }}
11
+ parameters :
12
+ apiGroup : elbv2.k8s.aws
13
+ kind : IngressClassParams
14
+ name : {{ include "aws-load-balancer-controller.ingressClassParamsName" . }}
15
+ {{- end }}
10
16
{{- end }}
Original file line number Diff line number Diff line change
1
+ {{- if .Values.ingressClassParams.create }}
2
+ apiVersion : elbv2.k8s.aws/v1beta1
3
+ kind : IngressClassParams
4
+ metadata :
5
+ name : {{ include "aws-load-balancer-controller.ingressClassParamsName" . }}
6
+ {{- if .Values.ingressClassParams.spec }}
7
+ spec :
8
+ {{ toYaml .Values.ingressClassParams.spec | nindent 2}}
9
+ {{- end }}
10
+ {{- end }}
Original file line number Diff line number Diff line change @@ -87,6 +87,22 @@ enableCertManager: false
87
87
# ingresses without ingress class annotation and ingresses of type alb
88
88
ingressClass : alb
89
89
90
+ # ingressClassParams specify the IngressCLassParams that enforce settings for a set of Ingresses when using with ingress Controller.
91
+ ingressClassParams :
92
+ create : true
93
+ # The name of ingressClassParams resource will be referred in ingressClass
94
+ name :
95
+ spec : {}
96
+ # You always can set specifications in `helm install` command through `--set` or `--set-string`
97
+ # If you do want to specify specifications in values.yaml, uncomment the following
98
+ # lines, adjust them as necessary, and remove the curly braces after 'spec:'.
99
+ # namespaceSelector:
100
+ # matchLabels:
101
+ # group:
102
+ # scheme:
103
+ # ipAddressType:
104
+ # tags:
105
+
90
106
# To use IngressClass resource instead of annotation, before you need to install the IngressClass resource pointing to controller.
91
107
# If specified as true, the IngressClass resource will be created.
92
108
createIngressClassResource : true
You can’t perform that action at this time.
0 commit comments