# 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
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
skeeey/aggregator-proxy-server
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published