v1.18.0
Kompose 1.18.0!
Here's what's new in this release of Kompose:
- Added support for pulling secrets (#1091)
- You can now define multiple hostnames within the
kompose.service.expose
label (#1092) - Added label support for volumes (#1083)
Pulling secrets:
You can now tell Kompose to pull secrets by defining a secret name. This uses the new label kompose.image-pull-secret
.
kompose.image-pull-secret
defines a kubernetes secret name for imagePullSecrets podspec field.
For example:
version: '2'
services:
tm-service:
image: premium/private-image
labels:
kompose.image-pull-secret: "example-kubernetes-secret"
Multiple hosts:
You can now define multiple hosts by using comma's.
For example:
labels:
kompose.service.expose: "counter.example.com,foobar.example.com"
Label support for volumes:
Two new labels have been added for volume label support!
kompose.volume.selector
- Add selector.matchLabels to kubernetes PVC for volume bindingkompose.volume.size
- Change kubernetes supported volume size for docker named volumes
For example:
volumes:
database-vol:
labels:
kompose.volume.selector: database-vol-dev
kompose.volume.size: 500Mi
Installation
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.18.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.18.0/kompose-darwin-amd64 -o kompose
chmod +x kompose
sudo mv ./kompose /usr/local/bin/kompose
Windows:
Download from GitHub and add the binary to your PATH.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-1.18.0-1.x86_64.rpm | d7326abde1d9e95999584c56b99323e3f533a795b901ad6941cdb0e213c82028 |
kompose-1.18.0-1.x86_64.rpm.tar.gz | 4416553829b4570bdb7690274b208a8afd67b5b1d5dd766ba16500f153821b2a |
kompose_1.18.0_amd64.deb | ce345689054dc9ce3ebb6c27e5acf22e6b078590e3980d8bbdb12a664a4005aa |
kompose_1.18.0_amd64.deb.tar.gz | 4b45eae50bba64a3e36bfe6c38cd39e27f2002d2551fa1fbb6b51acecf95b9d4 |
kompose-darwin-amd64 | 72ed3547767c605b163004276e59f7b8e6b4598573a6acc130765172d4e8553f |
kompose-darwin-amd64.tar.gz | 32769b7d8cbe5b1033bcff3d870678493d9b3589d78cb7dcf65c366ea6450ac7 |
kompose-linux-amd64 | 4675f1a580b2775d021f3d1777f060ffd44b5f540f956c3b68f092480af9caf4 |
kompose-linux-amd64.tar.gz | d24d6e9f74c543925af142fafde22ed97849d215b589ab6ff2010bbbb3995fb7 |
kompose-linux-arm | 97103e8f9e8bd4d6857ae99f05d2dc8f97c70457910c8146014bb86093c72640 |
kompose-linux-arm.tar.gz | 96091fd267ef7040f2b71258dca6ce390a658ee06001de6b58c60bfec5a95cc5 |
kompose-windows-amd64.exe | 410f9a074dacb0007a5da7619ef27a9f2715b2ea6b591a68dba617938efb47a0 |
kompose-windows-amd64.exe.tar.gz | 80dd69352fb9fdafc7f17e7fa18e00c73de743bb31783da856417d2dabac9d9b |