feat(config): add ignore-existing for profile create
Description
This PR adds --ignore-existing as a flag for stackit config profile create in order to call the create idempotent and don not get a error in case the profile already exists. That make it possible to use profiles in automation/tool.
Example: I am currently integrating stackit(-cli) into the gardenctl (https://github.com/gardener/gardenctl-v2/pull/669).
Checklist
- [ ] Issue was linked above
- [x] Code format was applied:
make fmt - [ ] Examples were added / adjusted (see e.g. here)
- [x] Docs are up-to-date:
make generate-docs(will be checked by CI) - [x] Unit tests got implemented or updated
- [x] Unit tests are passing:
make test(will be checked by CI) - [x] No linter issues:
make lint(will be checked by CI)
This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.
cc @rubenhoenle
This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.