Configmap¶
Low Risk
Operations on this resource are generally safe.
API to GET list of configmaps for a given namespace in a site.
Tools¶
| Tool | Description |
|---|---|
f5xc-api-sites-configmap-list | ConfigMap List. |
Parameters¶
Path Parameters¶
| Parameter | Description | Example |
|---|---|---|
site | Site | - |
Query Parameters¶
| Parameter | Description | Example |
|---|---|---|
namespace | Namespace to scope the listing of configmaps in a site. | - |
Example Usage¶
Ask Claude to help you work with Configmap resources:
List Configmaps¶
"List all configmaps in the 'production' namespace"
CURL Examples¶
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/configmaps" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/configmaps/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/configmaps" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @configmap.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/configmaps/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"