Skip to content

Commit 7215eae

Browse files
committed
Final polishing
1 parent 64dc466 commit 7215eae

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010
### Added
11-
- Specify version for `helm template` and kubectl image through the `k8sVersion` parameter
11+
- Specify `--kube-version ` for `helm template` and kubectl image through the `k8sVersion` parameter.
12+
⚠️ `k8sVersion` has a default value, so this is no breaking change per se. However, depending on the helm chart used,
13+
the rendered result might look different from before where no `--kube-version` parameter was used.
14+
We recommend setting the `k8sVersion`. Double-check the commits in your GitOps repo.
1215

1316
### Changed
1417
- Changed kubectl image from `lachlanevenson/k8s-kubectl` to `bitnami/kubectl`, because it is available for every k8s version out there

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,13 @@ First of all there are some mandatory properties e.g. the information about your
338338
* `cesBuildLibRepo: 'https://github.com/cloudogu/ces-build-lib'`
339339
* `cesBuildLibVersion: '1.62.0'`
340340
* `mainBranch: 'main'`
341-
* Optional: `k8sVersion: '1.24.8'` Is used for target k8s version in helm template in Argo CD deployments with helm. Is also used to determine the kubectl version, when no specific buildImage is specified.
342-
It is recommended to use an Jenkins environment variable to specify the version, so that you don't have to bump every pipeline after a k8s version upgrade in your cluster.
341+
* Optional: `k8sVersion: '1.24.8'` Is used for target k8s version in helm template in Argo CD deployments with helm. Is also used to determine the kubectl version, when no specific buildImage is specified.
342+
It is recommended to use a Jenkins environment variable to specify the version, so that you don't have to bump every pipeline after a k8s version upgrade in your cluster, e.g.
343+
```
344+
def gitopsConfig = [
345+
k8sVersion: env.K8S_VERSION_TEAM_A
346+
]
347+
```
343348
344349
---
345350
@@ -355,8 +360,8 @@ def gitopsConfig = [
355360
// if you specify k8sVersion parameter, then by default bitnami/kubectl:${k8sVersion} will be used
356361
kubectl: 'bitnami/kubectl:1.24.8',
357362
// These are used for each specific validator via an imageRef property inside the validators config. See [Validators] for examples.
358-
kubeval: 'ghcr.io/cloudogu/helm:3.5.4-1',
359-
helmKubeval: 'ghcr.io/cloudogu/helm:3.5.4-1',
363+
kubeval: 'ghcr.io/cloudogu/helm:3.11.1-2',
364+
helmKubeval: 'ghcr.io/cloudogu/helm:3.11.1-2',
360365
yamllint: 'cytopia/yamllint:1.25-0.9'
361366
]
362367
]

0 commit comments

Comments
 (0)