From e29f9778efcbef2e05427b49e87d70292c7faed4 Mon Sep 17 00:00:00 2001 From: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri, 31 Jan 2025 10:25:44 +0000 Subject: [PATCH] chore(release): 7.0.0 [skip ci] # [7.0.0](https://gitlab.com/to-be-continuous/kubernetes/compare/6.5.0...7.0.0) (2025-01-31) ### Features * variables substitution enhancements ([4023f7f](https://gitlab.com/to-be-continuous/kubernetes/commit/4023f7f862fd89b30067c6d548d4dbf06016f622)) ### BREAKING CHANGES * Now the variables substitution mechanism implements complete YAML string encoding. That might break projects that used to workaround the former implementation flaws. --- CHANGELOG.md | 15 +++++++++++++++ README.md | 12 ++++++------ templates/gitlab-ci-k8s-vault.yml | 2 +- templates/gitlab-ci-k8s.yml | 2 +- 4 files changed, 23 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63d2344..0c6c71d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +# [7.0.0](https://gitlab.com/to-be-continuous/kubernetes/compare/6.5.0...7.0.0) (2025-01-31) + + +### Features + +* variables substitution enhancements ([4023f7f](https://gitlab.com/to-be-continuous/kubernetes/commit/4023f7f862fd89b30067c6d548d4dbf06016f622)) + + +### BREAKING CHANGES + +* Now the variables substitution mechanism +implements complete YAML string encoding. +That might break projects that used to workaround the former +implementation flaws. + # [6.5.0](https://gitlab.com/to-be-continuous/kubernetes/compare/6.4.0...6.5.0) (2025-01-27) diff --git a/README.md b/README.md index b729020..8348072 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: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s@6.5.0 + - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s@7.0.0 # 2: set/override component inputs inputs: # ⚠ this is only an example @@ -35,7 +35,7 @@ Add the following to your `.gitlab-ci.yml`: include: # 1: include the template - project: 'to-be-continuous/kubernetes' - ref: '6.5.0' + ref: '7.0.0' file: '/templates/gitlab-ci-k8s.yml' variables: @@ -526,12 +526,12 @@ With: ```yaml include: # main template - - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s@6.5.0 + - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s@7.0.0 inputs: # ⚠ oc-container image (includes required curl) kubectl-image: registry.hub.docker.com/docker.io/appuio/oc:v4.14 # Vault variant - - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s-vault@6.5.0 + - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s-vault@7.0.0 inputs: # audience claim for JWT vault-oidc-aud: "https://vault.acme.host" @@ -592,9 +592,9 @@ With a common default `GCP_OIDC_PROVIDER` and `GCP_OIDC_ACCOUNT` configuration f ```yaml include: # main template - - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s@6.5.0 + - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8s@7.0.0 # Google Cloud variant - - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8ss-gcp@6.5.0 + - component: $CI_SERVER_FQDN/to-be-continuous/kubernetes/gitlab-ci-k8ss-gcp@7.0.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>" diff --git a/templates/gitlab-ci-k8s-vault.yml b/templates/gitlab-ci-k8s-vault.yml index 7f467ca..7943e33 100644 --- a/templates/gitlab-ci-k8s-vault.yml +++ b/templates/gitlab-ci-k8s-vault.yml @@ -22,7 +22,7 @@ variables: .k8s-base: services: - name: "$TBC_TRACKING_IMAGE" - command: ["--service", "--port", "8082", "kubernetes", "6.5.0"] + command: ["--service", "--port", "8082", "kubernetes", "7.0.0"] - name: "$TBC_VAULT_IMAGE" alias: "vault-secrets-provider" variables: diff --git a/templates/gitlab-ci-k8s.yml b/templates/gitlab-ci-k8s.yml index f6bfa1e..dd47592 100644 --- a/templates/gitlab-ci-k8s.yml +++ b/templates/gitlab-ci-k8s.yml @@ -846,7 +846,7 @@ stages: entrypoint: [""] services: - name: "$TBC_TRACKING_IMAGE" - command: ["--service", "kubernetes", "6.5.0"] + command: ["--service", "kubernetes", "7.0.0"] before_script: - !reference [.k8s-scripts] - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" -- GitLab