POST /oapi/v1/processedtemplates HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "ProcessedTemplate", "apiVersion": "v1", ... }
Expand or mouse-over a field for more information about it.
apiVersion:kind:labels:
[string]:message:metadata:
annotations:
[string]:clusterName:creationTimestamp:deletionGracePeriodSeconds:deletionTimestamp:finalizers:
- [string]:generateName:generation:initializers:
pending:
- name:result:
apiVersion:code:details:
causes:
- field:message:reason:group:kind:name:retryAfterSeconds:uid:kind:message:metadata:
resourceVersion:selfLink:reason:status:labels:
[string]:name:namespace:ownerReferences:
- apiVersion:blockOwnerDeletion:controller:kind:name:uid:resourceVersion:selfLink:uid:objects:
- Raw:parameters:
- description:displayName:from:generate:name:required:value:
Create a Template
POST /oapi/v1/processedtemplates HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "ProcessedTemplate", "apiVersion": "v1", ... }
Create a Template
POST /oapi/v1/namespaces/$NAMESPACE/processedtemplates HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "ProcessedTemplate", "apiVersion": "v1", ... }
$ curl -k \ -X POST \ -d @- \ -H "Authorization: Bearer $TOKEN" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ https://$ENDPOINT/oapi/v1/namespaces/$NAMESPACE/processedtemplates <<'EOF' { "kind": "ProcessedTemplate", "apiVersion": "v1", ... } EOF