Skip to content

Commit ce844ec

Browse files
committed
Revise based on feedback
- Describe behavior when allowlist is `nil` - Describe behavior when allowlist is empty - Describe future plans for field additions Signed-off-by: Peter Engelbert <[email protected]>
1 parent 1496033 commit ce844ec

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

keps/sig-cli/3104-introduce-kuberc/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,15 @@ resulting absolute paths must match. That is to say, each element in the
352352
allowlist is a set of criteria; if the binary in question meets all of the
353353
criteria in at least one **set** of criteria, the plugin will be allowed to
354354
execute. If no criteria set succeeds after comparing the binary to all sets of
355-
criteria, the operation will be immediately aborted and an error returned.
355+
criteria, the operation will be immediately aborted and an error returned. If
356+
`credentialPluginAllowlist` is not provided, or is explictly made `nil`, all
357+
binaries will be allowed. If `credentialPluginAllowlist`'s value is set to the
358+
empty list `[]`, *all binaries will be prohibited*.
359+
360+
In future updates, other allowlist entry fields MAY be added. Specifically,
361+
fields allowing for verification by digest or public key have been discussed.
362+
The initial design MUST acommodate such future additions.
363+
356364
```
357365
apiVersion: kubectl.config.k8s.io/v1beta1
358366
kind: Preference

0 commit comments

Comments
 (0)