Skip to content

Commit

Permalink
refactor: remove the global image tag value and use it from the compo…
Browse files Browse the repository at this point in the history
…nents (#2069)

Signed-off-by: Ahmed AbouZaid <[email protected]>
  • Loading branch information
aabouzaid authored Jun 26, 2024
1 parent 8d218a0 commit 01301ac
Show file tree
Hide file tree
Showing 17 changed files with 35 additions and 28 deletions.
1 change: 1 addition & 0 deletions .github/workflows/chart-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions charts/camunda-platform-alpha/values-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions charts/camunda-platform-latest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` | | |
Expand Down Expand Up @@ -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 | `[]` |
Expand Down Expand Up @@ -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 | `[]` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
17 changes: 12 additions & 5 deletions charts/camunda-platform-latest/values-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -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:
Expand Down
8 changes: 3 additions & 5 deletions charts/camunda-platform-latest/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: []

Expand Down Expand Up @@ -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: []
Expand Down Expand Up @@ -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: []

Expand Down

0 comments on commit 01301ac

Please sign in to comment.