Was this helpful?
Get the list of ConfigMaps in the specified cluster and namespace.
OK
"2023-04-29 05:54:51"
""
configmap name
"cocktail-api-cmdb"
namespace name
"cocktail-system"
const response = await fetch('/v1/clusters/{clusterId}/namespaces/{namespaceName}/configmaps', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "annotations": { "meta.helm.sh/release-name": "cocktail", "meta.helm.sh/release-namespace": "cocktail-system" }, "creationTimestamp": "2023-04-29 05:54:51", "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" } ]