...
1# Templates
2
3We use [Go's built-in text template package](https://pkg.go.dev/text/template) to compile and render static pod manifests. See https://pkg.go.dev/text/template for more detail on data structures and syntax.
4
5## Manifests
6The `manifests` directory contains a list of static pod template files. These files are rendered and written to `/etc/kubernetes/manifests`.
7
8e.g.
9
10`manifests/mymanifest1.yaml` -> `/etc/kubernetes/manifests/mymanifest1.yaml`
11
12`manifests/mymanifest2.yaml` -> `/etc/kubernetes/manifests/mymanifest2.yaml`
13
14## Config Files
15- The `configfiles` directory contains a list of configuration template files. These files are rendered and written to `/zynstra/config`.
16
17e.g.
18
19`configfiles/myconfigfile.conf` -> `/zynstra/config/myconfigfile.conf`
20
21`configfiles/my/config/file.conf` -> `/zynstra/config/my/config/file.conf`
View as plain text