Skip to content

Commit 9b1ac47

Browse files
authored
aws-load-balancer-controller: v3.0.0 (#1297)
1 parent 9639b8b commit 9b1ac47

File tree

7 files changed

+61
-19
lines changed

7 files changed

+61
-19
lines changed

stable/aws-load-balancer-controller/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: aws-load-balancer-controller
33
description: AWS Load Balancer Controller Helm chart for Kubernetes
4-
version: 1.17.1
5-
appVersion: v2.17.1
4+
version: 3.0.0
5+
appVersion: v3.0.0
66
home: https://github.com/aws/eks-charts
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

stable/aws-load-balancer-controller/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ The default values set by the application itself can be confirmed [here](https:/
232232
| `webhookTLS.cert` | TLS certificate for webhook (auto-generated if not provided) | "" |
233233
| `webhookTLS.key` | TLS private key for webhook (auto-generated if not provided) | "" |
234234
| `webhookNamespaceSelectors` | Namespace selectors for the wekbook | None |
235-
| `keepTLSSecret` | Reuse existing TLS Secret during chart upgrade | `true` |
236235
| `serviceAnnotations` | Annotations to be added to the provisioned webhook service resource | `{}` |
237236
| `serviceMaxConcurrentReconciles` | Maximum number of concurrently running reconcile loops for service | None |
238237
| `targetgroupbindingMaxConcurrentReconciles` | Maximum number of concurrently running reconcile loops for targetGroupBinding | None |

stable/aws-load-balancer-controller/crds/crds.yaml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,63 @@ spec:
13391339
status:
13401340
description: TargetGroupBindingStatus defines the observed state of TargetGroupBinding
13411341
properties:
1342+
conditions:
1343+
description: Conditions describe the current conditions of the TargetGroupBinding.
1344+
items:
1345+
description: Condition contains details for one aspect of the current
1346+
state of this API Resource.
1347+
properties:
1348+
lastTransitionTime:
1349+
description: |-
1350+
lastTransitionTime is the last time the condition transitioned from one status to another.
1351+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
1352+
format: date-time
1353+
type: string
1354+
message:
1355+
description: |-
1356+
message is a human readable message indicating details about the transition.
1357+
This may be an empty string.
1358+
maxLength: 32768
1359+
type: string
1360+
observedGeneration:
1361+
description: |-
1362+
observedGeneration represents the .metadata.generation that the condition was set based upon.
1363+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
1364+
with respect to the current state of the instance.
1365+
format: int64
1366+
minimum: 0
1367+
type: integer
1368+
reason:
1369+
description: |-
1370+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
1371+
Producers of specific condition types may define expected values and meanings for this field,
1372+
and whether the values are considered a guaranteed API.
1373+
The value should be a CamelCase string.
1374+
This field may not be empty.
1375+
maxLength: 1024
1376+
minLength: 1
1377+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1378+
type: string
1379+
status:
1380+
description: status of the condition, one of True, False, Unknown.
1381+
enum:
1382+
- "True"
1383+
- "False"
1384+
- Unknown
1385+
type: string
1386+
type:
1387+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
1388+
maxLength: 316
1389+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
1390+
type: string
1391+
required:
1392+
- lastTransitionTime
1393+
- message
1394+
- reason
1395+
- status
1396+
- type
1397+
type: object
1398+
type: array
13421399
observedGeneration:
13431400
description: The generation observed by the TargetGroupBinding controller.
13441401
format: int64

stable/aws-load-balancer-controller/templates/_helpers.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ Generate certificates for webhook
102102
caCert: {{ .Values.webhookTLS.caCert | b64enc }}
103103
clientCert: {{ .Values.webhookTLS.cert | b64enc }}
104104
clientKey: {{ .Values.webhookTLS.key | b64enc }}
105-
{{- else if and .Values.keepTLSSecret $secret -}}
106-
caCert: {{ index $secret.data "ca.crt" }}
107-
clientCert: {{ index $secret.data "tls.crt" }}
108-
clientKey: {{ index $secret.data "tls.key" }}
109105
{{- else -}}
110106
{{- $altNames := list (printf "%s.%s" $serviceName .Release.Namespace) (printf "%s.%s.svc" $serviceName .Release.Namespace) (printf "%s.%s.svc.%s" $serviceName .Release.Namespace .Values.cluster.dnsDomain) -}}
111107
{{- $ca := genCA "aws-load-balancer-controller-ca" 3650 -}}

stable/aws-load-balancer-controller/templates/webhook.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,6 @@ data:
371371
tls.crt: {{ $tls.clientCert }}
372372
tls.key: {{ $tls.clientKey }}
373373
{{- else }}
374-
{{- $secretName := (include "aws-load-balancer-controller.webhookCertSecret" .) -}}
375-
{{- $secret := lookup "v1" "Secret" .Release.Namespace $secretName -}}
376-
{{- if not (and .Values.keepTLSSecret $secret) }}
377374
apiVersion: cert-manager.io/v1
378375
kind: Certificate
379376
metadata:
@@ -405,4 +402,3 @@ spec:
405402
{{- end }}
406403
{{- end }}
407404
{{- end }}
408-
{{- end }}

stable/aws-load-balancer-controller/test.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replicaCount: 2
66

77
image:
88
repository: public.ecr.aws/eks/aws-load-balancer-controller
9-
tag: v2.17.1
9+
tag: v3.0.0
1010
pullPolicy: IfNotPresent
1111

1212
imagePullSecrets: []
@@ -188,9 +188,6 @@ webhookNamespaceSelectors:
188188
values:
189189
- enabled
190190

191-
# keepTLSSecret specifies whether to reuse existing TLS secret for chart upgrade
192-
keepTLSSecret: true
193-
194191
# Maximum number of concurrently running reconcile loops for service (default 3)
195192
serviceMaxConcurrentReconciles:
196193

stable/aws-load-balancer-controller/values.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ revisionHistoryLimit: 10
88

99
image:
1010
repository: public.ecr.aws/eks/aws-load-balancer-controller
11-
tag: v2.17.1
11+
tag: v3.0.0
1212
pullPolicy: IfNotPresent
1313

1414
runtimeClassName: ""
@@ -246,9 +246,6 @@ webhookNamespaceSelectors:
246246
# values:
247247
# - enabled
248248

249-
# keepTLSSecret specifies whether to reuse existing TLS secret for chart upgrade
250-
keepTLSSecret: true
251-
252249
# Maximum number of concurrently running reconcile loops for service (default 3)
253250
serviceMaxConcurrentReconciles:
254251

0 commit comments

Comments
 (0)