Open lanthoor opened 4 months ago
Hi @lanthoor The instance will not be updated automatically when the secret changes, you need to update the instance's spec in order to use the new paramerts from the secret. The is an open feature request about it that is currently being evaluated. Thanks
I would indeed argue that the btp-service-operator in supporting parametersFrom should watch those secrets for changes and update the instance or binding accordingly.
I can see how this could be breaking and I could also see the use case of keeping the parameters once read from a secret. So this should probably be configurable.
Where could I track the feature request you mentioned?
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Feature Request is still open, adding this comment to prevent automatic issue closing.
Premise
I have a
ServiceInstance
(calledinstance-a
) and itsServiceBinding
(calledbinding-a
) that are created using the SAP BTP Service Operator.I have another
ServiceInstance
(calledinstance-b
) that usesparametersFrom
to read values from theSecret
generated from the aboveServiceBinding
(binding-a
).Question
A new
Secret
will be created based on the rotation policy I've defined inbinding-a
and the old one will be moved to a suffixedSecret
till TTL expires. Will theServiceInstance
with the nameinstance-b
automatically pick up the new values from theSecret
or do we have to perform some action to make it happen?