Skip to content
Snippets Groups Projects
Commit 564f121f authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

docs: use variabilized GitLab server FQDN in CI/CD component reference URLs

parent aebc17bf
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ Add the following to your `.gitlab-ci.yml`: ...@@ -16,7 +16,7 @@ Add the following to your `.gitlab-ci.yml`:
```yaml ```yaml
include: include:
# 1: include the component # 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 # 2: set/override component inputs
inputs: inputs:
# ⚠ this is only an example # ⚠ this is only an example
...@@ -532,12 +532,12 @@ With: ...@@ -532,12 +532,12 @@ With:
```yaml ```yaml
include: include:
# main template # 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: inputs:
# ⚠ oc-container image (includes required curl) # ⚠ oc-container image (includes required curl)
kubectl-image: registry.hub.docker.com/docker.io/appuio/oc:v4.14 kubectl-image: registry.hub.docker.com/docker.io/appuio/oc:v4.14
# Vault variant # 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: inputs:
# audience claim for JWT # audience claim for JWT
vault-oidc-aud: "https://vault.acme.host" vault-oidc-aud: "https://vault.acme.host"
...@@ -599,9 +599,9 @@ With a common default `GCP_OIDC_PROVIDER` and `GCP_OIDC_ACCOUNT` configuration f ...@@ -599,9 +599,9 @@ With a common default `GCP_OIDC_PROVIDER` and `GCP_OIDC_ACCOUNT` configuration f
```yaml ```yaml
include: include:
# main template # 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 # 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: inputs:
# common OIDC config for non-prod envs # common OIDC config for non-prod envs
gcp-oidc-provider: "projects/<gcp_nonprod_proj_id>/locations/global/workloadIdentityPools/<pool_id>/providers/<provider_id>" gcp-oidc-provider: "projects/<gcp_nonprod_proj_id>/locations/global/workloadIdentityPools/<pool_id>/providers/<provider_id>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment