You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| kubeconfig lists full path; `my-binary` is in both `/usr/local/bin` and `/usr/bin`|`PATH=/usr/local/bin:/usr/bin:<...>`| my-binary | /usr/local/bin/my-binary | /usr/bin/my-binary | /usr/bin/my-binary | false |
494
+
| kubeconfig lists full path; `my-binary` is only in `/usr/local/bin`|`PATH=/usr/local/bin:/usr/bin:<...>`| my-binary | /usr/local/bin/my-binary | /usr/bin/my-binary | /usr/bin/my-binary | false |
495
+
| kubeconfig lists full path; `my-binary` is only in `/usr/bin`|`PATH=/usr/local/bin:/usr/bin:<...>`| my-binary | /usr/bin/my-binary | /usr/bin/my-binary | /usr/bin/my-binary | true |
496
+
| kubeconfig lists full path; `my-binary` is only in `/usr/bin`|`PATH=/usr/local/bin:/usr/bin:<...>`| /usr/bin/my-binary | /usr/bin/my-binary | /usr/bin/my-binary | /usr/bin/my-binary | true |
497
+
| kuberc lists full path; `my-binary` is only in `/usr/bin`|`PATH=/usr/local/bin:/usr/bin:<...>`| /usr/bin/my-binary | /usr/bin/my-binary | my-binary | /usr/bin/my-binary | true |
498
+
| kuberc lists full path; `my-binary` is in `/usr/local/bin`|`PATH=/usr/local/bin:/usr/bin:<...>`| /usr/bin/my-binary | /usr/bin/my-binary | my-binary | /usr/local/bin/my-binary | false |
499
+
| neither lists full path; `my-binary` is in `/usr/bin`; equivalent to basename match |`PATH=/usr/local/bin:/usr/bin:<...>`| my-binary | /usr/bin/my-binary | my-binary | /usr/bin/my-binary | true |
500
+
501
+
If `credentialPluginPolicy` is set to `Allowlist`, but a
502
+
`credentialPluginAllowlist` is not provided, it will be considered an
503
+
configuration error. Rather than guess at what the user intended, the operation
504
+
will be aborted just before the `exec` call. An error describing the
505
+
misconfiguration will be returned. This is because the allowlist is a security
506
+
control, and it is likely the user has made a mistake. Since the output may be
507
+
long, it would be easy for a security warning to be lost at the beginning of
508
+
the output. An explicitly empty allowlist (i.e. `credentialPluginAllowlist: []`),
509
+
in combination with `credentialPluginPolicy: Allowlist` will be considered an
510
+
error for the same reason. The user should instead use `credentialPluginPolicy:
511
+
DisableAll` in this case.
512
+
513
+
Commands that don't create a client, such as `kubectl config view` will not be
514
+
affected by the allowlist. Additionally, commands that create but do not *use*
515
+
a client (such as commands run with `--dry-run`) will likewise remain
516
+
unaffected.
517
+
518
+
In future updates, other allowlist entry fields MAY be added. Specifically,
519
+
fields allowing for verification by digest or public key have been discussed.
520
+
The initial design MUST accommodate such future additions.
0 commit comments