From a5debf562482ee7510df0a1e6c04e67829006e00 Mon Sep 17 00:00:00 2001 From: Ahmed AbouZaid <6760103+aabouzaid@users.noreply.github.com> Date: Wed, 26 Jun 2024 21:28:10 +0200 Subject: [PATCH] refactor: remove the global image tag value and use it from the components Signed-off-by: Ahmed AbouZaid <6760103+aabouzaid@users.noreply.github.com> --- .github/workflows/chart-release.yaml | 1 + .../camunda-platform-alpha/values-latest.yaml | 1 + charts/camunda-platform-latest/README.md | 6 +++--- .../unit/identity/golden/configmap.golden.yaml | 2 +- .../unit/identity/golden/deployment.golden.yaml | 6 +++--- .../golden/ingress-all-enabled.golden.yaml | 2 +- .../unit/identity/golden/ingress.golden.yaml | 2 +- .../unit/identity/golden/service.golden.yaml | 2 +- .../identity/golden/serviceaccount.golden.yaml | 2 +- .../unit/operate/golden/configmap.golden.yaml | 2 +- .../unit/operate/golden/deployment.golden.yaml | 4 ++-- .../golden/ingress-all-enabled.golden.yaml | 2 +- .../unit/operate/golden/ingress.golden.yaml | 2 +- .../unit/operate/golden/service.golden.yaml | 2 +- .../operate/golden/serviceaccount.golden.yaml | 2 +- .../camunda-platform-latest/values-latest.yaml | 17 ++++++++++++----- charts/camunda-platform-latest/values.yaml | 8 +++----- 17 files changed, 35 insertions(+), 28 deletions(-) diff --git a/.github/workflows/chart-release.yaml b/.github/workflows/chart-release.yaml index 686d7379b3..13474534e4 100644 --- a/.github/workflows/chart-release.yaml +++ b/.github/workflows/chart-release.yaml @@ -152,6 +152,7 @@ jobs: GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}' post-release: + if: ${{ contains(github.event.*.labels.*.name, 'release') || github.event.inputs.trigger }} needs: release runs-on: ubuntu-latest permissions: diff --git a/charts/camunda-platform-alpha/values-latest.yaml b/charts/camunda-platform-alpha/values-latest.yaml index 5f7b1ca068..5054c66e48 100644 --- a/charts/camunda-platform-alpha/values-latest.yaml +++ b/charts/camunda-platform-alpha/values-latest.yaml @@ -39,6 +39,7 @@ tasklist: tag: 8.6.0-alpha2 webModeler: + # https://hub.docker.com/r/camunda/web-modeler-restapi image: # renovate: datasource=docker depName=camunda/web-modeler-restapi tag: 8.6.0-alpha2 diff --git a/charts/camunda-platform-latest/README.md b/charts/camunda-platform-latest/README.md index ca7d80231d..3e44dafc56 100644 --- a/charts/camunda-platform-latest/README.md +++ b/charts/camunda-platform-latest/README.md @@ -427,7 +427,7 @@ Please see the corresponding [release guide](../../docs/release.md) to find out | `global.annotations` | Annotations can be used to define common annotations, which should be applied to all deployments | `{}` | | `global.labels.app` | Name of the application | `camunda-platform` | | `global.image.registry` | Can be used to set container image registry. | `""` | -| `global.image.tag` | defines the tag / version which should be used in the most of the apps. | `8.5.2` | +| `global.image.tag` | defines the tag / version which should be used in the most of the apps. | `nil` | | `global.image.pullPolicy` | defines the image pull policy which should be used https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy | `IfNotPresent` | | `global.image.pullSecrets` | can be used to configure image pull secrets https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | `[]` | | `global.ingress` | | | @@ -972,7 +972,7 @@ Please see the corresponding [release guide](../../docs/release.md) to find out | `tasklist.image` | configuration to configure the tasklist image specifics | | | `tasklist.image.registry` | can be used to set container image registry. | `""` | | `tasklist.image.repository` | defines which image repository to use | `camunda/tasklist` | -| `tasklist.image.tag` | can be set to overwrite the global tag, which should be used in that chart | `nil` | +| `tasklist.image.tag` | can be set to overwrite the global tag, which should be used in that chart | `8.5.2` | | `tasklist.image.pullSecrets` | can be used to configure image pull secrets https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | `[]` | | `tasklist.sidecars` | can be used to attach extra containers to the tasklist deployment | `[]` | | `tasklist.initContainers` | can be used to set up extra init containers for the application Pod | `[]` | @@ -1185,7 +1185,7 @@ Please see the corresponding [release guide](../../docs/release.md) to find out | `identity.image` | configuration to configure the identity image specifics | | | `identity.image.registry` | can be used to set container image registry. | `""` | | `identity.image.repository` | defines which image repository to use | `camunda/identity` | -| `identity.image.tag` | can be set to overwrite the global tag, which should be used in that chart | `nil` | +| `identity.image.tag` | can be set to overwrite the global tag, which should be used in that chart | `8.5.3` | | `identity.image.pullSecrets` | can be used to configure image pull secrets https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | `[]` | | `identity.sidecars` | can be used to attach extra containers to the identity deployment | `[]` | | `identity.initContainers` | can be used to set up extra init containers for the application Pod | `[]` | diff --git a/charts/camunda-platform-latest/test/unit/identity/golden/configmap.golden.yaml b/charts/camunda-platform-latest/test/unit/identity/golden/configmap.golden.yaml index 95c8973889..d42579735a 100644 --- a/charts/camunda-platform-latest/test/unit/identity/golden/configmap.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/identity/golden/configmap.golden.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: identity - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: {} data: diff --git a/charts/camunda-platform-latest/test/unit/identity/golden/deployment.golden.yaml b/charts/camunda-platform-latest/test/unit/identity/golden/deployment.golden.yaml index 1e3f806a45..5bdaf147af 100644 --- a/charts/camunda-platform-latest/test/unit/identity/golden/deployment.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/identity/golden/deployment.golden.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: identity - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: {} spec: @@ -33,7 +33,7 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: identity - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: spec: imagePullSecrets: @@ -42,7 +42,7 @@ spec: [] containers: - name: camunda-platform - image: camunda/identity:8.5.2 + image: camunda/identity:8.5.3 imagePullPolicy: IfNotPresent securityContext: allowPrivilegeEscalation: false diff --git a/charts/camunda-platform-latest/test/unit/identity/golden/ingress-all-enabled.golden.yaml b/charts/camunda-platform-latest/test/unit/identity/golden/ingress-all-enabled.golden.yaml index cdc7e12781..748f9d6caf 100644 --- a/charts/camunda-platform-latest/test/unit/identity/golden/ingress-all-enabled.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/identity/golden/ingress-all-enabled.golden.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: identity - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/proxy-buffer-size: 128k diff --git a/charts/camunda-platform-latest/test/unit/identity/golden/ingress.golden.yaml b/charts/camunda-platform-latest/test/unit/identity/golden/ingress.golden.yaml index b5e737cd35..cd902e7869 100644 --- a/charts/camunda-platform-latest/test/unit/identity/golden/ingress.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/identity/golden/ingress.golden.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: identity - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/proxy-buffer-size: 128k diff --git a/charts/camunda-platform-latest/test/unit/identity/golden/service.golden.yaml b/charts/camunda-platform-latest/test/unit/identity/golden/service.golden.yaml index 5b723f92ff..3a91a6314f 100644 --- a/charts/camunda-platform-latest/test/unit/identity/golden/service.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/identity/golden/service.golden.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: identity - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: spec: type: ClusterIP diff --git a/charts/camunda-platform-latest/test/unit/identity/golden/serviceaccount.golden.yaml b/charts/camunda-platform-latest/test/unit/identity/golden/serviceaccount.golden.yaml index e89199ddf9..a3df200815 100644 --- a/charts/camunda-platform-latest/test/unit/identity/golden/serviceaccount.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/identity/golden/serviceaccount.golden.yaml @@ -11,5 +11,5 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: identity - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" automountServiceAccountToken: true \ No newline at end of file diff --git a/charts/camunda-platform-latest/test/unit/operate/golden/configmap.golden.yaml b/charts/camunda-platform-latest/test/unit/operate/golden/configmap.golden.yaml index 2bff090f77..4f102bf696 100644 --- a/charts/camunda-platform-latest/test/unit/operate/golden/configmap.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/operate/golden/configmap.golden.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: operate - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" data: application.yml: | spring: diff --git a/charts/camunda-platform-latest/test/unit/operate/golden/deployment.golden.yaml b/charts/camunda-platform-latest/test/unit/operate/golden/deployment.golden.yaml index 72069d7a46..8cb5614dbe 100644 --- a/charts/camunda-platform-latest/test/unit/operate/golden/deployment.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/operate/golden/deployment.golden.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: operate - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: {} spec: @@ -33,7 +33,7 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: operate - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: spec: imagePullSecrets: diff --git a/charts/camunda-platform-latest/test/unit/operate/golden/ingress-all-enabled.golden.yaml b/charts/camunda-platform-latest/test/unit/operate/golden/ingress-all-enabled.golden.yaml index 3ef33ba6cf..a25361f172 100644 --- a/charts/camunda-platform-latest/test/unit/operate/golden/ingress-all-enabled.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/operate/golden/ingress-all-enabled.golden.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: operate - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/proxy-buffer-size: 128k diff --git a/charts/camunda-platform-latest/test/unit/operate/golden/ingress.golden.yaml b/charts/camunda-platform-latest/test/unit/operate/golden/ingress.golden.yaml index d0d6554368..82185463fe 100644 --- a/charts/camunda-platform-latest/test/unit/operate/golden/ingress.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/operate/golden/ingress.golden.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: operate - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/proxy-buffer-size: 128k diff --git a/charts/camunda-platform-latest/test/unit/operate/golden/service.golden.yaml b/charts/camunda-platform-latest/test/unit/operate/golden/service.golden.yaml index 52822783fd..d9106969f5 100644 --- a/charts/camunda-platform-latest/test/unit/operate/golden/service.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/operate/golden/service.golden.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: operate - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" annotations: spec: type: ClusterIP diff --git a/charts/camunda-platform-latest/test/unit/operate/golden/serviceaccount.golden.yaml b/charts/camunda-platform-latest/test/unit/operate/golden/serviceaccount.golden.yaml index 1baf8fc7ab..eeb7028731 100644 --- a/charts/camunda-platform-latest/test/unit/operate/golden/serviceaccount.golden.yaml +++ b/charts/camunda-platform-latest/test/unit/operate/golden/serviceaccount.golden.yaml @@ -11,5 +11,5 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: camunda-platform app.kubernetes.io/component: operate - app.kubernetes.io/version: "8.5.2" + app.kubernetes.io/version: "8.5.3" automountServiceAccountToken: false \ No newline at end of file diff --git a/charts/camunda-platform-latest/values-latest.yaml b/charts/camunda-platform-latest/values-latest.yaml index 51bc7326b8..fc725b7881 100644 --- a/charts/camunda-platform-latest/values-latest.yaml +++ b/charts/camunda-platform-latest/values-latest.yaml @@ -6,8 +6,7 @@ global: # https://github.com/camunda/camunda-platform/releases # https://hub.docker.com/u/camunda image: - # renovate: datasource=docker depName=camunda/zeebe - tag: 8.5.2 + tag: console: # Camunda Enterprise repository. @@ -25,16 +24,19 @@ connectors: operate: # https://hub.docker.com/r/camunda/operate/tags image: - # renovate: datasource=docker depName=camunda/operate tag: 8.5.4 optimize: # https://hub.docker.com/r/camunda/optimize/tags image: repository: camunda/optimize - # renovate: datasource=docker depName=camunda/optimize tag: 8.5.3 +tasklist: + # https://hub.docker.com/r/camunda/tasklist/tags + image: + tag: 8.5.2 + webModeler: # Camunda Enterprise repository. # registry.camunda.cloud/web-modeler-ee @@ -53,9 +55,14 @@ zeebeGateway: tag: 8.5.3 # -# Identity - Keycloak +# Identity # +identity: + # https://hub.docker.com/r/camunda/identity/tags + image: + tag: 8.5.3 + identityKeycloak: # https://hub.docker.com/r/bitnami/keycloak/tags image: diff --git a/charts/camunda-platform-latest/values.yaml b/charts/camunda-platform-latest/values.yaml index ef98c06c68..0486a603d4 100644 --- a/charts/camunda-platform-latest/values.yaml +++ b/charts/camunda-platform-latest/values.yaml @@ -62,8 +62,7 @@ global: ## @param global.image.registry Can be used to set container image registry. registry: "" ## @param global.image.tag defines the tag / version which should be used in the most of the apps. - # renovate: datasource=docker depName=camunda/zeebe - tag: 8.5.2 + tag: ## @param global.image.pullPolicy defines the image pull policy which should be used https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy pullPolicy: IfNotPresent ## @param global.image.pullSecrets can be used to configure image pull secrets https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod @@ -1452,7 +1451,7 @@ tasklist: ## @param tasklist.image.repository defines which image repository to use repository: camunda/tasklist ## @param tasklist.image.tag can be set to overwrite the global tag, which should be used in that chart - tag: + tag: 8.5.2 ## @param tasklist.image.pullSecrets can be used to configure image pull secrets https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod pullSecrets: [] @@ -1691,7 +1690,6 @@ optimize: ## @param optimize.image.repository defines which image repository to use repository: camunda/optimize ## @param optimize.image.tag can be set to overwrite the global tag, which should be used in that chart - # renovate: datasource=docker depName=camunda/optimize tag: 8.5.3 ## @param optimize.image.pullSecrets can be used to configure image pull secrets https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod pullSecrets: [] @@ -1975,7 +1973,7 @@ identity: ## @param identity.image.repository defines which image repository to use repository: camunda/identity ## @param identity.image.tag can be set to overwrite the global tag, which should be used in that chart - tag: + tag: 8.5.3 ## @param identity.image.pullSecrets can be used to configure image pull secrets https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod pullSecrets: []