Skip to main content
GET
/
v1
/
kubernetes
/
configmaps
/
{namespace}
/
{name}
Read a config map
const options = {method: 'GET'};

fetch('http://localhost:4065/v1/kubernetes/configmaps/{namespace}/{name}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": {},
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Path Parameters

namespace
string
required

Kubernetes namespace

Minimum string length: 1
Example:

"kcm-system"

name
string
required

Resource name

Minimum string length: 1
Example:

"my-resource"

Response

ConfigMap data

success
enum<boolean>
required
Available options:
true
data
object
required

Raw Kubernetes resource object

meta
object
required