Update bootstrap instructions to include omni and kps crds.

This commit is contained in:
Joseph Hanson 2024-02-17 08:51:23 -06:00
parent ab26586c41
commit 6597b1aebf

View file

@ -1,5 +1,13 @@
# Bootstrap # Bootstrap
## Talos
### Bootstrap talos cluster
```sh
omnictl cluster template sync -f ./template.yaml --omniconfig ./omniconfig.yaml
```
## Flux ## Flux
### Install Flux ### Install Flux
@ -8,7 +16,7 @@
kubectl apply --server-side --kustomize ./kubernetes/bootstrap/flux kubectl apply --server-side --kustomize ./kubernetes/bootstrap/flux
``` ```
### Apply Cluster Configuration ### Apply secrets, settings, and crds.
_These cannot be applied with `kubectl` in the regular fashion due to be encrypted with sops_ _These cannot be applied with `kubectl` in the regular fashion due to be encrypted with sops_
@ -17,6 +25,7 @@ sops --decrypt kubernetes/bootstrap/flux/age-key.sops.yaml | kubectl apply -f -
sops --decrypt kubernetes/bootstrap/flux/git-deploy-key.sops.yaml | kubectl apply -f - sops --decrypt kubernetes/bootstrap/flux/git-deploy-key.sops.yaml | kubectl apply -f -
sops --decrypt kubernetes/flux/vars/cluster-secrets.sops.yaml | kubectl apply -f - sops --decrypt kubernetes/flux/vars/cluster-secrets.sops.yaml | kubectl apply -f -
kubectl apply -f kubernetes/flux/vars/cluster-settings.yaml kubectl apply -f kubernetes/flux/vars/cluster-settings.yaml
kubectl apply -k kubernetes/bootstrap/kps-crds/
``` ```
### Kick off Flux applying this repository ### Kick off Flux applying this repository