This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/bootstrap/readme.md

27 lines
687 B
Markdown
Raw Normal View History

2023-08-13 12:13:53 -05:00
# Bootstrap
## Flux
### Install Flux
```sh
kubectl apply --server-side --kustomize ./kubernetes/bootstrap/flux
```
### Apply Cluster Configuration
_These cannot be applied with `kubectl` in the regular fashion due to be encrypted with sops_
```sh
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 -
2023-08-13 12:13:53 -05:00
sops --decrypt kubernetes/flux/vars/cluster-secrets.sops.yaml | kubectl apply -f -
kubectl apply -f kubernetes/flux/vars/cluster-settings.yaml
```
### Kick off Flux applying this repository
```sh
kubectl apply --server-side --kustomize ./kubernetes/flux/config
```