chore: Update paths in README.md

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-11-29 10:23:35 -05:00
1 parent e986357982
commit 993757ef9d
1 file changed
+6 -6
+6 -6
View File
@@ -431,7 +431,7 @@ Flux is pull-based by design meaning it will periodically check your git reposit
2. Webhook secret - Your webhook secret can be found by decrypting the `secret.sops.yaml` using the following command:
```sh
sops -d ./cluster/apps/flux-system/webhooks/github/secret.sops.yaml | yq .stringData.token
sops -d ./cluster/flux/config/webhooks/github/secret.sops.yaml | yq .stringData.token
```
**Note:** Don't forget to update the `BOOTSTRAP_FLUX_GITHUB_WEBHOOK_SECRET` variable in your `.config.env` file so it matches the generated secret if applicable
@@ -469,7 +469,7 @@ The benefits of a public repository include:
ssh-keygen -t ecdsa -b 521 -C "github-deploy-key" -f ./cluster/github-deploy-key -q -P ""
```
2. Paste public key in the deploy keys section of your repository settings
3. Create sops secret in `cluster/flux/flux-system/github-deploy-key.sops.yaml` with the contents of:
3. Create sops secret in `./cluster/bootstrap/github-deploy-key.sops.yaml` with the contents of:
```yaml
# yamllint disable
apiVersion: v1
@@ -491,13 +491,13 @@ The benefits of a public repository include:
```
4. Encrypt secret:
```sh
sops --encrypt --in-place ./cluster/flux/flux-system/github-deploy-key.sops.yaml
sops --encrypt --in-place ./cluster/bootstrap/github-deploy-key.sops.yaml
```
5. Apply secret to cluster:
```sh
sops --decrypt cluster/flux/flux-system/github-deploy-key.sops.yaml | kubectl apply -f -
sops --decrypt cluster/bootstrap/github-deploy-key.sops.yaml | kubectl apply -f -
```
6. Update `cluster/flux/flux-system/flux-cluster.yaml`:
6. Update `cluster/flux/config/flux-cluster.yaml`:
```yaml
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
@@ -538,4 +538,4 @@ The world is your cluster, have at it!
Big shout out to all the authors and contributors to the projects that we are using in this repository.
Community member [@Whazor](https://github.com/whazor) created [this website](https://whazor.github.io/k8s-at-home-search/) as a creative way to search Helm Releases across GitHub. You may use it as a means to get ideas on how to configure an applications' Helm values.
[@whazor](https://github.com/whazor) created [this website](https://nanne.dev/k8s-at-home-search/) as a creative way to search Helm Releases across GitHub. You may use it as a means to get ideas on how to configure an applications' Helm values.