Fix ExternalSecret ClusterSecretStore reuse
Description
This MR fixes an issue where the ExternalSecret name was also being used as the ClusterSecretStore reference, preventing multiple ExternalSecrets from reusing the same ClusterSecretStore.
A new clusterSecretStoreName value has been added to externalSecretsConfiguration.secretList so the ClusterSecretStore reference can be configured independently.
The existing $val.name is kept as the default to maintain backward compatibility for configurations that do not specify clusterSecretStoreName.
Changes
- Added
clusterSecretStoreNametoexternalSecretsConfiguration.secretList. - Updated the ExternalSecret template to use
clusterSecretStoreNameforsecretStoreRef.name. - Added fallback to
$val.nameto preserve existing behavior. - Validated multiple ExternalSecrets can reference the same ClusterSecretStore.
- Validated existing configurations without
clusterSecretStoreNamecontinue to work.
Validation
Validated through a Big Bang deployment that multiple ExternalSecret resources can reference the same ClusterSecretStore.
Also verified backward compatibility: when clusterSecretStoreName is not specified, the ExternalSecret continues to use its name value for secretStoreRef.name.
Linked Issue
Closes #118 (closed)
Upgrade Notices
N/A




