kubectl-node-shell icon indicating copy to clipboard operation
kubectl-node-shell copied to clipboard

Add KUBECTL_NODE_SHELL_IMAGE_PULL_SECRET_NAME to customize imagePullSecrets

Open huandu opened this issue 1 year ago • 0 comments

Add a new KUBECTL_NODE_SHELL_IMAGE_PULL_SECRET_NAME environment variable to customize imagePullSecrets.

For instance, if KUBECTL_NODE_SHELL_IMAGE_PULL_SECRET_NAME is set to my-secret, imagePullSecrets in Pod spec will be "imagePullSecrets": [ { "name": "my-secret" } ].

huandu avatar Jun 25 '24 04:06 huandu