kubectl ConfigMap creation fails (or so it seems)..
Hi everyone
I am trying to setup 'Single Sign On' via Active Directory on my Kubernetes cluster. So I am trying to deploy Dex+Gangway. Weird thing is that I can't seem to deploy a ConfigMap for Dex!!? I am following this link https://github.com/vmware-tanzu/tgik...39/yaml/05-dex I have downloaded the files and modified them to work with LDAP. Now when I do Code:
kubectl apply -f ~/path/to/03-dex-configmap.yaml Code:
configmap/dex created Code:
kubectl delete configmap dex Code:
kubectl get configmaps | grep dex I also tried Code:
kubectl get configmaps But when I do Code:
kubectl delete -f ~/path/to/03-dex-configmap.yaml Code:
configmap "dex" deleted What am I doing wrong?? Thanks in advance Emon |
I am guessing your current context is not the "dex" namespace, where it looks like the ConfigMap YAML is set to deploy to. Try either specifying the namespace using
Code:
kubectl get configmaps -n dex Code:
kubectl config set-context --current --namespace=dex |
All times are GMT -5. The time now is 11:58 AM. |