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 name: longhorn
namespace: longhorn-system namespace: longhorn-system
interval: 20m 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 \ 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 (note the `fish`-isms here, so you may need to translate to `bash`-isms)
``` ```
flux bootstrap git --url=$SSH_REPO_URL --branch=master \ flux bootstrap git --url=(git remote get-url origin-https) --branch=master \
--path=./cluster/home --private-key-file=$FLUX_PRIVATE_KEY_FILE --path=./cluster/home --private-key-file=$HOME/.ssh/flux-k8s-clusters
``` ```
### Troubleshooting ### Troubleshooting