0.10.1 • Published 5 months ago

autosetup v0.10.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 months ago

autosetup

CircleCI Docker Pulls License

Quickly set up autoapply in a Kubernetes cluster.

Technical overview

  1. Create a configuration file with the repository URL and required secrets
  2. Run autosetup to create Kubernetes resource files based on the configuration file
  3. Apply the resource files to your Kubernetes cluster to create the autoapply deployment

Usage

Run autosetup by using the Docker image autoapply/autosetup.

$ docker run --rm autoapply/autosetup \
    -c git.url=https://github.com/autoapply/template-kubectl \
    -c 'kubernetes.paths=["common","dev"]' \
    -c kubernetes.namespace=autoapply-test \
    > output.yaml
info: All templates successfully generated!
$ cat output.yaml
$ kubectl apply -f output.yaml

Alternatively, you can also install it locally using yarn global add autosetup or npm install -g autosetup.

Configuration

A simple configuration file looks like this:

git:
  url: "https://github.com/autoapply/template-kubectl"
kubernetes:
  paths:
    - "common"
    - "dev"

For more details, see example-config.yaml.

See template-kubectl and template-kustomize for example repositories.

SSH key

The SSH key to access Git repositories can be generated using

$ ssh-keygen -N '' -m PEM -b 4096 -t rsa -f id_rsa -C autoapply

yaml-crypt keys

A new yaml-crypt key can be generated using

$ yaml-crypt --generate-key

sops configuration

For information on how to setup sops, see the documentation.

License

MIT

0.9.6

5 months ago

0.10.1

5 months ago

0.10.0

5 months ago

0.9.4

10 months ago

0.9.3

10 months ago

0.9.5

10 months ago

0.9.2

10 months ago

0.8.5

2 years ago

0.9.0

2 years ago

0.9.1

2 years ago

0.8.4

3 years ago

0.8.3

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.4

4 years ago

0.7.3

5 years ago

0.7.2

5 years ago

0.7.1

5 years ago

0.7.0

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.5

5 years ago

0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.4.0

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago