Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

skeeey/aggregator-proxy-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create and query a configmap

# create a configmap
curl -v \
    -X POST \
    -d @- \
    -H 'Content-Type: application/json' \
    http://localhost:8001/apis/aggregation.open-cluster-management.io/v1/clusterstatuses/spokecluster1/aggregator/v1/namespaces/default/configmaps <<'EOF'
{
  "apiVersion": "v1",
  "kind": "ConfigMap",
  "metadata": {
      "name": "mytestcm"
  },
  "data": {
      "test-key": "test-val"
  }
}
EOF

# query the configmap
curl -v http://localhost:8001/apis/aggregation.open-cluster-management.io/v1/clusterstatuses/spokecluster1/aggregator/v1/namespaces/default/configmaps/mytestcm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published