SAP / sap-btp-service-operator

SAP BTP service operator enables developers to connect Kubernetes clusters to SAP BTP accounts and to consume SAP BTP services within the clusters by using Kubernetes native tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Race condition: during the un-deployment, randomly the secret from the management namespace is removed before the services that were created against this secret.

ptesny opened this issue · comments

When trying to use the subaccount-for-a-serviceinstance-resource with ArgoCDaaS I am observing the following race condition:
My secret is in the management namespace; and the BTP services are created in other business namespaces.
That works fine.

However, during the un-deployment, randomly the secret from the management namespace is removed before the services that were created against this secret.

In order to mitigate it I must manually add the secret to the management namespace.
In other words the namespaced and subaccount-for-a-serviceinstance secrets cannot be managed by CI/CD tools
Is that by design?

Hi @ptesny

This is the same issue as:
#449

Regards,
Naama