Automatically apply changes from a remote URL to the Kubernetes cluster
Project description
Automatically apply changes from a remote URL to the Kubernetes cluster
Usage
To start the service locally, run
$ pip3 install --user autoapply $ autoapply server https://user:password@example.com/repository/my-service.yaml
For a docker version, use
$ docker run -d -e URL=https://example.com/my-service.yaml pascalgn/autoapply
The following URLs are supported:
Direct access via HTTPS, for example https://example.com/my-config/config.yaml
Access via SSH, git@example.com:path/to/repository.git:path/to/config.yaml or ssh://git@example.com:123/path/to/repository.git:path/to/config.yaml
For Git URLs you can append #my-branch to specify the branch to be used. If no branch is given, master will be used.
Providing SSH keys
To use SSH keys, add the properties ID_RSA and ID_RSA_PUB. For Kubernetes, see kubernetes-ssh.yaml.
Encrypted files
You can encrypt the values of Yaml files to protect Kubernetes secrets like SQL database or Docker registry credentials:
$ autoapply crypt -f application-secrets.yaml Password: my-secret-passphrase
This will delete the original file and create a file application-secrets.yaml.crypt, which can later be decrypted by autoapply when providing the password for the server:
$ mkdir ~/.autoapply $ echo -n my-secret-passphrase > ~/.autoapply/crypt.key $ autoapply server https://example.com/repository/application-secrets.yaml
For Kubernetes, see kubernetes-crypt.yaml.
License
Autoapply is licensed under the ISC License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file autoapply-0.3.2.tar.gz
.
File metadata
- Download URL: autoapply-0.3.2.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 222af684191036dbb2bb9579fe7c9b6287f90ef9395f7684f4f86991f01086c2 |
|
MD5 | ecdc5a82505415a269b7e019e4c2aa24 |
|
BLAKE2b-256 | 480951c9903071fc0164632699afb264f087aedf8b5d21c7ab9fdc001b19cba9 |
File details
Details for the file autoapply-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: autoapply-0.3.2-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0945d37a98e92fb979b9024103840984a2a971b7fe9a167823bb4e33df33a10 |
|
MD5 | 9fbc0a4bc4aa15f5617a452d3ac661b5 |
|
BLAKE2b-256 | e8f3e8904c031c2e81f3ae816da74afc0fc7a4c8bc9d6031f091a50f0706d401 |