Files
kubeconform/crdSchemas/master-standalone/replicatedimageset-stable-v1alpha1.json
T
2026-05-05 10:50:30 +01:00

92 lines
3.9 KiB
JSON

{
"description": "ReplicatedImageSet is the Schema for the replicatedimagesets API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "ReplicatedImageSetSpec defines the desired state of ReplicatedImageSet.",
"properties": {
"priority": {
"description": "Priority controls the ordering of alternatives from this CR relative to the original image and other CRs.\nNegative values place alternatives before the original image; positive values place them after.\nDefault is 0 (original image first, then alternatives in default type order).",
"type": "integer"
},
"upstreams": {
"items": {
"properties": {
"credentialSecret": {
"description": "CredentialSecret is a reference to the secret used to pull matching images.",
"properties": {
"name": {
"description": "Name is the name of the secret",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where the secret is located.\nThis value is ignored for namespaced resources and the namespace of the parent object is used instead.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"imageFilter": {
"description": "ImageFilter defines the rules used to select replicated images.",
"properties": {
"exclude": {
"items": {
"type": "string"
},
"type": "array"
},
"include": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
},
"path": {
"description": "Path is a string identifying the image in a registry",
"type": "string"
},
"priority": {
"description": "Priority controls the ordering of this mirror in comparaison to similar alternatives (replicated upstream with same parent priority) when re-routing images.\n0 means no specific ordering (YAML declaration order is preserved).\nPositive values are sorted ascending: lower value = higher priority.",
"type": "integer"
},
"registry": {
"description": "Registry is the registry where the image is located",
"type": "string"
}
},
"required": [
"path",
"registry"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
},
"status": {
"description": "ReplicatedImageSetStatus defines the observed state of ReplicatedImageSet.",
"type": "object"
}
},
"type": "object"
}