Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Migrate from k8s.gcr.io to registry.k8s.io #2

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion terratest/deploy/chart/k8gb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ For Kubernetes `< 1.19` use this chart and k8gb in version `0.8.8` or lower.
| coredns.image.tag | string | `"v0.0.8"` | image tag |
| coredns.isClusterService | bool | `false` | service: refer to https://www.k8gb.io/docs/service_upgrade.html for upgrading CoreDNS service steps |
| coredns.serviceAccount | object | `{"create":true,"name":"coredns"}` | Creates serviceAccount for coredns |
| externaldns.image | string | `"k8s.gcr.io/external-dns/external-dns:v0.9.0"` | external-dns image repo:tag |
| externaldns.image | string | `"registry.k8s.io/external-dns/external-dns:v0.9.0"` | external-dns image repo:tag |
| externaldns.interval | string | `"20s"` | external-dns sync interval |
| externaldns.securityContext.fsGroup | int | `65534` | For ExternalDNS to be able to read Kubernetes and AWS token files |
| externaldns.securityContext.runAsNonRoot | bool | `true` | |
Expand Down
2 changes: 1 addition & 1 deletion terratest/deploy/chart/k8gb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ k8gb:

externaldns:
# -- external-dns image repo:tag
image: k8s.gcr.io/external-dns/external-dns:v0.9.0
image: registry.k8s.io/external-dns/external-dns:v0.9.0
# -- external-dns sync interval
interval: "20s"
securityContext:
Expand Down
8 changes: 4 additions & 4 deletions terratest/terratest.mk
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ deploy-clusters:

pull-images:
@echo -e "\n$(YELLOW)Pulling Images to be imported into clusters$(NC)"
docker pull k8s.gcr.io/ingress-nginx/controller:v1.1.1
docker pull registry.k8s.io/ingress-nginx/controller:v1.1.1
docker pull ghcr.io/stefanprodan/podinfo:5.2.0
docker pull absaoss/k8s_crd:v0.0.8
docker pull absaoss/external-dns:rfc-ns1
docker pull k8s.gcr.io/ingress-nginx/controller:v1.1.1
docker pull registry.k8s.io/ingress-nginx/controller:v1.1.1
docker pull docker.io/kuritka/k8s_crd:latest-alpha14

prepare-cluster-%:
Expand All @@ -72,10 +72,10 @@ deploy-cluster-%:

@echo -e "\n$(YELLOW)Import Images $(CYAN)$(*)$(NC)"
k3d image import ghcr.io/stefanprodan/podinfo:5.2.0 -c $(*)
k3d image import k8s.gcr.io/ingress-nginx/controller:v1.1.1 -c $(*)
k3d image import registry.k8s.io/ingress-nginx/controller:v1.1.1 -c $(*)
k3d image import absaoss/k8s_crd:v0.0.8 -c $(*)
k3d image import absaoss/external-dns:rfc-ns1 -c $(*)
k3d image import k8s.gcr.io/ingress-nginx/controller:v1.1.1 -c $(*)
k3d image import registry.k8s.io/ingress-nginx/controller:v1.1.1 -c $(*)
k3d image import kuritka/k8s_crd:latest-alpha14 -c $(*)
k3d image import ${REPOSITORY}/${BIN}:${TAG} -c $(*)

Expand Down