Skip to content

Commit

Permalink
change k8s registry, update image process
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jul 26, 2023
1 parent beb2704 commit 66b0283
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ variable "addon_versions" {
type = map(map(string))
default = {
"1.24" = {
"coredns" = null
"kube-proxy" = null
"vpc-cni" = null
"coredns" = "v1.8.7-eksbuild.3"
"kube-proxy" = "v1.24.7-eksbuild.2"
"vpc-cni" = "v1.11.4-eksbuild.1"
"aws-ebs-csi-driver" = "v1.18.0-eksbuild.1"
}
"1.25" = {
Expand All @@ -17,3 +17,4 @@ variable "addon_versions" {
}
}


4 changes: 3 additions & 1 deletion examples/full-cluster-tf-upgrade/1.25/bin/copy_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ copy_image() {
echo "Copying $SOURCE_IMAGE"
echo "to $DESTINATION_IMAGE"

${command[@]}
while ! ${command[@]}; do
echo "Retrying uploading image..."
done
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: istio-profile
spec:
hub: {{ .Values.hub | default "docker.io/istio" }}
tag: {{ .Values.tag | default "1.10.1" }}
tag: {{ .Values.tag | default "1.16.1" }}

meshConfig:
{{- if .Values.envoy.accessLog.enabled }}
Expand Down Expand Up @@ -160,7 +160,6 @@ spec:

gateways:
istio-egressgateway:
zvpn: {}
env: {}
autoscaleEnabled: true
type: ClusterIP
Expand All @@ -177,7 +176,6 @@ spec:
autoscaleEnabled: true
type: LoadBalancer
name: istio-ingressgateway
zvpn: {}
env: {}
secretVolumes:
- name: ingressgateway-certs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,10 @@ image_details = {
source_tag = "v1.12.2"
enabled = true
}

"cluster-autoscaler" = {
name = "cluster-autoscaler"
image = "k8s.gcr.io/autoscaling/cluster-autoscaler"
source_registry = "k8s.gcr.io"
image = "registry.k8s.io/autoscaling/cluster-autoscaler"
source_registry = "registry.k8s.io"
source_image = "autoscaling/cluster-autoscaler"
source_tag = "v1.24.0"
enabled = true
Expand Down Expand Up @@ -106,4 +105,28 @@ image_details = {
source_tag = "1.16.1"
enabled = true
}
"prometheus-operator" = {
name = "prometheus-operator"
image = "docker.io/bitnami/prometheus-operator"
source_registry = "docker.io"
source_image = "bitnami/prometheus-operator"
source_tag = "0.50.0"
enabled = true
}
"prometheus" = {
name = "prometheus"
image = "docker.io/bitnami/prometheus"
source_registry = "docker.io"
source_mage = "bitnami/prometheus"
tag = "2.28.1"
enabled = true
}
"alertmanager" = {
name = "alertmanager"
image = "docker.io/bitnami/alertmanager"
soure_registry = "docker.io"
soure_image = "bitnami/alertmanager"
tag = "0.22.2"
enabled = true
}
}

0 comments on commit 66b0283

Please sign in to comment.