Skip to content

Commit

Permalink
Updates CNI helm chart for v1.14.1 release (#999)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydeokar authored Sep 8, 2023
1 parent f586dd3 commit 995876b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
4 changes: 2 additions & 2 deletions stable/aws-vpc-cni/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: aws-vpc-cni
version: 1.14.0
appVersion: "v1.14.0"
version: 1.14.1
appVersion: "v1.14.1"
description: A Helm chart for the AWS VPC CNI
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
home: https://github.com/aws/amazon-vpc-cni-k8s
Expand Down
6 changes: 3 additions & 3 deletions stable/aws-vpc-cni/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ The following table lists the configurable parameters for this chart and their d
| `enableWindowsIpam` | Enable windows support for your cluster | `false` |
| `enableNetworkPolicy` | Enable Network Policy Controller and Agent for your cluster | `false` |
| `fullnameOverride` | Override the fullname of the chart | `aws-node` |
| `image.tag` | Image tag | `v1.14.0` |
| `image.tag` | Image tag | `v1.14.1` |
| `image.domain` | ECR repository domain | `amazonaws.com` |
| `image.region` | ECR repository region to use. Should match your cluster | `us-west-2` |
| `image.endpoint` | ECR repository endpoint to use. | `ecr` |
| `image.account` | ECR repository account number | `602401143452` |
| `image.pullPolicy` | Container pull policy | `IfNotPresent` |
| `image.override` | A custom docker image to use | `nil` |
| `imagePullSecrets` | Docker registry pull secret | `[]` |
| `init.image.tag` | Image tag | `v1.14.0` |
| `init.image.tag` | Image tag | `v1.14.1` |
| `init.image.domain` | ECR repository domain | `amazonaws.com` |
| `init.image.region` | ECR repository region to use. Should match your cluster | `us-west-2` |
| `init.image.endpoint` | ECR repository endpoint to use. | `ecr` |
Expand All @@ -62,7 +62,7 @@ The following table lists the configurable parameters for this chart and their d
| `init.securityContext` | Init container Security context | `privileged: true` |
| `originalMatchLabels` | Use the original daemonset matchLabels | `false` |
| `nameOverride` | Override the name of the chart | `aws-node` |
| `nodeAgent.image.tag` | Image tag for Node Agent | `v1.0.1` |
| `nodeAgent.image.tag` | Image tag for Node Agent | `v1.0.2` |
| `nodeAgent.image.domain`| ECR repository domain | `amazonaws.com` |
| `nodeAgent.image.region`| ECR repository region to use. Should match your cluster | `us-west-2` |
| `nodeAgent.image.endpoint` | ECR repository endpoint to use. | `ecr` |
Expand Down
16 changes: 15 additions & 1 deletion stable/aws-vpc-cni/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,18 @@ The aws-network-policy-agent image to use
{{- else }}
{{- printf "%s.dkr.%s.%s.%s/amazon/aws-network-policy-agent:%s" .Values.nodeAgent.image.account .Values.nodeAgent.image.endpoint .Values.nodeAgent.image.region .Values.nodeAgent.image.domain .Values.nodeAgent.image.tag }}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
The aws-network-policy-agent port to bind to for metrics
*/}}
{{- define "aws-vpc-cni.nodeAgentMetricsBindAddr" -}}
{{- printf ":%s" .Values.nodeAgent.metricsBindAddr }}
{{- end -}}

{{/*
The aws-network-policy-agent port to bind to for health probes
*/}}
{{- define "aws-vpc-cni.nodeAgentHealthProbeBindAddr" -}}
{{- printf ":%s" .Values.nodeAgent.healthProbeBindAddr }}
{{- end -}}
2 changes: 2 additions & 0 deletions stable/aws-vpc-cni/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ spec:
- --enable-ipv6={{ .Values.nodeAgent.enableIpv6 }}
- --enable-network-policy={{ .Values.enableNetworkPolicy }}
- --enable-cloudwatch-logs={{ .Values.nodeAgent.enableCloudWatchLogs }}
- --metrics-bind-addr={{ include "aws-vpc-cni.nodeAgentMetricsBindAddr" . }}
- --health-probe-bind-addr={{ include "aws-vpc-cni.nodeAgentHealthProbeBindAddr" . }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:
Expand Down
8 changes: 5 additions & 3 deletions stable/aws-vpc-cni/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ nameOverride: aws-node

init:
image:
tag: v1.14.0
tag: v1.14.1
domain: amazonaws.com
region: us-west-2
endpoint: ecr
Expand All @@ -25,7 +25,7 @@ init:

nodeAgent:
image:
tag: v1.0.1
tag: v1.0.2
domain: amazonaws.com
region: us-west-2
endpoint: ecr
Expand All @@ -41,9 +41,11 @@ nodeAgent:
privileged: true
enableCloudWatchLogs: "false"
enableIpv6: "false"
metricsBindAddr: "8162"
healthProbeBindAddr: "8163"

image:
tag: v1.14.0
tag: v1.14.1
domain: amazonaws.com
region: us-west-2
endpoint: ecr
Expand Down

0 comments on commit 995876b

Please sign in to comment.