UffizziCloud / uffizzi

Build self-serve developer platforms in minutes, not months with out-of-the-box Kubernetes multi-tenancy, virtual clusters, cloud-based dev environments, customizable templating, and more.
https://uffizzi.com
Apache License 2.0
320 stars 25 forks source link

CI/CD: Only update credentials if they changed #473

Closed moklidia closed 1 year ago

moklidia commented 1 year ago

With the --update-if-exists-flag the CLI asks to update the credentials every time the pipeline runs, which increases the number of requests and connection timeout errors in Sentry https://uffizzi-cloud.sentry.io/issues/4361140509/?project=1826818&query=is%3Aunresolved&referrer=issue-stream&stream_index=3

We only need to update and reapply (in the controller) the credential only if the credential data has changed.