
- Refactors the existing cert generation code into controllers which read and write a Secret containing the certs - Does not add any new functionality yet, e.g. no new handling for cert expiration, and no leader election to allow for multiple servers running simultaneously - This commit also doesn't add new tests for the cert generation code, but it should be more unit testable now as controllers
Deploying
This example deployment uses ytt
and kapp
from k14s.io.
If you would rather not install these command-line tools directly on your machine, you can use alternatively get the most recent version of this container image: https://hub.docker.com/r/k14s/image/tags
- Fill in the values in values.yml
- In a terminal, cd to this
deploy
directory - Run:
ytt --file . | kapp deploy --yes --app placeholder-name --diff-changes --file -