Skip to content

Commit 05ad73a

Browse files
committed
disable restricted sg rules by default
1 parent 68c6172 commit 05ad73a

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: aws-load-balancer-controller
33
description: AWS Load Balancer Controller Helm chart for Kubernetes
4-
version: 1.3.1
4+
version: 1.3.2
55
appVersion: v2.3.0
66
home: https://github.com/aws/eks-charts
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,5 +210,6 @@ The default values set by the application itself can be confirmed [here](https:/
210210
| `updateStrategy` | Defines the update strategy for the deployment | `{}` |
211211
| `enableCertManager` | If enabled, cert-manager issues the webhook certificates instead of the helm template | `false` |
212212
| `enableEndpointSlices` | If enabled, controller uses k8s EndpointSlices instead of Endpoints for IP targets | `false` |
213-
| `enableBackendSecurityGroup` | If enabled, controller uses shared security group for backend traffic | `true` |
214-
| `backendSecurityGroup` | Backend security group to use instead of auto created one if the feature is enabled | `` |
213+
| `enableBackendSecurityGroup` | If enabled, controller uses shared security group for backend traffic | `true` |
214+
| `backendSecurityGroup` | Backend security group to use instead of auto created one if the feature is enabled | `` |
215+
| `disableRestrictedSecurityGroupRules` | If disabled, controller will not specify port range restriction in the backend security group rules | `true` |

helm/aws-load-balancer-controller/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ spec:
128128
{{- if .Values.backendSecurityGroup }}
129129
- --backend-security-group={{ .Values.backendSecurityGroup }}
130130
{{- end }}
131+
{{- if kindIs "bool" .Values.disableRestrictedSecurityGroupRules }}
132+
- --disable-restricted-sg-rules={{ .Values.disableRestrictedSecurityGroupRules }}
133+
{{- end }}
131134
{{- if .Values.env }}
132135
env:
133136
{{- range $key, $value := .Values.env }}

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,7 @@ enableEndpointSlices:
221221
enableBackendSecurityGroup:
222222

223223
# backendSecurityGroup specifies backend security group id (default controller auto create backend security group)
224-
backendSecurityGroup:
224+
backendSecurityGroup:
225+
226+
# disableRestrictedSecurityGroupRules specifies whether to disable creating port-range restricted security group rules for traffic
227+
disableRestrictedSecurityGroupRules: true

0 commit comments

Comments
 (0)