Skip to content
This repository has been archived by the owner on Oct 12, 2018. It is now read-only.

Support resources with ":" in their name #18

Open
pib opened this issue Sep 14, 2018 · 0 comments · May be fixed by #19
Open

Support resources with ":" in their name #18

pib opened this issue Sep 14, 2018 · 0 comments · May be fixed by #19

Comments

@pib
Copy link

pib commented Sep 14, 2018

I was able to successfully deploy the manifests from https://github.com/kubernetes-incubator/metrics-server/tree/master/deploy/1.8%2B (after splitting out the files with multiple resources), but when I try to run a plan or apply, it is escaping the ":"s to "%3A"s which causes kubectl to fail:


* module.metrics_server.k8s_manifest.manifest: 3 error(s) occurred:

* module.metrics_server.k8s_manifest.manifest[2]: k8s_manifest.manifest.2: /home/pib/bin/kubectl kubectl --kubeconfig /tmp/kubeconfig_598509624 get --ignore-not-found clusterrolebindings/metrics-server%3Asystem%3Aauth-delegator exit status 1: invalid resource name "metrics-server%3Asystem%3Aauth-delegator": [may not contain '%']

* module.metrics_server.k8s_manifest.manifest[0]: k8s_manifest.manifest.0: /home/pib/bin/kubectl kubectl --kubeconfig /tmp/kubeconfig_136935660 get --ignore-not-found clusterroles/system%3Ametrics-server exit status 1: invalid resource name "system%3Ametrics-server": [may not contain '%']

* module.metrics_server.k8s_manifest.manifest[1]: k8s_manifest.manifest.1: /home/pib/bin/kubectl kubectl --kubeconfig /tmp/kubeconfig_072056062 get --ignore-not-found clusterrolebindings/system%3Ametrics-server exit status 1: invalid resource name "system%3Ametrics-server": [may not contain '%']
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant