Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content

Only delete app cred if cleanup fully succeeded.

Kurt Garloff requested to merge fix/keep-appcred-till-capo-done into main

Created by: garloff

When anything went wrong, we have k8s objects remaining with a reference to a cloud.conf that encodes the per-cluster application credentials. Once we remove them from OpenStack, they no longer work. Which makes cleaning up any remaining pieces from k8s capo extremely difficult.

So in case of failure, leave the app-cred available for OpenStack. We still remove it from clouds.yaml, as we don't need it there (and can recover it if really needed from cloud.conf).

Signed-off-by: Kurt Garloff kurt@garloff.de

Merge request reports