Skip to content

Commit

Permalink
fix domains
Browse files Browse the repository at this point in the history
  • Loading branch information
jayanthvn committed Aug 26, 2021
1 parent 30bf8b7 commit 3cfd1f8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/aws-vpc-cni/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
hostNetwork: true
initContainers:
- name: aws-vpc-cni-init
image: "{{- if .Values.init.image.override }}{{- .Values.init.image.override }}{{- else }}{{- .Values.init.image.account }}.dkr.ecr.{{- .Values.init.image.region }}.amazonaws.com/amazon-k8s-cni-init:{{- .Values.init.image.tag }}{{- end}}"
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 @@ -61,7 +61,7 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: aws-node
image: "{{- if .Values.image.override }}{{- .Values.image.override }}{{- else }}{{- .Values.image.account }}.dkr.ecr.{{- .Values.image.region }}.amazonaws.com/amazon-k8s-cni:{{- .Values.image.tag }}{{- end}}"
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
Expand Down
2 changes: 2 additions & 0 deletions charts/aws-vpc-cni/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ init:
region: us-west-2
account: "602401143452"
pullPolicy: Always
domain: "amazonaws.com"
# Set to use custom image
# override: "repo/org/image:tag"
env:
Expand All @@ -23,6 +24,7 @@ image:
region: us-west-2
tag: v1.9.0
account: "602401143452"
domain: "amazonaws.com"
pullPolicy: Always
# Set to use custom image
# override: "repo/org/image:tag"
Expand Down
2 changes: 1 addition & 1 deletion charts/cni-metrics-helper/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ spec:
value: {{ $value | quote }}
{{- end }}
name: cni-metrics-helper
image: "{{- if .Values.image.override }}{{- .Values.image.override }}{{- else }}{{- .Values.image.account }}.dkr.ecr.{{- .Values.image.region }}.amazonaws.com/cni-metrics-helper:{{- .Values.image.tag }}{{- end}}"
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}}"
serviceAccountName: {{ template "cni-metrics-helper.serviceAccountName" . }}
3 changes: 2 additions & 1 deletion charts/cni-metrics-helper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ nameOverride: cni-metrics-helper
image:
region: us-west-2
tag: v1.9.0
account: "602401143452"
account: "602401143452"
domain: "amazonaws.com"
# Set to use custom image
# override: "repo/org/image:tag"

Expand Down

0 comments on commit 3cfd1f8

Please sign in to comment.