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
2023-12-20 17:00:52 +00:00
..
flux Update Flux group to v2.2.2 2023-12-20 17:00:52 +00:00
hcloud.sops.yaml Add hcloud to bootstrap. 2023-12-12 13:10:12 -06:00
readme.md Moving grafana resources to external file. 2023-12-12 14:36:20 -06:00

Bootstrap

Flux

Install Flux

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

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/hcloud.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 -k kubernetes/apps/monitoring/kube-prometheus-stack/crds/

Kick off Flux applying this repository

kubectl apply --server-side --kustomize ./kubernetes/flux/config