From 828ae8dfd84e8a325fb506a5f6e462ef8b004632 Mon Sep 17 00:00:00 2001 From: eks-networking-bot <103602188+eks-networking-bot@users.noreply.github.com> Date: Wed, 31 Jul 2024 14:21:45 -0700 Subject: [PATCH] cni-metrics-helper: v1.18.3 (#1139) Co-authored-by: eks-bot --- stable/cni-metrics-helper/Chart.yaml | 4 ++-- stable/cni-metrics-helper/README.md | 2 +- stable/cni-metrics-helper/templates/deployment.yaml | 5 +++++ stable/cni-metrics-helper/values.yaml | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/stable/cni-metrics-helper/Chart.yaml b/stable/cni-metrics-helper/Chart.yaml index e3c4721fb..77ede978c 100644 --- a/stable/cni-metrics-helper/Chart.yaml +++ b/stable/cni-metrics-helper/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: cni-metrics-helper -version: 1.18.2 -appVersion: v1.18.2 +version: 1.18.3 +appVersion: v1.18.3 description: A Helm chart for the AWS VPC CNI Metrics Helper icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png home: https://github.com/aws/amazon-vpc-cni-k8s diff --git a/stable/cni-metrics-helper/README.md b/stable/cni-metrics-helper/README.md index 09637235c..68cfa3aa3 100644 --- a/stable/cni-metrics-helper/README.md +++ b/stable/cni-metrics-helper/README.md @@ -60,7 +60,7 @@ The following table lists the configurable parameters for this chart and their d | -------------------------------|---------------------------------------------------------------|-------------------------------------| | `affinity` | Map of node/pod affinities | `{}` | | `fullnameOverride` | Override the fullname of the chart | `cni-metrics-helper` | -| `image.tag` | Image tag | `v1.18.2` | +| `image.tag` | Image tag | `v1.18.3` | | `image.domain` | ECR repository domain | `amazonaws.com` | | `image.region` | ECR repository region to use. Should match your cluster | `us-west-2` | | `image.account` | ECR repository account number | `602401143452` | diff --git a/stable/cni-metrics-helper/templates/deployment.yaml b/stable/cni-metrics-helper/templates/deployment.yaml index 192ce9e56..7f7fbb6f4 100644 --- a/stable/cni-metrics-helper/templates/deployment.yaml +++ b/stable/cni-metrics-helper/templates/deployment.yaml @@ -41,6 +41,11 @@ spec: {{- end }} name: cni-metrics-helper image: "{{- if .Values.image.override }}{{- .Values.image.override }}{{- else }}{{- .Values.image.account }}.dkr.ecr.{{- .Values.image.region }}.{{- .Values.image.domain }}/cni-metrics-helper:{{- .Values.image.tag }}{{- end}}" +{{- if eq (get .Values.env "USE_PROMETHEUS") "true" }} + ports: + - containerPort: 61681 + name: metrics +{{- end }} serviceAccountName: {{ template "cni-metrics-helper.serviceAccountName" . }} {{- with .Values.tolerations }} tolerations: diff --git a/stable/cni-metrics-helper/values.yaml b/stable/cni-metrics-helper/values.yaml index edf99213c..8d462ef38 100644 --- a/stable/cni-metrics-helper/values.yaml +++ b/stable/cni-metrics-helper/values.yaml @@ -4,7 +4,7 @@ nameOverride: cni-metrics-helper image: region: us-west-2 - tag: v1.18.2 + tag: v1.18.3 account: "602401143452" domain: "amazonaws.com" # Set to use custom image @@ -25,7 +25,7 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template name: annotations: {} - # eks.amazonaws.com/role-arn: arn:aws:iam::AWS_ACCOUNT_ID:role/IAM_ROLE_NAME + # eks.amazonaws.com/role-arn: arn:aws:iam::AWS_ACCOUNT_ID:role/IAM_ROLE_NAME resources: {}