Change remediation values for longhorn installation

This commit is contained in:
Daniel Flanagan 2022-02-09 09:46:02 -06:00
parent f0dca45f1c
commit 82a2c80377
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
2 changed files with 9 additions and 3 deletions

View File

@ -24,3 +24,9 @@ spec:
name: longhorn
namespace: longhorn-system
interval: 20m
install:
remediation:
retries: 5
upgrade:
remediation:
remediateLastFailure: false

View File

@ -79,10 +79,10 @@ ansible-playbook -i inventory/hosts.yml ./nuke-k3s-cluster
kubectl --namespace flux-system create secret generic sops-age \
--from-file=age.agekey=/dev/stdin
```
- Install Flux
- Install Flux (note the `fish`-isms here, so you may need to translate to `bash`-isms)
```
flux bootstrap git --url=$SSH_REPO_URL --branch=master \
--path=./cluster/home --private-key-file=$FLUX_PRIVATE_KEY_FILE
flux bootstrap git --url=(git remote get-url origin-https) --branch=master \
--path=./cluster/home --private-key-file=$HOME/.ssh/flux-k8s-clusters
```
### Troubleshooting