Tiny alpine image, which only includes kubectl cli. Used for CI/CD.
218
Generate base64-encoded KUBE_CONFIG, and put it in Bitbucket's environment variable:
base64 -w 0 < ~/.kube/config.base64 < ~/.kube/configExample Pipeline step:
- step:
name: Kubectl deploy
image: luuhai48/tiny-kubectl:latest
script:
- mkdir -p .kube && echo $KUBE_CONFIG | base64 -d > .kube/config
- kubectl get pods
Content type
Image
Digest
Size
16.6 MB
Last updated
about 5 years ago
docker pull luuhai48/tiny-kubectl