From 6c75de9334473ac9b55296148d484d90d7338004 Mon Sep 17 00:00:00 2001 From: Andrew Keesler Date: Wed, 16 Sep 2020 15:46:51 -0700 Subject: [PATCH] Use public container images for codegen as as defaults when deploying Signed-off-by: Ryan Richard --- deploy-local-user-authenticator/values.yaml | 4 ++-- deploy/values.yaml | 4 ++-- hack/lib/update-codegen.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy-local-user-authenticator/values.yaml b/deploy-local-user-authenticator/values.yaml index e870f20a..7fb9f3c9 100644 --- a/deploy-local-user-authenticator/values.yaml +++ b/deploy-local-user-authenticator/values.yaml @@ -5,6 +5,6 @@ --- #! Specify either an image_digest or an image_tag. If both are given, only image_digest will be used. -image_repo: #! e.g. registry.example.com/your-project-name/repo-name +image_repo: docker.io/getpinniped/pinniped-server image_digest: #! e.g. sha256:f3c4fdfd3ef865d4b97a1fd295d94acc3f0c654c46b6f27ffad5cf80216903c8 -image_tag: #! e.g. latest +image_tag: latest diff --git a/deploy/values.yaml b/deploy/values.yaml index 621b79e9..e8c7b6df 100644 --- a/deploy/values.yaml +++ b/deploy/values.yaml @@ -11,9 +11,9 @@ namespace: pinniped replicas: 2 #! Specify either an image_digest or an image_tag. If both are given, only image_digest will be used. -image_repo: #! e.g. registry.example.com/your-project-name/repo-name +image_repo: docker.io/getpinniped/pinniped-server image_digest: #! e.g. sha256:f3c4fdfd3ef865d4b97a1fd295d94acc3f0c654c46b6f27ffad5cf80216903c8 -image_tag: #! e.g. latest +image_tag: latest webhook_url: #! e.g., https://example.com webhook_ca_bundle: #! e.g., LS0tLS1CRUdJTiBDRVJUSUZJQ0F... diff --git a/hack/lib/update-codegen.sh b/hack/lib/update-codegen.sh index b8fefbae..d3316e04 100755 --- a/hack/lib/update-codegen.sh +++ b/hack/lib/update-codegen.sh @@ -13,7 +13,7 @@ export GO111MODULE="on" if [[ -z "${CONTAINED:-}" ]]; then for kubeVersion in "${KUBE_VERSIONS[@]}"; do # CODEGEN_IMAGE is the container image to use when running - CODEGEN_IMAGE="gcr.io/tanzu-user-authentication/k8s-code-generator-$(echo "$kubeVersion" | cut -d"." -f1-2):latest" + CODEGEN_IMAGE="docker.io/getpinniped/k8s-code-generator-$(echo "$kubeVersion" | cut -d"." -f1-2):latest" echo "generating code for ${kubeVersion} using ${CODEGEN_IMAGE}..." docker run --rm \