GafaelfawrServiceToken¶
- pydantic model gafaelfawr.models.kubernetes.GafaelfawrServiceToken¶
Representation of a
GafaelfawrServiceToken
resource.- Parameters:
data (
Any
)
Show JSON schema
{ "title": "GafaelfawrServiceToken", "description": "Representation of a ``GafaelfawrServiceToken`` resource.", "type": "object", "properties": { "metadata": { "$ref": "#/$defs/KubernetesMetadata" }, "spec": { "$ref": "#/$defs/GafaelfawrServiceTokenSpec" } }, "$defs": { "GafaelfawrServiceTokenSpec": { "description": "Holds the ``spec`` section of a ``GafaelfawrServiceToken`` resource.", "properties": { "service": { "title": "Service", "type": "string" }, "scopes": { "items": { "type": "string" }, "title": "Scopes", "type": "array" } }, "required": [ "service", "scopes" ], "title": "GafaelfawrServiceTokenSpec", "type": "object" }, "KubernetesMetadata": { "description": "The metadata section of a Kubernetes resource.", "properties": { "name": { "title": "Name", "type": "string" }, "namespace": { "title": "Namespace", "type": "string" }, "annotations": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Annotations" }, "labels": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Labels" }, "uid": { "title": "Uid", "type": "string" }, "generation": { "title": "Generation", "type": "integer" } }, "required": [ "name", "namespace", "uid", "generation" ], "title": "KubernetesMetadata", "type": "object" } }, "required": [ "metadata", "spec" ] }
- Fields:
- field metadata: KubernetesMetadata [Required]¶
Metadata section of the Kubernetes resource.
- field spec: GafaelfawrServiceTokenSpec [Required]¶
Specification for the
Secret
resource to create.