Add ConfigMap support to kubernetes module (#21014)

This commit is contained in:
Kamil Cholewiński 2017-08-09 22:03:35 +02:00 committed by Ryan Brown
parent a78f3faa6c
commit b5414088a3

1
lib/ansible/modules/clustering/kubernetes.py Normal file → Executable file
View file

@ -198,6 +198,7 @@ from ansible.module_utils.urls import fetch_url
KIND_URL = { KIND_URL = {
"binding": "/api/v1/namespaces/{namespace}/bindings", "binding": "/api/v1/namespaces/{namespace}/bindings",
"configmap": "/api/v1/namespaces/{namespace}/configmaps",
"endpoints": "/api/v1/namespaces/{namespace}/endpoints", "endpoints": "/api/v1/namespaces/{namespace}/endpoints",
"limitrange": "/api/v1/namespaces/{namespace}/limitranges", "limitrange": "/api/v1/namespaces/{namespace}/limitranges",
"namespace": "/api/v1/namespaces", "namespace": "/api/v1/namespaces",