Skip to main content

Automatically apply changes from a remote URL to the Kubernetes cluster

Project description

Automatically apply changes from a remote URL to the Kubernetes cluster


To start the service locally, run

$ pip3 install --user autoapply
$ autoapply server

For a docker version, use

$ docker run -d -e URL= pascalgn/autoapply

The following URLs are supported:

  • Direct access via HTTPS, for example

  • Access via SSH, or ssh://

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, be sure to specify 600 as default mode when mounting them. For Kubernetes, this would look like this:

  - name: autoapply-container
    image: pascalgn/autoapply
      - name: URL
        value: ''
      - name: autoapply-ssh-secret-volume
        mountPath: /root/.ssh
  - name: autoapply-ssh-secret-volume
      secretName: autoapply-ssh-secret-volume
      defaultMode: 600

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


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

autoapply-0.2.0.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

autoapply-0.2.0-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page