From 564f121fa5cc230f2bf33b9296098f86b8cbc65a Mon Sep 17 00:00:00 2001 From: Pierre Smeyers <pierre.smeyers@gmail.com> Date: Sun, 11 Aug 2024 15:47:55 +0200 Subject: [PATCH] docs: use variabilized GitLab server FQDN in CI/CD component reference URLs --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2ed4fd1..b8a558a 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Add the following to your `.gitlab-ci.yml`: ```yaml include: # 1: include the component - - component: gitlab.com/to-be-continuous/kubernetes/gitlab-ci-k8s@6.3.0 + - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s@6.3.0 # 2: set/override component inputs inputs: # ⚠ this is only an example @@ -532,12 +532,12 @@ With: ```yaml include: # main template - - component: gitlab.com/to-be-continuous/kubernetes/gitlab-ci-k8s@6.3.0 + - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s@6.3.0 inputs: # ⚠ oc-container image (includes required curl) kubectl-image: registry.hub.docker.com/docker.io/appuio/oc:v4.14 # Vault variant - - component: gitlab.com/to-be-continuous/kubernetes/gitlab-ci-k8s-vault@6.3.0 + - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s-vault@6.3.0 inputs: # audience claim for JWT vault-oidc-aud: "https://vault.acme.host" @@ -599,9 +599,9 @@ With a common default `GCP_OIDC_PROVIDER` and `GCP_OIDC_ACCOUNT` configuration f ```yaml include: # main template - - component: gitlab.com/to-be-continuous/kubernetes/gitlab-ci-k8s@6.3.0 + - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s@6.3.0 # Google Cloud variant - - component: gitlab.com/to-be-continuous/kubernetes/gitlab-ci-k8ss-gcp@6.3.0 + - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8ss-gcp@6.3.0 inputs: # common OIDC config for non-prod envs gcp-oidc-provider: "projects/<gcp_nonprod_proj_id>/locations/global/workloadIdentityPools/<pool_id>/providers/<provider_id>" -- GitLab