Skip to content

Commit

Permalink
Charts sync from aws-vpc-cni to eks-charts missed few fixes (aws#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayanthvn authored Feb 28, 2022
1 parent ca72d20 commit b9fdcce
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
4 changes: 2 additions & 2 deletions stable/aws-vpc-cni/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: aws-vpc-cni
version: 1.1.13
version: 1.1.14
appVersion: "v1.10.2"
description: A Helm chart for the AWS VPC CNI
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
Expand All @@ -16,4 +16,4 @@ maintainers:
- name: Jayanth Varavani
url: https://github.com/jayanthvn
email: [email protected]
engine: gotpl
engine: gotpl
7 changes: 7 additions & 0 deletions stable/aws-vpc-cni/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,17 @@ rules:
resources:
- namespaces
verbs: ["list", "watch", "get"]
{{- if .Values.env.ANNOTATE_POD_IP }}
- apiGroups: [""]
resources:
- pods
verbs: ["list", "watch", "get", "patch"]
{{- else }}
- apiGroups: [""]
resources:
- pods
verbs: ["list", "watch", "get"]
{{- end }}
- apiGroups: [""]
resources:
- nodes
Expand Down
1 change: 1 addition & 0 deletions stable/aws-vpc-cni/templates/customresourcedefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
spec:
scope: Cluster
group: crd.k8s.amazonaws.com
preserveUnknownFields: false
versions:
- name: v1alpha1
served: true
Expand Down
9 changes: 4 additions & 5 deletions stable/aws-vpc-cni/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: DaemonSet
apiVersion: apps/v1
metadata:
name: {{ include "aws-vpc-cni.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{ include "aws-vpc-cni.labels" . | indent 4 }}
spec:
Expand Down Expand Up @@ -39,8 +40,7 @@ spec:
hostNetwork: true
initContainers:
- name: aws-vpc-cni-init
image: "{{- if .Values.init.image.override }}{{- .Values.init.image.override }}{{- else }}602401143452.dkr.ecr.{{- .Values.init.image.region }}.amazonaws.com/amazon-k8s-cni-init:{{- .Values.init.image.tag }}{{- end}}"
imagePullPolicy: {{ .Values.init.image.pullPolicy }}
image: "{{- if .Values.init.image.override }}{{- .Values.init.image.override }}{{- else }}{{- .Values.init.image.account }}.dkr.ecr.{{- .Values.init.image.region }}.{{- .Values.init.image.domain }}/amazon-k8s-cni-init:{{- .Values.init.image.tag }}{{- end}}"
env:
{{- range $key, $value := .Values.init.env }}
- name: {{ $key }}
Expand All @@ -62,14 +62,13 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: aws-node
image: "{{- if .Values.image.override }}{{- .Values.image.override }}{{- else }}602401143452.dkr.ecr.{{- .Values.image.region }}.amazonaws.com/amazon-k8s-cni:{{- .Values.image.tag }}{{- end}}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
image: "{{- if .Values.image.override }}{{- .Values.image.override }}{{- else }}{{- .Values.image.account }}.dkr.ecr.{{- .Values.image.region }}.{{- .Values.image.domain }}/amazon-k8s-cni:{{- .Values.image.tag }}{{- end}}"
ports:
- containerPort: 61678
name: metrics
livenessProbe:
{{ toYaml .Values.livenessProbe | indent 12 }}
timeoutSeconds: {{ .Values.livenessProbeTimeoutSeconds }}
timeoutSeconds: {{ .Values.livenessProbeTimeoutSeconds }}
readinessProbe:
{{ toYaml .Values.readinessProbe | indent 12 }}
timeoutSeconds: {{ .Values.readinessProbeTimeoutSeconds }}
Expand Down
1 change: 1 addition & 0 deletions stable/aws-vpc-cni/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "aws-vpc-cni.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{ toYaml . | indent 4 }}
Expand Down
3 changes: 2 additions & 1 deletion stable/aws-vpc-cni/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,5 @@ eniConfig:
# - sg-789

cri:
hostPath: # "/var/run/containerd/containerd.sock"
hostPath:
# path: /var/run/containerd/containerd.sock

0 comments on commit b9fdcce

Please sign in to comment.