Get cluster namespace configmap details

Get cluster namespace configmap details

get

Get detailed information for the ConfigMap in the specified cluster and namespace.

Path parameters
clusterIdstringRequired
namespaceNamestringRequired
configmapNamestringRequired
Responses
200
OK
*/*
get
GET /v1/clusters/{clusterId}/namespaces/{namespaceName}/configmaps/{configmapName} HTTP/1.1
Host: 
Accept: */*
200

OK

{
  "annotations": {
    "meta.helm.sh/release-name": "cocktail",
    "meta.helm.sh/release-namespace": "cocktail-system"
  },
  "creationTimestamp": "2023-04-29 05:54:51",
  "data": {
    "my.cnf": "[{\"name\":\"cocktail-addon/addon-manager\",\"version\":\"1.6.9\"...",
    "ping.sh": "#!/bin/bash\nmysqladmin --defaults-extra-file=/scripts/.my.cnf ping\n"
  },
  "deployment": "{\"apiVersion\":\"v1\",\"data\":{\"my.cnf\":\"[client]...",
  "deploymentYaml": "apiVersion: v1\nkind: ConfigMap\nmetadata...",
  "description": "",
  "labels": {
    "app.kubernetes.io/instance": "cocktail",
    "app.kubernetes.io/managed-by": "Helm",
    "app.kubernetes.io/name": "api-cmdb"
  },
  "name": "cocktail-api-cmdb",
  "namespace": "cocktail-system"
}

Was this helpful?