hecate: fix peer bootstrap path migration duplication
This commit is contained in:
parent
72d33bc2ce
commit
6540eb10c9
@ -402,11 +402,6 @@ migrate_hecate_config() {
|
|||||||
changed=1
|
changed=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if perl -0777 -ne 'exit(!(/local_bootstrap_paths:\n - infrastructure\/core\n/s))' "${CONF_DIR}/hecate.yaml"; then
|
|
||||||
perl -0pi -e 's#local_bootstrap_paths:\n - infrastructure/core\n#local_bootstrap_paths:\n - infrastructure/core\n - clusters/atlas/flux-system\n - infrastructure/sources/helm\n - infrastructure/metallb\n - infrastructure/traefik\n - infrastructure/cert-manager\n - infrastructure/vault-csi\n - infrastructure/vault-injector\n - services/vault\n - infrastructure/postgres\n - services/gitea\n - services/keycloak\n - services/oauth2-proxy\n#s' "${CONF_DIR}/hecate.yaml"
|
|
||||||
echo "[install] expanded peer local_bootstrap_paths for full fallback bootstrap parity"
|
|
||||||
changed=1
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${changed}" -eq 1 ]]; then
|
if [[ "${changed}" -eq 1 ]]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user