ContainerImage.Pinniped/deploy/README.md

16 lines
761 B
Markdown
Raw Normal View History

# Deploying
2020-08-27 17:14:03 +00:00
## Tools
2020-07-08 01:50:35 +00:00
2020-08-27 17:14:03 +00:00
This example deployment uses `ytt` from [Carvel](https://carvel.dev/) to template the YAML files.
Either [install `ytt`](https://get-ytt.io/) or use the [container image from Dockerhub](https://hub.docker.com/r/k14s/image/tags).
2020-08-27 17:14:03 +00:00
## Procedure
1. The configuration options are in [values.yml](values.yaml). Fill in the values in that file, or override those values
using `ytt` command-line options in the command below.
2. In a terminal, cd to this `deploy` directory
2020-08-27 17:14:03 +00:00
3. To generate the final YAML files, run: `ytt --file .`
4. Deploy the generated YAML using your preferred deployment tool, such as `kubectl` or [`kapp`](https://get-kapp.io/).
For example: `ytt --file . | kapp deploy --yes --app pinniped --diff-changes --file -`