We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b543cb commit 5f8dfa5Copy full SHA for 5f8dfa5
src/extension/host-binary/cmd/main.go
@@ -279,5 +279,5 @@ func runDeriveSecret(ctx context.Context, opts deriveOptions) error {
279
if !slices.Contains(s.Policies, mcpPolicyName) {
280
s.Policies = append(s.Policies, mcpPolicyName)
281
}
282
- return c.SetSecret(ctx, secretsapi.Secret{Name: opts.Dst, Value: s.Value, Policies: []string{mcpPolicyName}})
+ return c.SetSecret(ctx, secretsapi.Secret{Name: opts.Dst, Value: s.Value, Policies: s.Policies})
283
0 commit comments