-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
Description
Running kubectl diff -k under Windows fails with the following error:
error: open C:\Users\xxx\AppData\Local\Temp\LIVE-2610380734\rbac.authorization.k8s.io.v1.ClusterRoleBinding..resource-metrics:system:auth-delegator: The filename, directory name, or volume label syntax is incorrect.
caused by the usage of the colon : character in the resource name of a ClusterRoleBinding, that is not a valid character for filenames under Windows.
Enforcing the Kubernetes specifications about names (i.e. "contain at most 63 characters, contain only lowercase alphanumeric characters or '-', start with an alphanumeric character, end with an alphanumeric character") renaming the ClusterRoleBinding resource with name: resource-metrics:system:auth-delegator to name: resource-metrics_system_auth-delegator solves the compatibility issue under Windows.
Reactions are currently unavailable