1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 09:46:23 +00:00
Files
geek-cookbook/_includes/kubernetes-flux-namespace.md
2023-10-20 13:02:27 +13:00

13 lines
464 B
Markdown

## Preparation
### Namespace
We need a namespace to deploy our HelmRelease and associated YAMLs into. Per the [flux design](/kubernetes/deployment/flux/), I create this example yaml in my flux repo at `/bootstrap/namespaces/namespace-{{ page.meta.helmrelease_namespace }}.yaml`:
```yaml title="/bootstrap/namespaces/namespace-{{ page.meta.helmrelease_namespace }}.yaml"
apiVersion: v1
kind: Namespace
metadata:
name: {{ page.meta.helmrelease_namespace }}
```