Skip to content

Commit 64dc466

Browse files
committed
change kubectl image from rancher/kubectl to bitnami/kubectl, because rancher is so lightweight, it does not come with cat preinstalled. This is however essential for Jenkins to run docker.inside, because it always uses cat to keep the container alive.
1 parent d7f28d1 commit 64dc466

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- Specify version for `helm template` and kubectl image through the `k8sVersion` parameter
1212

1313
### Changed
14-
- Changed kubectl image from `lachlanevenson/k8s-kubectl` to `rancher/kubectl`, because it is available for every k8s version out there
14+
- Changed kubectl image from `lachlanevenson/k8s-kubectl` to `bitnami/kubectl`, because it is available for every k8s version out there
1515

1616
### Fixed
1717
- Don't fail when no `values-shared.yaml` is provided

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ def gitopsConfig = [
352352
buildImages: [
353353
// These are used to run helm and kubectl commands in the core logic
354354
helm: 'ghcr.io/cloudogu/helm:3.11.1-2',
355-
// if you specify k8sVersion parameter, then by default rancher/kubectl:v${k8sVersion} will be used
356-
kubectl: 'rancher/kubectl:v1.24.8',
355+
// if you specify k8sVersion parameter, then by default bitnami/kubectl:${k8sVersion} will be used
356+
kubectl: 'bitnami/kubectl:1.24.8',
357357
// These are used for each specific validator via an imageRef property inside the validators config. See [Validators] for examples.
358358
kubeval: 'ghcr.io/cloudogu/helm:3.5.4-1',
359359
helmKubeval: 'ghcr.io/cloudogu/helm:3.5.4-1',

vars/deployViaGitops.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Map createDefaultConfig(String k8sVersion) {
3737
],
3838
kubectl: [
3939
credentialsId: '',
40-
image: "rancher/kubectl:v${k8sVersion}"
40+
image: "bitnami/kubectl:${k8sVersion}"
4141
],
4242
// We use the helm image (that also contains kubeval plugin) to speed up builds by allowing to reuse image
4343
kubeval: [

0 commit comments

Comments
 (0)