Commit 2fa3f9a2 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

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

parent e7ee1d75
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ Add the following to your `.gitlab-ci.yml`:
```yaml
include:
  # 1: include the component
  - component: gitlab.com/to-be-continuous/helm/gitlab-ci-helm@7.3.0
  - component: $CI_SERVER_FQDN/to-be-continuous/helm/gitlab-ci-helm@7.3.0
    # 2: set/override component inputs
    inputs:
      # ⚠ this is only an example
@@ -535,9 +535,9 @@ With:
```yaml
include:
  # main template
  - component: gitlab.com/to-be-continuous/helm/gitlab-ci-helm@7.3.0
  - component: $CI_SERVER_FQDN/to-be-continuous/helm/gitlab-ci-helm@7.3.0
  # Vault variant
  - component: gitlab.com/to-be-continuous/helm/gitlab-ci-helm-vault@7.3.0
  - component: $CI_SERVER_FQDN/to-be-continuous/helm/gitlab-ci-helm-vault@7.3.0
    inputs:
      # audience claim for JWT
      vault-oidc-aud: "https://vault.acme.host"
@@ -576,12 +576,12 @@ List of requirements before using this variant for publishing your container ima
```yaml
include:
  # main template
  - component: gitlab.com/to-be-continuous/helm/gitlab-ci-helm@7.3.0
  - component: $CI_SERVER_FQDN/to-be-continuous/helm/gitlab-ci-helm@7.3.0
    inputs:
      # GCP Artifact Registry url
      publish-url: "oci://{GCP_REGION}-docker.pkg.dev/${GCP_PROJECT_ID}/charts"
  # GCP auth variant
  - component: gitlab.com/to-be-continuous/helm/gitlab-ci-helm-gcp@7.3.0
  - component: $CI_SERVER_FQDN/to-be-continuous/helm/gitlab-ci-helm-gcp@7.3.0
    inputs:
      # default WIF provider
      gcp-oidc-provider: "projects/{GCP_PROJECT_NUMBER}/locations/global/workloadIdentityPools/{YOUR_WIF_POOL_NAME}/providers/gitlab-diod"