From cf82d44861ff6feff5cf123f68b2848b5bf83506 Mon Sep 17 00:00:00 2001 From: kirangodishala Date: Tue, 28 Nov 2023 20:39:54 +0530 Subject: [PATCH] fix(PropertySource): add a delegate accessor to SecretAwarePropertySource to fix clouddriver failure due to inaccessible bootstrap property source. --- .../spinnaker/kork/secrets/SecretAwarePropertySource.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kork-secrets/src/main/java/com/netflix/spinnaker/kork/secrets/SecretAwarePropertySource.java b/kork-secrets/src/main/java/com/netflix/spinnaker/kork/secrets/SecretAwarePropertySource.java index 926058ae0..23c0b4053 100644 --- a/kork-secrets/src/main/java/com/netflix/spinnaker/kork/secrets/SecretAwarePropertySource.java +++ b/kork-secrets/src/main/java/com/netflix/spinnaker/kork/secrets/SecretAwarePropertySource.java @@ -53,4 +53,8 @@ public String[] getPropertyNames() { public boolean containsProperty(String name) { return delegate.containsProperty(name); } + + public EnumerablePropertySource getDelegate() { + return delegate; + } }