Try something new
This commit is contained in:
parent
4861381801
commit
f94bdaeade
|
@ -20,7 +20,7 @@ metadata:
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
interval: 10m0s
|
interval: 10m0s
|
||||||
path: ./cluster
|
path: ./cluster/home
|
||||||
prune: true
|
prune: true
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
|
|
|
@ -70,16 +70,18 @@ ansible-playbook -i inventory/hosts.yml ./nuke-k3s-cluster
|
||||||
- `kubectl create namespace flux-system --dry-run=client -o yaml | kubectl apply -f -`
|
- `kubectl create namespace flux-system --dry-run=client -o yaml | kubectl apply -f -`
|
||||||
- Add the `sops-age` encryption key to the namespace
|
- Add the `sops-age` encryption key to the namespace
|
||||||
```bash
|
```bash
|
||||||
pass home-k8s-cluster | grep age-secret-key | aws '{printf $2}' | \
|
pass home-k8s-cluster | grep age-secret-key | awk '{printf $2}' | \
|
||||||
kubectl --namespace flux-system create secret generic sops-age \
|
kubectl --namespace flux-system create secret generic sops-age \
|
||||||
--from-file=age.agekey=/dev/stdin
|
--from-file=age.agekey=/dev/stdin
|
||||||
```
|
```
|
||||||
- Install Flux
|
- Install Flux
|
||||||
```
|
```
|
||||||
flux bootstrap git --url=$SSH_REPO_URL --branch=master \
|
flux bootstrap git --url=$SSH_REPO_URL --branch=master \
|
||||||
--path=./cluster --private-key-file=$FLUX_PRIVATE_KEY_FILE
|
--path=./cluster/home --private-key-file=$FLUX_PRIVATE_KEY_FILE
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**NOTE**: If you screw something up
|
||||||
|
|
||||||
# To Do & Status
|
# To Do & Status
|
||||||
|
|
||||||
- Flux setup needs to be finalized
|
- Flux setup needs to be finalized
|
||||||
|
|
Loading…
Reference in a new issue