Description
This API creates a resource of type (workload, service, storage, configuration, rbac) and specific mode as follow:
Type | Mode | kind |
---|
workload | ["Deployment", "DaemonSet", "CronJob", "HPA", "Pod"]
| ["Deployment", "DaemonSet", "CronJob", "HorizontalPodAutoscaler", "Pod"]
|
service | ["Service"]
| ["Service"]
|
storage | ["PVC", "PV", "StorageClass"]
| ["PersistentVolumeClaim", "PersistentVolume", "StorageClass"]
|
configuration | ["Secret"]
| ["Secret"]
|
rbac | ["ClusterRole", "ClusterRoleBinding", "RoleBinding", "APIService", "ServiceAccount"]
| ["ClusterRole", "ClusterRoleBinding", "RoleBinding", "APIService", "ServiceAccount"]
|
...
Input
Code Block |
---|
Type: application/json |
Param | Source | Type | Required | Description |
---|
configuration | body | object | yes | |
body | body | object | yes | |
kind | body.body | enum | yes | check table above |