diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 902fe72..3a3fb06 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,6 +7,7 @@ repos: - id: check-json - id: check-added-large-files args: ['--maxkb=500'] + exclude: '^schemas/' - id: check-merge-conflict - id: check-shebang-scripts-are-executable - id: check-symlinks @@ -19,6 +20,7 @@ repos: - id: end-of-file-fixer - id: forbid-new-submodules - id: pretty-format-json + args: ['--autofix'] - id: trailing-whitespace # YAML linting diff --git a/Makefile b/Makefile index 7c3849e..78fb061 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,10 @@ build: @mkdir -p manifests/$(filter-out $@,$(MAKECMDGOALS)) @kustomize build --enable-helm $(filter-out $@,$(MAKECMDGOALS)) --output manifests/$(filter-out $@,$(MAKECMDGOALS)) +# Generate JSON schemas from CRDs and Kubernetes swagger spec (run manually, results committed) +schemas: + @ci/generate-schemas.sh schemas + # kubeconform kubeconform: @ci/validate-apps.sh && \ diff --git a/ci/generate-schemas.sh b/ci/generate-schemas.sh new file mode 100755 index 0000000..5ffeeee --- /dev/null +++ b/ci/generate-schemas.sh @@ -0,0 +1,127 @@ +#!/usr/bin/env bash +set -euo pipefail + +SCHEMA_DIR="${1:-schemas}" +rm -rf "$SCHEMA_DIR" +mkdir -p "$SCHEMA_DIR" + +CRD_URLS=( + "https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github_user/argoproj/argo-cd/refs/tags/v3.3.2/manifests/ha/install.yaml" + "https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/kubernetes-sigs/gateway-api/releases/download/v1.5.1/standard-install.yaml" +) + +SWAGGER_URL="https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github_user/kubernetes/kubernetes/refs/tags/v1.33.7/api/openapi-spec/swagger.json" + +write_schema=' +import json, os + +def write_schema(schema, schema_dir, group, kind, version): + """Strip descriptions and write compact JSON with trailing newline.""" + def strip_descriptions(obj): + if isinstance(obj, dict): + return {k: strip_descriptions(v) for k, v in obj.items() if k != "description"} + if isinstance(obj, list): + return [strip_descriptions(i) for i in obj] + return obj + + schema = strip_descriptions(schema) + group_dir = os.path.join(schema_dir, group) if group else schema_dir + os.makedirs(group_dir, exist_ok=True) + fname = f"{kind}_{version}.json".lower() + with open(os.path.join(group_dir, fname), "w") as f: + json.dump(schema, f, indent=2, sort_keys=True) + f.write("\n") + print(f" Generated: {group}/{fname}" if group else f" Generated: {fname}", file=__import__("sys").stderr) +' + +if command -v kubectl &>/dev/null && kubectl cluster-info &>/dev/null 2>&1; then + echo "==> Fetching CRDs from cluster..." >&2 + kubectl get crds -o json | python3 -c " +import sys, json, os +$write_schema + +data = json.load(sys.stdin) +for crd in data.get('items', []): + spec = crd.get('spec', {}) + group = spec.get('group', '') + kind = spec.get('names', {}).get('kind', '') + for ver in spec.get('versions', []): + version = ver.get('name', '') + openapi = ver.get('schema', {}).get('openAPIV3Schema', {}) + if not openapi: + continue + schema = dict(openapi) + schema['\$schema'] = 'http://json-schema.org/draft-07/schema#' + schema['type'] = 'object' + schema.setdefault('properties', {}) + schema['properties'].setdefault('apiVersion', {'type': 'string'}) + schema['properties'].setdefault('kind', {'type': 'string'}) + schema['properties'].setdefault('metadata', {'type': 'object'}) + write_schema(schema, '$SCHEMA_DIR', group, kind, version) +" +else + echo "==> kubectl not available, skipping cluster CRDs" >&2 +fi + +echo "==> Downloading CRD manifests..." >&2 +for url in "${CRD_URLS[@]}"; do + echo " Fetching: $url" >&2 + curl -sSfL "$url" +done | python3 -c " +import sys, json, yaml, os +$write_schema + +for doc in yaml.safe_load_all(sys.stdin): + if doc is None or doc.get('kind') != 'CustomResourceDefinition': + continue + spec = doc.get('spec', {}) + group = spec.get('group', '') + kind = spec.get('names', {}).get('kind', '') + for ver in spec.get('versions', []): + version = ver.get('name', '') + openapi = ver.get('schema', {}).get('openAPIV3Schema', {}) + if not openapi: + continue + group_dir = os.path.join('$SCHEMA_DIR', group) + fname = f'{kind}_{version}.json'.lower() + if os.path.exists(os.path.join(group_dir, fname)): + continue + schema = dict(openapi) + schema['\$schema'] = 'http://json-schema.org/draft-07/schema#' + schema['type'] = 'object' + schema.setdefault('properties', {}) + schema['properties'].setdefault('apiVersion', {'type': 'string'}) + schema['properties'].setdefault('kind', {'type': 'string'}) + schema['properties'].setdefault('metadata', {'type': 'object'}) + write_schema(schema, '$SCHEMA_DIR', group, kind, version) +" + +echo "==> Downloading Kubernetes swagger spec..." >&2 +curl -sSfL "$SWAGGER_URL" | python3 -c " +import sys, json, os +$write_schema + +swagger = json.load(sys.stdin) +definitions = swagger.get('definitions', {}) +for defn_name, defn in definitions.items(): + for gvk in defn.get('x-kubernetes-group-version-kind', []): + group = gvk.get('group', '') + version = gvk.get('version', '') + kind = gvk.get('kind', '') + schema = { + '\$schema': 'http://json-schema.org/draft-07/schema#', + 'type': 'object', + 'properties': {}, + 'additionalProperties': True, + } + for prop_name, prop_val in defn.get('properties', {}).items(): + prop_copy = {k: v for k, v in prop_val.items() if k != '\$ref'} + if not prop_copy.get('type') and len(prop_copy) > 0: + prop_copy['type'] = 'object' + prop_copy['additionalProperties'] = True + schema['properties'][prop_name] = prop_copy + write_schema(schema, '$SCHEMA_DIR', group, kind, version) +" + +total=$(find "$SCHEMA_DIR" -name '*.json' | wc -l) +echo "==> Schema generation complete: $total schemas in $SCHEMA_DIR" >&2 diff --git a/ci/validate-apps.sh b/ci/validate-apps.sh index fc51271..02b0c7a 100755 --- a/ci/validate-apps.sh +++ b/ci/validate-apps.sh @@ -3,7 +3,10 @@ set -euo pipefail KUBE_VERSION="1.33.7" +SCHEMA_DIR="${SCHEMA_DIR:-schemas}" + schema_args=( + -schema-location "$SCHEMA_DIR/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json" -schema-location "https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github_user/yannh/kubernetes-json-schema/master/{{.NormalizedKubernetesVersion}}-standalone{{.StrictSuffix}}/{{.ResourceKind}}{{.KindSuffix}}.json" -schema-location "https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github_user/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json" ) @@ -18,6 +21,6 @@ while IFS= read -r -d "" k; do -summary \ -output pretty \ -verbose \ - -skip CustomResourceDefinition,GpuDevicePlugin,LBNodeAgent,ServiceGroup \ + \ "${schema_args[@]}" done < <(find apps/overlays -name kustomization.yaml -print0) diff --git a/ci/validate-clusters.sh b/ci/validate-clusters.sh index 8ec7fb1..dc5b2a3 100755 --- a/ci/validate-clusters.sh +++ b/ci/validate-clusters.sh @@ -3,7 +3,10 @@ set -euo pipefail KUBE_VERSION="1.33.7" +SCHEMA_DIR="${SCHEMA_DIR:-schemas}" + schema_args=( + -schema-location "$SCHEMA_DIR/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json" -schema-location "https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github_user/yannh/kubernetes-json-schema/master/{{.NormalizedKubernetesVersion}}-standalone{{.StrictSuffix}}/{{.ResourceKind}}{{.KindSuffix}}.json" -schema-location "https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github_user/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json" ) @@ -18,6 +21,6 @@ while IFS= read -r -d "" k; do -summary \ -output pretty \ -verbose \ - -skip CustomResourceDefinition \ + \ "${schema_args[@]}" done < <(find clusters -name kustomization.yaml -print0) diff --git a/schemas/acme.cert-manager.io/challenge_v1.json b/schemas/acme.cert-manager.io/challenge_v1.json new file mode 100644 index 0000000..7d6e4a0 --- /dev/null +++ b/schemas/acme.cert-manager.io/challenge_v1.json @@ -0,0 +1,2295 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "authorizationURL": { + "type": "string" + }, + "dnsName": { + "type": "string" + }, + "issuerRef": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "key": { + "type": "string" + }, + "solver": { + "properties": { + "dns01": { + "properties": { + "acmeDNS": { + "properties": { + "accountSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "host": { + "type": "string" + } + }, + "required": [ + "accountSecretRef", + "host" + ], + "type": "object" + }, + "akamai": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientSecretSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "serviceConsumerDomain": { + "type": "string" + } + }, + "required": [ + "accessTokenSecretRef", + "clientSecretSecretRef", + "clientTokenSecretRef", + "serviceConsumerDomain" + ], + "type": "object" + }, + "azureDNS": { + "properties": { + "clientID": { + "type": "string" + }, + "clientSecretSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "environment": { + "enum": [ + "AzurePublicCloud", + "AzureChinaCloud", + "AzureGermanCloud", + "AzureUSGovernmentCloud" + ], + "type": "string" + }, + "hostedZoneName": { + "type": "string" + }, + "managedIdentity": { + "properties": { + "clientID": { + "type": "string" + }, + "resourceID": { + "type": "string" + }, + "tenantID": { + "type": "string" + } + }, + "type": "object" + }, + "resourceGroupName": { + "type": "string" + }, + "subscriptionID": { + "type": "string" + }, + "tenantID": { + "type": "string" + }, + "zoneType": { + "enum": [ + "AzurePublicZone", + "AzurePrivateZone" + ], + "type": "string" + } + }, + "required": [ + "resourceGroupName", + "subscriptionID" + ], + "type": "object" + }, + "cloudDNS": { + "properties": { + "hostedZoneName": { + "type": "string" + }, + "project": { + "type": "string" + }, + "serviceAccountSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "project" + ], + "type": "object" + }, + "cloudflare": { + "properties": { + "apiKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "apiTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "email": { + "type": "string" + } + }, + "type": "object" + }, + "cnameStrategy": { + "enum": [ + "None", + "Follow" + ], + "type": "string" + }, + "digitalocean": { + "properties": { + "tokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "tokenSecretRef" + ], + "type": "object" + }, + "rfc2136": { + "properties": { + "nameserver": { + "type": "string" + }, + "protocol": { + "enum": [ + "TCP", + "UDP" + ], + "type": "string" + }, + "tsigAlgorithm": { + "type": "string" + }, + "tsigKeyName": { + "type": "string" + }, + "tsigSecretSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "nameserver" + ], + "type": "object" + }, + "route53": { + "properties": { + "accessKeyID": { + "type": "string" + }, + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "auth": { + "properties": { + "kubernetes": { + "properties": { + "serviceAccountRef": { + "properties": { + "audiences": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "serviceAccountRef" + ], + "type": "object" + } + }, + "required": [ + "kubernetes" + ], + "type": "object" + }, + "hostedZoneID": { + "type": "string" + }, + "region": { + "type": "string" + }, + "role": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "webhook": { + "properties": { + "config": { + "x-kubernetes-preserve-unknown-fields": true + }, + "groupName": { + "type": "string" + }, + "solverName": { + "type": "string" + } + }, + "required": [ + "groupName", + "solverName" + ], + "type": "object" + } + }, + "type": "object" + }, + "http01": { + "properties": { + "gatewayHTTPRoute": { + "properties": { + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "parentRefs": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "podTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "priorityClassName": { + "type": "string" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "securityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "serviceAccountName": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serviceType": { + "type": "string" + } + }, + "type": "object" + }, + "ingress": { + "properties": { + "class": { + "type": "string" + }, + "ingressClassName": { + "type": "string" + }, + "ingressTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "podTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "priorityClassName": { + "type": "string" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "securityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "serviceAccountName": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serviceType": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "dnsNames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dnsZones": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "token": { + "type": "string" + }, + "type": { + "enum": [ + "HTTP-01", + "DNS-01" + ], + "type": "string" + }, + "url": { + "type": "string" + }, + "wildcard": { + "type": "boolean" + } + }, + "required": [ + "authorizationURL", + "dnsName", + "issuerRef", + "key", + "solver", + "token", + "type", + "url" + ], + "type": "object" + }, + "status": { + "properties": { + "presented": { + "type": "boolean" + }, + "processing": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "state": { + "enum": [ + "valid", + "ready", + "pending", + "processing", + "invalid", + "expired", + "errored" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/acme.cert-manager.io/order_v1.json b/schemas/acme.cert-manager.io/order_v1.json new file mode 100644 index 0000000..26f553e --- /dev/null +++ b/schemas/acme.cert-manager.io/order_v1.json @@ -0,0 +1,162 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "commonName": { + "type": "string" + }, + "dnsNames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "duration": { + "type": "string" + }, + "ipAddresses": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "issuerRef": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "profile": { + "type": "string" + }, + "request": { + "format": "byte", + "type": "string" + } + }, + "required": [ + "issuerRef", + "request" + ], + "type": "object" + }, + "status": { + "properties": { + "authorizations": { + "items": { + "properties": { + "challenges": { + "items": { + "properties": { + "token": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "token", + "type", + "url" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "identifier": { + "type": "string" + }, + "initialState": { + "enum": [ + "valid", + "ready", + "pending", + "processing", + "invalid", + "expired", + "errored" + ], + "type": "string" + }, + "url": { + "type": "string" + }, + "wildcard": { + "type": "boolean" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "certificate": { + "format": "byte", + "type": "string" + }, + "failureTime": { + "format": "date-time", + "type": "string" + }, + "finalizeURL": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "state": { + "enum": [ + "valid", + "ready", + "pending", + "processing", + "invalid", + "expired", + "errored" + ], + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/addons.cluster.x-k8s.io/clusterresourceset_v1alpha3.json b/schemas/addons.cluster.x-k8s.io/clusterresourceset_v1alpha3.json new file mode 100644 index 0000000..6749b1f --- /dev/null +++ b/schemas/addons.cluster.x-k8s.io/clusterresourceset_v1alpha3.json @@ -0,0 +1,130 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resources": { + "items": { + "properties": { + "kind": { + "enum": [ + "Secret", + "ConfigMap" + ], + "type": "string" + }, + "name": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "strategy": { + "enum": [ + "ApplyOnce" + ], + "type": "string" + } + }, + "required": [ + "clusterSelector" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/addons.cluster.x-k8s.io/clusterresourceset_v1alpha4.json b/schemas/addons.cluster.x-k8s.io/clusterresourceset_v1alpha4.json new file mode 100644 index 0000000..6749b1f --- /dev/null +++ b/schemas/addons.cluster.x-k8s.io/clusterresourceset_v1alpha4.json @@ -0,0 +1,130 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resources": { + "items": { + "properties": { + "kind": { + "enum": [ + "Secret", + "ConfigMap" + ], + "type": "string" + }, + "name": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "strategy": { + "enum": [ + "ApplyOnce" + ], + "type": "string" + } + }, + "required": [ + "clusterSelector" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/addons.cluster.x-k8s.io/clusterresourceset_v1beta1.json b/schemas/addons.cluster.x-k8s.io/clusterresourceset_v1beta1.json new file mode 100644 index 0000000..a93097a --- /dev/null +++ b/schemas/addons.cluster.x-k8s.io/clusterresourceset_v1beta1.json @@ -0,0 +1,198 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resources": { + "items": { + "properties": { + "kind": { + "enum": [ + "Secret", + "ConfigMap" + ], + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "strategy": { + "enum": [ + "ApplyOnce", + "Reconcile" + ], + "type": "string" + } + }, + "required": [ + "clusterSelector" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "v1beta2": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/addons.cluster.x-k8s.io/clusterresourcesetbinding_v1alpha3.json b/schemas/addons.cluster.x-k8s.io/clusterresourcesetbinding_v1alpha3.json new file mode 100644 index 0000000..7413289 --- /dev/null +++ b/schemas/addons.cluster.x-k8s.io/clusterresourcesetbinding_v1alpha3.json @@ -0,0 +1,68 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "bindings": { + "items": { + "properties": { + "clusterResourceSetName": { + "type": "string" + }, + "resources": { + "items": { + "properties": { + "applied": { + "type": "boolean" + }, + "hash": { + "type": "string" + }, + "kind": { + "enum": [ + "Secret", + "ConfigMap" + ], + "type": "string" + }, + "lastAppliedTime": { + "format": "date-time", + "type": "string" + }, + "name": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "applied", + "kind", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "clusterResourceSetName" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/addons.cluster.x-k8s.io/clusterresourcesetbinding_v1alpha4.json b/schemas/addons.cluster.x-k8s.io/clusterresourcesetbinding_v1alpha4.json new file mode 100644 index 0000000..7413289 --- /dev/null +++ b/schemas/addons.cluster.x-k8s.io/clusterresourcesetbinding_v1alpha4.json @@ -0,0 +1,68 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "bindings": { + "items": { + "properties": { + "clusterResourceSetName": { + "type": "string" + }, + "resources": { + "items": { + "properties": { + "applied": { + "type": "boolean" + }, + "hash": { + "type": "string" + }, + "kind": { + "enum": [ + "Secret", + "ConfigMap" + ], + "type": "string" + }, + "lastAppliedTime": { + "format": "date-time", + "type": "string" + }, + "name": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "applied", + "kind", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "clusterResourceSetName" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/addons.cluster.x-k8s.io/clusterresourcesetbinding_v1beta1.json b/schemas/addons.cluster.x-k8s.io/clusterresourcesetbinding_v1beta1.json new file mode 100644 index 0000000..7f3ed73 --- /dev/null +++ b/schemas/addons.cluster.x-k8s.io/clusterresourcesetbinding_v1beta1.json @@ -0,0 +1,80 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "bindings": { + "items": { + "properties": { + "clusterResourceSetName": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "resources": { + "items": { + "properties": { + "applied": { + "type": "boolean" + }, + "hash": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "kind": { + "enum": [ + "Secret", + "ConfigMap" + ], + "type": "string" + }, + "lastAppliedTime": { + "format": "date-time", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "applied", + "kind", + "name" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + } + }, + "required": [ + "clusterResourceSetName" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "clusterName": { + "maxLength": 63, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admission.k8s.io/deleteoptions_v1.json b/schemas/admission.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/admission.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/admission.k8s.io/deleteoptions_v1beta1.json b/schemas/admission.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/admission.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/admission.k8s.io/watchevent_v1.json b/schemas/admission.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/admission.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/admission.k8s.io/watchevent_v1beta1.json b/schemas/admission.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/admission.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/deleteoptions_v1.json b/schemas/admissionregistration.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/deleteoptions_v1alpha1.json b/schemas/admissionregistration.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/deleteoptions_v1beta1.json b/schemas/admissionregistration.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/mutatingadmissionpolicy_v1alpha1.json b/schemas/admissionregistration.k8s.io/mutatingadmissionpolicy_v1alpha1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/mutatingadmissionpolicy_v1alpha1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/mutatingadmissionpolicybinding_v1alpha1.json b/schemas/admissionregistration.k8s.io/mutatingadmissionpolicybinding_v1alpha1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/mutatingadmissionpolicybinding_v1alpha1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/mutatingadmissionpolicybindinglist_v1alpha1.json b/schemas/admissionregistration.k8s.io/mutatingadmissionpolicybindinglist_v1alpha1.json new file mode 100644 index 0000000..83019aa --- /dev/null +++ b/schemas/admissionregistration.k8s.io/mutatingadmissionpolicybindinglist_v1alpha1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/mutatingadmissionpolicylist_v1alpha1.json b/schemas/admissionregistration.k8s.io/mutatingadmissionpolicylist_v1alpha1.json new file mode 100644 index 0000000..584f6df --- /dev/null +++ b/schemas/admissionregistration.k8s.io/mutatingadmissionpolicylist_v1alpha1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/mutatingwebhookconfiguration_v1.json b/schemas/admissionregistration.k8s.io/mutatingwebhookconfiguration_v1.json new file mode 100644 index 0000000..a7be50c --- /dev/null +++ b/schemas/admissionregistration.k8s.io/mutatingwebhookconfiguration_v1.json @@ -0,0 +1,29 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "webhooks": { + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhook" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/mutatingwebhookconfigurationlist_v1.json b/schemas/admissionregistration.k8s.io/mutatingwebhookconfigurationlist_v1.json new file mode 100644 index 0000000..98aae55 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/mutatingwebhookconfigurationlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/validatingadmissionpolicy_v1.json b/schemas/admissionregistration.k8s.io/validatingadmissionpolicy_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/validatingadmissionpolicy_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/validatingadmissionpolicy_v1beta1.json b/schemas/admissionregistration.k8s.io/validatingadmissionpolicy_v1beta1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/validatingadmissionpolicy_v1beta1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/validatingadmissionpolicybinding_v1.json b/schemas/admissionregistration.k8s.io/validatingadmissionpolicybinding_v1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/validatingadmissionpolicybinding_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/validatingadmissionpolicybinding_v1beta1.json b/schemas/admissionregistration.k8s.io/validatingadmissionpolicybinding_v1beta1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/validatingadmissionpolicybinding_v1beta1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/validatingadmissionpolicybindinglist_v1.json b/schemas/admissionregistration.k8s.io/validatingadmissionpolicybindinglist_v1.json new file mode 100644 index 0000000..ed8a32b --- /dev/null +++ b/schemas/admissionregistration.k8s.io/validatingadmissionpolicybindinglist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/validatingadmissionpolicybindinglist_v1beta1.json b/schemas/admissionregistration.k8s.io/validatingadmissionpolicybindinglist_v1beta1.json new file mode 100644 index 0000000..f59cb8a --- /dev/null +++ b/schemas/admissionregistration.k8s.io/validatingadmissionpolicybindinglist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/validatingadmissionpolicylist_v1.json b/schemas/admissionregistration.k8s.io/validatingadmissionpolicylist_v1.json new file mode 100644 index 0000000..4b614d6 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/validatingadmissionpolicylist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/validatingadmissionpolicylist_v1beta1.json b/schemas/admissionregistration.k8s.io/validatingadmissionpolicylist_v1beta1.json new file mode 100644 index 0000000..d25da7f --- /dev/null +++ b/schemas/admissionregistration.k8s.io/validatingadmissionpolicylist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicy" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/validatingwebhookconfiguration_v1.json b/schemas/admissionregistration.k8s.io/validatingwebhookconfiguration_v1.json new file mode 100644 index 0000000..2b1b97e --- /dev/null +++ b/schemas/admissionregistration.k8s.io/validatingwebhookconfiguration_v1.json @@ -0,0 +1,29 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "webhooks": { + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhook" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/validatingwebhookconfigurationlist_v1.json b/schemas/admissionregistration.k8s.io/validatingwebhookconfigurationlist_v1.json new file mode 100644 index 0000000..ca1cd68 --- /dev/null +++ b/schemas/admissionregistration.k8s.io/validatingwebhookconfigurationlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/watchevent_v1.json b/schemas/admissionregistration.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/admissionregistration.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/watchevent_v1alpha1.json b/schemas/admissionregistration.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/admissionregistration.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/admissionregistration.k8s.io/watchevent_v1beta1.json b/schemas/admissionregistration.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/admissionregistration.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/agent.k8s.elastic.co/agent_v1alpha1.json b/schemas/agent.k8s.elastic.co/agent_v1alpha1.json new file mode 100644 index 0000000..4db849c --- /dev/null +++ b/schemas/agent.k8s.elastic.co/agent_v1alpha1.json @@ -0,0 +1,693 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "configRef": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "daemonSet": { + "properties": { + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "updateStrategy": { + "properties": { + "rollingUpdate": { + "properties": { + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "strategy": { + "properties": { + "rollingUpdate": { + "properties": { + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "elasticsearchRefs": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "outputName": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "fleetServerEnabled": { + "type": "boolean" + }, + "fleetServerRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "http": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "kibanaRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "mode": { + "enum": [ + "standalone", + "fleet" + ], + "type": "string" + }, + "policyID": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array" + }, + "serviceAccountName": { + "type": "string" + }, + "statefulSet": { + "properties": { + "podManagementPolicy": { + "default": "Parallel", + "enum": [ + "OrderedReady", + "Parallel" + ], + "type": "string" + }, + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "serviceName": { + "type": "string" + }, + "volumeClaimTemplates": { + "items": { + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "version": { + "type": "string" + } + }, + "required": [ + "version" + ], + "type": "object" + }, + "status": { + "properties": { + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "elasticsearchAssociationsStatus": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "expectedNodes": { + "format": "int32", + "type": "integer" + }, + "fleetServerAssociationStatus": { + "type": "string" + }, + "health": { + "type": "string" + }, + "kibanaAssociationStatus": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apiextensions.k8s.io/customresourcedefinition_v1.json b/schemas/apiextensions.k8s.io/customresourcedefinition_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/apiextensions.k8s.io/customresourcedefinition_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apiextensions.k8s.io/customresourcedefinitionlist_v1.json b/schemas/apiextensions.k8s.io/customresourcedefinitionlist_v1.json new file mode 100644 index 0000000..f697f5c --- /dev/null +++ b/schemas/apiextensions.k8s.io/customresourcedefinitionlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apiextensions.k8s.io/deleteoptions_v1.json b/schemas/apiextensions.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/apiextensions.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apiextensions.k8s.io/deleteoptions_v1beta1.json b/schemas/apiextensions.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/apiextensions.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apiextensions.k8s.io/watchevent_v1.json b/schemas/apiextensions.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/apiextensions.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apiextensions.k8s.io/watchevent_v1beta1.json b/schemas/apiextensions.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/apiextensions.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apigroup_v1.json b/schemas/apigroup_v1.json new file mode 100644 index 0000000..d4bf4b9 --- /dev/null +++ b/schemas/apigroup_v1.json @@ -0,0 +1,34 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "preferredVersion": { + "additionalProperties": true, + "type": "object" + }, + "serverAddressByClientCIDRs": { + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "versions": { + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" +} diff --git a/schemas/apigrouplist_v1.json b/schemas/apigrouplist_v1.json new file mode 100644 index 0000000..9226d76 --- /dev/null +++ b/schemas/apigrouplist_v1.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "groups": { + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "kind": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apiregistration.k8s.io/apiservice_v1.json b/schemas/apiregistration.k8s.io/apiservice_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/apiregistration.k8s.io/apiservice_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apiregistration.k8s.io/apiservicelist_v1.json b/schemas/apiregistration.k8s.io/apiservicelist_v1.json new file mode 100644 index 0000000..727e6d3 --- /dev/null +++ b/schemas/apiregistration.k8s.io/apiservicelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apiregistration.k8s.io/deleteoptions_v1.json b/schemas/apiregistration.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/apiregistration.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apiregistration.k8s.io/deleteoptions_v1beta1.json b/schemas/apiregistration.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/apiregistration.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apiregistration.k8s.io/watchevent_v1.json b/schemas/apiregistration.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/apiregistration.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apiregistration.k8s.io/watchevent_v1beta1.json b/schemas/apiregistration.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/apiregistration.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apiresourcelist_v1.json b/schemas/apiresourcelist_v1.json new file mode 100644 index 0000000..feb54bb --- /dev/null +++ b/schemas/apiresourcelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "groupVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "resources": { + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResource" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" +} diff --git a/schemas/apiversions_v1.json b/schemas/apiversions_v1.json new file mode 100644 index 0000000..3279951 --- /dev/null +++ b/schemas/apiversions_v1.json @@ -0,0 +1,27 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "serverAddressByClientCIDRs": { + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "versions": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" +} diff --git a/schemas/apm.k8s.elastic.co/apmserver_v1.json b/schemas/apm.k8s.elastic.co/apmserver_v1.json new file mode 100644 index 0000000..41adaf1 --- /dev/null +++ b/schemas/apm.k8s.elastic.co/apmserver_v1.json @@ -0,0 +1,364 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "count": { + "format": "int32", + "type": "integer" + }, + "elasticsearchRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "http": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "kibanaRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array" + }, + "serviceAccountName": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "version" + ], + "type": "object" + }, + "status": { + "properties": { + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "elasticsearchAssociationStatus": { + "type": "string" + }, + "health": { + "type": "string" + }, + "kibanaAssociationStatus": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "secretTokenSecret": { + "type": "string" + }, + "selector": { + "type": "string" + }, + "service": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apm.k8s.elastic.co/apmserver_v1alpha1.json b/schemas/apm.k8s.elastic.co/apmserver_v1alpha1.json new file mode 100644 index 0000000..41f7668 --- /dev/null +++ b/schemas/apm.k8s.elastic.co/apmserver_v1alpha1.json @@ -0,0 +1,15 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apm.k8s.elastic.co/apmserver_v1beta1.json b/schemas/apm.k8s.elastic.co/apmserver_v1beta1.json new file mode 100644 index 0000000..0d4345d --- /dev/null +++ b/schemas/apm.k8s.elastic.co/apmserver_v1beta1.json @@ -0,0 +1,317 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "count": { + "format": "int32", + "type": "integer" + }, + "elasticsearchRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "http": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "associationStatus": { + "type": "string" + }, + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "health": { + "type": "string" + }, + "secretTokenSecret": { + "type": "string" + }, + "service": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apps/controllerrevision_v1.json b/schemas/apps/controllerrevision_v1.json new file mode 100644 index 0000000..7f6ce76 --- /dev/null +++ b/schemas/apps/controllerrevision_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "data": { + "additionalProperties": true, + "type": "object" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "revision": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" +} diff --git a/schemas/apps/controllerrevisionlist_v1.json b/schemas/apps/controllerrevisionlist_v1.json new file mode 100644 index 0000000..79cd91c --- /dev/null +++ b/schemas/apps/controllerrevisionlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apps/daemonset_v1.json b/schemas/apps/daemonset_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/apps/daemonset_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apps/daemonsetlist_v1.json b/schemas/apps/daemonsetlist_v1.json new file mode 100644 index 0000000..ef3597b --- /dev/null +++ b/schemas/apps/daemonsetlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apps/deleteoptions_v1.json b/schemas/apps/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/apps/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apps/deleteoptions_v1beta1.json b/schemas/apps/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/apps/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apps/deleteoptions_v1beta2.json b/schemas/apps/deleteoptions_v1beta2.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/apps/deleteoptions_v1beta2.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apps/deployment_v1.json b/schemas/apps/deployment_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/apps/deployment_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apps/deploymentlist_v1.json b/schemas/apps/deploymentlist_v1.json new file mode 100644 index 0000000..c4009fb --- /dev/null +++ b/schemas/apps/deploymentlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apps/replicaset_v1.json b/schemas/apps/replicaset_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/apps/replicaset_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apps/replicasetlist_v1.json b/schemas/apps/replicasetlist_v1.json new file mode 100644 index 0000000..a9c0e67 --- /dev/null +++ b/schemas/apps/replicasetlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apps/statefulset_v1.json b/schemas/apps/statefulset_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/apps/statefulset_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apps/statefulsetlist_v1.json b/schemas/apps/statefulsetlist_v1.json new file mode 100644 index 0000000..c46bbcb --- /dev/null +++ b/schemas/apps/statefulsetlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/apps/watchevent_v1.json b/schemas/apps/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/apps/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apps/watchevent_v1beta1.json b/schemas/apps/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/apps/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/apps/watchevent_v1beta2.json b/schemas/apps/watchevent_v1beta2.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/apps/watchevent_v1beta2.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/argoproj.io/application_v1alpha1.json b/schemas/argoproj.io/application_v1alpha1.json new file mode 100644 index 0000000..1f31f02 --- /dev/null +++ b/schemas/argoproj.io/application_v1alpha1.json @@ -0,0 +1,6503 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "operation": { + "properties": { + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "initiatedBy": { + "properties": { + "automated": { + "type": "boolean" + }, + "username": { + "type": "string" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "sync": { + "properties": { + "autoHealAttemptsCount": { + "format": "int64", + "type": "integer" + }, + "dryRun": { + "type": "boolean" + }, + "manifests": { + "items": { + "type": "string" + }, + "type": "array" + }, + "prune": { + "type": "boolean" + }, + "resources": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "revision": { + "type": "string" + }, + "revisions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "syncStrategy": { + "properties": { + "apply": { + "properties": { + "force": { + "type": "boolean" + } + }, + "type": "object" + }, + "hook": { + "properties": { + "force": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "message", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "controllerNamespace": { + "type": "string" + }, + "health": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "type": "object" + }, + "history": { + "items": { + "properties": { + "deployStartedAt": { + "format": "date-time", + "type": "string" + }, + "deployedAt": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "int64", + "type": "integer" + }, + "initiatedBy": { + "properties": { + "automated": { + "type": "boolean" + }, + "username": { + "type": "string" + } + }, + "type": "object" + }, + "revision": { + "type": "string" + }, + "revisions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "deployedAt", + "id" + ], + "type": "object" + }, + "type": "array" + }, + "observedAt": { + "format": "date-time", + "type": "string" + }, + "operationState": { + "properties": { + "finishedAt": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "operation": { + "properties": { + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "initiatedBy": { + "properties": { + "automated": { + "type": "boolean" + }, + "username": { + "type": "string" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "sync": { + "properties": { + "autoHealAttemptsCount": { + "format": "int64", + "type": "integer" + }, + "dryRun": { + "type": "boolean" + }, + "manifests": { + "items": { + "type": "string" + }, + "type": "array" + }, + "prune": { + "type": "boolean" + }, + "resources": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "revision": { + "type": "string" + }, + "revisions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "syncStrategy": { + "properties": { + "apply": { + "properties": { + "force": { + "type": "boolean" + } + }, + "type": "object" + }, + "hook": { + "properties": { + "force": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "phase": { + "type": "string" + }, + "retryCount": { + "format": "int64", + "type": "integer" + }, + "startedAt": { + "format": "date-time", + "type": "string" + }, + "syncResult": { + "properties": { + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "resources": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "hookPhase": { + "type": "string" + }, + "hookType": { + "type": "string" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "message": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "status": { + "type": "string" + }, + "syncPhase": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name", + "namespace", + "version" + ], + "type": "object" + }, + "type": "array" + }, + "revision": { + "type": "string" + }, + "revisions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "revision" + ], + "type": "object" + } + }, + "required": [ + "operation", + "phase", + "startedAt" + ], + "type": "object" + }, + "reconciledAt": { + "format": "date-time", + "type": "string" + }, + "resourceHealthSource": { + "type": "string" + }, + "resources": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "health": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "type": "object" + }, + "hook": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "requiresDeletionConfirmation": { + "type": "boolean" + }, + "requiresPruning": { + "type": "boolean" + }, + "status": { + "type": "string" + }, + "syncWave": { + "format": "int64", + "type": "integer" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "sourceHydrator": { + "properties": { + "currentOperation": { + "properties": { + "drySHA": { + "type": "string" + }, + "finishedAt": { + "format": "date-time", + "type": "string" + }, + "hydratedSHA": { + "type": "string" + }, + "message": { + "type": "string" + }, + "phase": { + "enum": [ + "Hydrating", + "Failed", + "Hydrated" + ], + "type": "string" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "startedAt": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "message", + "phase" + ], + "type": "object" + }, + "lastSuccessfulOperation": { + "properties": { + "drySHA": { + "type": "string" + }, + "hydratedSHA": { + "type": "string" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "sourceType": { + "type": "string" + }, + "sourceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "summary": { + "properties": { + "externalURLs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "sync": { + "properties": { + "comparedTo": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "destination" + ], + "type": "object" + }, + "revision": { + "type": "string" + }, + "revisions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/argoproj.io/applicationset_v1alpha1.json b/schemas/argoproj.io/applicationset_v1alpha1.json new file mode 100644 index 0000000..43a8ecd --- /dev/null +++ b/schemas/argoproj.io/applicationset_v1alpha1.json @@ -0,0 +1,35357 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "applyNestedSelectors": { + "type": "boolean" + }, + "generators": { + "items": { + "properties": { + "clusterDecisionResource": { + "properties": { + "configMapRef": { + "type": "string" + }, + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "configMapRef" + ], + "type": "object" + }, + "clusters": { + "properties": { + "flatList": { + "type": "boolean" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "git": { + "properties": { + "directories": { + "items": { + "properties": { + "exclude": { + "type": "boolean" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + }, + "files": { + "items": { + "properties": { + "exclude": { + "type": "boolean" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + }, + "pathParamPrefix": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "revision": { + "type": "string" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "repoURL", + "revision" + ], + "type": "object" + }, + "list": { + "properties": { + "elements": { + "items": { + "x-kubernetes-preserve-unknown-fields": true + }, + "type": "array" + }, + "elementsYaml": { + "type": "string" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + } + }, + "type": "object" + }, + "matrix": { + "properties": { + "generators": { + "items": { + "properties": { + "clusterDecisionResource": { + "properties": { + "configMapRef": { + "type": "string" + }, + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "configMapRef" + ], + "type": "object" + }, + "clusters": { + "properties": { + "flatList": { + "type": "boolean" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "git": { + "properties": { + "directories": { + "items": { + "properties": { + "exclude": { + "type": "boolean" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + }, + "files": { + "items": { + "properties": { + "exclude": { + "type": "boolean" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + }, + "pathParamPrefix": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "revision": { + "type": "string" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "repoURL", + "revision" + ], + "type": "object" + }, + "list": { + "properties": { + "elements": { + "items": { + "x-kubernetes-preserve-unknown-fields": true + }, + "type": "array" + }, + "elementsYaml": { + "type": "string" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + } + }, + "type": "object" + }, + "matrix": { + "x-kubernetes-preserve-unknown-fields": true + }, + "merge": { + "x-kubernetes-preserve-unknown-fields": true + }, + "plugin": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "input": { + "properties": { + "parameters": { + "additionalProperties": { + "x-kubernetes-preserve-unknown-fields": true + }, + "type": "object" + } + }, + "type": "object" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "configMapRef" + ], + "type": "object" + }, + "pullRequest": { + "properties": { + "azuredevops": { + "properties": { + "api": { + "type": "string" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "organization": { + "type": "string" + }, + "project": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "organization", + "project", + "repo" + ], + "type": "object" + }, + "bitbucket": { + "properties": { + "api": { + "type": "string" + }, + "basicAuth": { + "properties": { + "passwordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "username": { + "type": "string" + } + }, + "required": [ + "passwordRef", + "username" + ], + "type": "object" + }, + "bearerToken": { + "properties": { + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "tokenRef" + ], + "type": "object" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ], + "type": "object" + }, + "bitbucketServer": { + "properties": { + "api": { + "type": "string" + }, + "basicAuth": { + "properties": { + "passwordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "username": { + "type": "string" + } + }, + "required": [ + "passwordRef", + "username" + ], + "type": "object" + }, + "bearerToken": { + "properties": { + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "tokenRef" + ], + "type": "object" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "insecure": { + "type": "boolean" + }, + "project": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "api", + "project", + "repo" + ], + "type": "object" + }, + "continueOnRepoNotFoundError": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "branchMatch": { + "type": "string" + }, + "targetBranchMatch": { + "type": "string" + }, + "titleMatch": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "gitea": { + "properties": { + "api": { + "type": "string" + }, + "insecure": { + "type": "boolean" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "api", + "owner", + "repo" + ], + "type": "object" + }, + "github": { + "properties": { + "api": { + "type": "string" + }, + "appSecretName": { + "type": "string" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "owner", + "repo" + ], + "type": "object" + }, + "gitlab": { + "properties": { + "api": { + "type": "string" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "insecure": { + "type": "boolean" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "pullRequestState": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "project" + ], + "type": "object" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "scmProvider": { + "properties": { + "awsCodeCommit": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "region": { + "type": "string" + }, + "role": { + "type": "string" + }, + "tagFilters": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "azureDevOps": { + "properties": { + "accessTokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "teamProject": { + "type": "string" + } + }, + "required": [ + "accessTokenRef", + "organization", + "teamProject" + ], + "type": "object" + }, + "bitbucket": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "appPasswordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "owner": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "required": [ + "appPasswordRef", + "owner", + "user" + ], + "type": "object" + }, + "bitbucketServer": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "basicAuth": { + "properties": { + "passwordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "username": { + "type": "string" + } + }, + "required": [ + "passwordRef", + "username" + ], + "type": "object" + }, + "bearerToken": { + "properties": { + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "tokenRef" + ], + "type": "object" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "insecure": { + "type": "boolean" + }, + "project": { + "type": "string" + } + }, + "required": [ + "api", + "project" + ], + "type": "object" + }, + "cloneProtocol": { + "type": "string" + }, + "filters": { + "items": { + "properties": { + "branchMatch": { + "type": "string" + }, + "labelMatch": { + "type": "string" + }, + "pathsDoNotExist": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pathsExist": { + "items": { + "type": "string" + }, + "type": "array" + }, + "repositoryMatch": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "gitea": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "insecure": { + "type": "boolean" + }, + "owner": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "api", + "owner" + ], + "type": "object" + }, + "github": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "appSecretName": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "organization" + ], + "type": "object" + }, + "gitlab": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "group": { + "type": "string" + }, + "includeSharedProjects": { + "type": "boolean" + }, + "includeSubgroups": { + "type": "boolean" + }, + "insecure": { + "type": "boolean" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "topic": { + "type": "string" + } + }, + "required": [ + "group" + ], + "type": "object" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + } + }, + "required": [ + "generators" + ], + "type": "object" + }, + "merge": { + "properties": { + "generators": { + "items": { + "properties": { + "clusterDecisionResource": { + "properties": { + "configMapRef": { + "type": "string" + }, + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "configMapRef" + ], + "type": "object" + }, + "clusters": { + "properties": { + "flatList": { + "type": "boolean" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "git": { + "properties": { + "directories": { + "items": { + "properties": { + "exclude": { + "type": "boolean" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + }, + "files": { + "items": { + "properties": { + "exclude": { + "type": "boolean" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + }, + "pathParamPrefix": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "revision": { + "type": "string" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "repoURL", + "revision" + ], + "type": "object" + }, + "list": { + "properties": { + "elements": { + "items": { + "x-kubernetes-preserve-unknown-fields": true + }, + "type": "array" + }, + "elementsYaml": { + "type": "string" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + } + }, + "type": "object" + }, + "matrix": { + "x-kubernetes-preserve-unknown-fields": true + }, + "merge": { + "x-kubernetes-preserve-unknown-fields": true + }, + "plugin": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "input": { + "properties": { + "parameters": { + "additionalProperties": { + "x-kubernetes-preserve-unknown-fields": true + }, + "type": "object" + } + }, + "type": "object" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "configMapRef" + ], + "type": "object" + }, + "pullRequest": { + "properties": { + "azuredevops": { + "properties": { + "api": { + "type": "string" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "organization": { + "type": "string" + }, + "project": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "organization", + "project", + "repo" + ], + "type": "object" + }, + "bitbucket": { + "properties": { + "api": { + "type": "string" + }, + "basicAuth": { + "properties": { + "passwordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "username": { + "type": "string" + } + }, + "required": [ + "passwordRef", + "username" + ], + "type": "object" + }, + "bearerToken": { + "properties": { + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "tokenRef" + ], + "type": "object" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ], + "type": "object" + }, + "bitbucketServer": { + "properties": { + "api": { + "type": "string" + }, + "basicAuth": { + "properties": { + "passwordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "username": { + "type": "string" + } + }, + "required": [ + "passwordRef", + "username" + ], + "type": "object" + }, + "bearerToken": { + "properties": { + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "tokenRef" + ], + "type": "object" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "insecure": { + "type": "boolean" + }, + "project": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "api", + "project", + "repo" + ], + "type": "object" + }, + "continueOnRepoNotFoundError": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "branchMatch": { + "type": "string" + }, + "targetBranchMatch": { + "type": "string" + }, + "titleMatch": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "gitea": { + "properties": { + "api": { + "type": "string" + }, + "insecure": { + "type": "boolean" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "api", + "owner", + "repo" + ], + "type": "object" + }, + "github": { + "properties": { + "api": { + "type": "string" + }, + "appSecretName": { + "type": "string" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "owner", + "repo" + ], + "type": "object" + }, + "gitlab": { + "properties": { + "api": { + "type": "string" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "insecure": { + "type": "boolean" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "pullRequestState": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "project" + ], + "type": "object" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "scmProvider": { + "properties": { + "awsCodeCommit": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "region": { + "type": "string" + }, + "role": { + "type": "string" + }, + "tagFilters": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "azureDevOps": { + "properties": { + "accessTokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "teamProject": { + "type": "string" + } + }, + "required": [ + "accessTokenRef", + "organization", + "teamProject" + ], + "type": "object" + }, + "bitbucket": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "appPasswordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "owner": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "required": [ + "appPasswordRef", + "owner", + "user" + ], + "type": "object" + }, + "bitbucketServer": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "basicAuth": { + "properties": { + "passwordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "username": { + "type": "string" + } + }, + "required": [ + "passwordRef", + "username" + ], + "type": "object" + }, + "bearerToken": { + "properties": { + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "tokenRef" + ], + "type": "object" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "insecure": { + "type": "boolean" + }, + "project": { + "type": "string" + } + }, + "required": [ + "api", + "project" + ], + "type": "object" + }, + "cloneProtocol": { + "type": "string" + }, + "filters": { + "items": { + "properties": { + "branchMatch": { + "type": "string" + }, + "labelMatch": { + "type": "string" + }, + "pathsDoNotExist": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pathsExist": { + "items": { + "type": "string" + }, + "type": "array" + }, + "repositoryMatch": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "gitea": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "insecure": { + "type": "boolean" + }, + "owner": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "api", + "owner" + ], + "type": "object" + }, + "github": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "appSecretName": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "organization" + ], + "type": "object" + }, + "gitlab": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "group": { + "type": "string" + }, + "includeSharedProjects": { + "type": "boolean" + }, + "includeSubgroups": { + "type": "boolean" + }, + "insecure": { + "type": "boolean" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "topic": { + "type": "string" + } + }, + "required": [ + "group" + ], + "type": "object" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "mergeKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + } + }, + "required": [ + "generators", + "mergeKeys" + ], + "type": "object" + }, + "plugin": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "input": { + "properties": { + "parameters": { + "additionalProperties": { + "x-kubernetes-preserve-unknown-fields": true + }, + "type": "object" + } + }, + "type": "object" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "configMapRef" + ], + "type": "object" + }, + "pullRequest": { + "properties": { + "azuredevops": { + "properties": { + "api": { + "type": "string" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "organization": { + "type": "string" + }, + "project": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "organization", + "project", + "repo" + ], + "type": "object" + }, + "bitbucket": { + "properties": { + "api": { + "type": "string" + }, + "basicAuth": { + "properties": { + "passwordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "username": { + "type": "string" + } + }, + "required": [ + "passwordRef", + "username" + ], + "type": "object" + }, + "bearerToken": { + "properties": { + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "tokenRef" + ], + "type": "object" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ], + "type": "object" + }, + "bitbucketServer": { + "properties": { + "api": { + "type": "string" + }, + "basicAuth": { + "properties": { + "passwordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "username": { + "type": "string" + } + }, + "required": [ + "passwordRef", + "username" + ], + "type": "object" + }, + "bearerToken": { + "properties": { + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "tokenRef" + ], + "type": "object" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "insecure": { + "type": "boolean" + }, + "project": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "api", + "project", + "repo" + ], + "type": "object" + }, + "continueOnRepoNotFoundError": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "branchMatch": { + "type": "string" + }, + "targetBranchMatch": { + "type": "string" + }, + "titleMatch": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "gitea": { + "properties": { + "api": { + "type": "string" + }, + "insecure": { + "type": "boolean" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "api", + "owner", + "repo" + ], + "type": "object" + }, + "github": { + "properties": { + "api": { + "type": "string" + }, + "appSecretName": { + "type": "string" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "owner", + "repo" + ], + "type": "object" + }, + "gitlab": { + "properties": { + "api": { + "type": "string" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "insecure": { + "type": "boolean" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "pullRequestState": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "project" + ], + "type": "object" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "scmProvider": { + "properties": { + "awsCodeCommit": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "region": { + "type": "string" + }, + "role": { + "type": "string" + }, + "tagFilters": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "azureDevOps": { + "properties": { + "accessTokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "teamProject": { + "type": "string" + } + }, + "required": [ + "accessTokenRef", + "organization", + "teamProject" + ], + "type": "object" + }, + "bitbucket": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "appPasswordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "owner": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "required": [ + "appPasswordRef", + "owner", + "user" + ], + "type": "object" + }, + "bitbucketServer": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "basicAuth": { + "properties": { + "passwordRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "username": { + "type": "string" + } + }, + "required": [ + "passwordRef", + "username" + ], + "type": "object" + }, + "bearerToken": { + "properties": { + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "tokenRef" + ], + "type": "object" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "insecure": { + "type": "boolean" + }, + "project": { + "type": "string" + } + }, + "required": [ + "api", + "project" + ], + "type": "object" + }, + "cloneProtocol": { + "type": "string" + }, + "filters": { + "items": { + "properties": { + "branchMatch": { + "type": "string" + }, + "labelMatch": { + "type": "string" + }, + "pathsDoNotExist": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pathsExist": { + "items": { + "type": "string" + }, + "type": "array" + }, + "repositoryMatch": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "gitea": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "insecure": { + "type": "boolean" + }, + "owner": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "api", + "owner" + ], + "type": "object" + }, + "github": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "appSecretName": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + } + }, + "required": [ + "organization" + ], + "type": "object" + }, + "gitlab": { + "properties": { + "allBranches": { + "type": "boolean" + }, + "api": { + "type": "string" + }, + "caRef": { + "properties": { + "configMapName": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "configMapName", + "key" + ], + "type": "object" + }, + "group": { + "type": "string" + }, + "includeSharedProjects": { + "type": "boolean" + }, + "includeSubgroups": { + "type": "boolean" + }, + "insecure": { + "type": "boolean" + }, + "tokenRef": { + "properties": { + "key": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "key", + "secretName" + ], + "type": "object" + }, + "topic": { + "type": "string" + } + }, + "required": [ + "group" + ], + "type": "object" + }, + "requeueAfterSeconds": { + "format": "int64", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "values": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "goTemplate": { + "type": "boolean" + }, + "goTemplateOptions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ignoreApplicationDifferences": { + "items": { + "properties": { + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "preservedFields": { + "properties": { + "annotations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "strategy": { + "properties": { + "deletionOrder": { + "type": "string" + }, + "rollingSync": { + "properties": { + "steps": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "array" + }, + "maxUpdate": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "syncPolicy": { + "properties": { + "applicationsSync": { + "enum": [ + "create-only", + "create-update", + "create-delete", + "sync" + ], + "type": "string" + }, + "preserveResourcesOnDeletion": { + "type": "boolean" + } + }, + "type": "object" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "ignoreDifferences": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "jqPathExpressions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "managedFieldsManagers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "info": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "project": { + "type": "string" + }, + "revisionHistoryLimit": { + "format": "int64", + "type": "integer" + }, + "source": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "sourceHydrator": { + "properties": { + "drySource": { + "properties": { + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "path", + "repoURL", + "targetRevision" + ], + "type": "object" + }, + "hydrateTo": { + "properties": { + "targetBranch": { + "type": "string" + } + }, + "required": [ + "targetBranch" + ], + "type": "object" + }, + "syncSource": { + "properties": { + "path": { + "minLength": 1, + "pattern": "^.{2,}|[^./]$", + "type": "string" + }, + "targetBranch": { + "type": "string" + } + }, + "required": [ + "path", + "targetBranch" + ], + "type": "object" + } + }, + "required": [ + "drySource", + "syncSource" + ], + "type": "object" + }, + "sources": { + "items": { + "properties": { + "chart": { + "type": "string" + }, + "directory": { + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "jsonnet": { + "properties": { + "extVars": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "libs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tlas": { + "items": { + "properties": { + "code": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "recurse": { + "type": "boolean" + } + }, + "type": "object" + }, + "helm": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "fileParameters": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoreMissingValueFiles": { + "type": "boolean" + }, + "kubeVersion": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "forceString": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "passCredentials": { + "type": "boolean" + }, + "releaseName": { + "type": "string" + }, + "skipCrds": { + "type": "boolean" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "skipTests": { + "type": "boolean" + }, + "valueFiles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "type": "string" + }, + "valuesObject": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "kustomize": { + "properties": { + "apiVersions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "commonAnnotationsEnvsubst": { + "type": "boolean" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "forceCommonAnnotations": { + "type": "boolean" + }, + "forceCommonLabels": { + "type": "boolean" + }, + "ignoreMissingComponents": { + "type": "boolean" + }, + "images": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kubeVersion": { + "type": "string" + }, + "labelIncludeTemplates": { + "type": "boolean" + }, + "labelWithoutSelector": { + "type": "boolean" + }, + "namePrefix": { + "type": "string" + }, + "nameSuffix": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "patches": { + "items": { + "properties": { + "options": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "patch": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "properties": { + "annotationSelector": { + "type": "string" + }, + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "labelSelector": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "replicas": { + "items": { + "properties": { + "count": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "plugin": { + "properties": { + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "parameters": { + "items": { + "properties": { + "array": { + "items": { + "type": "string" + }, + "type": "array" + }, + "map": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ref": { + "type": "string" + }, + "repoURL": { + "type": "string" + }, + "targetRevision": { + "type": "string" + } + }, + "required": [ + "repoURL" + ], + "type": "object" + }, + "type": "array" + }, + "syncPolicy": { + "properties": { + "automated": { + "properties": { + "allowEmpty": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "prune": { + "type": "boolean" + }, + "selfHeal": { + "type": "boolean" + } + }, + "type": "object" + }, + "managedNamespaceMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "retry": { + "properties": { + "backoff": { + "properties": { + "duration": { + "type": "string" + }, + "factor": { + "format": "int64", + "type": "integer" + }, + "maxDuration": { + "type": "string" + } + }, + "type": "object" + }, + "limit": { + "format": "int64", + "type": "integer" + }, + "refresh": { + "type": "boolean" + } + }, + "type": "object" + }, + "syncOptions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destination", + "project" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "templatePatch": { + "type": "string" + } + }, + "required": [ + "generators", + "template" + ], + "type": "object" + }, + "status": { + "properties": { + "applicationStatus": { + "items": { + "properties": { + "application": { + "type": "string" + }, + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "string" + }, + "step": { + "type": "string" + }, + "targetRevisions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "application", + "message", + "status", + "step", + "targetRevisions" + ], + "type": "object" + }, + "type": "array" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "resources": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "health": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "type": "object" + }, + "hook": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "requiresDeletionConfirmation": { + "type": "boolean" + }, + "requiresPruning": { + "type": "boolean" + }, + "status": { + "type": "string" + }, + "syncWave": { + "format": "int64", + "type": "integer" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "resourcesCount": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/argoproj.io/appproject_v1alpha1.json b/schemas/argoproj.io/appproject_v1alpha1.json new file mode 100644 index 0000000..efd40bf --- /dev/null +++ b/schemas/argoproj.io/appproject_v1alpha1.json @@ -0,0 +1,321 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterResourceBlacklist": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "group", + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "clusterResourceWhitelist": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "group", + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "destinationServiceAccounts": { + "items": { + "properties": { + "defaultServiceAccount": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "required": [ + "defaultServiceAccount", + "server" + ], + "type": "object" + }, + "type": "array" + }, + "destinations": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "server": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "namespaceResourceBlacklist": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + } + }, + "required": [ + "group", + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "namespaceResourceWhitelist": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + } + }, + "required": [ + "group", + "kind" + ], + "type": "object" + }, + "type": "array" + }, + "orphanedResources": { + "properties": { + "ignore": { + "items": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "warn": { + "type": "boolean" + } + }, + "type": "object" + }, + "permitOnlyProjectScopedClusters": { + "type": "boolean" + }, + "roles": { + "items": { + "properties": { + "groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jwtTokens": { + "items": { + "properties": { + "exp": { + "format": "int64", + "type": "integer" + }, + "iat": { + "format": "int64", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "required": [ + "iat" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "policies": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "signatureKeys": { + "items": { + "properties": { + "keyID": { + "type": "string" + } + }, + "required": [ + "keyID" + ], + "type": "object" + }, + "type": "array" + }, + "sourceNamespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "sourceRepos": { + "items": { + "type": "string" + }, + "type": "array" + }, + "syncWindows": { + "items": { + "properties": { + "andOperator": { + "type": "boolean" + }, + "applications": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusters": { + "items": { + "type": "string" + }, + "type": "array" + }, + "duration": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "manualSync": { + "type": "boolean" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schedule": { + "type": "string" + }, + "timeZone": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "jwtTokensByRole": { + "additionalProperties": { + "properties": { + "items": { + "items": { + "properties": { + "exp": { + "format": "int64", + "type": "integer" + }, + "iat": { + "format": "int64", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "required": [ + "iat" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/auditlog.cattle.io/auditpolicy_v1.json b/schemas/auditlog.cattle.io/auditpolicy_v1.json new file mode 100644 index 0000000..b97ee08 --- /dev/null +++ b/schemas/auditlog.cattle.io/auditpolicy_v1.json @@ -0,0 +1,148 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "additionalRedactions": { + "items": { + "properties": { + "headers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "paths": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "requestURI": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "verbosity": { + "properties": { + "level": { + "type": "integer" + }, + "request": { + "properties": { + "body": { + "type": "boolean" + }, + "headers": { + "type": "boolean" + } + }, + "type": "object" + }, + "response": { + "properties": { + "body": { + "type": "boolean" + }, + "headers": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "required": [ + "level" + ], + "type": "object" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/authentication.k8s.io/deleteoptions_v1.json b/schemas/authentication.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/authentication.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/authentication.k8s.io/deleteoptions_v1alpha1.json b/schemas/authentication.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/authentication.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/authentication.k8s.io/deleteoptions_v1beta1.json b/schemas/authentication.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/authentication.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/authentication.k8s.io/selfsubjectreview_v1.json b/schemas/authentication.k8s.io/selfsubjectreview_v1.json new file mode 100644 index 0000000..6e7c3db --- /dev/null +++ b/schemas/authentication.k8s.io/selfsubjectreview_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/authentication.k8s.io/tokenrequest_v1.json b/schemas/authentication.k8s.io/tokenrequest_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/authentication.k8s.io/tokenrequest_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/authentication.k8s.io/tokenreview_v1.json b/schemas/authentication.k8s.io/tokenreview_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/authentication.k8s.io/tokenreview_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/authentication.k8s.io/watchevent_v1.json b/schemas/authentication.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/authentication.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/authentication.k8s.io/watchevent_v1alpha1.json b/schemas/authentication.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/authentication.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/authentication.k8s.io/watchevent_v1beta1.json b/schemas/authentication.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/authentication.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/authorization.k8s.io/deleteoptions_v1.json b/schemas/authorization.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/authorization.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/authorization.k8s.io/deleteoptions_v1beta1.json b/schemas/authorization.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/authorization.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/authorization.k8s.io/localsubjectaccessreview_v1.json b/schemas/authorization.k8s.io/localsubjectaccessreview_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/authorization.k8s.io/localsubjectaccessreview_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/authorization.k8s.io/selfsubjectaccessreview_v1.json b/schemas/authorization.k8s.io/selfsubjectaccessreview_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/authorization.k8s.io/selfsubjectaccessreview_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/authorization.k8s.io/selfsubjectrulesreview_v1.json b/schemas/authorization.k8s.io/selfsubjectrulesreview_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/authorization.k8s.io/selfsubjectrulesreview_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/authorization.k8s.io/subjectaccessreview_v1.json b/schemas/authorization.k8s.io/subjectaccessreview_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/authorization.k8s.io/subjectaccessreview_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/authorization.k8s.io/watchevent_v1.json b/schemas/authorization.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/authorization.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/authorization.k8s.io/watchevent_v1beta1.json b/schemas/authorization.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/authorization.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling.k8s.elastic.co/elasticsearchautoscaler_v1alpha1.json b/schemas/autoscaling.k8s.elastic.co/elasticsearchautoscaler_v1alpha1.json new file mode 100644 index 0000000..f87022a --- /dev/null +++ b/schemas/autoscaling.k8s.elastic.co/elasticsearchautoscaler_v1alpha1.json @@ -0,0 +1,352 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "elasticsearchRef": { + "properties": { + "name": { + "minLength": 1, + "type": "string" + } + }, + "type": "object" + }, + "policies": { + "items": { + "properties": { + "deciders": { + "additionalProperties": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "resources": { + "properties": { + "cpu": { + "properties": { + "max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "min": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "requestsToLimitsRatio": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "max", + "min" + ], + "type": "object" + }, + "memory": { + "properties": { + "max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "min": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "requestsToLimitsRatio": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "max", + "min" + ], + "type": "object" + }, + "nodeCount": { + "properties": { + "max": { + "format": "int32", + "type": "integer" + }, + "min": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "max", + "min" + ], + "type": "object" + }, + "storage": { + "properties": { + "max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "min": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "requestsToLimitsRatio": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "max", + "min" + ], + "type": "object" + } + }, + "required": [ + "nodeCount" + ], + "type": "object" + }, + "roles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "resources" + ], + "type": "object" + }, + "type": "array" + }, + "pollingPeriod": { + "type": "string" + } + }, + "required": [ + "elasticsearchRef", + "policies" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "policies": { + "items": { + "properties": { + "lastModificationTime": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "nodeSets": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "nodeCount": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "name", + "nodeCount" + ], + "type": "object" + }, + "type": "array" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "state": { + "items": { + "properties": { + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "type": "string" + } + }, + "required": [ + "messages", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/deleteoptions_v1.json b/schemas/autoscaling/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/autoscaling/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/deleteoptions_v2.json b/schemas/autoscaling/deleteoptions_v2.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/autoscaling/deleteoptions_v2.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/deleteoptions_v2beta1.json b/schemas/autoscaling/deleteoptions_v2beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/autoscaling/deleteoptions_v2beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/deleteoptions_v2beta2.json b/schemas/autoscaling/deleteoptions_v2beta2.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/autoscaling/deleteoptions_v2beta2.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/horizontalpodautoscaler_v1.json b/schemas/autoscaling/horizontalpodautoscaler_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/autoscaling/horizontalpodautoscaler_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/horizontalpodautoscaler_v2.json b/schemas/autoscaling/horizontalpodautoscaler_v2.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/autoscaling/horizontalpodautoscaler_v2.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/horizontalpodautoscalerlist_v1.json b/schemas/autoscaling/horizontalpodautoscalerlist_v1.json new file mode 100644 index 0000000..5bbb68a --- /dev/null +++ b/schemas/autoscaling/horizontalpodautoscalerlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/horizontalpodautoscalerlist_v2.json b/schemas/autoscaling/horizontalpodautoscalerlist_v2.json new file mode 100644 index 0000000..9402ec3 --- /dev/null +++ b/schemas/autoscaling/horizontalpodautoscalerlist_v2.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/scale_v1.json b/schemas/autoscaling/scale_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/autoscaling/scale_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/watchevent_v1.json b/schemas/autoscaling/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/autoscaling/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/watchevent_v2.json b/schemas/autoscaling/watchevent_v2.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/autoscaling/watchevent_v2.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/watchevent_v2beta1.json b/schemas/autoscaling/watchevent_v2beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/autoscaling/watchevent_v2beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/autoscaling/watchevent_v2beta2.json b/schemas/autoscaling/watchevent_v2beta2.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/autoscaling/watchevent_v2beta2.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/batch/cronjob_v1.json b/schemas/batch/cronjob_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/batch/cronjob_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/batch/cronjoblist_v1.json b/schemas/batch/cronjoblist_v1.json new file mode 100644 index 0000000..947e0fb --- /dev/null +++ b/schemas/batch/cronjoblist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/batch/deleteoptions_v1.json b/schemas/batch/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/batch/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/batch/deleteoptions_v1beta1.json b/schemas/batch/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/batch/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/batch/job_v1.json b/schemas/batch/job_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/batch/job_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/batch/joblist_v1.json b/schemas/batch/joblist_v1.json new file mode 100644 index 0000000..c7f629a --- /dev/null +++ b/schemas/batch/joblist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/batch/watchevent_v1.json b/schemas/batch/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/batch/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/batch/watchevent_v1beta1.json b/schemas/batch/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/batch/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/beat.k8s.elastic.co/beat_v1beta1.json b/schemas/beat.k8s.elastic.co/beat_v1beta1.json new file mode 100644 index 0000000..0924f14 --- /dev/null +++ b/schemas/beat.k8s.elastic.co/beat_v1beta1.json @@ -0,0 +1,301 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "configRef": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "daemonSet": { + "properties": { + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "updateStrategy": { + "properties": { + "rollingUpdate": { + "properties": { + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "strategy": { + "properties": { + "rollingUpdate": { + "properties": { + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "elasticsearchRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "kibanaRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "monitoring": { + "properties": { + "logs": { + "properties": { + "elasticsearchRefs": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "metrics": { + "properties": { + "elasticsearchRefs": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array" + }, + "serviceAccountName": { + "type": "string" + }, + "type": { + "maxLength": 20, + "pattern": "[a-zA-Z0-9-]+", + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "type", + "version" + ], + "type": "object" + }, + "status": { + "properties": { + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "elasticsearchAssociationStatus": { + "type": "string" + }, + "expectedNodes": { + "format": "int32", + "type": "integer" + }, + "health": { + "type": "string" + }, + "kibanaAssociationStatus": { + "type": "string" + }, + "monitoringAssociationStatus": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/binding_v1.json b/schemas/binding_v1.json new file mode 100644 index 0000000..ff3f909 --- /dev/null +++ b/schemas/binding_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "target": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/catalog.cattle.io/app_v1.json b/schemas/catalog.cattle.io/app_v1.json new file mode 100644 index 0000000..9dd0f24 --- /dev/null +++ b/schemas/catalog.cattle.io/app_v1.json @@ -0,0 +1,222 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "chart": { + "nullable": true, + "properties": { + "metadata": { + "nullable": true, + "properties": { + "annotations": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "apiVersion": { + "nullable": true, + "type": "string" + }, + "appVersion": { + "nullable": true, + "type": "string" + }, + "condition": { + "nullable": true, + "type": "string" + }, + "deprecated": { + "type": "boolean" + }, + "home": { + "nullable": true, + "type": "string" + }, + "icon": { + "nullable": true, + "type": "string" + }, + "keywords": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "kubeVersion": { + "nullable": true, + "type": "string" + }, + "maintainers": { + "items": { + "properties": { + "email": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "url": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "nullable": true, + "type": "string" + }, + "sources": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "tags": { + "nullable": true, + "type": "string" + }, + "type": { + "nullable": true, + "type": "string" + }, + "version": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "values": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object" + }, + "helmVersion": { + "type": "integer" + }, + "info": { + "nullable": true, + "properties": { + "deleted": { + "nullable": true, + "type": "string" + }, + "firstDeployed": { + "nullable": true, + "type": "string" + }, + "lastDeployed": { + "nullable": true, + "type": "string" + }, + "notes": { + "nullable": true, + "type": "string" + }, + "readme": { + "nullable": true, + "type": "string" + }, + "status": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "resources": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "values": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "type": "integer" + } + }, + "type": "object" + }, + "status": { + "properties": { + "observedGeneration": { + "type": "integer" + }, + "summary": { + "properties": { + "error": { + "type": "boolean" + }, + "state": { + "nullable": true, + "type": "string" + }, + "transitioning": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/catalog.cattle.io/clusterrepo_v1.json b/schemas/catalog.cattle.io/clusterrepo_v1.json new file mode 100644 index 0000000..9672294 --- /dev/null +++ b/schemas/catalog.cattle.io/clusterrepo_v1.json @@ -0,0 +1,163 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "basicAuthSecretName": { + "type": "string" + }, + "caBundle": { + "format": "byte", + "type": "string" + }, + "clientSecret": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "disableSameOriginCheck": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "exponentialBackOffValues": { + "properties": { + "maxRetries": { + "type": "integer" + }, + "maxWait": { + "type": "integer" + }, + "minWait": { + "type": "integer" + } + }, + "type": "object" + }, + "forceUpdate": { + "format": "date-time", + "type": "string" + }, + "gitBranch": { + "type": "string" + }, + "gitRepo": { + "type": "string" + }, + "insecurePlainHttp": { + "type": "boolean" + }, + "insecureSkipTLSVerify": { + "type": "boolean" + }, + "refreshInterval": { + "type": "integer" + }, + "serviceAccount": { + "type": "string" + }, + "serviceAccountNamespace": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "branch": { + "type": "string" + }, + "commit": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "downloadTime": { + "format": "date-time", + "type": "string" + }, + "indexConfigMapName": { + "type": "string" + }, + "indexConfigMapNamespace": { + "type": "string" + }, + "indexConfigMapResourceVersion": { + "type": "string" + }, + "nextRetryAt": { + "format": "date-time", + "type": "string" + }, + "numberOfRetries": { + "type": "integer" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "shouldNotSkip": { + "type": "boolean" + }, + "url": { + "type": "string" + } + }, + "required": [ + "observedGeneration" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/catalog.cattle.io/operation_v1.json b/schemas/catalog.cattle.io/operation_v1.json new file mode 100644 index 0000000..8bb6c42 --- /dev/null +++ b/schemas/catalog.cattle.io/operation_v1.json @@ -0,0 +1,135 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "status": { + "properties": { + "action": { + "nullable": true, + "type": "string" + }, + "automaticCPTolerations": { + "type": "boolean" + }, + "chart": { + "nullable": true, + "type": "string" + }, + "command": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "nullable": true, + "type": "string" + }, + "lastUpdateTime": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "reason": { + "nullable": true, + "type": "string" + }, + "status": { + "nullable": true, + "type": "string" + }, + "type": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "observedGeneration": { + "type": "integer" + }, + "podCreated": { + "type": "boolean" + }, + "podName": { + "nullable": true, + "type": "string" + }, + "podNamespace": { + "nullable": true, + "type": "string" + }, + "projectId": { + "nullable": true, + "type": "string" + }, + "releaseName": { + "nullable": true, + "type": "string" + }, + "token": { + "nullable": true, + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "nullable": true, + "type": "string" + }, + "key": { + "nullable": true, + "type": "string" + }, + "operator": { + "nullable": true, + "type": "string" + }, + "tolerationSeconds": { + "nullable": true, + "type": "integer" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "version": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/catalog.cattle.io/uiplugin_v1.json b/schemas/catalog.cattle.io/uiplugin_v1.json new file mode 100644 index 0000000..adc3e53 --- /dev/null +++ b/schemas/catalog.cattle.io/uiplugin_v1.json @@ -0,0 +1,84 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "plugin": { + "properties": { + "compressedEndpoint": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "noAuth": { + "default": false, + "type": "boolean" + }, + "noCache": { + "default": false, + "type": "boolean" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "cacheState": { + "nullable": true, + "type": "string" + }, + "error": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "ready": { + "default": false, + "type": "boolean" + }, + "retryAt": { + "format": "date-time", + "type": "string" + }, + "retryNumber": { + "type": "integer" + } + }, + "required": [ + "observedGeneration" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/cert-manager.io/certificate_v1.json b/schemas/cert-manager.io/certificate_v1.json new file mode 100644 index 0000000..9617b64 --- /dev/null +++ b/schemas/cert-manager.io/certificate_v1.json @@ -0,0 +1,497 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "additionalOutputFormats": { + "items": { + "properties": { + "type": { + "enum": [ + "DER", + "CombinedPEM" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "commonName": { + "type": "string" + }, + "dnsNames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "duration": { + "type": "string" + }, + "emailAddresses": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "encodeUsagesInRequest": { + "type": "boolean" + }, + "ipAddresses": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "isCA": { + "type": "boolean" + }, + "issuerRef": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "keystores": { + "properties": { + "jks": { + "properties": { + "alias": { + "type": "string" + }, + "create": { + "type": "boolean" + }, + "password": { + "type": "string" + }, + "passwordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "create" + ], + "type": "object" + }, + "pkcs12": { + "properties": { + "create": { + "type": "boolean" + }, + "password": { + "type": "string" + }, + "passwordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "profile": { + "enum": [ + "LegacyRC2", + "LegacyDES", + "Modern2023" + ], + "type": "string" + } + }, + "required": [ + "create" + ], + "type": "object" + } + }, + "type": "object" + }, + "literalSubject": { + "type": "string" + }, + "nameConstraints": { + "properties": { + "critical": { + "type": "boolean" + }, + "excluded": { + "properties": { + "dnsDomains": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "emailAddresses": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "uriDomains": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "permitted": { + "properties": { + "dnsDomains": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "emailAddresses": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "uriDomains": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "otherNames": { + "items": { + "properties": { + "oid": { + "type": "string" + }, + "utf8Value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "privateKey": { + "properties": { + "algorithm": { + "enum": [ + "RSA", + "ECDSA", + "Ed25519" + ], + "type": "string" + }, + "encoding": { + "enum": [ + "PKCS1", + "PKCS8" + ], + "type": "string" + }, + "rotationPolicy": { + "enum": [ + "Never", + "Always" + ], + "type": "string" + }, + "size": { + "type": "integer" + } + }, + "type": "object" + }, + "renewBefore": { + "type": "string" + }, + "renewBeforePercentage": { + "format": "int32", + "type": "integer" + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "secretName": { + "type": "string" + }, + "secretTemplate": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "signatureAlgorithm": { + "enum": [ + "SHA256WithRSA", + "SHA384WithRSA", + "SHA512WithRSA", + "ECDSAWithSHA256", + "ECDSAWithSHA384", + "ECDSAWithSHA512", + "PureEd25519" + ], + "type": "string" + }, + "subject": { + "properties": { + "countries": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "localities": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "organizationalUnits": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "organizations": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "postalCodes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "provinces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "serialNumber": { + "type": "string" + }, + "streetAddresses": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "uris": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "usages": { + "items": { + "enum": [ + "signing", + "digital signature", + "content commitment", + "key encipherment", + "key agreement", + "data encipherment", + "cert sign", + "crl sign", + "encipher only", + "decipher only", + "any", + "server auth", + "client auth", + "code signing", + "email protection", + "s/mime", + "ipsec end system", + "ipsec tunnel", + "ipsec user", + "timestamping", + "ocsp signing", + "microsoft sgc", + "netscape sgc" + ], + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "issuerRef", + "secretName" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "failedIssuanceAttempts": { + "type": "integer" + }, + "lastFailureTime": { + "format": "date-time", + "type": "string" + }, + "nextPrivateKeySecretName": { + "type": "string" + }, + "notAfter": { + "format": "date-time", + "type": "string" + }, + "notBefore": { + "format": "date-time", + "type": "string" + }, + "renewalTime": { + "format": "date-time", + "type": "string" + }, + "revision": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cert-manager.io/certificaterequest_v1.json b/schemas/cert-manager.io/certificaterequest_v1.json new file mode 100644 index 0000000..8b41d16 --- /dev/null +++ b/schemas/cert-manager.io/certificaterequest_v1.json @@ -0,0 +1,159 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "duration": { + "type": "string" + }, + "extra": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" + }, + "groups": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "isCA": { + "type": "boolean" + }, + "issuerRef": { + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "request": { + "format": "byte", + "type": "string" + }, + "uid": { + "type": "string" + }, + "usages": { + "items": { + "enum": [ + "signing", + "digital signature", + "content commitment", + "key encipherment", + "key agreement", + "data encipherment", + "cert sign", + "crl sign", + "encipher only", + "decipher only", + "any", + "server auth", + "client auth", + "code signing", + "email protection", + "s/mime", + "ipsec end system", + "ipsec tunnel", + "ipsec user", + "timestamping", + "ocsp signing", + "microsoft sgc", + "netscape sgc" + ], + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "username": { + "type": "string" + } + }, + "required": [ + "issuerRef", + "request" + ], + "type": "object" + }, + "status": { + "properties": { + "ca": { + "format": "byte", + "type": "string" + }, + "certificate": { + "format": "byte", + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "failureTime": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cert-manager.io/clusterissuer_v1.json b/schemas/cert-manager.io/clusterissuer_v1.json new file mode 100644 index 0000000..0c9aaad --- /dev/null +++ b/schemas/cert-manager.io/clusterissuer_v1.json @@ -0,0 +1,2661 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "acme": { + "properties": { + "caBundle": { + "format": "byte", + "type": "string" + }, + "disableAccountKeyGeneration": { + "type": "boolean" + }, + "email": { + "type": "string" + }, + "enableDurationFeature": { + "type": "boolean" + }, + "externalAccountBinding": { + "properties": { + "keyAlgorithm": { + "enum": [ + "HS256", + "HS384", + "HS512" + ], + "type": "string" + }, + "keyID": { + "type": "string" + }, + "keySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "keyID", + "keySecretRef" + ], + "type": "object" + }, + "preferredChain": { + "maxLength": 64, + "type": "string" + }, + "privateKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "profile": { + "type": "string" + }, + "server": { + "type": "string" + }, + "skipTLSVerify": { + "type": "boolean" + }, + "solvers": { + "items": { + "properties": { + "dns01": { + "properties": { + "acmeDNS": { + "properties": { + "accountSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "host": { + "type": "string" + } + }, + "required": [ + "accountSecretRef", + "host" + ], + "type": "object" + }, + "akamai": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientSecretSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "serviceConsumerDomain": { + "type": "string" + } + }, + "required": [ + "accessTokenSecretRef", + "clientSecretSecretRef", + "clientTokenSecretRef", + "serviceConsumerDomain" + ], + "type": "object" + }, + "azureDNS": { + "properties": { + "clientID": { + "type": "string" + }, + "clientSecretSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "environment": { + "enum": [ + "AzurePublicCloud", + "AzureChinaCloud", + "AzureGermanCloud", + "AzureUSGovernmentCloud" + ], + "type": "string" + }, + "hostedZoneName": { + "type": "string" + }, + "managedIdentity": { + "properties": { + "clientID": { + "type": "string" + }, + "resourceID": { + "type": "string" + }, + "tenantID": { + "type": "string" + } + }, + "type": "object" + }, + "resourceGroupName": { + "type": "string" + }, + "subscriptionID": { + "type": "string" + }, + "tenantID": { + "type": "string" + }, + "zoneType": { + "enum": [ + "AzurePublicZone", + "AzurePrivateZone" + ], + "type": "string" + } + }, + "required": [ + "resourceGroupName", + "subscriptionID" + ], + "type": "object" + }, + "cloudDNS": { + "properties": { + "hostedZoneName": { + "type": "string" + }, + "project": { + "type": "string" + }, + "serviceAccountSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "project" + ], + "type": "object" + }, + "cloudflare": { + "properties": { + "apiKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "apiTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "email": { + "type": "string" + } + }, + "type": "object" + }, + "cnameStrategy": { + "enum": [ + "None", + "Follow" + ], + "type": "string" + }, + "digitalocean": { + "properties": { + "tokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "tokenSecretRef" + ], + "type": "object" + }, + "rfc2136": { + "properties": { + "nameserver": { + "type": "string" + }, + "protocol": { + "enum": [ + "TCP", + "UDP" + ], + "type": "string" + }, + "tsigAlgorithm": { + "type": "string" + }, + "tsigKeyName": { + "type": "string" + }, + "tsigSecretSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "nameserver" + ], + "type": "object" + }, + "route53": { + "properties": { + "accessKeyID": { + "type": "string" + }, + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "auth": { + "properties": { + "kubernetes": { + "properties": { + "serviceAccountRef": { + "properties": { + "audiences": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "serviceAccountRef" + ], + "type": "object" + } + }, + "required": [ + "kubernetes" + ], + "type": "object" + }, + "hostedZoneID": { + "type": "string" + }, + "region": { + "type": "string" + }, + "role": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "webhook": { + "properties": { + "config": { + "x-kubernetes-preserve-unknown-fields": true + }, + "groupName": { + "type": "string" + }, + "solverName": { + "type": "string" + } + }, + "required": [ + "groupName", + "solverName" + ], + "type": "object" + } + }, + "type": "object" + }, + "http01": { + "properties": { + "gatewayHTTPRoute": { + "properties": { + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "parentRefs": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "podTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "priorityClassName": { + "type": "string" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "securityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "serviceAccountName": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serviceType": { + "type": "string" + } + }, + "type": "object" + }, + "ingress": { + "properties": { + "class": { + "type": "string" + }, + "ingressClassName": { + "type": "string" + }, + "ingressTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "podTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "priorityClassName": { + "type": "string" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "securityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "serviceAccountName": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serviceType": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "dnsNames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dnsZones": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "privateKeySecretRef", + "server" + ], + "type": "object" + }, + "ca": { + "properties": { + "crlDistributionPoints": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "issuingCertificateURLs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ocspServers": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "selfSigned": { + "properties": { + "crlDistributionPoints": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "vault": { + "properties": { + "auth": { + "properties": { + "appRole": { + "properties": { + "path": { + "type": "string" + }, + "roleId": { + "type": "string" + }, + "secretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "path", + "roleId", + "secretRef" + ], + "type": "object" + }, + "clientCertificate": { + "properties": { + "mountPath": { + "type": "string" + }, + "name": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "kubernetes": { + "properties": { + "mountPath": { + "type": "string" + }, + "role": { + "type": "string" + }, + "secretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "serviceAccountRef": { + "properties": { + "audiences": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "role" + ], + "type": "object" + }, + "tokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "caBundle": { + "format": "byte", + "type": "string" + }, + "caBundleSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientCertSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "namespace": { + "type": "string" + }, + "path": { + "type": "string" + }, + "server": { + "type": "string" + }, + "serverName": { + "type": "string" + } + }, + "required": [ + "auth", + "path", + "server" + ], + "type": "object" + }, + "venafi": { + "properties": { + "cloud": { + "properties": { + "apiTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "apiTokenSecretRef" + ], + "type": "object" + }, + "tpp": { + "properties": { + "caBundle": { + "format": "byte", + "type": "string" + }, + "caBundleSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "credentialsRef": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "credentialsRef", + "url" + ], + "type": "object" + }, + "zone": { + "type": "string" + } + }, + "required": [ + "zone" + ], + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "acme": { + "properties": { + "lastPrivateKeyHash": { + "type": "string" + }, + "lastRegisteredEmail": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/cert-manager.io/issuer_v1.json b/schemas/cert-manager.io/issuer_v1.json new file mode 100644 index 0000000..0c9aaad --- /dev/null +++ b/schemas/cert-manager.io/issuer_v1.json @@ -0,0 +1,2661 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "acme": { + "properties": { + "caBundle": { + "format": "byte", + "type": "string" + }, + "disableAccountKeyGeneration": { + "type": "boolean" + }, + "email": { + "type": "string" + }, + "enableDurationFeature": { + "type": "boolean" + }, + "externalAccountBinding": { + "properties": { + "keyAlgorithm": { + "enum": [ + "HS256", + "HS384", + "HS512" + ], + "type": "string" + }, + "keyID": { + "type": "string" + }, + "keySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "keyID", + "keySecretRef" + ], + "type": "object" + }, + "preferredChain": { + "maxLength": 64, + "type": "string" + }, + "privateKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "profile": { + "type": "string" + }, + "server": { + "type": "string" + }, + "skipTLSVerify": { + "type": "boolean" + }, + "solvers": { + "items": { + "properties": { + "dns01": { + "properties": { + "acmeDNS": { + "properties": { + "accountSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "host": { + "type": "string" + } + }, + "required": [ + "accountSecretRef", + "host" + ], + "type": "object" + }, + "akamai": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientSecretSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "serviceConsumerDomain": { + "type": "string" + } + }, + "required": [ + "accessTokenSecretRef", + "clientSecretSecretRef", + "clientTokenSecretRef", + "serviceConsumerDomain" + ], + "type": "object" + }, + "azureDNS": { + "properties": { + "clientID": { + "type": "string" + }, + "clientSecretSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "environment": { + "enum": [ + "AzurePublicCloud", + "AzureChinaCloud", + "AzureGermanCloud", + "AzureUSGovernmentCloud" + ], + "type": "string" + }, + "hostedZoneName": { + "type": "string" + }, + "managedIdentity": { + "properties": { + "clientID": { + "type": "string" + }, + "resourceID": { + "type": "string" + }, + "tenantID": { + "type": "string" + } + }, + "type": "object" + }, + "resourceGroupName": { + "type": "string" + }, + "subscriptionID": { + "type": "string" + }, + "tenantID": { + "type": "string" + }, + "zoneType": { + "enum": [ + "AzurePublicZone", + "AzurePrivateZone" + ], + "type": "string" + } + }, + "required": [ + "resourceGroupName", + "subscriptionID" + ], + "type": "object" + }, + "cloudDNS": { + "properties": { + "hostedZoneName": { + "type": "string" + }, + "project": { + "type": "string" + }, + "serviceAccountSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "project" + ], + "type": "object" + }, + "cloudflare": { + "properties": { + "apiKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "apiTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "email": { + "type": "string" + } + }, + "type": "object" + }, + "cnameStrategy": { + "enum": [ + "None", + "Follow" + ], + "type": "string" + }, + "digitalocean": { + "properties": { + "tokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "tokenSecretRef" + ], + "type": "object" + }, + "rfc2136": { + "properties": { + "nameserver": { + "type": "string" + }, + "protocol": { + "enum": [ + "TCP", + "UDP" + ], + "type": "string" + }, + "tsigAlgorithm": { + "type": "string" + }, + "tsigKeyName": { + "type": "string" + }, + "tsigSecretSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "nameserver" + ], + "type": "object" + }, + "route53": { + "properties": { + "accessKeyID": { + "type": "string" + }, + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "auth": { + "properties": { + "kubernetes": { + "properties": { + "serviceAccountRef": { + "properties": { + "audiences": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "serviceAccountRef" + ], + "type": "object" + } + }, + "required": [ + "kubernetes" + ], + "type": "object" + }, + "hostedZoneID": { + "type": "string" + }, + "region": { + "type": "string" + }, + "role": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "webhook": { + "properties": { + "config": { + "x-kubernetes-preserve-unknown-fields": true + }, + "groupName": { + "type": "string" + }, + "solverName": { + "type": "string" + } + }, + "required": [ + "groupName", + "solverName" + ], + "type": "object" + } + }, + "type": "object" + }, + "http01": { + "properties": { + "gatewayHTTPRoute": { + "properties": { + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "parentRefs": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "podTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "priorityClassName": { + "type": "string" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "securityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "serviceAccountName": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serviceType": { + "type": "string" + } + }, + "type": "object" + }, + "ingress": { + "properties": { + "class": { + "type": "string" + }, + "ingressClassName": { + "type": "string" + }, + "ingressTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "podTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "priorityClassName": { + "type": "string" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "securityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "serviceAccountName": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serviceType": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "dnsNames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dnsZones": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "privateKeySecretRef", + "server" + ], + "type": "object" + }, + "ca": { + "properties": { + "crlDistributionPoints": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "issuingCertificateURLs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ocspServers": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "selfSigned": { + "properties": { + "crlDistributionPoints": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "vault": { + "properties": { + "auth": { + "properties": { + "appRole": { + "properties": { + "path": { + "type": "string" + }, + "roleId": { + "type": "string" + }, + "secretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "path", + "roleId", + "secretRef" + ], + "type": "object" + }, + "clientCertificate": { + "properties": { + "mountPath": { + "type": "string" + }, + "name": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "kubernetes": { + "properties": { + "mountPath": { + "type": "string" + }, + "role": { + "type": "string" + }, + "secretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "serviceAccountRef": { + "properties": { + "audiences": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "role" + ], + "type": "object" + }, + "tokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "caBundle": { + "format": "byte", + "type": "string" + }, + "caBundleSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientCertSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "namespace": { + "type": "string" + }, + "path": { + "type": "string" + }, + "server": { + "type": "string" + }, + "serverName": { + "type": "string" + } + }, + "required": [ + "auth", + "path", + "server" + ], + "type": "object" + }, + "venafi": { + "properties": { + "cloud": { + "properties": { + "apiTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "apiTokenSecretRef" + ], + "type": "object" + }, + "tpp": { + "properties": { + "caBundle": { + "format": "byte", + "type": "string" + }, + "caBundleSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "credentialsRef": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "credentialsRef", + "url" + ], + "type": "object" + }, + "zone": { + "type": "string" + } + }, + "required": [ + "zone" + ], + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "acme": { + "properties": { + "lastPrivateKeyHash": { + "type": "string" + }, + "lastRegisteredEmail": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/certificates.k8s.io/certificatesigningrequest_v1.json b/schemas/certificates.k8s.io/certificatesigningrequest_v1.json new file mode 100644 index 0000000..6b80b8d --- /dev/null +++ b/schemas/certificates.k8s.io/certificatesigningrequest_v1.json @@ -0,0 +1,22 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": {}, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/certificatesigningrequestlist_v1.json b/schemas/certificates.k8s.io/certificatesigningrequestlist_v1.json new file mode 100644 index 0000000..079d1b9 --- /dev/null +++ b/schemas/certificates.k8s.io/certificatesigningrequestlist_v1.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": {} + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/clustertrustbundle_v1alpha1.json b/schemas/certificates.k8s.io/clustertrustbundle_v1alpha1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/certificates.k8s.io/clustertrustbundle_v1alpha1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/clustertrustbundle_v1beta1.json b/schemas/certificates.k8s.io/clustertrustbundle_v1beta1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/certificates.k8s.io/clustertrustbundle_v1beta1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/clustertrustbundlelist_v1alpha1.json b/schemas/certificates.k8s.io/clustertrustbundlelist_v1alpha1.json new file mode 100644 index 0000000..a850b27 --- /dev/null +++ b/schemas/certificates.k8s.io/clustertrustbundlelist_v1alpha1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.certificates.v1alpha1.ClusterTrustBundle" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/clustertrustbundlelist_v1beta1.json b/schemas/certificates.k8s.io/clustertrustbundlelist_v1beta1.json new file mode 100644 index 0000000..ba9cc94 --- /dev/null +++ b/schemas/certificates.k8s.io/clustertrustbundlelist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.ClusterTrustBundle" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/deleteoptions_v1.json b/schemas/certificates.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/certificates.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/deleteoptions_v1alpha1.json b/schemas/certificates.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/certificates.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/deleteoptions_v1beta1.json b/schemas/certificates.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/certificates.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/watchevent_v1.json b/schemas/certificates.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/certificates.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/watchevent_v1alpha1.json b/schemas/certificates.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/certificates.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/certificates.k8s.io/watchevent_v1beta1.json b/schemas/certificates.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/certificates.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/cluster_v1alpha3.json b/schemas/cluster.x-k8s.io/cluster_v1alpha3.json new file mode 100644 index 0000000..7b85369 --- /dev/null +++ b/schemas/cluster.x-k8s.io/cluster_v1alpha3.json @@ -0,0 +1,208 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterNetwork": { + "properties": { + "apiServerPort": { + "format": "int32", + "type": "integer" + }, + "pods": { + "properties": { + "cidrBlocks": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "cidrBlocks" + ], + "type": "object" + }, + "serviceDomain": { + "type": "string" + }, + "services": { + "properties": { + "cidrBlocks": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "cidrBlocks" + ], + "type": "object" + } + }, + "type": "object" + }, + "controlPlaneEndpoint": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "host", + "port" + ], + "type": "object" + }, + "controlPlaneRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "paused": { + "type": "boolean" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "controlPlaneInitialized": { + "type": "boolean" + }, + "controlPlaneReady": { + "type": "boolean" + }, + "failureDomains": { + "additionalProperties": { + "properties": { + "attributes": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "controlPlane": { + "type": "boolean" + } + }, + "type": "object" + }, + "type": "object" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "infrastructureReady": { + "type": "boolean" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/cluster_v1alpha4.json b/schemas/cluster.x-k8s.io/cluster_v1alpha4.json new file mode 100644 index 0000000..7e32c3a --- /dev/null +++ b/schemas/cluster.x-k8s.io/cluster_v1alpha4.json @@ -0,0 +1,294 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterNetwork": { + "properties": { + "apiServerPort": { + "format": "int32", + "type": "integer" + }, + "pods": { + "properties": { + "cidrBlocks": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "cidrBlocks" + ], + "type": "object" + }, + "serviceDomain": { + "type": "string" + }, + "services": { + "properties": { + "cidrBlocks": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "cidrBlocks" + ], + "type": "object" + } + }, + "type": "object" + }, + "controlPlaneEndpoint": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "host", + "port" + ], + "type": "object" + }, + "controlPlaneRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "paused": { + "type": "boolean" + }, + "topology": { + "properties": { + "class": { + "type": "string" + }, + "controlPlane": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "replicas": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "rolloutAfter": { + "format": "date-time", + "type": "string" + }, + "version": { + "type": "string" + }, + "workers": { + "properties": { + "machineDeployments": { + "items": { + "properties": { + "class": { + "type": "string" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "replicas": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "class", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "class", + "version" + ], + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "controlPlaneReady": { + "type": "boolean" + }, + "failureDomains": { + "additionalProperties": { + "properties": { + "attributes": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "controlPlane": { + "type": "boolean" + } + }, + "type": "object" + }, + "type": "object" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "infrastructureReady": { + "type": "boolean" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/cluster_v1beta1.json b/schemas/cluster.x-k8s.io/cluster_v1beta1.json new file mode 100644 index 0000000..14d07f6 --- /dev/null +++ b/schemas/cluster.x-k8s.io/cluster_v1beta1.json @@ -0,0 +1,985 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "availabilityGates": { + "items": { + "properties": { + "conditionType": { + "maxLength": 316, + "minLength": 1, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + }, + "polarity": { + "enum": [ + "Positive", + "Negative" + ], + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "conditionType" + ], + "x-kubernetes-list-type": "map" + }, + "clusterNetwork": { + "properties": { + "apiServerPort": { + "format": "int32", + "type": "integer" + }, + "pods": { + "properties": { + "cidrBlocks": { + "items": { + "maxLength": 43, + "minLength": 1, + "type": "string" + }, + "maxItems": 100, + "type": "array" + } + }, + "required": [ + "cidrBlocks" + ], + "type": "object" + }, + "serviceDomain": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "services": { + "properties": { + "cidrBlocks": { + "items": { + "maxLength": 43, + "minLength": 1, + "type": "string" + }, + "maxItems": 100, + "type": "array" + } + }, + "required": [ + "cidrBlocks" + ], + "type": "object" + } + }, + "type": "object" + }, + "controlPlaneEndpoint": { + "properties": { + "host": { + "maxLength": 512, + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "host", + "port" + ], + "type": "object" + }, + "controlPlaneRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "paused": { + "type": "boolean" + }, + "topology": { + "properties": { + "class": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "classNamespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "controlPlane": { + "properties": { + "machineHealthCheck": { + "properties": { + "enable": { + "type": "boolean" + }, + "maxUnhealthy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "nodeStartupTimeout": { + "type": "string" + }, + "remediationTemplate": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "unhealthyConditions": { + "items": { + "properties": { + "status": { + "minLength": 1, + "type": "string" + }, + "timeout": { + "type": "string" + }, + "type": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "status", + "timeout", + "type" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "unhealthyRange": { + "maxLength": 32, + "minLength": 1, + "pattern": "^\\[[0-9]+-[0-9]+\\]$", + "type": "string" + } + }, + "type": "object" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "nodeDeletionTimeout": { + "type": "string" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "nodeVolumeDetachTimeout": { + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "maxLength": 316, + "minLength": 1, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + }, + "polarity": { + "enum": [ + "Positive", + "Negative" + ], + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "conditionType" + ], + "x-kubernetes-list-type": "map" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "variables": { + "properties": { + "overrides": { + "items": { + "properties": { + "definitionFrom": { + "maxLength": 256, + "type": "string" + }, + "name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "value": { + "x-kubernetes-preserve-unknown-fields": true + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 1000, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "rolloutAfter": { + "format": "date-time", + "type": "string" + }, + "variables": { + "items": { + "properties": { + "definitionFrom": { + "maxLength": 256, + "type": "string" + }, + "name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "value": { + "x-kubernetes-preserve-unknown-fields": true + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 1000, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "version": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "workers": { + "properties": { + "machineDeployments": { + "items": { + "properties": { + "class": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "machineHealthCheck": { + "properties": { + "enable": { + "type": "boolean" + }, + "maxUnhealthy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "nodeStartupTimeout": { + "type": "string" + }, + "remediationTemplate": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "unhealthyConditions": { + "items": { + "properties": { + "status": { + "minLength": 1, + "type": "string" + }, + "timeout": { + "type": "string" + }, + "type": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "status", + "timeout", + "type" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "unhealthyRange": { + "maxLength": 32, + "minLength": 1, + "pattern": "^\\[[0-9]+-[0-9]+\\]$", + "type": "string" + } + }, + "type": "object" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "name": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "nodeDeletionTimeout": { + "type": "string" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "nodeVolumeDetachTimeout": { + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "maxLength": 316, + "minLength": 1, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + }, + "polarity": { + "enum": [ + "Positive", + "Negative" + ], + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "conditionType" + ], + "x-kubernetes-list-type": "map" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "strategy": { + "properties": { + "remediation": { + "properties": { + "maxInFlight": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "rollingUpdate": { + "properties": { + "deletePolicy": { + "enum": [ + "Random", + "Newest", + "Oldest" + ], + "type": "string" + }, + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "enum": [ + "RollingUpdate", + "OnDelete" + ], + "type": "string" + } + }, + "type": "object" + }, + "variables": { + "properties": { + "overrides": { + "items": { + "properties": { + "definitionFrom": { + "maxLength": 256, + "type": "string" + }, + "name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "value": { + "x-kubernetes-preserve-unknown-fields": true + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 1000, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "class", + "name" + ], + "type": "object" + }, + "maxItems": 2000, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "machinePools": { + "items": { + "properties": { + "class": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "failureDomains": { + "items": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "maxItems": 100, + "type": "array" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "name": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "nodeDeletionTimeout": { + "type": "string" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "nodeVolumeDetachTimeout": { + "type": "string" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "variables": { + "properties": { + "overrides": { + "items": { + "properties": { + "definitionFrom": { + "maxLength": 256, + "type": "string" + }, + "name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "value": { + "x-kubernetes-preserve-unknown-fields": true + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 1000, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "class", + "name" + ], + "type": "object" + }, + "maxItems": 2000, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "class", + "version" + ], + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "controlPlaneReady": { + "type": "boolean" + }, + "failureDomains": { + "additionalProperties": { + "properties": { + "attributes": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "controlPlane": { + "type": "boolean" + } + }, + "type": "object" + }, + "type": "object" + }, + "failureMessage": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "infrastructureReady": { + "type": "boolean" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "enum": [ + "Pending", + "Provisioning", + "Provisioned", + "Deleting", + "Failed", + "Unknown" + ], + "type": "string" + }, + "v1beta2": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "controlPlane": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "desiredReplicas": { + "format": "int32", + "type": "integer" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "upToDateReplicas": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "workers": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "desiredReplicas": { + "format": "int32", + "type": "integer" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "upToDateReplicas": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/clusterclass_v1alpha4.json b/schemas/cluster.x-k8s.io/clusterclass_v1alpha4.json new file mode 100644 index 0000000..ede8aba --- /dev/null +++ b/schemas/cluster.x-k8s.io/clusterclass_v1alpha4.json @@ -0,0 +1,258 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "controlPlane": { + "properties": { + "machineInfrastructure": { + "properties": { + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "infrastructure": { + "properties": { + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "workers": { + "properties": { + "machineDeployments": { + "items": { + "properties": { + "class": { + "type": "string" + }, + "template": { + "properties": { + "bootstrap": { + "properties": { + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "infrastructure": { + "properties": { + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "bootstrap", + "infrastructure" + ], + "type": "object" + } + }, + "required": [ + "class", + "template" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/clusterclass_v1beta1.json b/schemas/cluster.x-k8s.io/clusterclass_v1beta1.json new file mode 100644 index 0000000..8556834 --- /dev/null +++ b/schemas/cluster.x-k8s.io/clusterclass_v1beta1.json @@ -0,0 +1,1518 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "availabilityGates": { + "items": { + "properties": { + "conditionType": { + "maxLength": 316, + "minLength": 1, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + }, + "polarity": { + "enum": [ + "Positive", + "Negative" + ], + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "conditionType" + ], + "x-kubernetes-list-type": "map" + }, + "controlPlane": { + "properties": { + "machineHealthCheck": { + "properties": { + "maxUnhealthy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "nodeStartupTimeout": { + "type": "string" + }, + "remediationTemplate": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "unhealthyConditions": { + "items": { + "properties": { + "status": { + "minLength": 1, + "type": "string" + }, + "timeout": { + "type": "string" + }, + "type": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "status", + "timeout", + "type" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "unhealthyRange": { + "maxLength": 32, + "minLength": 1, + "pattern": "^\\[[0-9]+-[0-9]+\\]$", + "type": "string" + } + }, + "type": "object" + }, + "machineInfrastructure": { + "properties": { + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "namingStrategy": { + "properties": { + "template": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + }, + "nodeDeletionTimeout": { + "type": "string" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "nodeVolumeDetachTimeout": { + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "maxLength": 316, + "minLength": 1, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + }, + "polarity": { + "enum": [ + "Positive", + "Negative" + ], + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "conditionType" + ], + "x-kubernetes-list-type": "map" + }, + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "infrastructure": { + "properties": { + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "infrastructureNamingStrategy": { + "properties": { + "template": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + }, + "patches": { + "items": { + "properties": { + "definitions": { + "items": { + "properties": { + "jsonPatches": { + "items": { + "properties": { + "op": { + "enum": [ + "add", + "replace", + "remove" + ], + "type": "string" + }, + "path": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "value": { + "x-kubernetes-preserve-unknown-fields": true + }, + "valueFrom": { + "properties": { + "template": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "variable": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "op", + "path" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "selector": { + "properties": { + "apiVersion": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "kind": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "matchResources": { + "properties": { + "controlPlane": { + "type": "boolean" + }, + "infrastructureCluster": { + "type": "boolean" + }, + "machineDeploymentClass": { + "properties": { + "names": { + "items": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "maxItems": 100, + "type": "array" + } + }, + "type": "object" + }, + "machinePoolClass": { + "properties": { + "names": { + "items": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "maxItems": 100, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "apiVersion", + "kind", + "matchResources" + ], + "type": "object" + } + }, + "required": [ + "jsonPatches", + "selector" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "enabledIf": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "external": { + "properties": { + "discoverVariablesExtension": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "generateExtension": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "settings": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "validateExtension": { + "maxLength": 512, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + }, + "name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 1000, + "type": "array" + }, + "variables": { + "items": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "required": { + "type": "boolean" + }, + "schema": { + "properties": { + "openAPIV3Schema": { + "properties": { + "additionalProperties": { + "x-kubernetes-preserve-unknown-fields": true + }, + "allOf": { + "x-kubernetes-preserve-unknown-fields": true + }, + "anyOf": { + "x-kubernetes-preserve-unknown-fields": true + }, + "default": { + "x-kubernetes-preserve-unknown-fields": true + }, + "enum": { + "items": { + "x-kubernetes-preserve-unknown-fields": true + }, + "maxItems": 100, + "type": "array" + }, + "example": { + "x-kubernetes-preserve-unknown-fields": true + }, + "exclusiveMaximum": { + "type": "boolean" + }, + "exclusiveMinimum": { + "type": "boolean" + }, + "format": { + "maxLength": 32, + "minLength": 1, + "type": "string" + }, + "items": { + "x-kubernetes-preserve-unknown-fields": true + }, + "maxItems": { + "format": "int64", + "type": "integer" + }, + "maxLength": { + "format": "int64", + "type": "integer" + }, + "maxProperties": { + "format": "int64", + "type": "integer" + }, + "maximum": { + "format": "int64", + "type": "integer" + }, + "minItems": { + "format": "int64", + "type": "integer" + }, + "minLength": { + "format": "int64", + "type": "integer" + }, + "minProperties": { + "format": "int64", + "type": "integer" + }, + "minimum": { + "format": "int64", + "type": "integer" + }, + "not": { + "x-kubernetes-preserve-unknown-fields": true + }, + "oneOf": { + "x-kubernetes-preserve-unknown-fields": true + }, + "pattern": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "properties": { + "x-kubernetes-preserve-unknown-fields": true + }, + "required": { + "items": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "maxItems": 1000, + "type": "array" + }, + "type": { + "enum": [ + "object", + "array", + "string", + "integer", + "number", + "boolean" + ], + "type": "string" + }, + "uniqueItems": { + "type": "boolean" + }, + "x-kubernetes-int-or-string": { + "type": "boolean" + }, + "x-kubernetes-preserve-unknown-fields": { + "type": "boolean" + }, + "x-kubernetes-validations": { + "items": { + "properties": { + "fieldPath": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "message": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "messageExpression": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "reason": { + "default": "FieldValueInvalid", + "enum": [ + "FieldValueInvalid", + "FieldValueForbidden", + "FieldValueRequired", + "FieldValueDuplicate" + ], + "type": "string" + }, + "rule": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "rule" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array", + "x-kubernetes-list-map-keys": [ + "rule" + ], + "x-kubernetes-list-type": "map" + }, + "x-metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "openAPIV3Schema" + ], + "type": "object" + } + }, + "required": [ + "name", + "required", + "schema" + ], + "type": "object" + }, + "maxItems": 1000, + "type": "array" + }, + "workers": { + "properties": { + "machineDeployments": { + "items": { + "properties": { + "class": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "machineHealthCheck": { + "properties": { + "maxUnhealthy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "nodeStartupTimeout": { + "type": "string" + }, + "remediationTemplate": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "unhealthyConditions": { + "items": { + "properties": { + "status": { + "minLength": 1, + "type": "string" + }, + "timeout": { + "type": "string" + }, + "type": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "status", + "timeout", + "type" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "unhealthyRange": { + "maxLength": 32, + "minLength": 1, + "pattern": "^\\[[0-9]+-[0-9]+\\]$", + "type": "string" + } + }, + "type": "object" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "namingStrategy": { + "properties": { + "template": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + }, + "nodeDeletionTimeout": { + "type": "string" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "nodeVolumeDetachTimeout": { + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "maxLength": 316, + "minLength": 1, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + }, + "polarity": { + "enum": [ + "Positive", + "Negative" + ], + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "conditionType" + ], + "x-kubernetes-list-type": "map" + }, + "strategy": { + "properties": { + "remediation": { + "properties": { + "maxInFlight": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "rollingUpdate": { + "properties": { + "deletePolicy": { + "enum": [ + "Random", + "Newest", + "Oldest" + ], + "type": "string" + }, + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "enum": [ + "RollingUpdate", + "OnDelete" + ], + "type": "string" + } + }, + "type": "object" + }, + "template": { + "properties": { + "bootstrap": { + "properties": { + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "infrastructure": { + "properties": { + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "bootstrap", + "infrastructure" + ], + "type": "object" + } + }, + "required": [ + "class", + "template" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array", + "x-kubernetes-list-map-keys": [ + "class" + ], + "x-kubernetes-list-type": "map" + }, + "machinePools": { + "items": { + "properties": { + "class": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "failureDomains": { + "items": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "maxItems": 100, + "type": "array" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "namingStrategy": { + "properties": { + "template": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + }, + "nodeDeletionTimeout": { + "type": "string" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "nodeVolumeDetachTimeout": { + "type": "string" + }, + "template": { + "properties": { + "bootstrap": { + "properties": { + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "infrastructure": { + "properties": { + "ref": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "ref" + ], + "type": "object" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "bootstrap", + "infrastructure" + ], + "type": "object" + } + }, + "required": [ + "class", + "template" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array", + "x-kubernetes-list-map-keys": [ + "class" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "v1beta2": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "variables": { + "items": { + "properties": { + "definitions": { + "items": { + "properties": { + "from": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "required": { + "type": "boolean" + }, + "schema": { + "properties": { + "openAPIV3Schema": { + "properties": { + "additionalProperties": { + "x-kubernetes-preserve-unknown-fields": true + }, + "allOf": { + "x-kubernetes-preserve-unknown-fields": true + }, + "anyOf": { + "x-kubernetes-preserve-unknown-fields": true + }, + "default": { + "x-kubernetes-preserve-unknown-fields": true + }, + "enum": { + "items": { + "x-kubernetes-preserve-unknown-fields": true + }, + "maxItems": 100, + "type": "array" + }, + "example": { + "x-kubernetes-preserve-unknown-fields": true + }, + "exclusiveMaximum": { + "type": "boolean" + }, + "exclusiveMinimum": { + "type": "boolean" + }, + "format": { + "maxLength": 32, + "minLength": 1, + "type": "string" + }, + "items": { + "x-kubernetes-preserve-unknown-fields": true + }, + "maxItems": { + "format": "int64", + "type": "integer" + }, + "maxLength": { + "format": "int64", + "type": "integer" + }, + "maxProperties": { + "format": "int64", + "type": "integer" + }, + "maximum": { + "format": "int64", + "type": "integer" + }, + "minItems": { + "format": "int64", + "type": "integer" + }, + "minLength": { + "format": "int64", + "type": "integer" + }, + "minProperties": { + "format": "int64", + "type": "integer" + }, + "minimum": { + "format": "int64", + "type": "integer" + }, + "not": { + "x-kubernetes-preserve-unknown-fields": true + }, + "oneOf": { + "x-kubernetes-preserve-unknown-fields": true + }, + "pattern": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "properties": { + "x-kubernetes-preserve-unknown-fields": true + }, + "required": { + "items": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "maxItems": 1000, + "type": "array" + }, + "type": { + "enum": [ + "object", + "array", + "string", + "integer", + "number", + "boolean" + ], + "type": "string" + }, + "uniqueItems": { + "type": "boolean" + }, + "x-kubernetes-int-or-string": { + "type": "boolean" + }, + "x-kubernetes-preserve-unknown-fields": { + "type": "boolean" + }, + "x-kubernetes-validations": { + "items": { + "properties": { + "fieldPath": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "message": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "messageExpression": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "reason": { + "default": "FieldValueInvalid", + "enum": [ + "FieldValueInvalid", + "FieldValueForbidden", + "FieldValueRequired", + "FieldValueDuplicate" + ], + "type": "string" + }, + "rule": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "rule" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array", + "x-kubernetes-list-map-keys": [ + "rule" + ], + "x-kubernetes-list-type": "map" + }, + "x-metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "openAPIV3Schema" + ], + "type": "object" + } + }, + "required": [ + "from", + "required", + "schema" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "definitionsConflict": { + "type": "boolean" + }, + "name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "definitions", + "name" + ], + "type": "object" + }, + "maxItems": 1000, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machine_v1alpha3.json b/schemas/cluster.x-k8s.io/machine_v1alpha3.json new file mode 100644 index 0000000..6d32383 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machine_v1alpha3.json @@ -0,0 +1,213 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "data": { + "type": "string" + }, + "dataSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "providerID": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + }, + "status": { + "properties": { + "addresses": { + "items": { + "properties": { + "address": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "bootstrapReady": { + "type": "boolean" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "infrastructureReady": { + "type": "boolean" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "nodeRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machine_v1alpha4.json b/schemas/cluster.x-k8s.io/machine_v1alpha4.json new file mode 100644 index 0000000..5ab418a --- /dev/null +++ b/schemas/cluster.x-k8s.io/machine_v1alpha4.json @@ -0,0 +1,257 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "providerID": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + }, + "status": { + "properties": { + "addresses": { + "items": { + "properties": { + "address": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "bootstrapReady": { + "type": "boolean" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "infrastructureReady": { + "type": "boolean" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "nodeInfo": { + "properties": { + "architecture": { + "type": "string" + }, + "bootID": { + "type": "string" + }, + "containerRuntimeVersion": { + "type": "string" + }, + "kernelVersion": { + "type": "string" + }, + "kubeProxyVersion": { + "type": "string" + }, + "kubeletVersion": { + "type": "string" + }, + "machineID": { + "type": "string" + }, + "operatingSystem": { + "type": "string" + }, + "osImage": { + "type": "string" + }, + "systemUUID": { + "type": "string" + } + }, + "required": [ + "architecture", + "bootID", + "containerRuntimeVersion", + "kernelVersion", + "kubeProxyVersion", + "kubeletVersion", + "machineID", + "operatingSystem", + "osImage", + "systemUUID" + ], + "type": "object" + }, + "nodeRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machine_v1beta1.json b/schemas/cluster.x-k8s.io/machine_v1beta1.json new file mode 100644 index 0000000..e2e3da6 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machine_v1beta1.json @@ -0,0 +1,401 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSecretName": { + "maxLength": 253, + "minLength": 0, + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDeletionTimeout": { + "type": "string" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "nodeVolumeDetachTimeout": { + "type": "string" + }, + "providerID": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "maxLength": 316, + "minLength": 1, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + }, + "polarity": { + "enum": [ + "Positive", + "Negative" + ], + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "conditionType" + ], + "x-kubernetes-list-type": "map" + }, + "version": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + }, + "status": { + "properties": { + "addresses": { + "items": { + "properties": { + "address": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "type": { + "enum": [ + "Hostname", + "ExternalIP", + "InternalIP", + "ExternalDNS", + "InternalDNS" + ], + "type": "string" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "bootstrapReady": { + "type": "boolean" + }, + "certificatesExpiryDate": { + "format": "date-time", + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "deletion": { + "properties": { + "nodeDrainStartTime": { + "format": "date-time", + "type": "string" + }, + "waitForNodeVolumeDetachStartTime": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "failureMessage": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "infrastructureReady": { + "type": "boolean" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "nodeInfo": { + "properties": { + "architecture": { + "type": "string" + }, + "bootID": { + "type": "string" + }, + "containerRuntimeVersion": { + "type": "string" + }, + "kernelVersion": { + "type": "string" + }, + "kubeProxyVersion": { + "type": "string" + }, + "kubeletVersion": { + "type": "string" + }, + "machineID": { + "type": "string" + }, + "operatingSystem": { + "type": "string" + }, + "osImage": { + "type": "string" + }, + "systemUUID": { + "type": "string" + } + }, + "required": [ + "architecture", + "bootID", + "containerRuntimeVersion", + "kernelVersion", + "kubeProxyVersion", + "kubeletVersion", + "machineID", + "operatingSystem", + "osImage", + "systemUUID" + ], + "type": "object" + }, + "nodeRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "enum": [ + "Pending", + "Provisioning", + "Provisioned", + "Running", + "Deleting", + "Deleted", + "Failed", + "Unknown" + ], + "type": "string" + }, + "v1beta2": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machinedeployment_v1alpha3.json b/schemas/cluster.x-k8s.io/machinedeployment_v1alpha3.json new file mode 100644 index 0000000..9d8727f --- /dev/null +++ b/schemas/cluster.x-k8s.io/machinedeployment_v1alpha3.json @@ -0,0 +1,311 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "minLength": 1, + "type": "string" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "paused": { + "type": "boolean" + }, + "progressDeadlineSeconds": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "strategy": { + "properties": { + "rollingUpdate": { + "properties": { + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "generateName": { + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "ownerReferences": { + "items": { + "properties": { + "apiVersion": { + "type": "string" + }, + "blockOwnerDeletion": { + "type": "boolean" + }, + "controller": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "data": { + "type": "string" + }, + "dataSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "providerID": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "selector", + "template" + ], + "type": "object" + }, + "status": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "selector": { + "type": "string" + }, + "unavailableReplicas": { + "format": "int32", + "type": "integer" + }, + "updatedReplicas": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machinedeployment_v1alpha4.json b/schemas/cluster.x-k8s.io/machinedeployment_v1alpha4.json new file mode 100644 index 0000000..31d21e5 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machinedeployment_v1alpha4.json @@ -0,0 +1,310 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "minLength": 1, + "type": "string" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "paused": { + "type": "boolean" + }, + "progressDeadlineSeconds": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "default": 1, + "format": "int32", + "type": "integer" + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "strategy": { + "properties": { + "rollingUpdate": { + "properties": { + "deletePolicy": { + "enum": [ + "Random", + "Newest", + "Oldest" + ], + "type": "string" + }, + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "enum": [ + "RollingUpdate", + "OnDelete" + ], + "type": "string" + } + }, + "type": "object" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "providerID": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "selector", + "template" + ], + "type": "object" + }, + "status": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "selector": { + "type": "string" + }, + "unavailableReplicas": { + "format": "int32", + "type": "integer" + }, + "updatedReplicas": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machinedeployment_v1beta1.json b/schemas/cluster.x-k8s.io/machinedeployment_v1beta1.json new file mode 100644 index 0000000..f82a36c --- /dev/null +++ b/schemas/cluster.x-k8s.io/machinedeployment_v1beta1.json @@ -0,0 +1,470 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "machineNamingStrategy": { + "properties": { + "template": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "paused": { + "type": "boolean" + }, + "progressDeadlineSeconds": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "rolloutAfter": { + "format": "date-time", + "type": "string" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "strategy": { + "properties": { + "remediation": { + "properties": { + "maxInFlight": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "rollingUpdate": { + "properties": { + "deletePolicy": { + "enum": [ + "Random", + "Newest", + "Oldest" + ], + "type": "string" + }, + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "enum": [ + "RollingUpdate", + "OnDelete" + ], + "type": "string" + } + }, + "type": "object" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSecretName": { + "maxLength": 253, + "minLength": 0, + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDeletionTimeout": { + "type": "string" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "nodeVolumeDetachTimeout": { + "type": "string" + }, + "providerID": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "maxLength": 316, + "minLength": 1, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + }, + "polarity": { + "enum": [ + "Positive", + "Negative" + ], + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "conditionType" + ], + "x-kubernetes-list-type": "map" + }, + "version": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "selector", + "template" + ], + "type": "object" + }, + "status": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "enum": [ + "ScalingUp", + "ScalingDown", + "Running", + "Failed", + "Unknown" + ], + "type": "string" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "selector": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "unavailableReplicas": { + "format": "int32", + "type": "integer" + }, + "updatedReplicas": { + "format": "int32", + "type": "integer" + }, + "v1beta2": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "upToDateReplicas": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machinedrainrule_v1beta1.json b/schemas/cluster.x-k8s.io/machinedrainrule_v1beta1.json new file mode 100644 index 0000000..b1732a3 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machinedrainrule_v1beta1.json @@ -0,0 +1,235 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "drain": { + "properties": { + "behavior": { + "enum": [ + "Drain", + "Skip", + "WaitCompleted" + ], + "type": "string" + }, + "order": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "behavior" + ], + "type": "object" + }, + "machines": { + "items": { + "minProperties": 1, + "properties": { + "clusterSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "maxItems": 32, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "entries in machines must be unique", + "rule": "self.all(x, self.exists_one(y, x == y))" + } + ] + }, + "pods": { + "items": { + "minProperties": 1, + "properties": { + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "maxItems": 32, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "entries in pods must be unique", + "rule": "self.all(x, self.exists_one(y, x == y))" + } + ] + } + }, + "required": [ + "drain" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machinehealthcheck_v1alpha3.json b/schemas/cluster.x-k8s.io/machinehealthcheck_v1alpha3.json new file mode 100644 index 0000000..8a05121 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machinehealthcheck_v1alpha3.json @@ -0,0 +1,194 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "minLength": 1, + "type": "string" + }, + "maxUnhealthy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "nodeStartupTimeout": { + "type": "string" + }, + "remediationTemplate": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "unhealthyConditions": { + "items": { + "properties": { + "status": { + "minLength": 1, + "type": "string" + }, + "timeout": { + "type": "string" + }, + "type": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "status", + "timeout", + "type" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "clusterName", + "selector", + "unhealthyConditions" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "currentHealthy": { + "format": "int32", + "minimum": 0, + "type": "integer" + }, + "expectedMachines": { + "format": "int32", + "minimum": 0, + "type": "integer" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "remediationsAllowed": { + "format": "int32", + "minimum": 0, + "type": "integer" + }, + "targets": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machinehealthcheck_v1alpha4.json b/schemas/cluster.x-k8s.io/machinehealthcheck_v1alpha4.json new file mode 100644 index 0000000..a864690 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machinehealthcheck_v1alpha4.json @@ -0,0 +1,198 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "minLength": 1, + "type": "string" + }, + "maxUnhealthy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "nodeStartupTimeout": { + "type": "string" + }, + "remediationTemplate": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "unhealthyConditions": { + "items": { + "properties": { + "status": { + "minLength": 1, + "type": "string" + }, + "timeout": { + "type": "string" + }, + "type": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "status", + "timeout", + "type" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "unhealthyRange": { + "pattern": "^\\[[0-9]+-[0-9]+\\]$", + "type": "string" + } + }, + "required": [ + "clusterName", + "selector", + "unhealthyConditions" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "currentHealthy": { + "format": "int32", + "minimum": 0, + "type": "integer" + }, + "expectedMachines": { + "format": "int32", + "minimum": 0, + "type": "integer" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "remediationsAllowed": { + "format": "int32", + "minimum": 0, + "type": "integer" + }, + "targets": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machinehealthcheck_v1beta1.json b/schemas/cluster.x-k8s.io/machinehealthcheck_v1beta1.json new file mode 100644 index 0000000..ffca1a6 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machinehealthcheck_v1beta1.json @@ -0,0 +1,268 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "maxUnhealthy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "nodeStartupTimeout": { + "type": "string" + }, + "remediationTemplate": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "unhealthyConditions": { + "items": { + "properties": { + "status": { + "minLength": 1, + "type": "string" + }, + "timeout": { + "type": "string" + }, + "type": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "status", + "timeout", + "type" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "unhealthyRange": { + "maxLength": 32, + "minLength": 1, + "pattern": "^\\[[0-9]+-[0-9]+\\]$", + "type": "string" + } + }, + "required": [ + "clusterName", + "selector" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "currentHealthy": { + "format": "int32", + "minimum": 0, + "type": "integer" + }, + "expectedMachines": { + "format": "int32", + "minimum": 0, + "type": "integer" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "remediationsAllowed": { + "format": "int32", + "minimum": 0, + "type": "integer" + }, + "targets": { + "items": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "maxItems": 10000, + "type": "array" + }, + "v1beta2": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machinepool_v1alpha3.json b/schemas/cluster.x-k8s.io/machinepool_v1alpha3.json new file mode 100644 index 0000000..3272bf2 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machinepool_v1alpha3.json @@ -0,0 +1,339 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "minLength": 1, + "type": "string" + }, + "failureDomains": { + "items": { + "type": "string" + }, + "type": "array" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "providerIDList": { + "items": { + "type": "string" + }, + "type": "array" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "strategy": { + "properties": { + "rollingUpdate": { + "properties": { + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "generateName": { + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "ownerReferences": { + "items": { + "properties": { + "apiVersion": { + "type": "string" + }, + "blockOwnerDeletion": { + "type": "boolean" + }, + "controller": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "data": { + "type": "string" + }, + "dataSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "providerID": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "template" + ], + "type": "object" + }, + "status": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "bootstrapReady": { + "type": "boolean" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "infrastructureReady": { + "type": "boolean" + }, + "nodeRefs": { + "items": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "unavailableReplicas": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machinepool_v1alpha4.json b/schemas/cluster.x-k8s.io/machinepool_v1alpha4.json new file mode 100644 index 0000000..2e52860 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machinepool_v1alpha4.json @@ -0,0 +1,259 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "minLength": 1, + "type": "string" + }, + "failureDomains": { + "items": { + "type": "string" + }, + "type": "array" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "providerIDList": { + "items": { + "type": "string" + }, + "type": "array" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "providerID": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "template" + ], + "type": "object" + }, + "status": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "bootstrapReady": { + "type": "boolean" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "infrastructureReady": { + "type": "boolean" + }, + "nodeRefs": { + "items": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "unavailableReplicas": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machinepool_v1beta1.json b/schemas/cluster.x-k8s.io/machinepool_v1beta1.json new file mode 100644 index 0000000..6648560 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machinepool_v1beta1.json @@ -0,0 +1,402 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "failureDomains": { + "items": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "maxItems": 100, + "type": "array" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "providerIDList": { + "items": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "maxItems": 10000, + "type": "array" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSecretName": { + "maxLength": 253, + "minLength": 0, + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDeletionTimeout": { + "type": "string" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "nodeVolumeDetachTimeout": { + "type": "string" + }, + "providerID": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "maxLength": 316, + "minLength": 1, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + }, + "polarity": { + "enum": [ + "Positive", + "Negative" + ], + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "conditionType" + ], + "x-kubernetes-list-type": "map" + }, + "version": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "template" + ], + "type": "object" + }, + "status": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "bootstrapReady": { + "type": "boolean" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "failureMessage": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "infrastructureReady": { + "type": "boolean" + }, + "nodeRefs": { + "items": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "maxItems": 10000, + "type": "array" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "enum": [ + "Pending", + "Provisioning", + "Provisioned", + "Running", + "ScalingUp", + "ScalingDown", + "Scaling", + "Deleting", + "Failed", + "Unknown" + ], + "type": "string" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "unavailableReplicas": { + "format": "int32", + "type": "integer" + }, + "v1beta2": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "upToDateReplicas": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machineset_v1alpha3.json b/schemas/cluster.x-k8s.io/machineset_v1alpha3.json new file mode 100644 index 0000000..6ef1eb6 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machineset_v1alpha3.json @@ -0,0 +1,271 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "minLength": 1, + "type": "string" + }, + "deletePolicy": { + "enum": [ + "Random", + "Newest", + "Oldest" + ], + "type": "string" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "generateName": { + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "ownerReferences": { + "items": { + "properties": { + "apiVersion": { + "type": "string" + }, + "blockOwnerDeletion": { + "type": "boolean" + }, + "controller": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "data": { + "type": "string" + }, + "dataSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "providerID": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "selector" + ], + "type": "object" + }, + "status": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "fullyLabeledReplicas": { + "format": "int32", + "type": "integer" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machineset_v1alpha4.json b/schemas/cluster.x-k8s.io/machineset_v1alpha4.json new file mode 100644 index 0000000..f0e147a --- /dev/null +++ b/schemas/cluster.x-k8s.io/machineset_v1alpha4.json @@ -0,0 +1,258 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "minLength": 1, + "type": "string" + }, + "deletePolicy": { + "enum": [ + "Random", + "Newest", + "Oldest" + ], + "type": "string" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "default": 1, + "format": "int32", + "type": "integer" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "providerID": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "selector" + ], + "type": "object" + }, + "status": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "fullyLabeledReplicas": { + "format": "int32", + "type": "integer" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/cluster.x-k8s.io/machineset_v1beta1.json b/schemas/cluster.x-k8s.io/machineset_v1beta1.json new file mode 100644 index 0000000..e5d6854 --- /dev/null +++ b/schemas/cluster.x-k8s.io/machineset_v1beta1.json @@ -0,0 +1,393 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "deletePolicy": { + "enum": [ + "Random", + "Newest", + "Oldest" + ], + "type": "string" + }, + "machineNamingStrategy": { + "properties": { + "template": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + }, + "minReadySeconds": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "bootstrap": { + "properties": { + "configRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSecretName": { + "maxLength": 253, + "minLength": 0, + "type": "string" + } + }, + "type": "object" + }, + "clusterName": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "failureDomain": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "infrastructureRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "nodeDeletionTimeout": { + "type": "string" + }, + "nodeDrainTimeout": { + "type": "string" + }, + "nodeVolumeDetachTimeout": { + "type": "string" + }, + "providerID": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "maxLength": 316, + "minLength": 1, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + }, + "polarity": { + "enum": [ + "Positive", + "Negative" + ], + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "conditionType" + ], + "x-kubernetes-list-type": "map" + }, + "version": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "bootstrap", + "clusterName", + "infrastructureRef" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "selector" + ], + "type": "object" + }, + "status": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "failureMessage": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "fullyLabeledReplicas": { + "format": "int32", + "type": "integer" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "selector": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + }, + "v1beta2": { + "properties": { + "availableReplicas": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "readyReplicas": { + "format": "int32", + "type": "integer" + }, + "upToDateReplicas": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/componentstatus_v1.json b/schemas/componentstatus_v1.json new file mode 100644 index 0000000..736d6c2 --- /dev/null +++ b/schemas/componentstatus_v1.json @@ -0,0 +1,29 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "conditions": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ComponentCondition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/componentstatuslist_v1.json b/schemas/componentstatuslist_v1.json new file mode 100644 index 0000000..97e203c --- /dev/null +++ b/schemas/componentstatuslist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatus" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/configmap_v1.json b/schemas/configmap_v1.json new file mode 100644 index 0000000..8d9620d --- /dev/null +++ b/schemas/configmap_v1.json @@ -0,0 +1,33 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "binaryData": { + "additionalProperties": { + "format": "byte", + "type": "string" + }, + "type": "object" + }, + "data": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "immutable": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/configmaplist_v1.json b/schemas/configmaplist_v1.json new file mode 100644 index 0000000..0cea473 --- /dev/null +++ b/schemas/configmaplist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/deleteoptions_v1.json b/schemas/coordination.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/coordination.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/deleteoptions_v1alpha2.json b/schemas/coordination.k8s.io/deleteoptions_v1alpha2.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/coordination.k8s.io/deleteoptions_v1alpha2.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/deleteoptions_v1beta1.json b/schemas/coordination.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/coordination.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/lease_v1.json b/schemas/coordination.k8s.io/lease_v1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/coordination.k8s.io/lease_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/leasecandidate_v1alpha2.json b/schemas/coordination.k8s.io/leasecandidate_v1alpha2.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/coordination.k8s.io/leasecandidate_v1alpha2.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/leasecandidate_v1beta1.json b/schemas/coordination.k8s.io/leasecandidate_v1beta1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/coordination.k8s.io/leasecandidate_v1beta1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/leasecandidatelist_v1alpha2.json b/schemas/coordination.k8s.io/leasecandidatelist_v1alpha2.json new file mode 100644 index 0000000..ab64c8e --- /dev/null +++ b/schemas/coordination.k8s.io/leasecandidatelist_v1alpha2.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/leasecandidatelist_v1beta1.json b/schemas/coordination.k8s.io/leasecandidatelist_v1beta1.json new file mode 100644 index 0000000..eea92fe --- /dev/null +++ b/schemas/coordination.k8s.io/leasecandidatelist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseCandidate" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/leaselist_v1.json b/schemas/coordination.k8s.io/leaselist_v1.json new file mode 100644 index 0000000..58f6145 --- /dev/null +++ b/schemas/coordination.k8s.io/leaselist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/watchevent_v1.json b/schemas/coordination.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/coordination.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/watchevent_v1alpha2.json b/schemas/coordination.k8s.io/watchevent_v1alpha2.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/coordination.k8s.io/watchevent_v1alpha2.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/coordination.k8s.io/watchevent_v1beta1.json b/schemas/coordination.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/coordination.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/bgpconfiguration_v1.json b/schemas/crd.projectcalico.org/bgpconfiguration_v1.json new file mode 100644 index 0000000..1386621 --- /dev/null +++ b/schemas/crd.projectcalico.org/bgpconfiguration_v1.json @@ -0,0 +1,142 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "asNumber": { + "format": "int32", + "type": "integer" + }, + "bindMode": { + "type": "string" + }, + "communities": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "pattern": "^(\\d+):(\\d+)$|^(\\d+):(\\d+):(\\d+)$", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "ignoredInterfaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "listenPort": { + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "localWorkloadPeeringIPV4": { + "type": "string" + }, + "localWorkloadPeeringIPV6": { + "type": "string" + }, + "logSeverityScreen": { + "type": "string" + }, + "nodeMeshMaxRestartTime": { + "type": "string" + }, + "nodeMeshPassword": { + "properties": { + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nodeToNodeMeshEnabled": { + "type": "boolean" + }, + "prefixAdvertisements": { + "items": { + "properties": { + "cidr": { + "type": "string" + }, + "communities": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "array" + }, + "serviceClusterIPs": { + "items": { + "properties": { + "cidr": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "serviceExternalIPs": { + "items": { + "properties": { + "cidr": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "serviceLoadBalancerIPs": { + "items": { + "properties": { + "cidr": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/bgpfilter_v1.json b/schemas/crd.projectcalico.org/bgpfilter_v1.json new file mode 100644 index 0000000..e0e76a8 --- /dev/null +++ b/schemas/crd.projectcalico.org/bgpfilter_v1.json @@ -0,0 +1,192 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "exportV4": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "cidr": { + "type": "string" + }, + "interface": { + "type": "string" + }, + "matchOperator": { + "type": "string" + }, + "prefixLength": { + "properties": { + "max": { + "format": "int32", + "maximum": 32, + "minimum": 0, + "type": "integer" + }, + "min": { + "format": "int32", + "maximum": 32, + "minimum": 0, + "type": "integer" + } + }, + "type": "object" + }, + "source": { + "type": "string" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "exportV6": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "cidr": { + "type": "string" + }, + "interface": { + "type": "string" + }, + "matchOperator": { + "type": "string" + }, + "prefixLength": { + "properties": { + "max": { + "format": "int32", + "maximum": 128, + "minimum": 0, + "type": "integer" + }, + "min": { + "format": "int32", + "maximum": 128, + "minimum": 0, + "type": "integer" + } + }, + "type": "object" + }, + "source": { + "type": "string" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "importV4": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "cidr": { + "type": "string" + }, + "interface": { + "type": "string" + }, + "matchOperator": { + "type": "string" + }, + "prefixLength": { + "properties": { + "max": { + "format": "int32", + "maximum": 32, + "minimum": 0, + "type": "integer" + }, + "min": { + "format": "int32", + "maximum": 32, + "minimum": 0, + "type": "integer" + } + }, + "type": "object" + }, + "source": { + "type": "string" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "importV6": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "cidr": { + "type": "string" + }, + "interface": { + "type": "string" + }, + "matchOperator": { + "type": "string" + }, + "prefixLength": { + "properties": { + "max": { + "format": "int32", + "maximum": 128, + "minimum": 0, + "type": "integer" + }, + "min": { + "format": "int32", + "maximum": 128, + "minimum": 0, + "type": "integer" + } + }, + "type": "object" + }, + "source": { + "type": "string" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/bgppeer_v1.json b/schemas/crd.projectcalico.org/bgppeer_v1.json new file mode 100644 index 0000000..a91442a --- /dev/null +++ b/schemas/crd.projectcalico.org/bgppeer_v1.json @@ -0,0 +1,114 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "asNumber": { + "format": "int32", + "type": "integer" + }, + "filters": { + "items": { + "type": "string" + }, + "type": "array" + }, + "keepOriginalNextHop": { + "type": "boolean" + }, + "localWorkloadSelector": { + "type": "string" + }, + "maxRestartTime": { + "type": "string" + }, + "nextHopMode": { + "allOf": [ + { + "enum": [ + "Auto", + "Self", + "Keep" + ] + }, + { + "enum": [ + "Auto", + "Self", + "Keep" + ] + } + ], + "type": "string" + }, + "node": { + "type": "string" + }, + "nodeSelector": { + "type": "string" + }, + "numAllowedLocalASNumbers": { + "format": "int32", + "type": "integer" + }, + "password": { + "properties": { + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "peerIP": { + "type": "string" + }, + "peerSelector": { + "type": "string" + }, + "reachableBy": { + "type": "string" + }, + "reversePeering": { + "enum": [ + "Auto", + "Manual" + ], + "type": "string" + }, + "sourceAddress": { + "type": "string" + }, + "ttlSecurity": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/blockaffinity_v1.json b/schemas/crd.projectcalico.org/blockaffinity_v1.json new file mode 100644 index 0000000..1e352c4 --- /dev/null +++ b/schemas/crd.projectcalico.org/blockaffinity_v1.json @@ -0,0 +1,41 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "cidr": { + "type": "string" + }, + "deleted": { + "type": "string" + }, + "node": { + "type": "string" + }, + "state": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "cidr", + "deleted", + "node", + "state" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/caliconodestatus_v1.json b/schemas/crd.projectcalico.org/caliconodestatus_v1.json new file mode 100644 index 0000000..b8118d6 --- /dev/null +++ b/schemas/crd.projectcalico.org/caliconodestatus_v1.json @@ -0,0 +1,218 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "classes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "node": { + "type": "string" + }, + "updatePeriodSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "status": { + "properties": { + "agent": { + "properties": { + "birdV4": { + "properties": { + "lastBootTime": { + "type": "string" + }, + "lastReconfigurationTime": { + "type": "string" + }, + "routerID": { + "type": "string" + }, + "state": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "birdV6": { + "properties": { + "lastBootTime": { + "type": "string" + }, + "lastReconfigurationTime": { + "type": "string" + }, + "routerID": { + "type": "string" + }, + "state": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "bgp": { + "properties": { + "numberEstablishedV4": { + "type": "integer" + }, + "numberEstablishedV6": { + "type": "integer" + }, + "numberNotEstablishedV4": { + "type": "integer" + }, + "numberNotEstablishedV6": { + "type": "integer" + }, + "peersV4": { + "items": { + "properties": { + "peerIP": { + "type": "string" + }, + "since": { + "type": "string" + }, + "state": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "peersV6": { + "items": { + "properties": { + "peerIP": { + "type": "string" + }, + "since": { + "type": "string" + }, + "state": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "numberEstablishedV4", + "numberEstablishedV6", + "numberNotEstablishedV4", + "numberNotEstablishedV6" + ], + "type": "object" + }, + "lastUpdated": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "routes": { + "properties": { + "routesV4": { + "items": { + "properties": { + "destination": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "interface": { + "type": "string" + }, + "learnedFrom": { + "properties": { + "peerIP": { + "type": "string" + }, + "sourceType": { + "type": "string" + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "routesV6": { + "items": { + "properties": { + "destination": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "interface": { + "type": "string" + }, + "learnedFrom": { + "properties": { + "peerIP": { + "type": "string" + }, + "sourceType": { + "type": "string" + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/clusterinformation_v1.json b/schemas/crd.projectcalico.org/clusterinformation_v1.json new file mode 100644 index 0000000..7ef8050 --- /dev/null +++ b/schemas/crd.projectcalico.org/clusterinformation_v1.json @@ -0,0 +1,35 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "calicoVersion": { + "type": "string" + }, + "clusterGUID": { + "type": "string" + }, + "clusterType": { + "type": "string" + }, + "datastoreReady": { + "type": "boolean" + }, + "variant": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/felixconfiguration_v1.json b/schemas/crd.projectcalico.org/felixconfiguration_v1.json new file mode 100644 index 0000000..c6019b2 --- /dev/null +++ b/schemas/crd.projectcalico.org/felixconfiguration_v1.json @@ -0,0 +1,759 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "allowIPIPPacketsFromWorkloads": { + "type": "boolean" + }, + "allowVXLANPacketsFromWorkloads": { + "type": "boolean" + }, + "awsSrcDstCheck": { + "enum": [ + "DoNothing", + "Enable", + "Disable" + ], + "type": "string" + }, + "bpfCTLBLogFilter": { + "type": "string" + }, + "bpfConnectTimeLoadBalancing": { + "enum": [ + "TCP", + "Enabled", + "Disabled" + ], + "type": "string" + }, + "bpfConnectTimeLoadBalancingEnabled": { + "type": "boolean" + }, + "bpfConntrackLogLevel": { + "enum": [ + "Off", + "Debug" + ], + "type": "string" + }, + "bpfConntrackMode": { + "enum": [ + "Auto", + "Userspace", + "BPFProgram" + ], + "type": "string" + }, + "bpfConntrackTimeouts": { + "properties": { + "creationGracePeriod": { + "pattern": "^(([0-9]*(\\.[0-9]*)?(ms|s|h|m|us)+)+|Auto)$", + "type": "string" + }, + "genericTimeout": { + "pattern": "^(([0-9]*(\\.[0-9]*)?(ms|s|h|m|us)+)+|Auto)$", + "type": "string" + }, + "icmpTimeout": { + "pattern": "^(([0-9]*(\\.[0-9]*)?(ms|s|h|m|us)+)+|Auto)$", + "type": "string" + }, + "tcpEstablished": { + "pattern": "^(([0-9]*(\\.[0-9]*)?(ms|s|h|m|us)+)+|Auto)$", + "type": "string" + }, + "tcpFinsSeen": { + "pattern": "^(([0-9]*(\\.[0-9]*)?(ms|s|h|m|us)+)+|Auto)$", + "type": "string" + }, + "tcpResetSeen": { + "pattern": "^(([0-9]*(\\.[0-9]*)?(ms|s|h|m|us)+)+|Auto)$", + "type": "string" + }, + "tcpSynSent": { + "pattern": "^(([0-9]*(\\.[0-9]*)?(ms|s|h|m|us)+)+|Auto)$", + "type": "string" + }, + "udpTimeout": { + "pattern": "^(([0-9]*(\\.[0-9]*)?(ms|s|h|m|us)+)+|Auto)$", + "type": "string" + } + }, + "type": "object" + }, + "bpfDSROptoutCIDRs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "bpfDataIfacePattern": { + "type": "string" + }, + "bpfDisableGROForIfaces": { + "type": "string" + }, + "bpfDisableUnprivileged": { + "type": "boolean" + }, + "bpfEnabled": { + "type": "boolean" + }, + "bpfEnforceRPF": { + "pattern": "^(?i)(Disabled|Strict|Loose)?$", + "type": "string" + }, + "bpfExcludeCIDRsFromNAT": { + "items": { + "type": "string" + }, + "type": "array" + }, + "bpfExportBufferSizeMB": { + "type": "integer" + }, + "bpfExtToServiceConnmark": { + "type": "integer" + }, + "bpfExternalServiceMode": { + "pattern": "^(?i)(Tunnel|DSR)?$", + "type": "string" + }, + "bpfForceTrackPacketsFromIfaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "bpfHostConntrackBypass": { + "type": "boolean" + }, + "bpfHostNetworkedNATWithoutCTLB": { + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string" + }, + "bpfKubeProxyEndpointSlicesEnabled": { + "type": "boolean" + }, + "bpfKubeProxyIptablesCleanupEnabled": { + "type": "boolean" + }, + "bpfKubeProxyMinSyncPeriod": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "bpfL3IfacePattern": { + "type": "string" + }, + "bpfLogFilters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "bpfLogLevel": { + "pattern": "^(?i)(Off|Info|Debug)?$", + "type": "string" + }, + "bpfMapSizeConntrack": { + "type": "integer" + }, + "bpfMapSizeConntrackCleanupQueue": { + "minimum": 1, + "type": "integer" + }, + "bpfMapSizeConntrackScaling": { + "pattern": "^(?i)(Disabled|DoubleIfFull)?$", + "type": "string" + }, + "bpfMapSizeIPSets": { + "type": "integer" + }, + "bpfMapSizeIfState": { + "type": "integer" + }, + "bpfMapSizeNATAffinity": { + "type": "integer" + }, + "bpfMapSizeNATBackend": { + "type": "integer" + }, + "bpfMapSizeNATFrontend": { + "type": "integer" + }, + "bpfMapSizePerCpuConntrack": { + "type": "integer" + }, + "bpfMapSizeRoute": { + "type": "integer" + }, + "bpfPSNATPorts": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "bpfPolicyDebugEnabled": { + "type": "boolean" + }, + "bpfProfiling": { + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string" + }, + "bpfRedirectToPeer": { + "enum": [ + "Enabled", + "Disabled", + "L2Only" + ], + "type": "string" + }, + "chainInsertMode": { + "pattern": "^(?i)(Insert|Append)?$", + "type": "string" + }, + "dataplaneDriver": { + "type": "string" + }, + "dataplaneWatchdogTimeout": { + "type": "string" + }, + "debugDisableLogDropping": { + "type": "boolean" + }, + "debugHost": { + "type": "string" + }, + "debugMemoryProfilePath": { + "type": "string" + }, + "debugPort": { + "type": "integer" + }, + "debugSimulateCalcGraphHangAfter": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "debugSimulateDataplaneApplyDelay": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "debugSimulateDataplaneHangAfter": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "defaultEndpointToHostAction": { + "pattern": "^(?i)(Drop|Accept|Return)?$", + "type": "string" + }, + "deviceRouteProtocol": { + "type": "integer" + }, + "deviceRouteSourceAddress": { + "type": "string" + }, + "deviceRouteSourceAddressIPv6": { + "type": "string" + }, + "disableConntrackInvalidCheck": { + "type": "boolean" + }, + "endpointReportingDelay": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "endpointReportingEnabled": { + "type": "boolean" + }, + "endpointStatusPathPrefix": { + "type": "string" + }, + "externalNodesList": { + "items": { + "type": "string" + }, + "type": "array" + }, + "failsafeInboundHostPorts": { + "items": { + "properties": { + "net": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "protocol": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array" + }, + "failsafeOutboundHostPorts": { + "items": { + "properties": { + "net": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "protocol": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array" + }, + "featureDetectOverride": { + "pattern": "^([a-zA-Z0-9-_]+=(true|false|),)*([a-zA-Z0-9-_]+=(true|false|))?$", + "type": "string" + }, + "featureGates": { + "pattern": "^([a-zA-Z0-9-_]+=([^=]+),)*([a-zA-Z0-9-_]+=([^=]+))?$", + "type": "string" + }, + "floatingIPs": { + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string" + }, + "flowLogsCollectorDebugTrace": { + "type": "boolean" + }, + "flowLogsFlushInterval": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "flowLogsGoldmaneServer": { + "type": "string" + }, + "flowLogsLocalReporter": { + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string" + }, + "flowLogsPolicyEvaluationMode": { + "enum": [ + "None", + "Continuous" + ], + "type": "string" + }, + "genericXDPEnabled": { + "type": "boolean" + }, + "goGCThreshold": { + "type": "integer" + }, + "goMaxProcs": { + "type": "integer" + }, + "goMemoryLimitMB": { + "type": "integer" + }, + "healthEnabled": { + "type": "boolean" + }, + "healthHost": { + "type": "string" + }, + "healthPort": { + "type": "integer" + }, + "healthTimeoutOverrides": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "timeout": { + "type": "string" + } + }, + "required": [ + "name", + "timeout" + ], + "type": "object" + }, + "type": "array" + }, + "interfaceExclude": { + "type": "string" + }, + "interfacePrefix": { + "type": "string" + }, + "interfaceRefreshInterval": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "ipForwarding": { + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string" + }, + "ipipEnabled": { + "type": "boolean" + }, + "ipipMTU": { + "type": "integer" + }, + "ipsetsRefreshInterval": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "iptablesBackend": { + "pattern": "^(?i)(Auto|Legacy|NFT)?$", + "type": "string" + }, + "iptablesFilterAllowAction": { + "pattern": "^(?i)(Accept|Return)?$", + "type": "string" + }, + "iptablesFilterDenyAction": { + "pattern": "^(?i)(Drop|Reject)?$", + "type": "string" + }, + "iptablesLockFilePath": { + "type": "string" + }, + "iptablesLockProbeInterval": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "iptablesLockTimeout": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "iptablesMangleAllowAction": { + "pattern": "^(?i)(Accept|Return)?$", + "type": "string" + }, + "iptablesMarkMask": { + "format": "int32", + "type": "integer" + }, + "iptablesNATOutgoingInterfaceFilter": { + "type": "string" + }, + "iptablesPostWriteCheckInterval": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "iptablesRefreshInterval": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "ipv6Support": { + "type": "boolean" + }, + "kubeNodePortRanges": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "logDebugFilenameRegex": { + "type": "string" + }, + "logFilePath": { + "type": "string" + }, + "logPrefix": { + "type": "string" + }, + "logSeverityFile": { + "pattern": "^(?i)(Trace|Debug|Info|Warning|Error|Fatal)?$", + "type": "string" + }, + "logSeverityScreen": { + "pattern": "^(?i)(Trace|Debug|Info|Warning|Error|Fatal)?$", + "type": "string" + }, + "logSeveritySys": { + "pattern": "^(?i)(Trace|Debug|Info|Warning|Error|Fatal)?$", + "type": "string" + }, + "maxIpsetSize": { + "type": "integer" + }, + "metadataAddr": { + "type": "string" + }, + "metadataPort": { + "type": "integer" + }, + "mtuIfacePattern": { + "type": "string" + }, + "natOutgoingAddress": { + "type": "string" + }, + "natPortRange": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "netlinkTimeout": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "nftablesFilterAllowAction": { + "pattern": "^(?i)(Accept|Return)?$", + "type": "string" + }, + "nftablesFilterDenyAction": { + "pattern": "^(?i)(Drop|Reject)?$", + "type": "string" + }, + "nftablesMangleAllowAction": { + "pattern": "^(?i)(Accept|Return)?$", + "type": "string" + }, + "nftablesMarkMask": { + "format": "int32", + "type": "integer" + }, + "nftablesMode": { + "enum": [ + "Disabled", + "Enabled", + "Auto" + ], + "type": "string" + }, + "nftablesRefreshInterval": { + "type": "string" + }, + "openstackRegion": { + "type": "string" + }, + "policySyncPathPrefix": { + "type": "string" + }, + "prometheusGoMetricsEnabled": { + "type": "boolean" + }, + "prometheusMetricsEnabled": { + "type": "boolean" + }, + "prometheusMetricsHost": { + "type": "string" + }, + "prometheusMetricsPort": { + "type": "integer" + }, + "prometheusProcessMetricsEnabled": { + "type": "boolean" + }, + "prometheusWireGuardMetricsEnabled": { + "type": "boolean" + }, + "removeExternalRoutes": { + "type": "boolean" + }, + "reportingInterval": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "reportingTTL": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "routeRefreshInterval": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "routeSource": { + "pattern": "^(?i)(WorkloadIPs|CalicoIPAM)?$", + "type": "string" + }, + "routeSyncDisabled": { + "type": "boolean" + }, + "routeTableRange": { + "properties": { + "max": { + "type": "integer" + }, + "min": { + "type": "integer" + } + }, + "required": [ + "max", + "min" + ], + "type": "object" + }, + "routeTableRanges": { + "items": { + "properties": { + "max": { + "type": "integer" + }, + "min": { + "type": "integer" + } + }, + "required": [ + "max", + "min" + ], + "type": "object" + }, + "type": "array" + }, + "serviceLoopPrevention": { + "pattern": "^(?i)(Drop|Reject|Disabled)?$", + "type": "string" + }, + "sidecarAccelerationEnabled": { + "type": "boolean" + }, + "usageReportingEnabled": { + "type": "boolean" + }, + "usageReportingInitialDelay": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "usageReportingInterval": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "useInternalDataplaneDriver": { + "type": "boolean" + }, + "vxlanEnabled": { + "type": "boolean" + }, + "vxlanMTU": { + "type": "integer" + }, + "vxlanMTUV6": { + "type": "integer" + }, + "vxlanPort": { + "type": "integer" + }, + "vxlanVNI": { + "type": "integer" + }, + "windowsManageFirewallRules": { + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string" + }, + "wireguardEnabled": { + "type": "boolean" + }, + "wireguardEnabledV6": { + "type": "boolean" + }, + "wireguardHostEncryptionEnabled": { + "type": "boolean" + }, + "wireguardInterfaceName": { + "type": "string" + }, + "wireguardInterfaceNameV6": { + "type": "string" + }, + "wireguardKeepAlive": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + }, + "wireguardListeningPort": { + "type": "integer" + }, + "wireguardListeningPortV6": { + "type": "integer" + }, + "wireguardMTU": { + "type": "integer" + }, + "wireguardMTUV6": { + "type": "integer" + }, + "wireguardRoutingRulePriority": { + "type": "integer" + }, + "wireguardThreadingEnabled": { + "type": "boolean" + }, + "workloadSourceSpoofing": { + "pattern": "^(?i)(Disabled|Any)?$", + "type": "string" + }, + "xdpEnabled": { + "type": "boolean" + }, + "xdpRefreshInterval": { + "pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/globalnetworkpolicy_v1.json b/schemas/crd.projectcalico.org/globalnetworkpolicy_v1.json new file mode 100644 index 0000000..649a91b --- /dev/null +++ b/schemas/crd.projectcalico.org/globalnetworkpolicy_v1.json @@ -0,0 +1,578 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "applyOnForward": { + "type": "boolean" + }, + "doNotTrack": { + "type": "boolean" + }, + "egress": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "destination": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "http": { + "properties": { + "methods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "paths": { + "items": { + "properties": { + "exact": { + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "icmp": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "ipVersion": { + "type": "integer" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "notICMP": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "notProtocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "protocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "source": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "ingress": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "destination": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "http": { + "properties": { + "methods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "paths": { + "items": { + "properties": { + "exact": { + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "icmp": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "ipVersion": { + "type": "integer" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "notICMP": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "notProtocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "protocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "source": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "namespaceSelector": { + "type": "string" + }, + "order": { + "type": "number" + }, + "performanceHints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "preDNAT": { + "type": "boolean" + }, + "selector": { + "type": "string" + }, + "serviceAccountSelector": { + "type": "string" + }, + "tier": { + "type": "string" + }, + "types": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/globalnetworkset_v1.json b/schemas/crd.projectcalico.org/globalnetworkset_v1.json new file mode 100644 index 0000000..03a3cf4 --- /dev/null +++ b/schemas/crd.projectcalico.org/globalnetworkset_v1.json @@ -0,0 +1,26 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "nets": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/hostendpoint_v1.json b/schemas/crd.projectcalico.org/hostendpoint_v1.json new file mode 100644 index 0000000..0095b30 --- /dev/null +++ b/schemas/crd.projectcalico.org/hostendpoint_v1.json @@ -0,0 +1,69 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "expectedIPs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "interfaceName": { + "type": "string" + }, + "node": { + "type": "string" + }, + "ports": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "protocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "name", + "port", + "protocol" + ], + "type": "object" + }, + "type": "array" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/ipamblock_v1.json b/schemas/crd.projectcalico.org/ipamblock_v1.json new file mode 100644 index 0000000..3d4f8dc --- /dev/null +++ b/schemas/crd.projectcalico.org/ipamblock_v1.json @@ -0,0 +1,81 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "affinity": { + "type": "string" + }, + "allocations": { + "items": { + "nullable": true, + "type": "integer" + }, + "type": "array" + }, + "attributes": { + "items": { + "properties": { + "handle_id": { + "type": "string" + }, + "secondary": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "cidr": { + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "sequenceNumber": { + "default": 0, + "format": "int64", + "type": "integer" + }, + "sequenceNumberForAllocation": { + "additionalProperties": { + "format": "int64", + "type": "integer" + }, + "type": "object" + }, + "strictAffinity": { + "type": "boolean" + }, + "unallocated": { + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "allocations", + "attributes", + "cidr", + "strictAffinity", + "unallocated" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/ipamconfig_v1.json b/schemas/crd.projectcalico.org/ipamconfig_v1.json new file mode 100644 index 0000000..152396f --- /dev/null +++ b/schemas/crd.projectcalico.org/ipamconfig_v1.json @@ -0,0 +1,35 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "autoAllocateBlocks": { + "type": "boolean" + }, + "maxBlocksPerHost": { + "maximum": 2147483647, + "minimum": 0, + "type": "integer" + }, + "strictAffinity": { + "type": "boolean" + } + }, + "required": [ + "autoAllocateBlocks", + "strictAffinity" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/ipamhandle_v1.json b/schemas/crd.projectcalico.org/ipamhandle_v1.json new file mode 100644 index 0000000..48d636b --- /dev/null +++ b/schemas/crd.projectcalico.org/ipamhandle_v1.json @@ -0,0 +1,36 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "block": { + "additionalProperties": { + "type": "integer" + }, + "type": "object" + }, + "deleted": { + "type": "boolean" + }, + "handleID": { + "type": "string" + } + }, + "required": [ + "block", + "handleID" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/ippool_v1.json b/schemas/crd.projectcalico.org/ippool_v1.json new file mode 100644 index 0000000..719838d --- /dev/null +++ b/schemas/crd.projectcalico.org/ippool_v1.json @@ -0,0 +1,74 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "allowedUses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "assignmentMode": { + "enum": [ + "Automatic", + "Manual" + ], + "type": "string" + }, + "blockSize": { + "type": "integer" + }, + "cidr": { + "type": "string" + }, + "disableBGPExport": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "ipip": { + "properties": { + "enabled": { + "type": "boolean" + }, + "mode": { + "type": "string" + } + }, + "type": "object" + }, + "ipipMode": { + "type": "string" + }, + "nat-outgoing": { + "type": "boolean" + }, + "natOutgoing": { + "type": "boolean" + }, + "nodeSelector": { + "type": "string" + }, + "vxlanMode": { + "type": "string" + } + }, + "required": [ + "cidr" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/ipreservation_v1.json b/schemas/crd.projectcalico.org/ipreservation_v1.json new file mode 100644 index 0000000..5f05f92 --- /dev/null +++ b/schemas/crd.projectcalico.org/ipreservation_v1.json @@ -0,0 +1,26 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "reservedCIDRs": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/kubecontrollersconfiguration_v1.json b/schemas/crd.projectcalico.org/kubecontrollersconfiguration_v1.json new file mode 100644 index 0000000..d1b2366 --- /dev/null +++ b/schemas/crd.projectcalico.org/kubecontrollersconfiguration_v1.json @@ -0,0 +1,266 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "controllers": { + "properties": { + "loadBalancer": { + "properties": { + "assignIPs": { + "type": "string" + } + }, + "type": "object" + }, + "namespace": { + "properties": { + "reconcilerPeriod": { + "type": "string" + } + }, + "type": "object" + }, + "node": { + "properties": { + "hostEndpoint": { + "properties": { + "autoCreate": { + "type": "string" + }, + "createDefaultHostEndpoint": { + "type": "string" + }, + "templates": { + "items": { + "properties": { + "generateName": { + "type": "string" + }, + "interfaceCIDRs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "nodeSelector": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "leakGracePeriod": { + "type": "string" + }, + "reconcilerPeriod": { + "type": "string" + }, + "syncLabels": { + "type": "string" + } + }, + "type": "object" + }, + "policy": { + "properties": { + "reconcilerPeriod": { + "type": "string" + } + }, + "type": "object" + }, + "serviceAccount": { + "properties": { + "reconcilerPeriod": { + "type": "string" + } + }, + "type": "object" + }, + "workloadEndpoint": { + "properties": { + "reconcilerPeriod": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "debugProfilePort": { + "format": "int32", + "type": "integer" + }, + "etcdV3CompactionPeriod": { + "type": "string" + }, + "healthChecks": { + "type": "string" + }, + "logSeverityScreen": { + "type": "string" + }, + "prometheusMetricsPort": { + "type": "integer" + } + }, + "required": [ + "controllers" + ], + "type": "object" + }, + "status": { + "properties": { + "environmentVars": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "runningConfig": { + "properties": { + "controllers": { + "properties": { + "loadBalancer": { + "properties": { + "assignIPs": { + "type": "string" + } + }, + "type": "object" + }, + "namespace": { + "properties": { + "reconcilerPeriod": { + "type": "string" + } + }, + "type": "object" + }, + "node": { + "properties": { + "hostEndpoint": { + "properties": { + "autoCreate": { + "type": "string" + }, + "createDefaultHostEndpoint": { + "type": "string" + }, + "templates": { + "items": { + "properties": { + "generateName": { + "type": "string" + }, + "interfaceCIDRs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "nodeSelector": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "leakGracePeriod": { + "type": "string" + }, + "reconcilerPeriod": { + "type": "string" + }, + "syncLabels": { + "type": "string" + } + }, + "type": "object" + }, + "policy": { + "properties": { + "reconcilerPeriod": { + "type": "string" + } + }, + "type": "object" + }, + "serviceAccount": { + "properties": { + "reconcilerPeriod": { + "type": "string" + } + }, + "type": "object" + }, + "workloadEndpoint": { + "properties": { + "reconcilerPeriod": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "debugProfilePort": { + "format": "int32", + "type": "integer" + }, + "etcdV3CompactionPeriod": { + "type": "string" + }, + "healthChecks": { + "type": "string" + }, + "logSeverityScreen": { + "type": "string" + }, + "prometheusMetricsPort": { + "type": "integer" + } + }, + "required": [ + "controllers" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/networkpolicy_v1.json b/schemas/crd.projectcalico.org/networkpolicy_v1.json new file mode 100644 index 0000000..1afa59c --- /dev/null +++ b/schemas/crd.projectcalico.org/networkpolicy_v1.json @@ -0,0 +1,566 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "egress": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "destination": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "http": { + "properties": { + "methods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "paths": { + "items": { + "properties": { + "exact": { + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "icmp": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "ipVersion": { + "type": "integer" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "notICMP": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "notProtocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "protocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "source": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "ingress": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "destination": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "http": { + "properties": { + "methods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "paths": { + "items": { + "properties": { + "exact": { + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "icmp": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "ipVersion": { + "type": "integer" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "notICMP": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "notProtocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "protocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "source": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "order": { + "type": "number" + }, + "performanceHints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccountSelector": { + "type": "string" + }, + "tier": { + "type": "string" + }, + "types": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/networkset_v1.json b/schemas/crd.projectcalico.org/networkset_v1.json new file mode 100644 index 0000000..03a3cf4 --- /dev/null +++ b/schemas/crd.projectcalico.org/networkset_v1.json @@ -0,0 +1,26 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "nets": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/stagedglobalnetworkpolicy_v1.json b/schemas/crd.projectcalico.org/stagedglobalnetworkpolicy_v1.json new file mode 100644 index 0000000..812e4b9 --- /dev/null +++ b/schemas/crd.projectcalico.org/stagedglobalnetworkpolicy_v1.json @@ -0,0 +1,581 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "applyOnForward": { + "type": "boolean" + }, + "doNotTrack": { + "type": "boolean" + }, + "egress": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "destination": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "http": { + "properties": { + "methods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "paths": { + "items": { + "properties": { + "exact": { + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "icmp": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "ipVersion": { + "type": "integer" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "notICMP": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "notProtocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "protocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "source": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "ingress": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "destination": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "http": { + "properties": { + "methods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "paths": { + "items": { + "properties": { + "exact": { + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "icmp": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "ipVersion": { + "type": "integer" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "notICMP": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "notProtocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "protocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "source": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "namespaceSelector": { + "type": "string" + }, + "order": { + "type": "number" + }, + "performanceHints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "preDNAT": { + "type": "boolean" + }, + "selector": { + "type": "string" + }, + "serviceAccountSelector": { + "type": "string" + }, + "stagedAction": { + "type": "string" + }, + "tier": { + "type": "string" + }, + "types": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/stagedkubernetesnetworkpolicy_v1.json b/schemas/crd.projectcalico.org/stagedkubernetesnetworkpolicy_v1.json new file mode 100644 index 0000000..9e48bae --- /dev/null +++ b/schemas/crd.projectcalico.org/stagedkubernetesnetworkpolicy_v1.json @@ -0,0 +1,343 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "egress": { + "items": { + "properties": { + "ports": { + "items": { + "properties": { + "endPort": { + "format": "int32", + "type": "integer" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "protocol": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "to": { + "items": { + "properties": { + "ipBlock": { + "properties": { + "cidr": { + "type": "string" + }, + "except": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "cidr" + ], + "type": "object" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "ingress": { + "items": { + "properties": { + "from": { + "items": { + "properties": { + "ipBlock": { + "properties": { + "cidr": { + "type": "string" + }, + "except": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "cidr" + ], + "type": "object" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "endPort": { + "format": "int32", + "type": "integer" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "protocol": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "podSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "policyTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "stagedAction": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/stagednetworkpolicy_v1.json b/schemas/crd.projectcalico.org/stagednetworkpolicy_v1.json new file mode 100644 index 0000000..9113fd7 --- /dev/null +++ b/schemas/crd.projectcalico.org/stagednetworkpolicy_v1.json @@ -0,0 +1,569 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "egress": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "destination": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "http": { + "properties": { + "methods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "paths": { + "items": { + "properties": { + "exact": { + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "icmp": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "ipVersion": { + "type": "integer" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "notICMP": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "notProtocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "protocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "source": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "ingress": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "destination": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "http": { + "properties": { + "methods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "paths": { + "items": { + "properties": { + "exact": { + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "icmp": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "ipVersion": { + "type": "integer" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "notICMP": { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "type": "object" + }, + "notProtocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "protocol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "source": { + "properties": { + "namespaceSelector": { + "type": "string" + }, + "nets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notNets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notPorts": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "notSelector": { + "type": "string" + }, + "ports": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^.*", + "x-kubernetes-int-or-string": true + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccounts": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + } + }, + "type": "object" + }, + "services": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array" + }, + "order": { + "type": "number" + }, + "performanceHints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "type": "string" + }, + "serviceAccountSelector": { + "type": "string" + }, + "stagedAction": { + "type": "string" + }, + "tier": { + "type": "string" + }, + "types": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/crd.projectcalico.org/tier_v1.json b/schemas/crd.projectcalico.org/tier_v1.json new file mode 100644 index 0000000..29d616c --- /dev/null +++ b/schemas/crd.projectcalico.org/tier_v1.json @@ -0,0 +1,30 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "defaultAction": { + "enum": [ + "Pass", + "Deny" + ], + "type": "string" + }, + "order": { + "type": "number" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/deleteoptions_v1.json b/schemas/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/deviceplugin.intel.com/dlbdeviceplugin_v1.json b/schemas/deviceplugin.intel.com/dlbdeviceplugin_v1.json new file mode 100644 index 0000000..ad2f1c4 --- /dev/null +++ b/schemas/deviceplugin.intel.com/dlbdeviceplugin_v1.json @@ -0,0 +1,110 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "image": { + "type": "string" + }, + "initImage": { + "type": "string" + }, + "logLevel": { + "minimum": 0, + "type": "integer" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "controlledDaemonSet": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "desiredNumberScheduled": { + "format": "int32", + "type": "integer" + }, + "nodeNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numberReady": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "desiredNumberScheduled", + "numberReady" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/deviceplugin.intel.com/dsadeviceplugin_v1.json b/schemas/deviceplugin.intel.com/dsadeviceplugin_v1.json new file mode 100644 index 0000000..46a5091 --- /dev/null +++ b/schemas/deviceplugin.intel.com/dsadeviceplugin_v1.json @@ -0,0 +1,117 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "image": { + "type": "string" + }, + "initImage": { + "type": "string" + }, + "logLevel": { + "minimum": 0, + "type": "integer" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "provisioningConfig": { + "type": "string" + }, + "sharedDevNum": { + "minimum": 1, + "type": "integer" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "controlledDaemonSet": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "desiredNumberScheduled": { + "format": "int32", + "type": "integer" + }, + "nodeNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numberReady": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "desiredNumberScheduled", + "numberReady" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/deviceplugin.intel.com/fpgadeviceplugin_v1.json b/schemas/deviceplugin.intel.com/fpgadeviceplugin_v1.json new file mode 100644 index 0000000..d1ea2a8 --- /dev/null +++ b/schemas/deviceplugin.intel.com/fpgadeviceplugin_v1.json @@ -0,0 +1,118 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "image": { + "type": "string" + }, + "initImage": { + "type": "string" + }, + "logLevel": { + "minimum": 0, + "type": "integer" + }, + "mode": { + "enum": [ + "af", + "region", + "regiondevel" + ], + "type": "string" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "controlledDaemonSet": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "desiredNumberScheduled": { + "format": "int32", + "type": "integer" + }, + "nodeNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numberReady": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "desiredNumberScheduled", + "numberReady" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/deviceplugin.intel.com/gpudeviceplugin_v1.json b/schemas/deviceplugin.intel.com/gpudeviceplugin_v1.json new file mode 100644 index 0000000..44e1c89 --- /dev/null +++ b/schemas/deviceplugin.intel.com/gpudeviceplugin_v1.json @@ -0,0 +1,131 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "allowIDs": { + "type": "string" + }, + "denyIDs": { + "type": "string" + }, + "enableMonitoring": { + "type": "boolean" + }, + "image": { + "type": "string" + }, + "initImage": { + "type": "string" + }, + "logLevel": { + "minimum": 0, + "type": "integer" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "preferredAllocationPolicy": { + "enum": [ + "balanced", + "packed", + "none" + ], + "type": "string" + }, + "sharedDevNum": { + "minimum": 1, + "type": "integer" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "controlledDaemonSet": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "desiredNumberScheduled": { + "format": "int32", + "type": "integer" + }, + "nodeNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numberReady": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "desiredNumberScheduled", + "numberReady" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/deviceplugin.intel.com/iaadeviceplugin_v1.json b/schemas/deviceplugin.intel.com/iaadeviceplugin_v1.json new file mode 100644 index 0000000..46a5091 --- /dev/null +++ b/schemas/deviceplugin.intel.com/iaadeviceplugin_v1.json @@ -0,0 +1,117 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "image": { + "type": "string" + }, + "initImage": { + "type": "string" + }, + "logLevel": { + "minimum": 0, + "type": "integer" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "provisioningConfig": { + "type": "string" + }, + "sharedDevNum": { + "minimum": 1, + "type": "integer" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "controlledDaemonSet": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "desiredNumberScheduled": { + "format": "int32", + "type": "integer" + }, + "nodeNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numberReady": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "desiredNumberScheduled", + "numberReady" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/deviceplugin.intel.com/npudeviceplugin_v1.json b/schemas/deviceplugin.intel.com/npudeviceplugin_v1.json new file mode 100644 index 0000000..e818111 --- /dev/null +++ b/schemas/deviceplugin.intel.com/npudeviceplugin_v1.json @@ -0,0 +1,111 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "image": { + "type": "string" + }, + "logLevel": { + "minimum": 0, + "type": "integer" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "sharedDevNum": { + "minimum": 1, + "type": "integer" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "controlledDaemonSet": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "desiredNumberScheduled": { + "format": "int32", + "type": "integer" + }, + "nodeNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numberReady": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "desiredNumberScheduled", + "numberReady" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/deviceplugin.intel.com/qatdeviceplugin_v1.json b/schemas/deviceplugin.intel.com/qatdeviceplugin_v1.json new file mode 100644 index 0000000..b11ac58 --- /dev/null +++ b/schemas/deviceplugin.intel.com/qatdeviceplugin_v1.json @@ -0,0 +1,147 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "dpdkDriver": { + "enum": [ + "igb_uio", + "vfio-pci" + ], + "type": "string" + }, + "image": { + "type": "string" + }, + "initImage": { + "type": "string" + }, + "kernelVfDrivers": { + "items": { + "enum": [ + "dh895xccvf", + "c6xxvf", + "c3xxxvf", + "d15xxvf", + "4xxxvf", + "420xxvf", + "c4xxxvf", + "6xxxvf" + ], + "type": "string" + }, + "type": "array" + }, + "logLevel": { + "minimum": 0, + "type": "integer" + }, + "maxNumDevices": { + "minimum": 1, + "type": "integer" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "preferredAllocationPolicy": { + "enum": [ + "balanced", + "packed" + ], + "type": "string" + }, + "provisioningConfig": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "controlledDaemonSet": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "desiredNumberScheduled": { + "format": "int32", + "type": "integer" + }, + "nodeNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numberReady": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "desiredNumberScheduled", + "numberReady" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/deviceplugin.intel.com/sgxdeviceplugin_v1.json b/schemas/deviceplugin.intel.com/sgxdeviceplugin_v1.json new file mode 100644 index 0000000..a0cd1eb --- /dev/null +++ b/schemas/deviceplugin.intel.com/sgxdeviceplugin_v1.json @@ -0,0 +1,121 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "dcapInfraResources": { + "type": "boolean" + }, + "enclaveLimit": { + "minimum": 1, + "type": "integer" + }, + "image": { + "type": "string" + }, + "initImage": { + "type": "string" + }, + "logLevel": { + "minimum": 0, + "type": "integer" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "provisionLimit": { + "minimum": 1, + "type": "integer" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "controlledDaemonSet": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "desiredNumberScheduled": { + "format": "int32", + "type": "integer" + }, + "nodeNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numberReady": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "desiredNumberScheduled", + "numberReady" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/discovery.k8s.io/deleteoptions_v1.json b/schemas/discovery.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/discovery.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/discovery.k8s.io/deleteoptions_v1beta1.json b/schemas/discovery.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/discovery.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/discovery.k8s.io/endpointslice_v1.json b/schemas/discovery.k8s.io/endpointslice_v1.json new file mode 100644 index 0000000..86e1ab2 --- /dev/null +++ b/schemas/discovery.k8s.io/endpointslice_v1.json @@ -0,0 +1,34 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "addressType": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "endpoints": { + "items": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.Endpoint" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "ports": { + "items": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointPort" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" +} diff --git a/schemas/discovery.k8s.io/endpointslicelist_v1.json b/schemas/discovery.k8s.io/endpointslicelist_v1.json new file mode 100644 index 0000000..d662251 --- /dev/null +++ b/schemas/discovery.k8s.io/endpointslicelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/discovery.k8s.io/watchevent_v1.json b/schemas/discovery.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/discovery.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/discovery.k8s.io/watchevent_v1beta1.json b/schemas/discovery.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/discovery.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/elasticsearch.k8s.elastic.co/elasticsearch_v1.json b/schemas/elasticsearch.k8s.elastic.co/elasticsearch_v1.json new file mode 100644 index 0000000..0d7081d --- /dev/null +++ b/schemas/elasticsearch.k8s.elastic.co/elasticsearch_v1.json @@ -0,0 +1,1191 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "auth": { + "properties": { + "disableElasticUser": { + "type": "boolean" + }, + "fileRealm": { + "items": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "roles": { + "items": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "http": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "monitoring": { + "properties": { + "logs": { + "properties": { + "elasticsearchRefs": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "metrics": { + "properties": { + "elasticsearchRefs": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nodeSets": { + "items": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "count": { + "format": "int32", + "type": "integer" + }, + "name": { + "maxLength": 23, + "pattern": "[a-zA-Z0-9-]+", + "type": "string" + }, + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "volumeClaimTemplates": { + "items": { + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "podDisruptionBudget": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "minAvailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "unhealthyPodEvictionPolicy": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "remoteClusterServer": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "remoteClusters": { + "items": { + "properties": { + "apiKey": { + "properties": { + "access": { + "properties": { + "replication": { + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "names" + ], + "type": "object" + }, + "search": { + "properties": { + "allow_restricted_indices": { + "type": "boolean" + }, + "field_security": { + "properties": { + "except": { + "items": { + "type": "string" + }, + "type": "array" + }, + "grant": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "except", + "grant" + ], + "type": "object" + }, + "names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "query": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "required": [ + "names" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "access" + ], + "type": "object" + }, + "elasticsearchRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "name": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array" + }, + "serviceAccountName": { + "type": "string" + }, + "transport": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "certificateAuthorities": { + "properties": { + "configMapName": { + "type": "string" + } + }, + "type": "object" + }, + "otherNameSuffix": { + "type": "string" + }, + "selfSignedCertificates": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "updateStrategy": { + "properties": { + "changeBudget": { + "properties": { + "maxSurge": { + "format": "int32", + "type": "integer" + }, + "maxUnavailable": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "version": { + "type": "string" + }, + "volumeClaimDeletePolicy": { + "enum": [ + "DeleteOnScaledownOnly", + "DeleteOnScaledownAndClusterDeletion" + ], + "type": "string" + } + }, + "required": [ + "nodeSets", + "version" + ], + "type": "object" + }, + "status": { + "properties": { + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "health": { + "type": "string" + }, + "inProgressOperations": { + "properties": { + "downscale": { + "properties": { + "lastUpdatedTime": { + "format": "date-time", + "type": "string" + }, + "nodes": { + "items": { + "properties": { + "explanation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "shutdownStatus": { + "type": "string" + } + }, + "required": [ + "name", + "shutdownStatus" + ], + "type": "object" + }, + "type": "array" + }, + "stalled": { + "type": "boolean" + } + }, + "type": "object" + }, + "upgrade": { + "properties": { + "lastUpdatedTime": { + "format": "date-time", + "type": "string" + }, + "nodes": { + "items": { + "properties": { + "message": { + "type": "string" + }, + "name": { + "type": "string" + }, + "predicate": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "name", + "status" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "upscale": { + "properties": { + "lastUpdatedTime": { + "format": "date-time", + "type": "string" + }, + "nodes": { + "items": { + "properties": { + "message": { + "type": "string" + }, + "name": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "name", + "status" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "downscale", + "upgrade", + "upscale" + ], + "type": "object" + }, + "monitoringAssociationStatus": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/elasticsearch.k8s.elastic.co/elasticsearch_v1alpha1.json b/schemas/elasticsearch.k8s.elastic.co/elasticsearch_v1alpha1.json new file mode 100644 index 0000000..41f7668 --- /dev/null +++ b/schemas/elasticsearch.k8s.elastic.co/elasticsearch_v1alpha1.json @@ -0,0 +1,15 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/elasticsearch.k8s.elastic.co/elasticsearch_v1beta1.json b/schemas/elasticsearch.k8s.elastic.co/elasticsearch_v1beta1.json new file mode 100644 index 0000000..a4518bd --- /dev/null +++ b/schemas/elasticsearch.k8s.elastic.co/elasticsearch_v1beta1.json @@ -0,0 +1,617 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "http": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "nodeSets": { + "items": { + "properties": { + "config": { + "type": "object" + }, + "count": { + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "name": { + "maxLength": 23, + "pattern": "[a-zA-Z0-9-]+", + "type": "string" + }, + "podTemplate": { + "type": "object" + }, + "volumeClaimTemplates": { + "items": { + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "podDisruptionBudget": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "minAvailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "unhealthyPodEvictionPolicy": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array" + }, + "updateStrategy": { + "properties": { + "changeBudget": { + "properties": { + "maxSurge": { + "format": "int32", + "type": "integer" + }, + "maxUnavailable": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "version": { + "type": "string" + } + }, + "required": [ + "nodeSets" + ], + "type": "object" + }, + "status": { + "properties": { + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "health": { + "type": "string" + }, + "phase": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/endpoints_v1.json b/schemas/endpoints_v1.json new file mode 100644 index 0000000..4a7b2a6 --- /dev/null +++ b/schemas/endpoints_v1.json @@ -0,0 +1,24 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "subsets": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointSubset" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" +} diff --git a/schemas/endpointslist_v1.json b/schemas/endpointslist_v1.json new file mode 100644 index 0000000..2e64f0b --- /dev/null +++ b/schemas/endpointslist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/enterprisesearch.k8s.elastic.co/enterprisesearch_v1.json b/schemas/enterprisesearch.k8s.elastic.co/enterprisesearch_v1.json new file mode 100644 index 0000000..e638c31 --- /dev/null +++ b/schemas/enterprisesearch.k8s.elastic.co/enterprisesearch_v1.json @@ -0,0 +1,315 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "configRef": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "elasticsearchRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "http": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "serviceAccountName": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "associationStatus": { + "type": "string" + }, + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "health": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "selector": { + "type": "string" + }, + "service": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/enterprisesearch.k8s.elastic.co/enterprisesearch_v1beta1.json b/schemas/enterprisesearch.k8s.elastic.co/enterprisesearch_v1beta1.json new file mode 100644 index 0000000..7df47ed --- /dev/null +++ b/schemas/enterprisesearch.k8s.elastic.co/enterprisesearch_v1beta1.json @@ -0,0 +1,307 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "configRef": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "elasticsearchRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "http": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "serviceAccountName": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "associationStatus": { + "type": "string" + }, + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "health": { + "type": "string" + }, + "selector": { + "type": "string" + }, + "service": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/event_v1.json b/schemas/event_v1.json new file mode 100644 index 0000000..8e3b978 --- /dev/null +++ b/schemas/event_v1.json @@ -0,0 +1,67 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "action": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "eventTime": { + "additionalProperties": true, + "type": "object" + }, + "firstTimestamp": { + "additionalProperties": true, + "type": "object" + }, + "involvedObject": { + "additionalProperties": true, + "type": "object" + }, + "kind": { + "type": "string" + }, + "lastTimestamp": { + "additionalProperties": true, + "type": "object" + }, + "message": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "reason": { + "type": "string" + }, + "related": { + "additionalProperties": true, + "type": "object" + }, + "reportingComponent": { + "type": "string" + }, + "reportingInstance": { + "type": "string" + }, + "series": { + "additionalProperties": true, + "type": "object" + }, + "source": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/eventlist_v1.json b/schemas/eventlist_v1.json new file mode 100644 index 0000000..7c24109 --- /dev/null +++ b/schemas/eventlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/events.k8s.io/deleteoptions_v1.json b/schemas/events.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/events.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/events.k8s.io/deleteoptions_v1beta1.json b/schemas/events.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/events.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/events.k8s.io/event_v1.json b/schemas/events.k8s.io/event_v1.json new file mode 100644 index 0000000..af2e932 --- /dev/null +++ b/schemas/events.k8s.io/event_v1.json @@ -0,0 +1,67 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "action": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "deprecatedCount": { + "format": "int32", + "type": "integer" + }, + "deprecatedFirstTimestamp": { + "additionalProperties": true, + "type": "object" + }, + "deprecatedLastTimestamp": { + "additionalProperties": true, + "type": "object" + }, + "deprecatedSource": { + "additionalProperties": true, + "type": "object" + }, + "eventTime": { + "additionalProperties": true, + "type": "object" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "note": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "regarding": { + "additionalProperties": true, + "type": "object" + }, + "related": { + "additionalProperties": true, + "type": "object" + }, + "reportingController": { + "type": "string" + }, + "reportingInstance": { + "type": "string" + }, + "series": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/events.k8s.io/eventlist_v1.json b/schemas/events.k8s.io/eventlist_v1.json new file mode 100644 index 0000000..991869a --- /dev/null +++ b/schemas/events.k8s.io/eventlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/events.k8s.io/watchevent_v1.json b/schemas/events.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/events.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/events.k8s.io/watchevent_v1beta1.json b/schemas/events.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/events.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/extensions/deleteoptions_v1beta1.json b/schemas/extensions/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/extensions/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/extensions/watchevent_v1beta1.json b/schemas/extensions/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/extensions/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/externaldns.k8s.io/dnsendpoint_v1alpha1.json b/schemas/externaldns.k8s.io/dnsendpoint_v1alpha1.json new file mode 100644 index 0000000..8808634 --- /dev/null +++ b/schemas/externaldns.k8s.io/dnsendpoint_v1alpha1.json @@ -0,0 +1,76 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "endpoints": { + "items": { + "properties": { + "dnsName": { + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "providerSpecific": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "recordTTL": { + "format": "int64", + "type": "integer" + }, + "recordType": { + "type": "string" + }, + "setIdentifier": { + "type": "string" + }, + "targets": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "observedGeneration": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/bundle_v1alpha1.json b/schemas/fleet.cattle.io/bundle_v1alpha1.json new file mode 100644 index 0000000..16db1ea --- /dev/null +++ b/schemas/fleet.cattle.io/bundle_v1alpha1.json @@ -0,0 +1,1422 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "contentsId": { + "nullable": true, + "type": "string" + }, + "correctDrift": { + "properties": { + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "keepFailHistory": { + "type": "boolean" + } + }, + "type": "object" + }, + "defaultNamespace": { + "nullable": true, + "type": "string" + }, + "deleteCRDResources": { + "type": "boolean" + }, + "deleteNamespace": { + "type": "boolean" + }, + "dependsOn": { + "items": { + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "selector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "diff": { + "nullable": true, + "properties": { + "comparePatches": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "operations": { + "items": { + "properties": { + "op": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "downstreamResources": { + "items": { + "properties": { + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "forceSyncGeneration": { + "format": "int64", + "type": "integer" + }, + "helm": { + "properties": { + "atomic": { + "type": "boolean" + }, + "chart": { + "nullable": true, + "type": "string" + }, + "disableDNS": { + "type": "boolean" + }, + "disableDependencyUpdate": { + "type": "boolean" + }, + "disablePreProcess": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "maxHistory": { + "type": "integer" + }, + "releaseName": { + "maxLength": 53, + "nullable": true, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "repo": { + "nullable": true, + "type": "string" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "takeOwnership": { + "type": "boolean" + }, + "templateValues": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "timeoutSeconds": { + "type": "integer" + }, + "values": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "valuesFiles": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "valuesFrom": { + "items": { + "properties": { + "configMapKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "secretKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "version": { + "nullable": true, + "type": "string" + }, + "waitForJobs": { + "type": "boolean" + } + }, + "type": "object" + }, + "helmOpOptions": { + "nullable": true, + "properties": { + "helmOpInsecureSkipTLSVerify": { + "type": "boolean" + }, + "helmOpSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "ignore": { + "nullable": true, + "properties": { + "conditions": { + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "keepResources": { + "type": "boolean" + }, + "kustomize": { + "nullable": true, + "properties": { + "dir": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "namespaceAnnotations": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "namespaceLabels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "paused": { + "type": "boolean" + }, + "resources": { + "items": { + "properties": { + "content": { + "nullable": true, + "type": "string" + }, + "encoding": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "rolloutStrategy": { + "nullable": true, + "properties": { + "autoPartitionSize": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "maxUnavailablePartitions": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "partitions": { + "items": { + "properties": { + "clusterGroup": { + "type": "string" + }, + "clusterGroupSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "clusterName": { + "type": "string" + }, + "clusterSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "serviceAccount": { + "nullable": true, + "type": "string" + }, + "targetRestrictions": { + "items": { + "properties": { + "clusterGroup": { + "nullable": true, + "type": "string" + }, + "clusterGroupSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "clusterName": { + "nullable": true, + "type": "string" + }, + "clusterSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "targets": { + "items": { + "properties": { + "clusterGroup": { + "nullable": true, + "type": "string" + }, + "clusterGroupSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "clusterName": { + "nullable": true, + "type": "string" + }, + "clusterSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "correctDrift": { + "properties": { + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "keepFailHistory": { + "type": "boolean" + } + }, + "type": "object" + }, + "defaultNamespace": { + "nullable": true, + "type": "string" + }, + "deleteCRDResources": { + "type": "boolean" + }, + "deleteNamespace": { + "type": "boolean" + }, + "diff": { + "nullable": true, + "properties": { + "comparePatches": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "operations": { + "items": { + "properties": { + "op": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "doNotDeploy": { + "type": "boolean" + }, + "downstreamResources": { + "items": { + "properties": { + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "forceSyncGeneration": { + "format": "int64", + "type": "integer" + }, + "helm": { + "properties": { + "atomic": { + "type": "boolean" + }, + "chart": { + "nullable": true, + "type": "string" + }, + "disableDNS": { + "type": "boolean" + }, + "disableDependencyUpdate": { + "type": "boolean" + }, + "disablePreProcess": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "maxHistory": { + "type": "integer" + }, + "releaseName": { + "maxLength": 53, + "nullable": true, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "repo": { + "nullable": true, + "type": "string" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "takeOwnership": { + "type": "boolean" + }, + "templateValues": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "timeoutSeconds": { + "type": "integer" + }, + "values": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "valuesFiles": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "valuesFrom": { + "items": { + "properties": { + "configMapKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "secretKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "version": { + "nullable": true, + "type": "string" + }, + "waitForJobs": { + "type": "boolean" + } + }, + "type": "object" + }, + "ignore": { + "nullable": true, + "properties": { + "conditions": { + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "keepResources": { + "type": "boolean" + }, + "kustomize": { + "nullable": true, + "properties": { + "dir": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "namespaceAnnotations": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "namespaceLabels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "serviceAccount": { + "nullable": true, + "type": "string" + }, + "yaml": { + "nullable": true, + "properties": { + "overlays": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "valuesHash": { + "type": "string" + }, + "yaml": { + "nullable": true, + "properties": { + "overlays": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "display": { + "properties": { + "readyClusters": { + "nullable": true, + "type": "string" + }, + "state": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "maxNew": { + "type": "integer" + }, + "maxUnavailable": { + "type": "integer" + }, + "maxUnavailablePartitions": { + "type": "integer" + }, + "newlyCreated": { + "type": "integer" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "ociReference": { + "type": "string" + }, + "partitions": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "maxUnavailable": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "errApplied": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "nonReadyResources": { + "items": { + "properties": { + "bundleState": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "modifiedStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "delete": { + "type": "boolean" + }, + "exist": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "missing": { + "type": "boolean" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "patch": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "nullable": true, + "type": "string" + }, + "nonReadyStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "type": "string" + }, + "transitioning": { + "type": "boolean" + } + }, + "type": "object" + }, + "uid": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "notReady": { + "type": "integer" + }, + "outOfSync": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "unavailable": { + "type": "integer" + } + }, + "type": "object" + }, + "type": "array" + }, + "resourceKey": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "resourcesSha256Sum": { + "type": "string" + }, + "summary": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "errApplied": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "nonReadyResources": { + "items": { + "properties": { + "bundleState": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "modifiedStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "delete": { + "type": "boolean" + }, + "exist": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "missing": { + "type": "boolean" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "patch": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "nullable": true, + "type": "string" + }, + "nonReadyStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "type": "string" + }, + "transitioning": { + "type": "boolean" + } + }, + "type": "object" + }, + "uid": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "notReady": { + "type": "integer" + }, + "outOfSync": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "unavailable": { + "type": "integer" + }, + "unavailablePartitions": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/bundledeployment_v1alpha1.json b/schemas/fleet.cattle.io/bundledeployment_v1alpha1.json new file mode 100644 index 0000000..5043c1b --- /dev/null +++ b/schemas/fleet.cattle.io/bundledeployment_v1alpha1.json @@ -0,0 +1,914 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "correctDrift": { + "properties": { + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "keepFailHistory": { + "type": "boolean" + } + }, + "type": "object" + }, + "dependsOn": { + "items": { + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "selector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "deploymentID": { + "nullable": true, + "type": "string" + }, + "helmChartOptions": { + "properties": { + "helmOpInsecureSkipTLSVerify": { + "type": "boolean" + }, + "helmOpSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "ociContents": { + "type": "boolean" + }, + "offSchedule": { + "type": "boolean" + }, + "options": { + "properties": { + "correctDrift": { + "properties": { + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "keepFailHistory": { + "type": "boolean" + } + }, + "type": "object" + }, + "defaultNamespace": { + "nullable": true, + "type": "string" + }, + "deleteCRDResources": { + "type": "boolean" + }, + "deleteNamespace": { + "type": "boolean" + }, + "diff": { + "nullable": true, + "properties": { + "comparePatches": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "operations": { + "items": { + "properties": { + "op": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "downstreamResources": { + "items": { + "properties": { + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "forceSyncGeneration": { + "format": "int64", + "type": "integer" + }, + "helm": { + "properties": { + "atomic": { + "type": "boolean" + }, + "chart": { + "nullable": true, + "type": "string" + }, + "disableDNS": { + "type": "boolean" + }, + "disableDependencyUpdate": { + "type": "boolean" + }, + "disablePreProcess": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "maxHistory": { + "type": "integer" + }, + "releaseName": { + "maxLength": 53, + "nullable": true, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "repo": { + "nullable": true, + "type": "string" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "takeOwnership": { + "type": "boolean" + }, + "templateValues": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "timeoutSeconds": { + "type": "integer" + }, + "values": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "valuesFiles": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "valuesFrom": { + "items": { + "properties": { + "configMapKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "secretKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "version": { + "nullable": true, + "type": "string" + }, + "waitForJobs": { + "type": "boolean" + } + }, + "type": "object" + }, + "ignore": { + "nullable": true, + "properties": { + "conditions": { + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "keepResources": { + "type": "boolean" + }, + "kustomize": { + "nullable": true, + "properties": { + "dir": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "namespaceAnnotations": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "namespaceLabels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "serviceAccount": { + "nullable": true, + "type": "string" + }, + "yaml": { + "nullable": true, + "properties": { + "overlays": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "paused": { + "type": "boolean" + }, + "stagedDeploymentID": { + "nullable": true, + "type": "string" + }, + "stagedOptions": { + "properties": { + "correctDrift": { + "properties": { + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "keepFailHistory": { + "type": "boolean" + } + }, + "type": "object" + }, + "defaultNamespace": { + "nullable": true, + "type": "string" + }, + "deleteCRDResources": { + "type": "boolean" + }, + "deleteNamespace": { + "type": "boolean" + }, + "diff": { + "nullable": true, + "properties": { + "comparePatches": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "operations": { + "items": { + "properties": { + "op": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "downstreamResources": { + "items": { + "properties": { + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "forceSyncGeneration": { + "format": "int64", + "type": "integer" + }, + "helm": { + "properties": { + "atomic": { + "type": "boolean" + }, + "chart": { + "nullable": true, + "type": "string" + }, + "disableDNS": { + "type": "boolean" + }, + "disableDependencyUpdate": { + "type": "boolean" + }, + "disablePreProcess": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "maxHistory": { + "type": "integer" + }, + "releaseName": { + "maxLength": 53, + "nullable": true, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "repo": { + "nullable": true, + "type": "string" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "takeOwnership": { + "type": "boolean" + }, + "templateValues": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "timeoutSeconds": { + "type": "integer" + }, + "values": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "valuesFiles": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "valuesFrom": { + "items": { + "properties": { + "configMapKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "secretKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "version": { + "nullable": true, + "type": "string" + }, + "waitForJobs": { + "type": "boolean" + } + }, + "type": "object" + }, + "ignore": { + "nullable": true, + "properties": { + "conditions": { + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "keepResources": { + "type": "boolean" + }, + "kustomize": { + "nullable": true, + "properties": { + "dir": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "namespaceAnnotations": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "namespaceLabels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "serviceAccount": { + "nullable": true, + "type": "string" + }, + "yaml": { + "nullable": true, + "properties": { + "overlays": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "valuesHash": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "appliedDeploymentID": { + "nullable": true, + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "display": { + "nullable": true, + "properties": { + "deployed": { + "nullable": true, + "type": "string" + }, + "monitored": { + "nullable": true, + "type": "string" + }, + "state": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "incompleteState": { + "type": "boolean" + }, + "modifiedStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "delete": { + "type": "boolean" + }, + "exist": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "missing": { + "type": "boolean" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "patch": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "nonModified": { + "type": "boolean" + }, + "nonReadyStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "type": "string" + }, + "transitioning": { + "type": "boolean" + } + }, + "type": "object" + }, + "uid": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "ready": { + "type": "boolean" + }, + "release": { + "nullable": true, + "type": "string" + }, + "resourceCounts": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "notReady": { + "type": "integer" + }, + "orphaned": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "unknown": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "resources": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "createdAt": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "syncGeneration": { + "format": "int64", + "nullable": true, + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/bundlenamespacemapping_v1alpha1.json b/schemas/fleet.cattle.io/bundlenamespacemapping_v1alpha1.json new file mode 100644 index 0000000..1c51f15 --- /dev/null +++ b/schemas/fleet.cattle.io/bundlenamespacemapping_v1alpha1.json @@ -0,0 +1,93 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "bundleSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "namespaceSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/cluster_v1alpha1.json b/schemas/fleet.cattle.io/cluster_v1alpha1.json new file mode 100644 index 0000000..4397d1c --- /dev/null +++ b/schemas/fleet.cattle.io/cluster_v1alpha1.json @@ -0,0 +1,1239 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "agentAffinity": { + "nullable": true, + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "agentEnvVars": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fileKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "optional": { + "default": false, + "type": "boolean" + }, + "path": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "required": [ + "key", + "path", + "volumeName" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "agentNamespace": { + "nullable": true, + "type": "string" + }, + "agentResources": { + "nullable": true, + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "request": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "agentSchedulingCustomization": { + "properties": { + "podDisruptionBudget": { + "properties": { + "maxUnavailable": { + "type": "string" + }, + "minAvailable": { + "type": "string" + } + }, + "type": "object" + }, + "priorityClass": { + "properties": { + "preemptionPolicy": { + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "agentTolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "clientID": { + "nullable": true, + "type": "string" + }, + "hostNetwork": { + "nullable": true, + "type": "boolean" + }, + "kubeConfigSecret": { + "nullable": true, + "type": "string" + }, + "kubeConfigSecretNamespace": { + "nullable": true, + "type": "string" + }, + "paused": { + "type": "boolean" + }, + "privateRepoURL": { + "nullable": true, + "type": "string" + }, + "redeployAgentGeneration": { + "format": "int64", + "type": "integer" + }, + "templateValues": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object" + }, + "status": { + "properties": { + "activeSchedule": { + "type": "boolean" + }, + "agent": { + "properties": { + "lastSeen": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "agentAffinityHash": { + "type": "string" + }, + "agentConfigChanged": { + "type": "boolean" + }, + "agentDeployedGeneration": { + "format": "int64", + "nullable": true, + "type": "integer" + }, + "agentEnvVarsHash": { + "nullable": true, + "type": "string" + }, + "agentHostNetwork": { + "nullable": true, + "type": "boolean" + }, + "agentMigrated": { + "type": "boolean" + }, + "agentNamespaceMigrated": { + "type": "boolean" + }, + "agentPrivateRepoURL": { + "nullable": true, + "type": "string" + }, + "agentResourcesHash": { + "nullable": true, + "type": "string" + }, + "agentSchedulingCustomizationHash": { + "type": "string" + }, + "agentTLSMode": { + "nullable": true, + "type": "string" + }, + "agentTolerationsHash": { + "nullable": true, + "type": "string" + }, + "apiServerCAHash": { + "nullable": true, + "type": "string" + }, + "apiServerURL": { + "nullable": true, + "type": "string" + }, + "cattleNamespaceMigrated": { + "type": "boolean" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "desiredReadyGitRepos": { + "type": "integer" + }, + "desiredReadyHelmOps": { + "type": "integer" + }, + "display": { + "properties": { + "readyBundles": { + "type": "string" + }, + "state": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "garbageCollectionInterval": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "readyGitRepos": { + "type": "integer" + }, + "readyHelmOps": { + "type": "integer" + }, + "resourceCounts": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "notReady": { + "type": "integer" + }, + "orphaned": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "unknown": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "scheduled": { + "type": "boolean" + }, + "summary": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "errApplied": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "nonReadyResources": { + "items": { + "properties": { + "bundleState": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "modifiedStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "delete": { + "type": "boolean" + }, + "exist": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "missing": { + "type": "boolean" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "patch": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "nullable": true, + "type": "string" + }, + "nonReadyStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "type": "string" + }, + "transitioning": { + "type": "boolean" + } + }, + "type": "object" + }, + "uid": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "notReady": { + "type": "integer" + }, + "outOfSync": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/clustergroup_v1alpha1.json b/schemas/fleet.cattle.io/clustergroup_v1alpha1.json new file mode 100644 index 0000000..53e5c3d --- /dev/null +++ b/schemas/fleet.cattle.io/clustergroup_v1alpha1.json @@ -0,0 +1,290 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "selector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "status": { + "properties": { + "clusterCount": { + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "display": { + "properties": { + "readyBundles": { + "nullable": true, + "type": "string" + }, + "readyClusters": { + "nullable": true, + "type": "string" + }, + "state": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nonReadyClusterCount": { + "type": "integer" + }, + "nonReadyClusters": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "resourceCounts": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "notReady": { + "type": "integer" + }, + "orphaned": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "unknown": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "summary": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "errApplied": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "nonReadyResources": { + "items": { + "properties": { + "bundleState": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "modifiedStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "delete": { + "type": "boolean" + }, + "exist": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "missing": { + "type": "boolean" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "patch": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "nullable": true, + "type": "string" + }, + "nonReadyStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "type": "string" + }, + "transitioning": { + "type": "boolean" + } + }, + "type": "object" + }, + "uid": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "notReady": { + "type": "integer" + }, + "outOfSync": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/clusterregistration_v1alpha1.json b/schemas/fleet.cattle.io/clusterregistration_v1alpha1.json new file mode 100644 index 0000000..e0c198c --- /dev/null +++ b/schemas/fleet.cattle.io/clusterregistration_v1alpha1.json @@ -0,0 +1,47 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clientID": { + "nullable": true, + "type": "string" + }, + "clientRandom": { + "nullable": true, + "type": "string" + }, + "clusterLabels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "clusterName": { + "nullable": true, + "type": "string" + }, + "granted": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/clusterregistrationtoken_v1alpha1.json b/schemas/fleet.cattle.io/clusterregistrationtoken_v1alpha1.json new file mode 100644 index 0000000..2eddc39 --- /dev/null +++ b/schemas/fleet.cattle.io/clusterregistrationtoken_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "ttl": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "expires": { + "format": "date-time", + "type": "string" + }, + "secretName": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/content_v1alpha1.json b/schemas/fleet.cattle.io/content_v1alpha1.json new file mode 100644 index 0000000..b5b344e --- /dev/null +++ b/schemas/fleet.cattle.io/content_v1alpha1.json @@ -0,0 +1,31 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "content": { + "format": "byte", + "nullable": true, + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "sha256sum": { + "type": "string" + }, + "status": { + "properties": { + "referenceCount": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/gitrepo_v1alpha1.json b/schemas/fleet.cattle.io/gitrepo_v1alpha1.json new file mode 100644 index 0000000..5334bd2 --- /dev/null +++ b/schemas/fleet.cattle.io/gitrepo_v1alpha1.json @@ -0,0 +1,632 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "branch": { + "nullable": true, + "type": "string" + }, + "bundles": { + "items": { + "properties": { + "base": { + "type": "string" + }, + "options": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "caBundle": { + "format": "byte", + "nullable": true, + "type": "string" + }, + "clientSecretName": { + "nullable": true, + "type": "string" + }, + "correctDrift": { + "properties": { + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "keepFailHistory": { + "type": "boolean" + } + }, + "type": "object" + }, + "deleteNamespace": { + "type": "boolean" + }, + "disablePolling": { + "type": "boolean" + }, + "forceSyncGeneration": { + "format": "int64", + "type": "integer" + }, + "helmRepoURLRegex": { + "nullable": true, + "type": "string" + }, + "helmSecretName": { + "nullable": true, + "type": "string" + }, + "helmSecretNameForPaths": { + "nullable": true, + "type": "string" + }, + "imageScanCommit": { + "properties": { + "authorEmail": { + "type": "string" + }, + "authorName": { + "type": "string" + }, + "messageTemplate": { + "type": "string" + } + }, + "type": "object" + }, + "imageScanInterval": { + "type": "string" + }, + "insecureSkipTLSVerify": { + "type": "boolean" + }, + "keepResources": { + "type": "boolean" + }, + "ociRegistrySecret": { + "type": "string" + }, + "paths": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "paused": { + "type": "boolean" + }, + "pollingInterval": { + "nullable": true, + "type": "string" + }, + "repo": { + "minLength": 1, + "type": "string" + }, + "revision": { + "nullable": true, + "type": "string" + }, + "serviceAccount": { + "nullable": true, + "type": "string" + }, + "targetNamespace": { + "nullable": true, + "type": "string" + }, + "targets": { + "items": { + "properties": { + "clusterGroup": { + "nullable": true, + "type": "string" + }, + "clusterGroupSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "clusterName": { + "nullable": true, + "type": "string" + }, + "clusterSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "webhookSecret": { + "type": "string" + } + }, + "required": [ + "repo" + ], + "type": "object" + }, + "status": { + "properties": { + "commit": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "desiredReadyClusters": { + "type": "integer" + }, + "display": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "readyBundleDeployments": { + "type": "string" + }, + "state": { + "type": "string" + } + }, + "type": "object" + }, + "gitJobStatus": { + "type": "string" + }, + "lastPollingTriggered": { + "format": "date-time", + "type": "string" + }, + "lastSyncedImageScanTime": { + "format": "date-time", + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "perClusterResourceCounts": { + "additionalProperties": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "notReady": { + "type": "integer" + }, + "orphaned": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "unknown": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "type": "object" + }, + "pollingCommit": { + "type": "string" + }, + "readyClusters": { + "type": "integer" + }, + "resourceCounts": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "notReady": { + "type": "integer" + }, + "orphaned": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "unknown": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "resources": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "error": { + "type": "boolean" + }, + "id": { + "nullable": true, + "type": "string" + }, + "incompleteState": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "perClusterState": { + "nullable": true, + "properties": { + "missing": { + "items": { + "type": "string" + }, + "type": "array" + }, + "modified": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notReady": { + "items": { + "type": "string" + }, + "type": "array" + }, + "orphaned": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pending": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ready": { + "items": { + "type": "string" + }, + "type": "array" + }, + "unknown": { + "items": { + "type": "string" + }, + "type": "array" + }, + "waitApplied": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "state": { + "type": "string" + }, + "transitioning": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "perClusterState" + ], + "type": "object" + }, + "type": "array" + }, + "summary": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "errApplied": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "nonReadyResources": { + "items": { + "properties": { + "bundleState": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "modifiedStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "delete": { + "type": "boolean" + }, + "exist": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "missing": { + "type": "boolean" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "patch": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "nullable": true, + "type": "string" + }, + "nonReadyStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "type": "string" + }, + "transitioning": { + "type": "boolean" + } + }, + "type": "object" + }, + "uid": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "notReady": { + "type": "integer" + }, + "outOfSync": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "updateGeneration": { + "format": "int64", + "type": "integer" + }, + "webhookCommit": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/gitreporestriction_v1alpha1.json b/schemas/fleet.cattle.io/gitreporestriction_v1alpha1.json new file mode 100644 index 0000000..0d4c420 --- /dev/null +++ b/schemas/fleet.cattle.io/gitreporestriction_v1alpha1.json @@ -0,0 +1,51 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "allowedClientSecretNames": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "allowedRepoPatterns": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "allowedServiceAccounts": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "allowedTargetNamespaces": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "apiVersion": { + "type": "string" + }, + "defaultClientSecretName": { + "nullable": true, + "type": "string" + }, + "defaultServiceAccount": { + "nullable": true, + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/helmop_v1alpha1.json b/schemas/fleet.cattle.io/helmop_v1alpha1.json new file mode 100644 index 0000000..5d2060a --- /dev/null +++ b/schemas/fleet.cattle.io/helmop_v1alpha1.json @@ -0,0 +1,1410 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "contentsId": { + "nullable": true, + "type": "string" + }, + "correctDrift": { + "properties": { + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "keepFailHistory": { + "type": "boolean" + } + }, + "type": "object" + }, + "defaultNamespace": { + "nullable": true, + "type": "string" + }, + "deleteCRDResources": { + "type": "boolean" + }, + "deleteNamespace": { + "type": "boolean" + }, + "dependsOn": { + "items": { + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "selector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "diff": { + "nullable": true, + "properties": { + "comparePatches": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "operations": { + "items": { + "properties": { + "op": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "downstreamResources": { + "items": { + "properties": { + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "forceSyncGeneration": { + "format": "int64", + "type": "integer" + }, + "helm": { + "properties": { + "atomic": { + "type": "boolean" + }, + "chart": { + "nullable": true, + "type": "string" + }, + "disableDNS": { + "type": "boolean" + }, + "disableDependencyUpdate": { + "type": "boolean" + }, + "disablePreProcess": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "maxHistory": { + "type": "integer" + }, + "releaseName": { + "maxLength": 53, + "nullable": true, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "repo": { + "nullable": true, + "type": "string" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "takeOwnership": { + "type": "boolean" + }, + "templateValues": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "timeoutSeconds": { + "type": "integer" + }, + "values": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "valuesFiles": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "valuesFrom": { + "items": { + "properties": { + "configMapKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "secretKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "version": { + "nullable": true, + "type": "string" + }, + "waitForJobs": { + "type": "boolean" + } + }, + "type": "object" + }, + "helmOpOptions": { + "nullable": true, + "properties": { + "helmOpInsecureSkipTLSVerify": { + "type": "boolean" + }, + "helmOpSecretName": { + "type": "string" + } + }, + "type": "object" + }, + "helmSecretName": { + "nullable": true, + "type": "string" + }, + "ignore": { + "nullable": true, + "properties": { + "conditions": { + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "insecureSkipTLSVerify": { + "type": "boolean" + }, + "keepResources": { + "type": "boolean" + }, + "kustomize": { + "nullable": true, + "properties": { + "dir": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "namespaceAnnotations": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "namespaceLabels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "paused": { + "type": "boolean" + }, + "pollingInterval": { + "nullable": true, + "type": "string" + }, + "resources": { + "items": { + "properties": { + "content": { + "nullable": true, + "type": "string" + }, + "encoding": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "rolloutStrategy": { + "nullable": true, + "properties": { + "autoPartitionSize": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "maxUnavailablePartitions": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "partitions": { + "items": { + "properties": { + "clusterGroup": { + "type": "string" + }, + "clusterGroupSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "clusterName": { + "type": "string" + }, + "clusterSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "serviceAccount": { + "nullable": true, + "type": "string" + }, + "targetRestrictions": { + "items": { + "properties": { + "clusterGroup": { + "nullable": true, + "type": "string" + }, + "clusterGroupSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "clusterName": { + "nullable": true, + "type": "string" + }, + "clusterSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "targets": { + "items": { + "properties": { + "clusterGroup": { + "nullable": true, + "type": "string" + }, + "clusterGroupSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "clusterName": { + "nullable": true, + "type": "string" + }, + "clusterSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "correctDrift": { + "properties": { + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "keepFailHistory": { + "type": "boolean" + } + }, + "type": "object" + }, + "defaultNamespace": { + "nullable": true, + "type": "string" + }, + "deleteCRDResources": { + "type": "boolean" + }, + "deleteNamespace": { + "type": "boolean" + }, + "diff": { + "nullable": true, + "properties": { + "comparePatches": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "jsonPointers": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "operations": { + "items": { + "properties": { + "op": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "doNotDeploy": { + "type": "boolean" + }, + "downstreamResources": { + "items": { + "properties": { + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "forceSyncGeneration": { + "format": "int64", + "type": "integer" + }, + "helm": { + "properties": { + "atomic": { + "type": "boolean" + }, + "chart": { + "nullable": true, + "type": "string" + }, + "disableDNS": { + "type": "boolean" + }, + "disableDependencyUpdate": { + "type": "boolean" + }, + "disablePreProcess": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "maxHistory": { + "type": "integer" + }, + "releaseName": { + "maxLength": 53, + "nullable": true, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "repo": { + "nullable": true, + "type": "string" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "takeOwnership": { + "type": "boolean" + }, + "templateValues": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "timeoutSeconds": { + "type": "integer" + }, + "values": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "valuesFiles": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "valuesFrom": { + "items": { + "properties": { + "configMapKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "secretKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "version": { + "nullable": true, + "type": "string" + }, + "waitForJobs": { + "type": "boolean" + } + }, + "type": "object" + }, + "ignore": { + "nullable": true, + "properties": { + "conditions": { + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "keepResources": { + "type": "boolean" + }, + "kustomize": { + "nullable": true, + "properties": { + "dir": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "namespaceAnnotations": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "namespaceLabels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "serviceAccount": { + "nullable": true, + "type": "string" + }, + "yaml": { + "nullable": true, + "properties": { + "overlays": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "valuesHash": { + "type": "string" + }, + "yaml": { + "nullable": true, + "properties": { + "overlays": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "desiredReadyClusters": { + "type": "integer" + }, + "display": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "readyBundleDeployments": { + "type": "string" + }, + "state": { + "type": "string" + } + }, + "type": "object" + }, + "lastPollingTriggered": { + "format": "date-time", + "type": "string" + }, + "perClusterResourceCounts": { + "additionalProperties": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "notReady": { + "type": "integer" + }, + "orphaned": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "unknown": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "type": "object" + }, + "readyClusters": { + "type": "integer" + }, + "resourceCounts": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "notReady": { + "type": "integer" + }, + "orphaned": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "unknown": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "resources": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "error": { + "type": "boolean" + }, + "id": { + "nullable": true, + "type": "string" + }, + "incompleteState": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "perClusterState": { + "nullable": true, + "properties": { + "missing": { + "items": { + "type": "string" + }, + "type": "array" + }, + "modified": { + "items": { + "type": "string" + }, + "type": "array" + }, + "notReady": { + "items": { + "type": "string" + }, + "type": "array" + }, + "orphaned": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pending": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ready": { + "items": { + "type": "string" + }, + "type": "array" + }, + "unknown": { + "items": { + "type": "string" + }, + "type": "array" + }, + "waitApplied": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "state": { + "type": "string" + }, + "transitioning": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "perClusterState" + ], + "type": "object" + }, + "type": "array" + }, + "summary": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "errApplied": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "nonReadyResources": { + "items": { + "properties": { + "bundleState": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "modifiedStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "delete": { + "type": "boolean" + }, + "exist": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "missing": { + "type": "boolean" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "patch": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "nullable": true, + "type": "string" + }, + "nonReadyStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "type": "string" + }, + "transitioning": { + "type": "boolean" + } + }, + "type": "object" + }, + "uid": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "notReady": { + "type": "integer" + }, + "outOfSync": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/imagescan_v1alpha1.json b/schemas/fleet.cattle.io/imagescan_v1alpha1.json new file mode 100644 index 0000000..7b211fb --- /dev/null +++ b/schemas/fleet.cattle.io/imagescan_v1alpha1.json @@ -0,0 +1,134 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "gitrepoName": { + "nullable": true, + "type": "string" + }, + "image": { + "nullable": true, + "type": "string" + }, + "interval": { + "nullable": true, + "type": "string" + }, + "policy": { + "properties": { + "alphabetical": { + "nullable": true, + "properties": { + "order": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "semver": { + "nullable": true, + "properties": { + "range": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "secretRef": { + "nullable": true, + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "suspend": { + "type": "boolean" + }, + "tagName": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "image", + "interval" + ], + "type": "object" + }, + "status": { + "properties": { + "canonicalImageName": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "lastScanTime": { + "format": "date-time", + "type": "string" + }, + "latestDigest": { + "type": "string" + }, + "latestImage": { + "type": "string" + }, + "latestTag": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/fleet.cattle.io/schedule_v1alpha1.json b/schemas/fleet.cattle.io/schedule_v1alpha1.json new file mode 100644 index 0000000..830d40b --- /dev/null +++ b/schemas/fleet.cattle.io/schedule_v1alpha1.json @@ -0,0 +1,180 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "duration": { + "type": "string" + }, + "location": { + "type": "string" + }, + "schedule": { + "type": "string" + }, + "targets": { + "properties": { + "clusters": { + "items": { + "properties": { + "clusterGroup": { + "nullable": true, + "type": "string" + }, + "clusterGroupSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "clusterName": { + "nullable": true, + "type": "string" + }, + "clusterSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "active": { + "type": "boolean" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "matchingClusters": { + "items": { + "type": "string" + }, + "type": "array" + }, + "nextStartTime": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1.json b/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1beta1.json b/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1beta2.json b/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1beta2.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1beta2.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1beta3.json b/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1beta3.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/deleteoptions_v1beta3.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/flowschema_v1.json b/schemas/flowcontrol.apiserver.k8s.io/flowschema_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/flowschema_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/flowschemalist_v1.json b/schemas/flowcontrol.apiserver.k8s.io/flowschemalist_v1.json new file mode 100644 index 0000000..56f7047 --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/flowschemalist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/prioritylevelconfiguration_v1.json b/schemas/flowcontrol.apiserver.k8s.io/prioritylevelconfiguration_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/prioritylevelconfiguration_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/prioritylevelconfigurationlist_v1.json b/schemas/flowcontrol.apiserver.k8s.io/prioritylevelconfigurationlist_v1.json new file mode 100644 index 0000000..4d3e063 --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/prioritylevelconfigurationlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1.json b/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1beta1.json b/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1beta2.json b/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1beta2.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1beta2.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1beta3.json b/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1beta3.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/flowcontrol.apiserver.k8s.io/watchevent_v1beta3.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/fpga.intel.com/acceleratorfunction_v2.json b/schemas/fpga.intel.com/acceleratorfunction_v2.json new file mode 100644 index 0000000..83ff02a --- /dev/null +++ b/schemas/fpga.intel.com/acceleratorfunction_v2.json @@ -0,0 +1,43 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "afuId": { + "pattern": "^[0-9a-f]{8,40}$", + "type": "string" + }, + "interfaceId": { + "pattern": "^[0-9a-f]{8,32}$", + "type": "string" + }, + "mode": { + "pattern": "^af|region$", + "type": "string" + } + }, + "required": [ + "afuId", + "interfaceId", + "mode" + ], + "type": "object" + }, + "status": { + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/fpga.intel.com/fpgaregion_v2.json b/schemas/fpga.intel.com/fpgaregion_v2.json new file mode 100644 index 0000000..8966c0b --- /dev/null +++ b/schemas/fpga.intel.com/fpgaregion_v2.json @@ -0,0 +1,33 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "interfaceId": { + "pattern": "^[0-9a-f]{8,32}$", + "type": "string" + } + }, + "required": [ + "interfaceId" + ], + "type": "object" + }, + "status": { + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/backendtlspolicy_v1.json b/schemas/gateway.networking.k8s.io/backendtlspolicy_v1.json new file mode 100644 index 0000000..8b84716 --- /dev/null +++ b/schemas/gateway.networking.k8s.io/backendtlspolicy_v1.json @@ -0,0 +1,321 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "options": { + "additionalProperties": { + "maxLength": 4096, + "minLength": 0, + "type": "string" + }, + "maxProperties": 16, + "type": "object" + }, + "targetRefs": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "sectionName must be specified when targetRefs includes 2 or more references to the same target", + "rule": "self.all(p1, self.all(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name ? ((!has(p1.sectionName) || p1.sectionName == '') == (!has(p2.sectionName) || p2.sectionName == '')) : true))" + }, + { + "message": "sectionName must be unique when targetRefs includes 2 or more references to the same target", + "rule": "self.all(p1, self.exists_one(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.sectionName) || p1.sectionName == '') && (!has(p2.sectionName) || p2.sectionName == '')) || (has(p1.sectionName) && has(p2.sectionName) && p1.sectionName == p2.sectionName))))" + } + ] + }, + "validation": { + "properties": { + "caCertificateRefs": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "subjectAltNames": { + "items": { + "properties": { + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "type": { + "enum": [ + "Hostname", + "URI" + ], + "type": "string" + }, + "uri": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(([^:/?#]+):)(//([^/?#]*))([^?#]*)(\\?([^#]*))?(#(.*))?", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "SubjectAltName element must contain Hostname, if Type is set to Hostname", + "rule": "!(self.type == \"Hostname\" && (!has(self.hostname) || self.hostname == \"\"))" + }, + { + "message": "SubjectAltName element must not contain Hostname, if Type is not set to Hostname", + "rule": "!(self.type != \"Hostname\" && has(self.hostname) && self.hostname != \"\")" + }, + { + "message": "SubjectAltName element must contain URI, if Type is set to URI", + "rule": "!(self.type == \"URI\" && (!has(self.uri) || self.uri == \"\"))" + }, + { + "message": "SubjectAltName element must not contain URI, if Type is not set to URI", + "rule": "!(self.type != \"URI\" && has(self.uri) && self.uri != \"\")" + } + ] + }, + "maxItems": 5, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "wellKnownCACertificates": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(System|([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/([A-Za-z0-9][-A-Za-z0-9_.]{0,61})?[A-Za-z0-9]))$", + "type": "string" + } + }, + "required": [ + "hostname" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "must not contain both CACertificateRefs and WellKnownCACertificates", + "rule": "!(has(self.caCertificateRefs) && size(self.caCertificateRefs) > 0 && has(self.wellKnownCACertificates) && self.wellKnownCACertificates != \"\")" + }, + { + "message": "must specify either CACertificateRefs or WellKnownCACertificates", + "rule": "(has(self.caCertificateRefs) && size(self.caCertificateRefs) > 0 || has(self.wellKnownCACertificates) && self.wellKnownCACertificates != \"\")" + } + ] + } + }, + "required": [ + "targetRefs", + "validation" + ], + "type": "object" + }, + "status": { + "properties": { + "ancestors": { + "items": { + "properties": { + "ancestorRef": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "controllerName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + } + }, + "required": [ + "ancestorRef", + "conditions", + "controllerName" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "ancestors" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/backendtlspolicy_v1alpha3.json b/schemas/gateway.networking.k8s.io/backendtlspolicy_v1alpha3.json new file mode 100644 index 0000000..8b84716 --- /dev/null +++ b/schemas/gateway.networking.k8s.io/backendtlspolicy_v1alpha3.json @@ -0,0 +1,321 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "options": { + "additionalProperties": { + "maxLength": 4096, + "minLength": 0, + "type": "string" + }, + "maxProperties": 16, + "type": "object" + }, + "targetRefs": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "sectionName must be specified when targetRefs includes 2 or more references to the same target", + "rule": "self.all(p1, self.all(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name ? ((!has(p1.sectionName) || p1.sectionName == '') == (!has(p2.sectionName) || p2.sectionName == '')) : true))" + }, + { + "message": "sectionName must be unique when targetRefs includes 2 or more references to the same target", + "rule": "self.all(p1, self.exists_one(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.sectionName) || p1.sectionName == '') && (!has(p2.sectionName) || p2.sectionName == '')) || (has(p1.sectionName) && has(p2.sectionName) && p1.sectionName == p2.sectionName))))" + } + ] + }, + "validation": { + "properties": { + "caCertificateRefs": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "subjectAltNames": { + "items": { + "properties": { + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "type": { + "enum": [ + "Hostname", + "URI" + ], + "type": "string" + }, + "uri": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(([^:/?#]+):)(//([^/?#]*))([^?#]*)(\\?([^#]*))?(#(.*))?", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "SubjectAltName element must contain Hostname, if Type is set to Hostname", + "rule": "!(self.type == \"Hostname\" && (!has(self.hostname) || self.hostname == \"\"))" + }, + { + "message": "SubjectAltName element must not contain Hostname, if Type is not set to Hostname", + "rule": "!(self.type != \"Hostname\" && has(self.hostname) && self.hostname != \"\")" + }, + { + "message": "SubjectAltName element must contain URI, if Type is set to URI", + "rule": "!(self.type == \"URI\" && (!has(self.uri) || self.uri == \"\"))" + }, + { + "message": "SubjectAltName element must not contain URI, if Type is not set to URI", + "rule": "!(self.type != \"URI\" && has(self.uri) && self.uri != \"\")" + } + ] + }, + "maxItems": 5, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "wellKnownCACertificates": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(System|([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/([A-Za-z0-9][-A-Za-z0-9_.]{0,61})?[A-Za-z0-9]))$", + "type": "string" + } + }, + "required": [ + "hostname" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "must not contain both CACertificateRefs and WellKnownCACertificates", + "rule": "!(has(self.caCertificateRefs) && size(self.caCertificateRefs) > 0 && has(self.wellKnownCACertificates) && self.wellKnownCACertificates != \"\")" + }, + { + "message": "must specify either CACertificateRefs or WellKnownCACertificates", + "rule": "(has(self.caCertificateRefs) && size(self.caCertificateRefs) > 0 || has(self.wellKnownCACertificates) && self.wellKnownCACertificates != \"\")" + } + ] + } + }, + "required": [ + "targetRefs", + "validation" + ], + "type": "object" + }, + "status": { + "properties": { + "ancestors": { + "items": { + "properties": { + "ancestorRef": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "controllerName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + } + }, + "required": [ + "ancestorRef", + "conditions", + "controllerName" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "ancestors" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/gateway_v1.json b/schemas/gateway.networking.k8s.io/gateway_v1.json new file mode 100644 index 0000000..205d2b6 --- /dev/null +++ b/schemas/gateway.networking.k8s.io/gateway_v1.json @@ -0,0 +1,916 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "addresses": { + "items": { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "IPAddress" + ] + }, + "value": { + "anyOf": [ + { + "format": "ipv4" + }, + { + "format": "ipv6" + } + ] + } + } + }, + { + "properties": { + "type": { + "not": { + "enum": [ + "IPAddress" + ] + } + } + } + } + ], + "properties": { + "type": { + "default": "IPAddress", + "maxLength": 253, + "minLength": 1, + "pattern": "^Hostname|IPAddress|NamedAddress|[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + }, + "value": { + "maxLength": 253, + "type": "string" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Hostname value must be empty or contain only valid characters (matching ^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$)", + "rule": "self.type == 'Hostname' ? (!has(self.value) || self.value.matches(r\"\"\"^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$\"\"\")): true" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "IPAddress values must be unique", + "rule": "self.all(a1, a1.type == 'IPAddress' && has(a1.value) ? self.exists_one(a2, a2.type == a1.type && has(a2.value) && a2.value == a1.value) : true )" + }, + { + "message": "Hostname values must be unique", + "rule": "self.all(a1, a1.type == 'Hostname' && has(a1.value) ? self.exists_one(a2, a2.type == a1.type && has(a2.value) && a2.value == a1.value) : true )" + } + ] + }, + "allowedListeners": { + "properties": { + "namespaces": { + "default": { + "from": "None" + }, + "properties": { + "from": { + "default": "None", + "enum": [ + "All", + "Selector", + "Same", + "None" + ], + "type": "string" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "gatewayClassName": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "infrastructure": { + "properties": { + "annotations": { + "additionalProperties": { + "maxLength": 4096, + "minLength": 0, + "type": "string" + }, + "maxProperties": 8, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Annotation keys must be in the form of an optional DNS subdomain prefix followed by a required name segment of up to 63 characters.", + "rule": "self.all(key, key.matches(r\"\"\"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?([A-Za-z0-9][-A-Za-z0-9_.]{0,61})?[A-Za-z0-9]$\"\"\"))" + }, + { + "message": "If specified, the annotation key's prefix must be a DNS subdomain not longer than 253 characters in total.", + "rule": "self.all(key, key.split(\"/\")[0].size() < 253)" + } + ] + }, + "labels": { + "additionalProperties": { + "maxLength": 63, + "minLength": 0, + "pattern": "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$", + "type": "string" + }, + "maxProperties": 8, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Label keys must be in the form of an optional DNS subdomain prefix followed by a required name segment of up to 63 characters.", + "rule": "self.all(key, key.matches(r\"\"\"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?([A-Za-z0-9][-A-Za-z0-9_.]{0,61})?[A-Za-z0-9]$\"\"\"))" + }, + { + "message": "If specified, the label key's prefix must be a DNS subdomain not longer than 253 characters in total.", + "rule": "self.all(key, key.split(\"/\")[0].size() < 253)" + } + ] + }, + "parametersRef": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "listeners": { + "items": { + "properties": { + "allowedRoutes": { + "default": { + "namespaces": { + "from": "Same" + } + }, + "properties": { + "kinds": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaces": { + "default": { + "from": "Same" + }, + "properties": { + "from": { + "default": "Same", + "enum": [ + "All", + "Selector", + "Same" + ], + "type": "string" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "maxLength": 255, + "minLength": 1, + "pattern": "^[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?$|[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9]+$", + "type": "string" + }, + "tls": { + "properties": { + "certificateRefs": { + "items": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Secret", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mode": { + "default": "Terminate", + "enum": [ + "Terminate", + "Passthrough" + ], + "type": "string" + }, + "options": { + "additionalProperties": { + "maxLength": 4096, + "minLength": 0, + "type": "string" + }, + "maxProperties": 16, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "certificateRefs or options must be specified when mode is Terminate", + "rule": "self.mode == 'Terminate' ? size(self.certificateRefs) > 0 || size(self.options) > 0 : true" + } + ] + } + }, + "required": [ + "name", + "port", + "protocol" + ], + "type": "object" + }, + "maxItems": 64, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-validations": [ + { + "message": "tls must not be specified for protocols ['HTTP', 'TCP', 'UDP']", + "rule": "self.all(l, l.protocol in ['HTTP', 'TCP', 'UDP'] ? !has(l.tls) : true)" + }, + { + "message": "tls mode must be Terminate for protocol HTTPS", + "rule": "self.all(l, (l.protocol == 'HTTPS' && has(l.tls)) ? (l.tls.mode == '' || l.tls.mode == 'Terminate') : true)" + }, + { + "message": "tls mode must be set for protocol TLS", + "rule": "self.all(l, (l.protocol == 'TLS' ? has(l.tls) && has(l.tls.mode) && l.tls.mode != '' : true))" + }, + { + "message": "hostname must not be specified for protocols ['TCP', 'UDP']", + "rule": "self.all(l, l.protocol in ['TCP', 'UDP'] ? (!has(l.hostname) || l.hostname == '') : true)" + }, + { + "message": "Listener name must be unique within the Gateway", + "rule": "self.all(l1, self.exists_one(l2, l1.name == l2.name))" + }, + { + "message": "Combination of port, protocol and hostname must be unique for each listener", + "rule": "self.all(l1, self.exists_one(l2, l1.port == l2.port && l1.protocol == l2.protocol && (has(l1.hostname) && has(l2.hostname) ? l1.hostname == l2.hostname : !has(l1.hostname) && !has(l2.hostname))))" + } + ] + }, + "tls": { + "properties": { + "backend": { + "properties": { + "clientCertificateRef": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Secret", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "frontend": { + "properties": { + "default": { + "properties": { + "validation": { + "properties": { + "caCertificateRefs": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mode": { + "default": "AllowValidOnly", + "enum": [ + "AllowValidOnly", + "AllowInsecureFallback" + ], + "type": "string" + } + }, + "required": [ + "caCertificateRefs" + ], + "type": "object" + } + }, + "type": "object" + }, + "perPort": { + "items": { + "properties": { + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "tls": { + "properties": { + "validation": { + "properties": { + "caCertificateRefs": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mode": { + "default": "AllowValidOnly", + "enum": [ + "AllowValidOnly", + "AllowInsecureFallback" + ], + "type": "string" + } + }, + "required": [ + "caCertificateRefs" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "port", + "tls" + ], + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-validations": [ + { + "message": "Port for TLS configuration must be unique within the Gateway", + "rule": "self.all(t1, self.exists_one(t2, t1.port == t2.port))" + } + ] + } + }, + "required": [ + "default" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "gatewayClassName", + "listeners" + ], + "type": "object" + }, + "status": { + "default": { + "conditions": [ + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Accepted" + }, + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Programmed" + } + ] + }, + "properties": { + "addresses": { + "items": { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "IPAddress" + ] + }, + "value": { + "anyOf": [ + { + "format": "ipv4" + }, + { + "format": "ipv6" + } + ] + } + } + }, + { + "properties": { + "type": { + "not": { + "enum": [ + "IPAddress" + ] + } + } + } + } + ], + "properties": { + "type": { + "default": "IPAddress", + "maxLength": 253, + "minLength": 1, + "pattern": "^Hostname|IPAddress|NamedAddress|[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + }, + "value": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Hostname value must only contain valid characters (matching ^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$)", + "rule": "self.type == 'Hostname' ? self.value.matches(r\"\"\"^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$\"\"\"): true" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "attachedListenerSets": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "default": [ + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Accepted" + }, + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Programmed" + } + ], + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "listeners": { + "items": { + "properties": { + "attachedRoutes": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "supportedKinds": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "attachedRoutes", + "conditions", + "name" + ], + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/gateway_v1beta1.json b/schemas/gateway.networking.k8s.io/gateway_v1beta1.json new file mode 100644 index 0000000..205d2b6 --- /dev/null +++ b/schemas/gateway.networking.k8s.io/gateway_v1beta1.json @@ -0,0 +1,916 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "addresses": { + "items": { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "IPAddress" + ] + }, + "value": { + "anyOf": [ + { + "format": "ipv4" + }, + { + "format": "ipv6" + } + ] + } + } + }, + { + "properties": { + "type": { + "not": { + "enum": [ + "IPAddress" + ] + } + } + } + } + ], + "properties": { + "type": { + "default": "IPAddress", + "maxLength": 253, + "minLength": 1, + "pattern": "^Hostname|IPAddress|NamedAddress|[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + }, + "value": { + "maxLength": 253, + "type": "string" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Hostname value must be empty or contain only valid characters (matching ^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$)", + "rule": "self.type == 'Hostname' ? (!has(self.value) || self.value.matches(r\"\"\"^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$\"\"\")): true" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "IPAddress values must be unique", + "rule": "self.all(a1, a1.type == 'IPAddress' && has(a1.value) ? self.exists_one(a2, a2.type == a1.type && has(a2.value) && a2.value == a1.value) : true )" + }, + { + "message": "Hostname values must be unique", + "rule": "self.all(a1, a1.type == 'Hostname' && has(a1.value) ? self.exists_one(a2, a2.type == a1.type && has(a2.value) && a2.value == a1.value) : true )" + } + ] + }, + "allowedListeners": { + "properties": { + "namespaces": { + "default": { + "from": "None" + }, + "properties": { + "from": { + "default": "None", + "enum": [ + "All", + "Selector", + "Same", + "None" + ], + "type": "string" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "gatewayClassName": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "infrastructure": { + "properties": { + "annotations": { + "additionalProperties": { + "maxLength": 4096, + "minLength": 0, + "type": "string" + }, + "maxProperties": 8, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Annotation keys must be in the form of an optional DNS subdomain prefix followed by a required name segment of up to 63 characters.", + "rule": "self.all(key, key.matches(r\"\"\"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?([A-Za-z0-9][-A-Za-z0-9_.]{0,61})?[A-Za-z0-9]$\"\"\"))" + }, + { + "message": "If specified, the annotation key's prefix must be a DNS subdomain not longer than 253 characters in total.", + "rule": "self.all(key, key.split(\"/\")[0].size() < 253)" + } + ] + }, + "labels": { + "additionalProperties": { + "maxLength": 63, + "minLength": 0, + "pattern": "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$", + "type": "string" + }, + "maxProperties": 8, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Label keys must be in the form of an optional DNS subdomain prefix followed by a required name segment of up to 63 characters.", + "rule": "self.all(key, key.matches(r\"\"\"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?([A-Za-z0-9][-A-Za-z0-9_.]{0,61})?[A-Za-z0-9]$\"\"\"))" + }, + { + "message": "If specified, the label key's prefix must be a DNS subdomain not longer than 253 characters in total.", + "rule": "self.all(key, key.split(\"/\")[0].size() < 253)" + } + ] + }, + "parametersRef": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "listeners": { + "items": { + "properties": { + "allowedRoutes": { + "default": { + "namespaces": { + "from": "Same" + } + }, + "properties": { + "kinds": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaces": { + "default": { + "from": "Same" + }, + "properties": { + "from": { + "default": "Same", + "enum": [ + "All", + "Selector", + "Same" + ], + "type": "string" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "maxLength": 255, + "minLength": 1, + "pattern": "^[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?$|[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9]+$", + "type": "string" + }, + "tls": { + "properties": { + "certificateRefs": { + "items": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Secret", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mode": { + "default": "Terminate", + "enum": [ + "Terminate", + "Passthrough" + ], + "type": "string" + }, + "options": { + "additionalProperties": { + "maxLength": 4096, + "minLength": 0, + "type": "string" + }, + "maxProperties": 16, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "certificateRefs or options must be specified when mode is Terminate", + "rule": "self.mode == 'Terminate' ? size(self.certificateRefs) > 0 || size(self.options) > 0 : true" + } + ] + } + }, + "required": [ + "name", + "port", + "protocol" + ], + "type": "object" + }, + "maxItems": 64, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-validations": [ + { + "message": "tls must not be specified for protocols ['HTTP', 'TCP', 'UDP']", + "rule": "self.all(l, l.protocol in ['HTTP', 'TCP', 'UDP'] ? !has(l.tls) : true)" + }, + { + "message": "tls mode must be Terminate for protocol HTTPS", + "rule": "self.all(l, (l.protocol == 'HTTPS' && has(l.tls)) ? (l.tls.mode == '' || l.tls.mode == 'Terminate') : true)" + }, + { + "message": "tls mode must be set for protocol TLS", + "rule": "self.all(l, (l.protocol == 'TLS' ? has(l.tls) && has(l.tls.mode) && l.tls.mode != '' : true))" + }, + { + "message": "hostname must not be specified for protocols ['TCP', 'UDP']", + "rule": "self.all(l, l.protocol in ['TCP', 'UDP'] ? (!has(l.hostname) || l.hostname == '') : true)" + }, + { + "message": "Listener name must be unique within the Gateway", + "rule": "self.all(l1, self.exists_one(l2, l1.name == l2.name))" + }, + { + "message": "Combination of port, protocol and hostname must be unique for each listener", + "rule": "self.all(l1, self.exists_one(l2, l1.port == l2.port && l1.protocol == l2.protocol && (has(l1.hostname) && has(l2.hostname) ? l1.hostname == l2.hostname : !has(l1.hostname) && !has(l2.hostname))))" + } + ] + }, + "tls": { + "properties": { + "backend": { + "properties": { + "clientCertificateRef": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Secret", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "frontend": { + "properties": { + "default": { + "properties": { + "validation": { + "properties": { + "caCertificateRefs": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mode": { + "default": "AllowValidOnly", + "enum": [ + "AllowValidOnly", + "AllowInsecureFallback" + ], + "type": "string" + } + }, + "required": [ + "caCertificateRefs" + ], + "type": "object" + } + }, + "type": "object" + }, + "perPort": { + "items": { + "properties": { + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "tls": { + "properties": { + "validation": { + "properties": { + "caCertificateRefs": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mode": { + "default": "AllowValidOnly", + "enum": [ + "AllowValidOnly", + "AllowInsecureFallback" + ], + "type": "string" + } + }, + "required": [ + "caCertificateRefs" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "port", + "tls" + ], + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-validations": [ + { + "message": "Port for TLS configuration must be unique within the Gateway", + "rule": "self.all(t1, self.exists_one(t2, t1.port == t2.port))" + } + ] + } + }, + "required": [ + "default" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "gatewayClassName", + "listeners" + ], + "type": "object" + }, + "status": { + "default": { + "conditions": [ + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Accepted" + }, + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Programmed" + } + ] + }, + "properties": { + "addresses": { + "items": { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "IPAddress" + ] + }, + "value": { + "anyOf": [ + { + "format": "ipv4" + }, + { + "format": "ipv6" + } + ] + } + } + }, + { + "properties": { + "type": { + "not": { + "enum": [ + "IPAddress" + ] + } + } + } + } + ], + "properties": { + "type": { + "default": "IPAddress", + "maxLength": 253, + "minLength": 1, + "pattern": "^Hostname|IPAddress|NamedAddress|[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + }, + "value": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Hostname value must only contain valid characters (matching ^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$)", + "rule": "self.type == 'Hostname' ? self.value.matches(r\"\"\"^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$\"\"\"): true" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "attachedListenerSets": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "default": [ + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Accepted" + }, + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Programmed" + } + ], + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "listeners": { + "items": { + "properties": { + "attachedRoutes": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "supportedKinds": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "attachedRoutes", + "conditions", + "name" + ], + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/gatewayclass_v1.json b/schemas/gateway.networking.k8s.io/gatewayclass_v1.json new file mode 100644 index 0000000..6080c9b --- /dev/null +++ b/schemas/gateway.networking.k8s.io/gatewayclass_v1.json @@ -0,0 +1,166 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "controllerName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "Value is immutable", + "rule": "self == oldSelf" + } + ] + }, + "parametersRef": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + } + }, + "required": [ + "controllerName" + ], + "type": "object" + }, + "status": { + "default": { + "conditions": [ + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Accepted" + } + ] + }, + "properties": { + "conditions": { + "default": [ + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Accepted" + } + ], + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "supportedFeatures": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/gatewayclass_v1beta1.json b/schemas/gateway.networking.k8s.io/gatewayclass_v1beta1.json new file mode 100644 index 0000000..6080c9b --- /dev/null +++ b/schemas/gateway.networking.k8s.io/gatewayclass_v1beta1.json @@ -0,0 +1,166 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "controllerName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "Value is immutable", + "rule": "self == oldSelf" + } + ] + }, + "parametersRef": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + } + }, + "required": [ + "controllerName" + ], + "type": "object" + }, + "status": { + "default": { + "conditions": [ + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Accepted" + } + ] + }, + "properties": { + "conditions": { + "default": [ + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Accepted" + } + ], + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "supportedFeatures": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/grpcroute_v1.json b/schemas/gateway.networking.k8s.io/grpcroute_v1.json new file mode 100644 index 0000000..196127d --- /dev/null +++ b/schemas/gateway.networking.k8s.io/grpcroute_v1.json @@ -0,0 +1,1016 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "hostnames": { + "items": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "parentRefs": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "sectionName must be specified when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.all(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) ? ((!has(p1.sectionName) || p1.sectionName == '') == (!has(p2.sectionName) || p2.sectionName == '')) : true))" + }, + { + "message": "sectionName must be unique when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.exists_one(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) && (((!has(p1.sectionName) || p1.sectionName == '') && (!has(p2.sectionName) || p2.sectionName == '')) || (has(p1.sectionName) && has(p2.sectionName) && p1.sectionName == p2.sectionName))))" + } + ] + }, + "rules": { + "items": { + "properties": { + "backendRefs": { + "items": { + "properties": { + "filters": { + "items": { + "properties": { + "extensionRef": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "requestHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "requestMirror": { + "properties": { + "backendRef": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "fraction": { + "properties": { + "denominator": { + "default": 100, + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "numerator": { + "format": "int32", + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "numerator" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "numerator must be less than or equal to denominator", + "rule": "self.numerator <= self.denominator" + } + ] + }, + "percent": { + "format": "int32", + "maximum": 100, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "backendRef" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Only one of percent or fraction may be specified in HTTPRequestMirrorFilter", + "rule": "!(has(self.percent) && has(self.fraction))" + } + ] + }, + "responseHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "ResponseHeaderModifier", + "RequestHeaderModifier", + "RequestMirror", + "ExtensionRef" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "filter.requestHeaderModifier must be nil if the filter.type is not RequestHeaderModifier", + "rule": "!(has(self.requestHeaderModifier) && self.type != 'RequestHeaderModifier')" + }, + { + "message": "filter.requestHeaderModifier must be specified for RequestHeaderModifier filter.type", + "rule": "!(!has(self.requestHeaderModifier) && self.type == 'RequestHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be nil if the filter.type is not ResponseHeaderModifier", + "rule": "!(has(self.responseHeaderModifier) && self.type != 'ResponseHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be specified for ResponseHeaderModifier filter.type", + "rule": "!(!has(self.responseHeaderModifier) && self.type == 'ResponseHeaderModifier')" + }, + { + "message": "filter.requestMirror must be nil if the filter.type is not RequestMirror", + "rule": "!(has(self.requestMirror) && self.type != 'RequestMirror')" + }, + { + "message": "filter.requestMirror must be specified for RequestMirror filter.type", + "rule": "!(!has(self.requestMirror) && self.type == 'RequestMirror')" + }, + { + "message": "filter.extensionRef must be nil if the filter.type is not ExtensionRef", + "rule": "!(has(self.extensionRef) && self.type != 'ExtensionRef')" + }, + { + "message": "filter.extensionRef must be specified for ExtensionRef filter.type", + "rule": "!(!has(self.extensionRef) && self.type == 'ExtensionRef')" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "RequestHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'RequestHeaderModifier').size() <= 1" + }, + { + "message": "ResponseHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'ResponseHeaderModifier').size() <= 1" + } + ] + }, + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "weight": { + "default": 1, + "format": "int32", + "maximum": 1000000, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "filters": { + "items": { + "properties": { + "extensionRef": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "requestHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "requestMirror": { + "properties": { + "backendRef": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "fraction": { + "properties": { + "denominator": { + "default": 100, + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "numerator": { + "format": "int32", + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "numerator" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "numerator must be less than or equal to denominator", + "rule": "self.numerator <= self.denominator" + } + ] + }, + "percent": { + "format": "int32", + "maximum": 100, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "backendRef" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Only one of percent or fraction may be specified in HTTPRequestMirrorFilter", + "rule": "!(has(self.percent) && has(self.fraction))" + } + ] + }, + "responseHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "ResponseHeaderModifier", + "RequestHeaderModifier", + "RequestMirror", + "ExtensionRef" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "filter.requestHeaderModifier must be nil if the filter.type is not RequestHeaderModifier", + "rule": "!(has(self.requestHeaderModifier) && self.type != 'RequestHeaderModifier')" + }, + { + "message": "filter.requestHeaderModifier must be specified for RequestHeaderModifier filter.type", + "rule": "!(!has(self.requestHeaderModifier) && self.type == 'RequestHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be nil if the filter.type is not ResponseHeaderModifier", + "rule": "!(has(self.responseHeaderModifier) && self.type != 'ResponseHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be specified for ResponseHeaderModifier filter.type", + "rule": "!(!has(self.responseHeaderModifier) && self.type == 'ResponseHeaderModifier')" + }, + { + "message": "filter.requestMirror must be nil if the filter.type is not RequestMirror", + "rule": "!(has(self.requestMirror) && self.type != 'RequestMirror')" + }, + { + "message": "filter.requestMirror must be specified for RequestMirror filter.type", + "rule": "!(!has(self.requestMirror) && self.type == 'RequestMirror')" + }, + { + "message": "filter.extensionRef must be nil if the filter.type is not ExtensionRef", + "rule": "!(has(self.extensionRef) && self.type != 'ExtensionRef')" + }, + { + "message": "filter.extensionRef must be specified for ExtensionRef filter.type", + "rule": "!(!has(self.extensionRef) && self.type == 'ExtensionRef')" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "RequestHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'RequestHeaderModifier').size() <= 1" + }, + { + "message": "ResponseHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'ResponseHeaderModifier').size() <= 1" + } + ] + }, + "matches": { + "items": { + "properties": { + "headers": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "type": { + "default": "Exact", + "enum": [ + "Exact", + "RegularExpression" + ], + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "method": { + "properties": { + "method": { + "maxLength": 1024, + "type": "string" + }, + "service": { + "maxLength": 1024, + "type": "string" + }, + "type": { + "default": "Exact", + "enum": [ + "Exact", + "RegularExpression" + ], + "type": "string" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "One or both of 'service' or 'method' must be specified", + "rule": "has(self.type) ? has(self.service) || has(self.method) : true" + }, + { + "message": "service must only contain valid characters (matching ^(?i)\\.?[a-z_][a-z_0-9]*(\\.[a-z_][a-z_0-9]*)*$)", + "rule": "(!has(self.type) || self.type == 'Exact') && has(self.service) ? self.service.matches(r\"\"\"^(?i)\\.?[a-z_][a-z_0-9]*(\\.[a-z_][a-z_0-9]*)*$\"\"\"): true" + }, + { + "message": "method must only contain valid characters (matching ^[A-Za-z_][A-Za-z_0-9]*$)", + "rule": "(!has(self.type) || self.type == 'Exact') && has(self.method) ? self.method.matches(r\"\"\"^[A-Za-z_][A-Za-z_0-9]*$\"\"\"): true" + } + ] + } + }, + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "While 16 rules and 64 matches per rule are allowed, the total number of matches across all rules in a route must be less than 128", + "rule": "(self.size() > 0 ? (has(self[0].matches) ? self[0].matches.size() : 0) : 0) + (self.size() > 1 ? (has(self[1].matches) ? self[1].matches.size() : 0) : 0) + (self.size() > 2 ? (has(self[2].matches) ? self[2].matches.size() : 0) : 0) + (self.size() > 3 ? (has(self[3].matches) ? self[3].matches.size() : 0) : 0) + (self.size() > 4 ? (has(self[4].matches) ? self[4].matches.size() : 0) : 0) + (self.size() > 5 ? (has(self[5].matches) ? self[5].matches.size() : 0) : 0) + (self.size() > 6 ? (has(self[6].matches) ? self[6].matches.size() : 0) : 0) + (self.size() > 7 ? (has(self[7].matches) ? self[7].matches.size() : 0) : 0) + (self.size() > 8 ? (has(self[8].matches) ? self[8].matches.size() : 0) : 0) + (self.size() > 9 ? (has(self[9].matches) ? self[9].matches.size() : 0) : 0) + (self.size() > 10 ? (has(self[10].matches) ? self[10].matches.size() : 0) : 0) + (self.size() > 11 ? (has(self[11].matches) ? self[11].matches.size() : 0) : 0) + (self.size() > 12 ? (has(self[12].matches) ? self[12].matches.size() : 0) : 0) + (self.size() > 13 ? (has(self[13].matches) ? self[13].matches.size() : 0) : 0) + (self.size() > 14 ? (has(self[14].matches) ? self[14].matches.size() : 0) : 0) + (self.size() > 15 ? (has(self[15].matches) ? self[15].matches.size() : 0) : 0) <= 128" + } + ] + } + }, + "type": "object" + }, + "status": { + "properties": { + "parents": { + "items": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "controllerName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + }, + "parentRef": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "conditions", + "controllerName", + "parentRef" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "parents" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/httproute_v1.json b/schemas/gateway.networking.k8s.io/httproute_v1.json new file mode 100644 index 0000000..cef1126 --- /dev/null +++ b/schemas/gateway.networking.k8s.io/httproute_v1.json @@ -0,0 +1,1674 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "hostnames": { + "items": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "parentRefs": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "sectionName must be specified when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.all(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) ? ((!has(p1.sectionName) || p1.sectionName == '') == (!has(p2.sectionName) || p2.sectionName == '')) : true))" + }, + { + "message": "sectionName must be unique when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.exists_one(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) && (((!has(p1.sectionName) || p1.sectionName == '') && (!has(p2.sectionName) || p2.sectionName == '')) || (has(p1.sectionName) && has(p2.sectionName) && p1.sectionName == p2.sectionName))))" + } + ] + }, + "rules": { + "default": [ + { + "matches": [ + { + "path": { + "type": "PathPrefix", + "value": "/" + } + } + ] + } + ], + "items": { + "properties": { + "backendRefs": { + "items": { + "properties": { + "filters": { + "items": { + "properties": { + "cors": { + "properties": { + "allowCredentials": { + "type": "boolean" + }, + "allowHeaders": { + "items": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowHeaders cannot contain '*' alongside other methods", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "allowMethods": { + "items": { + "enum": [ + "GET", + "HEAD", + "POST", + "PUT", + "DELETE", + "CONNECT", + "OPTIONS", + "TRACE", + "PATCH", + "*" + ], + "type": "string" + }, + "maxItems": 9, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowMethods cannot contain '*' alongside other methods", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "allowOrigins": { + "items": { + "maxLength": 253, + "minLength": 1, + "pattern": "(^\\*$)|(^(http(s)?):\\/\\/(((\\*\\.)?([a-zA-Z0-9\\-]+\\.)*[a-zA-Z0-9-]+|\\*)(:([0-9]{1,5}))?)$)", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowOrigins cannot contain '*' alongside other origins", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "exposeHeaders": { + "items": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "maxAge": { + "default": 5, + "format": "int32", + "minimum": 1, + "type": "integer" + } + }, + "type": "object" + }, + "extensionRef": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "requestHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "requestMirror": { + "properties": { + "backendRef": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "fraction": { + "properties": { + "denominator": { + "default": 100, + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "numerator": { + "format": "int32", + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "numerator" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "numerator must be less than or equal to denominator", + "rule": "self.numerator <= self.denominator" + } + ] + }, + "percent": { + "format": "int32", + "maximum": 100, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "backendRef" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Only one of percent or fraction may be specified in HTTPRequestMirrorFilter", + "rule": "!(has(self.percent) && has(self.fraction))" + } + ] + }, + "requestRedirect": { + "properties": { + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "path": { + "properties": { + "replaceFullPath": { + "maxLength": 1024, + "type": "string" + }, + "replacePrefixMatch": { + "maxLength": 1024, + "type": "string" + }, + "type": { + "enum": [ + "ReplaceFullPath", + "ReplacePrefixMatch" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "replaceFullPath must be specified when type is set to 'ReplaceFullPath'", + "rule": "self.type == 'ReplaceFullPath' ? has(self.replaceFullPath) : true" + }, + { + "message": "type must be 'ReplaceFullPath' when replaceFullPath is set", + "rule": "has(self.replaceFullPath) ? self.type == 'ReplaceFullPath' : true" + }, + { + "message": "replacePrefixMatch must be specified when type is set to 'ReplacePrefixMatch'", + "rule": "self.type == 'ReplacePrefixMatch' ? has(self.replacePrefixMatch) : true" + }, + { + "message": "type must be 'ReplacePrefixMatch' when replacePrefixMatch is set", + "rule": "has(self.replacePrefixMatch) ? self.type == 'ReplacePrefixMatch' : true" + } + ] + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "scheme": { + "enum": [ + "http", + "https" + ], + "type": "string" + }, + "statusCode": { + "default": 302, + "enum": [ + 301, + 302, + 303, + 307, + 308 + ], + "type": "integer" + } + }, + "type": "object" + }, + "responseHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "RequestHeaderModifier", + "ResponseHeaderModifier", + "RequestMirror", + "RequestRedirect", + "URLRewrite", + "ExtensionRef", + "CORS" + ], + "type": "string" + }, + "urlRewrite": { + "properties": { + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "path": { + "properties": { + "replaceFullPath": { + "maxLength": 1024, + "type": "string" + }, + "replacePrefixMatch": { + "maxLength": 1024, + "type": "string" + }, + "type": { + "enum": [ + "ReplaceFullPath", + "ReplacePrefixMatch" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "replaceFullPath must be specified when type is set to 'ReplaceFullPath'", + "rule": "self.type == 'ReplaceFullPath' ? has(self.replaceFullPath) : true" + }, + { + "message": "type must be 'ReplaceFullPath' when replaceFullPath is set", + "rule": "has(self.replaceFullPath) ? self.type == 'ReplaceFullPath' : true" + }, + { + "message": "replacePrefixMatch must be specified when type is set to 'ReplacePrefixMatch'", + "rule": "self.type == 'ReplacePrefixMatch' ? has(self.replacePrefixMatch) : true" + }, + { + "message": "type must be 'ReplacePrefixMatch' when replacePrefixMatch is set", + "rule": "has(self.replacePrefixMatch) ? self.type == 'ReplacePrefixMatch' : true" + } + ] + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "filter.cors must be nil if the filter.type is not CORS", + "rule": "!(has(self.cors) && self.type != 'CORS')" + }, + { + "message": "filter.cors must be specified for CORS filter.type", + "rule": "!(!has(self.cors) && self.type == 'CORS')" + }, + { + "message": "filter.requestHeaderModifier must be nil if the filter.type is not RequestHeaderModifier", + "rule": "!(has(self.requestHeaderModifier) && self.type != 'RequestHeaderModifier')" + }, + { + "message": "filter.requestHeaderModifier must be specified for RequestHeaderModifier filter.type", + "rule": "!(!has(self.requestHeaderModifier) && self.type == 'RequestHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be nil if the filter.type is not ResponseHeaderModifier", + "rule": "!(has(self.responseHeaderModifier) && self.type != 'ResponseHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be specified for ResponseHeaderModifier filter.type", + "rule": "!(!has(self.responseHeaderModifier) && self.type == 'ResponseHeaderModifier')" + }, + { + "message": "filter.requestMirror must be nil if the filter.type is not RequestMirror", + "rule": "!(has(self.requestMirror) && self.type != 'RequestMirror')" + }, + { + "message": "filter.requestMirror must be specified for RequestMirror filter.type", + "rule": "!(!has(self.requestMirror) && self.type == 'RequestMirror')" + }, + { + "message": "filter.requestRedirect must be nil if the filter.type is not RequestRedirect", + "rule": "!(has(self.requestRedirect) && self.type != 'RequestRedirect')" + }, + { + "message": "filter.requestRedirect must be specified for RequestRedirect filter.type", + "rule": "!(!has(self.requestRedirect) && self.type == 'RequestRedirect')" + }, + { + "message": "filter.urlRewrite must be nil if the filter.type is not URLRewrite", + "rule": "!(has(self.urlRewrite) && self.type != 'URLRewrite')" + }, + { + "message": "filter.urlRewrite must be specified for URLRewrite filter.type", + "rule": "!(!has(self.urlRewrite) && self.type == 'URLRewrite')" + }, + { + "message": "filter.extensionRef must be nil if the filter.type is not ExtensionRef", + "rule": "!(has(self.extensionRef) && self.type != 'ExtensionRef')" + }, + { + "message": "filter.extensionRef must be specified for ExtensionRef filter.type", + "rule": "!(!has(self.extensionRef) && self.type == 'ExtensionRef')" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "May specify either httpRouteFilterRequestRedirect or httpRouteFilterRequestRewrite, but not both", + "rule": "!(self.exists(f, f.type == 'RequestRedirect') && self.exists(f, f.type == 'URLRewrite'))" + }, + { + "message": "CORS filter cannot be repeated", + "rule": "self.filter(f, f.type == 'CORS').size() <= 1" + }, + { + "message": "RequestHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'RequestHeaderModifier').size() <= 1" + }, + { + "message": "ResponseHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'ResponseHeaderModifier').size() <= 1" + }, + { + "message": "RequestRedirect filter cannot be repeated", + "rule": "self.filter(f, f.type == 'RequestRedirect').size() <= 1" + }, + { + "message": "URLRewrite filter cannot be repeated", + "rule": "self.filter(f, f.type == 'URLRewrite').size() <= 1" + } + ] + }, + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "weight": { + "default": 1, + "format": "int32", + "maximum": 1000000, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "filters": { + "items": { + "properties": { + "cors": { + "properties": { + "allowCredentials": { + "type": "boolean" + }, + "allowHeaders": { + "items": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowHeaders cannot contain '*' alongside other methods", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "allowMethods": { + "items": { + "enum": [ + "GET", + "HEAD", + "POST", + "PUT", + "DELETE", + "CONNECT", + "OPTIONS", + "TRACE", + "PATCH", + "*" + ], + "type": "string" + }, + "maxItems": 9, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowMethods cannot contain '*' alongside other methods", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "allowOrigins": { + "items": { + "maxLength": 253, + "minLength": 1, + "pattern": "(^\\*$)|(^(http(s)?):\\/\\/(((\\*\\.)?([a-zA-Z0-9\\-]+\\.)*[a-zA-Z0-9-]+|\\*)(:([0-9]{1,5}))?)$)", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowOrigins cannot contain '*' alongside other origins", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "exposeHeaders": { + "items": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "maxAge": { + "default": 5, + "format": "int32", + "minimum": 1, + "type": "integer" + } + }, + "type": "object" + }, + "extensionRef": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "requestHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "requestMirror": { + "properties": { + "backendRef": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "fraction": { + "properties": { + "denominator": { + "default": 100, + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "numerator": { + "format": "int32", + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "numerator" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "numerator must be less than or equal to denominator", + "rule": "self.numerator <= self.denominator" + } + ] + }, + "percent": { + "format": "int32", + "maximum": 100, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "backendRef" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Only one of percent or fraction may be specified in HTTPRequestMirrorFilter", + "rule": "!(has(self.percent) && has(self.fraction))" + } + ] + }, + "requestRedirect": { + "properties": { + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "path": { + "properties": { + "replaceFullPath": { + "maxLength": 1024, + "type": "string" + }, + "replacePrefixMatch": { + "maxLength": 1024, + "type": "string" + }, + "type": { + "enum": [ + "ReplaceFullPath", + "ReplacePrefixMatch" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "replaceFullPath must be specified when type is set to 'ReplaceFullPath'", + "rule": "self.type == 'ReplaceFullPath' ? has(self.replaceFullPath) : true" + }, + { + "message": "type must be 'ReplaceFullPath' when replaceFullPath is set", + "rule": "has(self.replaceFullPath) ? self.type == 'ReplaceFullPath' : true" + }, + { + "message": "replacePrefixMatch must be specified when type is set to 'ReplacePrefixMatch'", + "rule": "self.type == 'ReplacePrefixMatch' ? has(self.replacePrefixMatch) : true" + }, + { + "message": "type must be 'ReplacePrefixMatch' when replacePrefixMatch is set", + "rule": "has(self.replacePrefixMatch) ? self.type == 'ReplacePrefixMatch' : true" + } + ] + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "scheme": { + "enum": [ + "http", + "https" + ], + "type": "string" + }, + "statusCode": { + "default": 302, + "enum": [ + 301, + 302, + 303, + 307, + 308 + ], + "type": "integer" + } + }, + "type": "object" + }, + "responseHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "RequestHeaderModifier", + "ResponseHeaderModifier", + "RequestMirror", + "RequestRedirect", + "URLRewrite", + "ExtensionRef", + "CORS" + ], + "type": "string" + }, + "urlRewrite": { + "properties": { + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "path": { + "properties": { + "replaceFullPath": { + "maxLength": 1024, + "type": "string" + }, + "replacePrefixMatch": { + "maxLength": 1024, + "type": "string" + }, + "type": { + "enum": [ + "ReplaceFullPath", + "ReplacePrefixMatch" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "replaceFullPath must be specified when type is set to 'ReplaceFullPath'", + "rule": "self.type == 'ReplaceFullPath' ? has(self.replaceFullPath) : true" + }, + { + "message": "type must be 'ReplaceFullPath' when replaceFullPath is set", + "rule": "has(self.replaceFullPath) ? self.type == 'ReplaceFullPath' : true" + }, + { + "message": "replacePrefixMatch must be specified when type is set to 'ReplacePrefixMatch'", + "rule": "self.type == 'ReplacePrefixMatch' ? has(self.replacePrefixMatch) : true" + }, + { + "message": "type must be 'ReplacePrefixMatch' when replacePrefixMatch is set", + "rule": "has(self.replacePrefixMatch) ? self.type == 'ReplacePrefixMatch' : true" + } + ] + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "filter.cors must be nil if the filter.type is not CORS", + "rule": "!(has(self.cors) && self.type != 'CORS')" + }, + { + "message": "filter.cors must be specified for CORS filter.type", + "rule": "!(!has(self.cors) && self.type == 'CORS')" + }, + { + "message": "filter.requestHeaderModifier must be nil if the filter.type is not RequestHeaderModifier", + "rule": "!(has(self.requestHeaderModifier) && self.type != 'RequestHeaderModifier')" + }, + { + "message": "filter.requestHeaderModifier must be specified for RequestHeaderModifier filter.type", + "rule": "!(!has(self.requestHeaderModifier) && self.type == 'RequestHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be nil if the filter.type is not ResponseHeaderModifier", + "rule": "!(has(self.responseHeaderModifier) && self.type != 'ResponseHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be specified for ResponseHeaderModifier filter.type", + "rule": "!(!has(self.responseHeaderModifier) && self.type == 'ResponseHeaderModifier')" + }, + { + "message": "filter.requestMirror must be nil if the filter.type is not RequestMirror", + "rule": "!(has(self.requestMirror) && self.type != 'RequestMirror')" + }, + { + "message": "filter.requestMirror must be specified for RequestMirror filter.type", + "rule": "!(!has(self.requestMirror) && self.type == 'RequestMirror')" + }, + { + "message": "filter.requestRedirect must be nil if the filter.type is not RequestRedirect", + "rule": "!(has(self.requestRedirect) && self.type != 'RequestRedirect')" + }, + { + "message": "filter.requestRedirect must be specified for RequestRedirect filter.type", + "rule": "!(!has(self.requestRedirect) && self.type == 'RequestRedirect')" + }, + { + "message": "filter.urlRewrite must be nil if the filter.type is not URLRewrite", + "rule": "!(has(self.urlRewrite) && self.type != 'URLRewrite')" + }, + { + "message": "filter.urlRewrite must be specified for URLRewrite filter.type", + "rule": "!(!has(self.urlRewrite) && self.type == 'URLRewrite')" + }, + { + "message": "filter.extensionRef must be nil if the filter.type is not ExtensionRef", + "rule": "!(has(self.extensionRef) && self.type != 'ExtensionRef')" + }, + { + "message": "filter.extensionRef must be specified for ExtensionRef filter.type", + "rule": "!(!has(self.extensionRef) && self.type == 'ExtensionRef')" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "May specify either httpRouteFilterRequestRedirect or httpRouteFilterRequestRewrite, but not both", + "rule": "!(self.exists(f, f.type == 'RequestRedirect') && self.exists(f, f.type == 'URLRewrite'))" + }, + { + "message": "CORS filter cannot be repeated", + "rule": "self.filter(f, f.type == 'CORS').size() <= 1" + }, + { + "message": "RequestHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'RequestHeaderModifier').size() <= 1" + }, + { + "message": "ResponseHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'ResponseHeaderModifier').size() <= 1" + }, + { + "message": "RequestRedirect filter cannot be repeated", + "rule": "self.filter(f, f.type == 'RequestRedirect').size() <= 1" + }, + { + "message": "URLRewrite filter cannot be repeated", + "rule": "self.filter(f, f.type == 'URLRewrite').size() <= 1" + } + ] + }, + "matches": { + "default": [ + { + "path": { + "type": "PathPrefix", + "value": "/" + } + } + ], + "items": { + "properties": { + "headers": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "type": { + "default": "Exact", + "enum": [ + "Exact", + "RegularExpression" + ], + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "method": { + "enum": [ + "GET", + "HEAD", + "POST", + "PUT", + "DELETE", + "CONNECT", + "OPTIONS", + "TRACE", + "PATCH" + ], + "type": "string" + }, + "path": { + "default": { + "type": "PathPrefix", + "value": "/" + }, + "properties": { + "type": { + "default": "PathPrefix", + "enum": [ + "Exact", + "PathPrefix", + "RegularExpression" + ], + "type": "string" + }, + "value": { + "default": "/", + "maxLength": 1024, + "type": "string" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "value must be an absolute path and start with '/' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? self.value.startsWith('/') : true" + }, + { + "message": "must not contain '//' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('//') : true" + }, + { + "message": "must not contain '/./' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('/./') : true" + }, + { + "message": "must not contain '/../' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('/../') : true" + }, + { + "message": "must not contain '%2f' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('%2f') : true" + }, + { + "message": "must not contain '%2F' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('%2F') : true" + }, + { + "message": "must not contain '#' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('#') : true" + }, + { + "message": "must not end with '/..' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.endsWith('/..') : true" + }, + { + "message": "must not end with '/.' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.endsWith('/.') : true" + }, + { + "message": "type must be one of ['Exact', 'PathPrefix', 'RegularExpression']", + "rule": "self.type in ['Exact','PathPrefix'] || self.type == 'RegularExpression'" + }, + { + "message": "must only contain valid characters (matching ^(?:[-A-Za-z0-9/._~!$&'()*+,;=:@]|[%][0-9a-fA-F]{2})+$) for types ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? self.value.matches(r\"\"\"^(?:[-A-Za-z0-9/._~!$&'()*+,;=:@]|[%][0-9a-fA-F]{2})+$\"\"\") : true" + } + ] + }, + "queryParams": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "type": { + "default": "Exact", + "enum": [ + "Exact", + "RegularExpression" + ], + "type": "string" + }, + "value": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "timeouts": { + "properties": { + "backendRequest": { + "pattern": "^([0-9]{1,5}(h|m|s|ms)){1,4}$", + "type": "string" + }, + "request": { + "pattern": "^([0-9]{1,5}(h|m|s|ms)){1,4}$", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "backendRequest timeout cannot be longer than request timeout", + "rule": "!(has(self.request) && has(self.backendRequest) && duration(self.request) != duration('0s') && duration(self.backendRequest) > duration(self.request))" + } + ] + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "RequestRedirect filter must not be used together with backendRefs", + "rule": "(has(self.backendRefs) && size(self.backendRefs) > 0) ? (!has(self.filters) || self.filters.all(f, !has(f.requestRedirect))): true" + }, + { + "message": "When using RequestRedirect filter with path.replacePrefixMatch, exactly one PathPrefix match must be specified", + "rule": "(has(self.filters) && self.filters.exists_one(f, has(f.requestRedirect) && has(f.requestRedirect.path) && f.requestRedirect.path.type == 'ReplacePrefixMatch' && has(f.requestRedirect.path.replacePrefixMatch))) ? ((size(self.matches) != 1 || !has(self.matches[0].path) || self.matches[0].path.type != 'PathPrefix') ? false : true) : true" + }, + { + "message": "When using URLRewrite filter with path.replacePrefixMatch, exactly one PathPrefix match must be specified", + "rule": "(has(self.filters) && self.filters.exists_one(f, has(f.urlRewrite) && has(f.urlRewrite.path) && f.urlRewrite.path.type == 'ReplacePrefixMatch' && has(f.urlRewrite.path.replacePrefixMatch))) ? ((size(self.matches) != 1 || !has(self.matches[0].path) || self.matches[0].path.type != 'PathPrefix') ? false : true) : true" + }, + { + "message": "Within backendRefs, when using RequestRedirect filter with path.replacePrefixMatch, exactly one PathPrefix match must be specified", + "rule": "(has(self.backendRefs) && self.backendRefs.exists_one(b, (has(b.filters) && b.filters.exists_one(f, has(f.requestRedirect) && has(f.requestRedirect.path) && f.requestRedirect.path.type == 'ReplacePrefixMatch' && has(f.requestRedirect.path.replacePrefixMatch))) )) ? ((size(self.matches) != 1 || !has(self.matches[0].path) || self.matches[0].path.type != 'PathPrefix') ? false : true) : true" + }, + { + "message": "Within backendRefs, When using URLRewrite filter with path.replacePrefixMatch, exactly one PathPrefix match must be specified", + "rule": "(has(self.backendRefs) && self.backendRefs.exists_one(b, (has(b.filters) && b.filters.exists_one(f, has(f.urlRewrite) && has(f.urlRewrite.path) && f.urlRewrite.path.type == 'ReplacePrefixMatch' && has(f.urlRewrite.path.replacePrefixMatch))) )) ? ((size(self.matches) != 1 || !has(self.matches[0].path) || self.matches[0].path.type != 'PathPrefix') ? false : true) : true" + } + ] + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "While 16 rules and 64 matches per rule are allowed, the total number of matches across all rules in a route must be less than 128", + "rule": "(self.size() > 0 ? self[0].matches.size() : 0) + (self.size() > 1 ? self[1].matches.size() : 0) + (self.size() > 2 ? self[2].matches.size() : 0) + (self.size() > 3 ? self[3].matches.size() : 0) + (self.size() > 4 ? self[4].matches.size() : 0) + (self.size() > 5 ? self[5].matches.size() : 0) + (self.size() > 6 ? self[6].matches.size() : 0) + (self.size() > 7 ? self[7].matches.size() : 0) + (self.size() > 8 ? self[8].matches.size() : 0) + (self.size() > 9 ? self[9].matches.size() : 0) + (self.size() > 10 ? self[10].matches.size() : 0) + (self.size() > 11 ? self[11].matches.size() : 0) + (self.size() > 12 ? self[12].matches.size() : 0) + (self.size() > 13 ? self[13].matches.size() : 0) + (self.size() > 14 ? self[14].matches.size() : 0) + (self.size() > 15 ? self[15].matches.size() : 0) <= 128" + } + ] + } + }, + "type": "object" + }, + "status": { + "properties": { + "parents": { + "items": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "controllerName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + }, + "parentRef": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "conditions", + "controllerName", + "parentRef" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "parents" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/httproute_v1beta1.json b/schemas/gateway.networking.k8s.io/httproute_v1beta1.json new file mode 100644 index 0000000..cef1126 --- /dev/null +++ b/schemas/gateway.networking.k8s.io/httproute_v1beta1.json @@ -0,0 +1,1674 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "hostnames": { + "items": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "parentRefs": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "sectionName must be specified when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.all(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) ? ((!has(p1.sectionName) || p1.sectionName == '') == (!has(p2.sectionName) || p2.sectionName == '')) : true))" + }, + { + "message": "sectionName must be unique when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.exists_one(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) && (((!has(p1.sectionName) || p1.sectionName == '') && (!has(p2.sectionName) || p2.sectionName == '')) || (has(p1.sectionName) && has(p2.sectionName) && p1.sectionName == p2.sectionName))))" + } + ] + }, + "rules": { + "default": [ + { + "matches": [ + { + "path": { + "type": "PathPrefix", + "value": "/" + } + } + ] + } + ], + "items": { + "properties": { + "backendRefs": { + "items": { + "properties": { + "filters": { + "items": { + "properties": { + "cors": { + "properties": { + "allowCredentials": { + "type": "boolean" + }, + "allowHeaders": { + "items": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowHeaders cannot contain '*' alongside other methods", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "allowMethods": { + "items": { + "enum": [ + "GET", + "HEAD", + "POST", + "PUT", + "DELETE", + "CONNECT", + "OPTIONS", + "TRACE", + "PATCH", + "*" + ], + "type": "string" + }, + "maxItems": 9, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowMethods cannot contain '*' alongside other methods", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "allowOrigins": { + "items": { + "maxLength": 253, + "minLength": 1, + "pattern": "(^\\*$)|(^(http(s)?):\\/\\/(((\\*\\.)?([a-zA-Z0-9\\-]+\\.)*[a-zA-Z0-9-]+|\\*)(:([0-9]{1,5}))?)$)", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowOrigins cannot contain '*' alongside other origins", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "exposeHeaders": { + "items": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "maxAge": { + "default": 5, + "format": "int32", + "minimum": 1, + "type": "integer" + } + }, + "type": "object" + }, + "extensionRef": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "requestHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "requestMirror": { + "properties": { + "backendRef": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "fraction": { + "properties": { + "denominator": { + "default": 100, + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "numerator": { + "format": "int32", + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "numerator" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "numerator must be less than or equal to denominator", + "rule": "self.numerator <= self.denominator" + } + ] + }, + "percent": { + "format": "int32", + "maximum": 100, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "backendRef" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Only one of percent or fraction may be specified in HTTPRequestMirrorFilter", + "rule": "!(has(self.percent) && has(self.fraction))" + } + ] + }, + "requestRedirect": { + "properties": { + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "path": { + "properties": { + "replaceFullPath": { + "maxLength": 1024, + "type": "string" + }, + "replacePrefixMatch": { + "maxLength": 1024, + "type": "string" + }, + "type": { + "enum": [ + "ReplaceFullPath", + "ReplacePrefixMatch" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "replaceFullPath must be specified when type is set to 'ReplaceFullPath'", + "rule": "self.type == 'ReplaceFullPath' ? has(self.replaceFullPath) : true" + }, + { + "message": "type must be 'ReplaceFullPath' when replaceFullPath is set", + "rule": "has(self.replaceFullPath) ? self.type == 'ReplaceFullPath' : true" + }, + { + "message": "replacePrefixMatch must be specified when type is set to 'ReplacePrefixMatch'", + "rule": "self.type == 'ReplacePrefixMatch' ? has(self.replacePrefixMatch) : true" + }, + { + "message": "type must be 'ReplacePrefixMatch' when replacePrefixMatch is set", + "rule": "has(self.replacePrefixMatch) ? self.type == 'ReplacePrefixMatch' : true" + } + ] + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "scheme": { + "enum": [ + "http", + "https" + ], + "type": "string" + }, + "statusCode": { + "default": 302, + "enum": [ + 301, + 302, + 303, + 307, + 308 + ], + "type": "integer" + } + }, + "type": "object" + }, + "responseHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "RequestHeaderModifier", + "ResponseHeaderModifier", + "RequestMirror", + "RequestRedirect", + "URLRewrite", + "ExtensionRef", + "CORS" + ], + "type": "string" + }, + "urlRewrite": { + "properties": { + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "path": { + "properties": { + "replaceFullPath": { + "maxLength": 1024, + "type": "string" + }, + "replacePrefixMatch": { + "maxLength": 1024, + "type": "string" + }, + "type": { + "enum": [ + "ReplaceFullPath", + "ReplacePrefixMatch" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "replaceFullPath must be specified when type is set to 'ReplaceFullPath'", + "rule": "self.type == 'ReplaceFullPath' ? has(self.replaceFullPath) : true" + }, + { + "message": "type must be 'ReplaceFullPath' when replaceFullPath is set", + "rule": "has(self.replaceFullPath) ? self.type == 'ReplaceFullPath' : true" + }, + { + "message": "replacePrefixMatch must be specified when type is set to 'ReplacePrefixMatch'", + "rule": "self.type == 'ReplacePrefixMatch' ? has(self.replacePrefixMatch) : true" + }, + { + "message": "type must be 'ReplacePrefixMatch' when replacePrefixMatch is set", + "rule": "has(self.replacePrefixMatch) ? self.type == 'ReplacePrefixMatch' : true" + } + ] + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "filter.cors must be nil if the filter.type is not CORS", + "rule": "!(has(self.cors) && self.type != 'CORS')" + }, + { + "message": "filter.cors must be specified for CORS filter.type", + "rule": "!(!has(self.cors) && self.type == 'CORS')" + }, + { + "message": "filter.requestHeaderModifier must be nil if the filter.type is not RequestHeaderModifier", + "rule": "!(has(self.requestHeaderModifier) && self.type != 'RequestHeaderModifier')" + }, + { + "message": "filter.requestHeaderModifier must be specified for RequestHeaderModifier filter.type", + "rule": "!(!has(self.requestHeaderModifier) && self.type == 'RequestHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be nil if the filter.type is not ResponseHeaderModifier", + "rule": "!(has(self.responseHeaderModifier) && self.type != 'ResponseHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be specified for ResponseHeaderModifier filter.type", + "rule": "!(!has(self.responseHeaderModifier) && self.type == 'ResponseHeaderModifier')" + }, + { + "message": "filter.requestMirror must be nil if the filter.type is not RequestMirror", + "rule": "!(has(self.requestMirror) && self.type != 'RequestMirror')" + }, + { + "message": "filter.requestMirror must be specified for RequestMirror filter.type", + "rule": "!(!has(self.requestMirror) && self.type == 'RequestMirror')" + }, + { + "message": "filter.requestRedirect must be nil if the filter.type is not RequestRedirect", + "rule": "!(has(self.requestRedirect) && self.type != 'RequestRedirect')" + }, + { + "message": "filter.requestRedirect must be specified for RequestRedirect filter.type", + "rule": "!(!has(self.requestRedirect) && self.type == 'RequestRedirect')" + }, + { + "message": "filter.urlRewrite must be nil if the filter.type is not URLRewrite", + "rule": "!(has(self.urlRewrite) && self.type != 'URLRewrite')" + }, + { + "message": "filter.urlRewrite must be specified for URLRewrite filter.type", + "rule": "!(!has(self.urlRewrite) && self.type == 'URLRewrite')" + }, + { + "message": "filter.extensionRef must be nil if the filter.type is not ExtensionRef", + "rule": "!(has(self.extensionRef) && self.type != 'ExtensionRef')" + }, + { + "message": "filter.extensionRef must be specified for ExtensionRef filter.type", + "rule": "!(!has(self.extensionRef) && self.type == 'ExtensionRef')" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "May specify either httpRouteFilterRequestRedirect or httpRouteFilterRequestRewrite, but not both", + "rule": "!(self.exists(f, f.type == 'RequestRedirect') && self.exists(f, f.type == 'URLRewrite'))" + }, + { + "message": "CORS filter cannot be repeated", + "rule": "self.filter(f, f.type == 'CORS').size() <= 1" + }, + { + "message": "RequestHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'RequestHeaderModifier').size() <= 1" + }, + { + "message": "ResponseHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'ResponseHeaderModifier').size() <= 1" + }, + { + "message": "RequestRedirect filter cannot be repeated", + "rule": "self.filter(f, f.type == 'RequestRedirect').size() <= 1" + }, + { + "message": "URLRewrite filter cannot be repeated", + "rule": "self.filter(f, f.type == 'URLRewrite').size() <= 1" + } + ] + }, + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "weight": { + "default": 1, + "format": "int32", + "maximum": 1000000, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "filters": { + "items": { + "properties": { + "cors": { + "properties": { + "allowCredentials": { + "type": "boolean" + }, + "allowHeaders": { + "items": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowHeaders cannot contain '*' alongside other methods", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "allowMethods": { + "items": { + "enum": [ + "GET", + "HEAD", + "POST", + "PUT", + "DELETE", + "CONNECT", + "OPTIONS", + "TRACE", + "PATCH", + "*" + ], + "type": "string" + }, + "maxItems": 9, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowMethods cannot contain '*' alongside other methods", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "allowOrigins": { + "items": { + "maxLength": 253, + "minLength": 1, + "pattern": "(^\\*$)|(^(http(s)?):\\/\\/(((\\*\\.)?([a-zA-Z0-9\\-]+\\.)*[a-zA-Z0-9-]+|\\*)(:([0-9]{1,5}))?)$)", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-validations": [ + { + "message": "AllowOrigins cannot contain '*' alongside other origins", + "rule": "!('*' in self && self.size() > 1)" + } + ] + }, + "exposeHeaders": { + "items": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "maxAge": { + "default": 5, + "format": "int32", + "minimum": 1, + "type": "integer" + } + }, + "type": "object" + }, + "extensionRef": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind", + "name" + ], + "type": "object" + }, + "requestHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "requestMirror": { + "properties": { + "backendRef": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "fraction": { + "properties": { + "denominator": { + "default": 100, + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "numerator": { + "format": "int32", + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "numerator" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "numerator must be less than or equal to denominator", + "rule": "self.numerator <= self.denominator" + } + ] + }, + "percent": { + "format": "int32", + "maximum": 100, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "backendRef" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Only one of percent or fraction may be specified in HTTPRequestMirrorFilter", + "rule": "!(has(self.percent) && has(self.fraction))" + } + ] + }, + "requestRedirect": { + "properties": { + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "path": { + "properties": { + "replaceFullPath": { + "maxLength": 1024, + "type": "string" + }, + "replacePrefixMatch": { + "maxLength": 1024, + "type": "string" + }, + "type": { + "enum": [ + "ReplaceFullPath", + "ReplacePrefixMatch" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "replaceFullPath must be specified when type is set to 'ReplaceFullPath'", + "rule": "self.type == 'ReplaceFullPath' ? has(self.replaceFullPath) : true" + }, + { + "message": "type must be 'ReplaceFullPath' when replaceFullPath is set", + "rule": "has(self.replaceFullPath) ? self.type == 'ReplaceFullPath' : true" + }, + { + "message": "replacePrefixMatch must be specified when type is set to 'ReplacePrefixMatch'", + "rule": "self.type == 'ReplacePrefixMatch' ? has(self.replacePrefixMatch) : true" + }, + { + "message": "type must be 'ReplacePrefixMatch' when replacePrefixMatch is set", + "rule": "has(self.replacePrefixMatch) ? self.type == 'ReplacePrefixMatch' : true" + } + ] + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "scheme": { + "enum": [ + "http", + "https" + ], + "type": "string" + }, + "statusCode": { + "default": 302, + "enum": [ + 301, + 302, + 303, + 307, + 308 + ], + "type": "integer" + } + }, + "type": "object" + }, + "responseHeaderModifier": { + "properties": { + "add": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "remove": { + "items": { + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "set": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "RequestHeaderModifier", + "ResponseHeaderModifier", + "RequestMirror", + "RequestRedirect", + "URLRewrite", + "ExtensionRef", + "CORS" + ], + "type": "string" + }, + "urlRewrite": { + "properties": { + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "path": { + "properties": { + "replaceFullPath": { + "maxLength": 1024, + "type": "string" + }, + "replacePrefixMatch": { + "maxLength": 1024, + "type": "string" + }, + "type": { + "enum": [ + "ReplaceFullPath", + "ReplacePrefixMatch" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "replaceFullPath must be specified when type is set to 'ReplaceFullPath'", + "rule": "self.type == 'ReplaceFullPath' ? has(self.replaceFullPath) : true" + }, + { + "message": "type must be 'ReplaceFullPath' when replaceFullPath is set", + "rule": "has(self.replaceFullPath) ? self.type == 'ReplaceFullPath' : true" + }, + { + "message": "replacePrefixMatch must be specified when type is set to 'ReplacePrefixMatch'", + "rule": "self.type == 'ReplacePrefixMatch' ? has(self.replacePrefixMatch) : true" + }, + { + "message": "type must be 'ReplacePrefixMatch' when replacePrefixMatch is set", + "rule": "has(self.replacePrefixMatch) ? self.type == 'ReplacePrefixMatch' : true" + } + ] + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "filter.cors must be nil if the filter.type is not CORS", + "rule": "!(has(self.cors) && self.type != 'CORS')" + }, + { + "message": "filter.cors must be specified for CORS filter.type", + "rule": "!(!has(self.cors) && self.type == 'CORS')" + }, + { + "message": "filter.requestHeaderModifier must be nil if the filter.type is not RequestHeaderModifier", + "rule": "!(has(self.requestHeaderModifier) && self.type != 'RequestHeaderModifier')" + }, + { + "message": "filter.requestHeaderModifier must be specified for RequestHeaderModifier filter.type", + "rule": "!(!has(self.requestHeaderModifier) && self.type == 'RequestHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be nil if the filter.type is not ResponseHeaderModifier", + "rule": "!(has(self.responseHeaderModifier) && self.type != 'ResponseHeaderModifier')" + }, + { + "message": "filter.responseHeaderModifier must be specified for ResponseHeaderModifier filter.type", + "rule": "!(!has(self.responseHeaderModifier) && self.type == 'ResponseHeaderModifier')" + }, + { + "message": "filter.requestMirror must be nil if the filter.type is not RequestMirror", + "rule": "!(has(self.requestMirror) && self.type != 'RequestMirror')" + }, + { + "message": "filter.requestMirror must be specified for RequestMirror filter.type", + "rule": "!(!has(self.requestMirror) && self.type == 'RequestMirror')" + }, + { + "message": "filter.requestRedirect must be nil if the filter.type is not RequestRedirect", + "rule": "!(has(self.requestRedirect) && self.type != 'RequestRedirect')" + }, + { + "message": "filter.requestRedirect must be specified for RequestRedirect filter.type", + "rule": "!(!has(self.requestRedirect) && self.type == 'RequestRedirect')" + }, + { + "message": "filter.urlRewrite must be nil if the filter.type is not URLRewrite", + "rule": "!(has(self.urlRewrite) && self.type != 'URLRewrite')" + }, + { + "message": "filter.urlRewrite must be specified for URLRewrite filter.type", + "rule": "!(!has(self.urlRewrite) && self.type == 'URLRewrite')" + }, + { + "message": "filter.extensionRef must be nil if the filter.type is not ExtensionRef", + "rule": "!(has(self.extensionRef) && self.type != 'ExtensionRef')" + }, + { + "message": "filter.extensionRef must be specified for ExtensionRef filter.type", + "rule": "!(!has(self.extensionRef) && self.type == 'ExtensionRef')" + } + ] + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "May specify either httpRouteFilterRequestRedirect or httpRouteFilterRequestRewrite, but not both", + "rule": "!(self.exists(f, f.type == 'RequestRedirect') && self.exists(f, f.type == 'URLRewrite'))" + }, + { + "message": "CORS filter cannot be repeated", + "rule": "self.filter(f, f.type == 'CORS').size() <= 1" + }, + { + "message": "RequestHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'RequestHeaderModifier').size() <= 1" + }, + { + "message": "ResponseHeaderModifier filter cannot be repeated", + "rule": "self.filter(f, f.type == 'ResponseHeaderModifier').size() <= 1" + }, + { + "message": "RequestRedirect filter cannot be repeated", + "rule": "self.filter(f, f.type == 'RequestRedirect').size() <= 1" + }, + { + "message": "URLRewrite filter cannot be repeated", + "rule": "self.filter(f, f.type == 'URLRewrite').size() <= 1" + } + ] + }, + "matches": { + "default": [ + { + "path": { + "type": "PathPrefix", + "value": "/" + } + } + ], + "items": { + "properties": { + "headers": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "type": { + "default": "Exact", + "enum": [ + "Exact", + "RegularExpression" + ], + "type": "string" + }, + "value": { + "maxLength": 4096, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "method": { + "enum": [ + "GET", + "HEAD", + "POST", + "PUT", + "DELETE", + "CONNECT", + "OPTIONS", + "TRACE", + "PATCH" + ], + "type": "string" + }, + "path": { + "default": { + "type": "PathPrefix", + "value": "/" + }, + "properties": { + "type": { + "default": "PathPrefix", + "enum": [ + "Exact", + "PathPrefix", + "RegularExpression" + ], + "type": "string" + }, + "value": { + "default": "/", + "maxLength": 1024, + "type": "string" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "value must be an absolute path and start with '/' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? self.value.startsWith('/') : true" + }, + { + "message": "must not contain '//' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('//') : true" + }, + { + "message": "must not contain '/./' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('/./') : true" + }, + { + "message": "must not contain '/../' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('/../') : true" + }, + { + "message": "must not contain '%2f' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('%2f') : true" + }, + { + "message": "must not contain '%2F' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('%2F') : true" + }, + { + "message": "must not contain '#' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.contains('#') : true" + }, + { + "message": "must not end with '/..' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.endsWith('/..') : true" + }, + { + "message": "must not end with '/.' when type one of ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? !self.value.endsWith('/.') : true" + }, + { + "message": "type must be one of ['Exact', 'PathPrefix', 'RegularExpression']", + "rule": "self.type in ['Exact','PathPrefix'] || self.type == 'RegularExpression'" + }, + { + "message": "must only contain valid characters (matching ^(?:[-A-Za-z0-9/._~!$&'()*+,;=:@]|[%][0-9a-fA-F]{2})+$) for types ['Exact', 'PathPrefix']", + "rule": "(self.type in ['Exact','PathPrefix']) ? self.value.matches(r\"\"\"^(?:[-A-Za-z0-9/._~!$&'()*+,;=:@]|[%][0-9a-fA-F]{2})+$\"\"\") : true" + } + ] + }, + "queryParams": { + "items": { + "properties": { + "name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[A-Za-z0-9!#$%&'*+\\-.^_\\x60|~]+$", + "type": "string" + }, + "type": { + "default": "Exact", + "enum": [ + "Exact", + "RegularExpression" + ], + "type": "string" + }, + "value": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "timeouts": { + "properties": { + "backendRequest": { + "pattern": "^([0-9]{1,5}(h|m|s|ms)){1,4}$", + "type": "string" + }, + "request": { + "pattern": "^([0-9]{1,5}(h|m|s|ms)){1,4}$", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "backendRequest timeout cannot be longer than request timeout", + "rule": "!(has(self.request) && has(self.backendRequest) && duration(self.request) != duration('0s') && duration(self.backendRequest) > duration(self.request))" + } + ] + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "RequestRedirect filter must not be used together with backendRefs", + "rule": "(has(self.backendRefs) && size(self.backendRefs) > 0) ? (!has(self.filters) || self.filters.all(f, !has(f.requestRedirect))): true" + }, + { + "message": "When using RequestRedirect filter with path.replacePrefixMatch, exactly one PathPrefix match must be specified", + "rule": "(has(self.filters) && self.filters.exists_one(f, has(f.requestRedirect) && has(f.requestRedirect.path) && f.requestRedirect.path.type == 'ReplacePrefixMatch' && has(f.requestRedirect.path.replacePrefixMatch))) ? ((size(self.matches) != 1 || !has(self.matches[0].path) || self.matches[0].path.type != 'PathPrefix') ? false : true) : true" + }, + { + "message": "When using URLRewrite filter with path.replacePrefixMatch, exactly one PathPrefix match must be specified", + "rule": "(has(self.filters) && self.filters.exists_one(f, has(f.urlRewrite) && has(f.urlRewrite.path) && f.urlRewrite.path.type == 'ReplacePrefixMatch' && has(f.urlRewrite.path.replacePrefixMatch))) ? ((size(self.matches) != 1 || !has(self.matches[0].path) || self.matches[0].path.type != 'PathPrefix') ? false : true) : true" + }, + { + "message": "Within backendRefs, when using RequestRedirect filter with path.replacePrefixMatch, exactly one PathPrefix match must be specified", + "rule": "(has(self.backendRefs) && self.backendRefs.exists_one(b, (has(b.filters) && b.filters.exists_one(f, has(f.requestRedirect) && has(f.requestRedirect.path) && f.requestRedirect.path.type == 'ReplacePrefixMatch' && has(f.requestRedirect.path.replacePrefixMatch))) )) ? ((size(self.matches) != 1 || !has(self.matches[0].path) || self.matches[0].path.type != 'PathPrefix') ? false : true) : true" + }, + { + "message": "Within backendRefs, When using URLRewrite filter with path.replacePrefixMatch, exactly one PathPrefix match must be specified", + "rule": "(has(self.backendRefs) && self.backendRefs.exists_one(b, (has(b.filters) && b.filters.exists_one(f, has(f.urlRewrite) && has(f.urlRewrite.path) && f.urlRewrite.path.type == 'ReplacePrefixMatch' && has(f.urlRewrite.path.replacePrefixMatch))) )) ? ((size(self.matches) != 1 || !has(self.matches[0].path) || self.matches[0].path.type != 'PathPrefix') ? false : true) : true" + } + ] + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "While 16 rules and 64 matches per rule are allowed, the total number of matches across all rules in a route must be less than 128", + "rule": "(self.size() > 0 ? self[0].matches.size() : 0) + (self.size() > 1 ? self[1].matches.size() : 0) + (self.size() > 2 ? self[2].matches.size() : 0) + (self.size() > 3 ? self[3].matches.size() : 0) + (self.size() > 4 ? self[4].matches.size() : 0) + (self.size() > 5 ? self[5].matches.size() : 0) + (self.size() > 6 ? self[6].matches.size() : 0) + (self.size() > 7 ? self[7].matches.size() : 0) + (self.size() > 8 ? self[8].matches.size() : 0) + (self.size() > 9 ? self[9].matches.size() : 0) + (self.size() > 10 ? self[10].matches.size() : 0) + (self.size() > 11 ? self[11].matches.size() : 0) + (self.size() > 12 ? self[12].matches.size() : 0) + (self.size() > 13 ? self[13].matches.size() : 0) + (self.size() > 14 ? self[14].matches.size() : 0) + (self.size() > 15 ? self[15].matches.size() : 0) <= 128" + } + ] + } + }, + "type": "object" + }, + "status": { + "properties": { + "parents": { + "items": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "controllerName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + }, + "parentRef": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "conditions", + "controllerName", + "parentRef" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "parents" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/listenerset_v1.json b/schemas/gateway.networking.k8s.io/listenerset_v1.json new file mode 100644 index 0000000..7c57a98 --- /dev/null +++ b/schemas/gateway.networking.k8s.io/listenerset_v1.json @@ -0,0 +1,479 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "listeners": { + "items": { + "properties": { + "allowedRoutes": { + "default": { + "namespaces": { + "from": "Same" + } + }, + "properties": { + "kinds": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaces": { + "default": { + "from": "Same" + }, + "properties": { + "from": { + "default": "Same", + "enum": [ + "All", + "Selector", + "Same" + ], + "type": "string" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "hostname": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "maxLength": 255, + "minLength": 1, + "pattern": "^[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?$|[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9]+$", + "type": "string" + }, + "tls": { + "properties": { + "certificateRefs": { + "items": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Secret", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mode": { + "default": "Terminate", + "enum": [ + "Terminate", + "Passthrough" + ], + "type": "string" + }, + "options": { + "additionalProperties": { + "maxLength": 4096, + "minLength": 0, + "type": "string" + }, + "maxProperties": 16, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "certificateRefs or options must be specified when mode is Terminate", + "rule": "self.mode == 'Terminate' ? size(self.certificateRefs) > 0 || size(self.options) > 0 : true" + } + ] + } + }, + "required": [ + "name", + "port", + "protocol" + ], + "type": "object" + }, + "maxItems": 64, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-validations": [ + { + "message": "tls must not be specified for protocols ['HTTP', 'TCP', 'UDP']", + "rule": "self.all(l, l.protocol in ['HTTP', 'TCP', 'UDP'] ? !has(l.tls) : true)" + }, + { + "message": "tls mode must be Terminate for protocol HTTPS", + "rule": "self.all(l, (l.protocol == 'HTTPS' && has(l.tls)) ? (l.tls.mode == '' || l.tls.mode == 'Terminate') : true)" + }, + { + "message": "tls mode must be set for protocol TLS", + "rule": "self.all(l, (l.protocol == 'TLS' ? has(l.tls) && has(l.tls.mode) && l.tls.mode != '' : true))" + }, + { + "message": "hostname must not be specified for protocols ['TCP', 'UDP']", + "rule": "self.all(l, l.protocol in ['TCP', 'UDP'] ? (!has(l.hostname) || l.hostname == '') : true)" + }, + { + "message": "Listener name must be unique within the Gateway", + "rule": "self.all(l1, self.exists_one(l2, l1.name == l2.name))" + }, + { + "message": "Combination of port, protocol and hostname must be unique for each listener", + "rule": "self.all(l1, !has(l1.port) || self.exists_one(l2, has(l2.port) && l1.port == l2.port && l1.protocol == l2.protocol && (has(l1.hostname) && has(l2.hostname) ? l1.hostname == l2.hostname : !has(l1.hostname) && !has(l2.hostname))))" + } + ] + }, + "parentRef": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "listeners", + "parentRef" + ], + "type": "object" + }, + "status": { + "default": { + "conditions": [ + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Accepted" + }, + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Programmed" + } + ] + }, + "properties": { + "conditions": { + "default": [ + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Accepted" + }, + { + "lastTransitionTime": "1970-01-01T00:00:00Z", + "message": "Waiting for controller", + "reason": "Pending", + "status": "Unknown", + "type": "Programmed" + } + ], + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "listeners": { + "items": { + "properties": { + "attachedRoutes": { + "format": "int32", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "supportedKinds": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + "maxItems": 8, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "attachedRoutes", + "conditions", + "name" + ], + "type": "object" + }, + "maxItems": 64, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/referencegrant_v1.json b/schemas/gateway.networking.k8s.io/referencegrant_v1.json new file mode 100644 index 0000000..7c000ef --- /dev/null +++ b/schemas/gateway.networking.k8s.io/referencegrant_v1.json @@ -0,0 +1,88 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "from": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "group", + "kind", + "namespace" + ], + "type": "object" + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "to": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind" + ], + "type": "object" + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/referencegrant_v1beta1.json b/schemas/gateway.networking.k8s.io/referencegrant_v1beta1.json new file mode 100644 index 0000000..7c000ef --- /dev/null +++ b/schemas/gateway.networking.k8s.io/referencegrant_v1beta1.json @@ -0,0 +1,88 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "from": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "group", + "kind", + "namespace" + ], + "type": "object" + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "to": { + "items": { + "properties": { + "group": { + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "group", + "kind" + ], + "type": "object" + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/tlsroute_v1.json b/schemas/gateway.networking.k8s.io/tlsroute_v1.json new file mode 100644 index 0000000..64bcc1f --- /dev/null +++ b/schemas/gateway.networking.k8s.io/tlsroute_v1.json @@ -0,0 +1,315 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "hostnames": { + "items": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "Hostnames cannot contain an IP", + "rule": "self.all(h, !isIP(h))" + }, + { + "message": "Hostnames must be valid based on RFC-1123", + "rule": "self.all(h, !h.contains('*') ? h.matches('^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)$') : true)" + }, + { + "message": "Wildcards on hostnames must be the first label, and the rest of hostname must be valid based on RFC-1123", + "rule": "self.all(h, h.contains('*') ? (h.startsWith('*.') && h.substring(2).matches('^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)$')) : true)" + } + ] + }, + "parentRefs": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "sectionName must be specified when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.all(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) ? ((!has(p1.sectionName) || p1.sectionName == '') == (!has(p2.sectionName) || p2.sectionName == '')) : true))" + }, + { + "message": "sectionName must be unique when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.exists_one(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) && (((!has(p1.sectionName) || p1.sectionName == '') && (!has(p2.sectionName) || p2.sectionName == '')) || (has(p1.sectionName) && has(p2.sectionName) && p1.sectionName == p2.sectionName))))" + } + ] + }, + "rules": { + "items": { + "properties": { + "backendRefs": { + "items": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "weight": { + "default": 1, + "format": "int32", + "maximum": 1000000, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "backendRefs" + ], + "type": "object" + }, + "maxItems": 1, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "hostnames", + "rules" + ], + "type": "object" + }, + "status": { + "properties": { + "parents": { + "items": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "controllerName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + }, + "parentRef": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "conditions", + "controllerName", + "parentRef" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "parents" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/tlsroute_v1alpha2.json b/schemas/gateway.networking.k8s.io/tlsroute_v1alpha2.json new file mode 100644 index 0000000..55afde4 --- /dev/null +++ b/schemas/gateway.networking.k8s.io/tlsroute_v1alpha2.json @@ -0,0 +1,299 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "hostnames": { + "items": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "maxItems": 16, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "parentRefs": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "sectionName must be specified when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.all(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) ? ((!has(p1.sectionName) || p1.sectionName == '') == (!has(p2.sectionName) || p2.sectionName == '')) : true))" + }, + { + "message": "sectionName must be unique when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.exists_one(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) && (((!has(p1.sectionName) || p1.sectionName == '') && (!has(p2.sectionName) || p2.sectionName == '')) || (has(p1.sectionName) && has(p2.sectionName) && p1.sectionName == p2.sectionName))))" + } + ] + }, + "rules": { + "items": { + "properties": { + "backendRefs": { + "items": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "weight": { + "default": 1, + "format": "int32", + "maximum": 1000000, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "backendRefs" + ], + "type": "object" + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "rules" + ], + "type": "object" + }, + "status": { + "properties": { + "parents": { + "items": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "controllerName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + }, + "parentRef": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "conditions", + "controllerName", + "parentRef" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "parents" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/gateway.networking.k8s.io/tlsroute_v1alpha3.json b/schemas/gateway.networking.k8s.io/tlsroute_v1alpha3.json new file mode 100644 index 0000000..64bcc1f --- /dev/null +++ b/schemas/gateway.networking.k8s.io/tlsroute_v1alpha3.json @@ -0,0 +1,315 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "hostnames": { + "items": { + "maxLength": 253, + "minLength": 1, + "pattern": "^(\\*\\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "Hostnames cannot contain an IP", + "rule": "self.all(h, !isIP(h))" + }, + { + "message": "Hostnames must be valid based on RFC-1123", + "rule": "self.all(h, !h.contains('*') ? h.matches('^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)$') : true)" + }, + { + "message": "Wildcards on hostnames must be the first label, and the rest of hostname must be valid based on RFC-1123", + "rule": "self.all(h, h.contains('*') ? (h.startsWith('*.') && h.substring(2).matches('^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)$')) : true)" + } + ] + }, + "parentRefs": { + "items": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "sectionName must be specified when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.all(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) ? ((!has(p1.sectionName) || p1.sectionName == '') == (!has(p2.sectionName) || p2.sectionName == '')) : true))" + }, + { + "message": "sectionName must be unique when parentRefs includes 2 or more references to the same parent", + "rule": "self.all(p1, self.exists_one(p2, p1.group == p2.group && p1.kind == p2.kind && p1.name == p2.name && (((!has(p1.__namespace__) || p1.__namespace__ == '') && (!has(p2.__namespace__) || p2.__namespace__ == '')) || (has(p1.__namespace__) && has(p2.__namespace__) && p1.__namespace__ == p2.__namespace__ )) && (((!has(p1.sectionName) || p1.sectionName == '') && (!has(p2.sectionName) || p2.sectionName == '')) || (has(p1.sectionName) && has(p2.sectionName) && p1.sectionName == p2.sectionName))))" + } + ] + }, + "rules": { + "items": { + "properties": { + "backendRefs": { + "items": { + "properties": { + "group": { + "default": "", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Service", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "weight": { + "default": 1, + "format": "int32", + "maximum": 1000000, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must have port for Service reference", + "rule": "(size(self.group) == 0 && self.kind == 'Service') ? has(self.port) : true" + } + ] + }, + "maxItems": 16, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "backendRefs" + ], + "type": "object" + }, + "maxItems": 1, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "hostnames", + "rules" + ], + "type": "object" + }, + "status": { + "properties": { + "parents": { + "items": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "controllerName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$", + "type": "string" + }, + "parentRef": { + "properties": { + "group": { + "default": "gateway.networking.k8s.io", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + }, + "kind": { + "default": "Gateway", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$", + "type": "string" + }, + "name": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + }, + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "sectionName": { + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "conditions", + "controllerName", + "parentRef" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "parents" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshot_v1beta1.json b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshot_v1beta1.json new file mode 100644 index 0000000..f742102 --- /dev/null +++ b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshot_v1beta1.json @@ -0,0 +1,134 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "source": { + "properties": { + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "selector is immutable", + "rule": "self == oldSelf" + } + ] + }, + "volumeGroupSnapshotContentName": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "volumeGroupSnapshotContentName is immutable", + "rule": "self == oldSelf" + } + ] + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "selector is required once set", + "rule": "!has(oldSelf.selector) || has(self.selector)" + }, + { + "message": "volumeGroupSnapshotContentName is required once set", + "rule": "!has(oldSelf.volumeGroupSnapshotContentName) || has(self.volumeGroupSnapshotContentName)" + }, + { + "message": "exactly one of selector and volumeGroupSnapshotContentName must be set", + "rule": "(has(self.selector) && !has(self.volumeGroupSnapshotContentName)) || (!has(self.selector) && has(self.volumeGroupSnapshotContentName))" + } + ] + }, + "volumeGroupSnapshotClassName": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "volumeGroupSnapshotClassName must not be the empty string when set", + "rule": "size(self) > 0" + } + ] + } + }, + "required": [ + "source" + ], + "type": "object" + }, + "status": { + "properties": { + "boundVolumeGroupSnapshotContentName": { + "type": "string" + }, + "creationTime": { + "format": "date-time", + "type": "string" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "time": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "readyToUse": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshot_v1beta2.json b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshot_v1beta2.json new file mode 100644 index 0000000..e4ea428 --- /dev/null +++ b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshot_v1beta2.json @@ -0,0 +1,140 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "source": { + "properties": { + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "selector is immutable", + "rule": "self == oldSelf" + } + ] + }, + "volumeGroupSnapshotContentName": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "volumeGroupSnapshotContentName is immutable", + "rule": "self == oldSelf" + } + ] + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "selector is required once set", + "rule": "!has(oldSelf.selector) || has(self.selector)" + }, + { + "message": "volumeGroupSnapshotContentName is required once set", + "rule": "!has(oldSelf.volumeGroupSnapshotContentName) || has(self.volumeGroupSnapshotContentName)" + }, + { + "message": "exactly one of selector and volumeGroupSnapshotContentName must be set", + "rule": "(has(self.selector) && !has(self.volumeGroupSnapshotContentName)) || (!has(self.selector) && has(self.volumeGroupSnapshotContentName))" + } + ] + }, + "volumeGroupSnapshotClassName": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "volumeGroupSnapshotClassName must not be the empty string when set", + "rule": "size(self) > 0" + } + ] + } + }, + "required": [ + "source" + ], + "type": "object" + }, + "status": { + "properties": { + "boundVolumeGroupSnapshotContentName": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "boundVolumeGroupSnapshotContentName is immutable once set", + "rule": "self == oldSelf" + } + ] + }, + "creationTime": { + "format": "date-time", + "type": "string" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "time": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "readyToUse": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotclass_v1beta1.json b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotclass_v1beta1.json new file mode 100644 index 0000000..eb6ea91 --- /dev/null +++ b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotclass_v1beta1.json @@ -0,0 +1,35 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "deletionPolicy": { + "enum": [ + "Delete", + "Retain" + ], + "type": "string" + }, + "driver": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "deletionPolicy", + "driver" + ], + "type": "object" +} diff --git a/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotclass_v1beta2.json b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotclass_v1beta2.json new file mode 100644 index 0000000..91f1688 --- /dev/null +++ b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotclass_v1beta2.json @@ -0,0 +1,53 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "deletionPolicy": { + "enum": [ + "Delete", + "Retain" + ], + "type": "string", + "x-kubernetes-validations": [ + { + "message": "deletionPolicy is immutable once set", + "rule": "self == oldSelf" + } + ] + }, + "driver": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "driver is immutable once set", + "rule": "self == oldSelf" + } + ] + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "parameters are immutable once set", + "rule": "self == oldSelf" + } + ] + } + }, + "required": [ + "deletionPolicy", + "driver" + ], + "type": "object" +} diff --git a/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotcontent_v1beta1.json b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotcontent_v1beta1.json new file mode 100644 index 0000000..b28a2fe --- /dev/null +++ b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotcontent_v1beta1.json @@ -0,0 +1,175 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "deletionPolicy": { + "enum": [ + "Delete", + "Retain" + ], + "type": "string" + }, + "driver": { + "type": "string" + }, + "source": { + "properties": { + "groupSnapshotHandles": { + "properties": { + "volumeGroupSnapshotHandle": { + "type": "string" + }, + "volumeSnapshotHandles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "volumeGroupSnapshotHandle", + "volumeSnapshotHandles" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "groupSnapshotHandles is immutable", + "rule": "self == oldSelf" + } + ] + }, + "volumeHandles": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-validations": [ + { + "message": "volumeHandles is immutable", + "rule": "self == oldSelf" + } + ] + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "volumeHandles is required once set", + "rule": "!has(oldSelf.volumeHandles) || has(self.volumeHandles)" + }, + { + "message": "groupSnapshotHandles is required once set", + "rule": "!has(oldSelf.groupSnapshotHandles) || has(self.groupSnapshotHandles)" + }, + { + "message": "exactly one of volumeHandles and groupSnapshotHandles must be set", + "rule": "(has(self.volumeHandles) && !has(self.groupSnapshotHandles)) || (!has(self.volumeHandles) && has(self.groupSnapshotHandles))" + } + ] + }, + "volumeGroupSnapshotClassName": { + "type": "string" + }, + "volumeGroupSnapshotRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "both volumeGroupSnapshotRef.name and volumeGroupSnapshotRef.namespace must be set", + "rule": "has(self.name) && has(self.__namespace__)" + } + ] + } + }, + "required": [ + "deletionPolicy", + "driver", + "source", + "volumeGroupSnapshotRef" + ], + "type": "object" + }, + "status": { + "properties": { + "creationTime": { + "format": "date-time", + "type": "string" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "time": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "readyToUse": { + "type": "boolean" + }, + "volumeGroupSnapshotHandle": { + "type": "string" + }, + "volumeSnapshotHandlePairList": { + "items": { + "properties": { + "snapshotHandle": { + "type": "string" + }, + "volumeHandle": { + "type": "string" + } + }, + "required": [ + "snapshotHandle", + "volumeHandle" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotcontent_v1beta2.json b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotcontent_v1beta2.json new file mode 100644 index 0000000..4df3fca --- /dev/null +++ b/schemas/groupsnapshot.storage.k8s.io/volumegroupsnapshotcontent_v1beta2.json @@ -0,0 +1,208 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "deletionPolicy": { + "enum": [ + "Delete", + "Retain" + ], + "type": "string" + }, + "driver": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "driver is immutable once set", + "rule": "self == oldSelf" + } + ] + }, + "source": { + "properties": { + "groupSnapshotHandles": { + "properties": { + "volumeGroupSnapshotHandle": { + "type": "string" + }, + "volumeSnapshotHandles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "volumeGroupSnapshotHandle", + "volumeSnapshotHandles" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "groupSnapshotHandles is immutable", + "rule": "self == oldSelf" + } + ] + }, + "volumeHandles": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-validations": [ + { + "message": "volumeHandles is immutable", + "rule": "self == oldSelf" + } + ] + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "volumeHandles is required once set", + "rule": "!has(oldSelf.volumeHandles) || has(self.volumeHandles)" + }, + { + "message": "groupSnapshotHandles is required once set", + "rule": "!has(oldSelf.groupSnapshotHandles) || has(self.groupSnapshotHandles)" + }, + { + "message": "exactly one of volumeHandles and groupSnapshotHandles must be set", + "rule": "(has(self.volumeHandles) && !has(self.groupSnapshotHandles)) || (!has(self.volumeHandles) && has(self.groupSnapshotHandles))" + } + ] + }, + "volumeGroupSnapshotClassName": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "volumeGroupSnapshotClassName is immutable once set", + "rule": "self == oldSelf" + } + ] + }, + "volumeGroupSnapshotRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "both volumeGroupSnapshotRef.name and volumeGroupSnapshotRef.namespace must be set", + "rule": "has(self.name) && has(self.__namespace__)" + }, + { + "message": "volumeGroupSnapshotRef.name and volumeGroupSnapshotRef.namespace are immutable", + "rule": "self.name == oldSelf.name && self.__namespace__ == oldSelf.__namespace__" + }, + { + "message": "volumeGroupSnapshotRef.uid is immutable once set", + "rule": "!has(oldSelf.uid) || (has(self.uid) && self.uid == oldSelf.uid)" + } + ] + } + }, + "required": [ + "deletionPolicy", + "driver", + "source", + "volumeGroupSnapshotRef" + ], + "type": "object" + }, + "status": { + "properties": { + "creationTime": { + "format": "date-time", + "type": "string" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "time": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "readyToUse": { + "type": "boolean" + }, + "volumeGroupSnapshotHandle": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "volumeGroupSnapshotHandle is immutable once set", + "rule": "self == oldSelf" + } + ] + }, + "volumeSnapshotInfoList": { + "items": { + "properties": { + "creationTime": { + "format": "int64", + "type": "integer" + }, + "readyToUse": { + "type": "boolean" + }, + "restoreSize": { + "format": "int64", + "type": "integer" + }, + "snapshotHandle": { + "type": "string" + }, + "volumeHandle": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/helm.cattle.io/helmchart_v1.json b/schemas/helm.cattle.io/helmchart_v1.json new file mode 100644 index 0000000..7adb729 --- /dev/null +++ b/schemas/helm.cattle.io/helmchart_v1.json @@ -0,0 +1,425 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "authPassCredentials": { + "type": "boolean" + }, + "authSecret": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "backOffLimit": { + "format": "int32", + "type": "integer" + }, + "bootstrap": { + "type": "boolean" + }, + "chart": { + "type": "string" + }, + "chartContent": { + "type": "string" + }, + "createNamespace": { + "type": "boolean" + }, + "dockerRegistrySecret": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "driver": { + "default": "secret", + "enum": [ + "secret", + "configmap" + ], + "type": "string", + "x-kubernetes-validations": [ + { + "message": "driver is immutable after creation", + "optionalOldSelf": true, + "rule": "!oldSelf.hasValue() || self == oldSelf.value()" + } + ] + }, + "failurePolicy": { + "default": "reinstall", + "enum": [ + "abort", + "reinstall" + ], + "type": "string" + }, + "helmVersion": { + "type": "string" + }, + "insecureSkipTLSVerify": { + "type": "boolean" + }, + "jobImage": { + "type": "string" + }, + "plainHTTP": { + "type": "boolean" + }, + "podSecurityContext": { + "properties": { + "appArmorProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxChangePolicy": { + "type": "string" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "supplementalGroupsPolicy": { + "type": "string" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "repo": { + "type": "string" + }, + "repoCA": { + "type": "string" + }, + "repoCAConfigMap": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "appArmorProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "set": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "takeOwnership": { + "type": "boolean" + }, + "targetNamespace": { + "type": "string" + }, + "timeout": { + "type": "string" + }, + "values": { + "x-kubernetes-preserve-unknown-fields": true + }, + "valuesContent": { + "type": "string" + }, + "valuesSecrets": { + "items": { + "properties": { + "ignoreUpdates": { + "type": "boolean" + }, + "keys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "jobName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/helm.cattle.io/helmchartconfig_v1.json b/schemas/helm.cattle.io/helmchartconfig_v1.json new file mode 100644 index 0000000..5f0b728 --- /dev/null +++ b/schemas/helm.cattle.io/helmchartconfig_v1.json @@ -0,0 +1,54 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "failurePolicy": { + "default": "reinstall", + "enum": [ + "abort", + "reinstall" + ], + "type": "string" + }, + "values": { + "x-kubernetes-preserve-unknown-fields": true + }, + "valuesContent": { + "type": "string" + }, + "valuesSecrets": { + "items": { + "properties": { + "ignoreUpdates": { + "type": "boolean" + }, + "keys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/imagepolicy.k8s.io/deleteoptions_v1alpha1.json b/schemas/imagepolicy.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/imagepolicy.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/imagepolicy.k8s.io/watchevent_v1alpha1.json b/schemas/imagepolicy.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/imagepolicy.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/internal.apiserver.k8s.io/deleteoptions_v1alpha1.json b/schemas/internal.apiserver.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/internal.apiserver.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/internal.apiserver.k8s.io/storageversion_v1alpha1.json b/schemas/internal.apiserver.k8s.io/storageversion_v1alpha1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/internal.apiserver.k8s.io/storageversion_v1alpha1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/internal.apiserver.k8s.io/storageversionlist_v1alpha1.json b/schemas/internal.apiserver.k8s.io/storageversionlist_v1alpha1.json new file mode 100644 index 0000000..3ffd747 --- /dev/null +++ b/schemas/internal.apiserver.k8s.io/storageversionlist_v1alpha1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/internal.apiserver.k8s.io/watchevent_v1alpha1.json b/schemas/internal.apiserver.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/internal.apiserver.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/ipam.cluster.x-k8s.io/ipaddress_v1alpha1.json b/schemas/ipam.cluster.x-k8s.io/ipaddress_v1alpha1.json new file mode 100644 index 0000000..02a7406 --- /dev/null +++ b/schemas/ipam.cluster.x-k8s.io/ipaddress_v1alpha1.json @@ -0,0 +1,68 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "address": { + "maxLength": 39, + "minLength": 1, + "type": "string" + }, + "claimRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "gateway": { + "maxLength": 39, + "minLength": 1, + "type": "string" + }, + "poolRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "integer" + } + }, + "required": [ + "address", + "claimRef", + "poolRef", + "prefix" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/ipam.cluster.x-k8s.io/ipaddress_v1beta1.json b/schemas/ipam.cluster.x-k8s.io/ipaddress_v1beta1.json new file mode 100644 index 0000000..02a7406 --- /dev/null +++ b/schemas/ipam.cluster.x-k8s.io/ipaddress_v1beta1.json @@ -0,0 +1,68 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "address": { + "maxLength": 39, + "minLength": 1, + "type": "string" + }, + "claimRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "gateway": { + "maxLength": 39, + "minLength": 1, + "type": "string" + }, + "poolRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "integer" + } + }, + "required": [ + "address", + "claimRef", + "poolRef", + "prefix" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/ipam.cluster.x-k8s.io/ipaddressclaim_v1alpha1.json b/schemas/ipam.cluster.x-k8s.io/ipaddressclaim_v1alpha1.json new file mode 100644 index 0000000..dbebf6a --- /dev/null +++ b/schemas/ipam.cluster.x-k8s.io/ipaddressclaim_v1alpha1.json @@ -0,0 +1,96 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "poolRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "poolRef" + ], + "type": "object" + }, + "status": { + "properties": { + "addressRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/ipam.cluster.x-k8s.io/ipaddressclaim_v1beta1.json b/schemas/ipam.cluster.x-k8s.io/ipaddressclaim_v1beta1.json new file mode 100644 index 0000000..c23ad8c --- /dev/null +++ b/schemas/ipam.cluster.x-k8s.io/ipaddressclaim_v1beta1.json @@ -0,0 +1,158 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "poolRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "poolRef" + ], + "type": "object" + }, + "status": { + "properties": { + "addressRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "v1beta2": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k3s.cattle.io/addon_v1.json b/schemas/k3s.cattle.io/addon_v1.json new file mode 100644 index 0000000..fbd1b97 --- /dev/null +++ b/schemas/k3s.cattle.io/addon_v1.json @@ -0,0 +1,26 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "checksum": { + "type": "string" + }, + "source": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k3s.cattle.io/etcdsnapshotfile_v1.json b/schemas/k3s.cattle.io/etcdsnapshotfile_v1.json new file mode 100644 index 0000000..f565d51 --- /dev/null +++ b/schemas/k3s.cattle.io/etcdsnapshotfile_v1.json @@ -0,0 +1,105 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "location": { + "type": "string" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "nodeName": { + "type": "string" + }, + "s3": { + "properties": { + "bucket": { + "type": "string" + }, + "bucketLookup": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "endpointCA": { + "type": "string" + }, + "insecure": { + "type": "boolean" + }, + "prefix": { + "type": "string" + }, + "region": { + "type": "string" + }, + "skipSSLVerify": { + "type": "boolean" + } + }, + "type": "object" + }, + "snapshotName": { + "type": "string" + } + }, + "required": [ + "location", + "nodeName", + "snapshotName" + ], + "type": "object" + }, + "status": { + "properties": { + "creationTime": { + "format": "date-time", + "type": "string" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "time": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "readyToUse": { + "type": "boolean" + }, + "size": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k8up.io/archive_v1.json b/schemas/k8up.io/archive_v1.json new file mode 100644 index 0000000..d7b9148 --- /dev/null +++ b/schemas/k8up.io/archive_v1.json @@ -0,0 +1,827 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restoreFilter": { + "type": "string" + }, + "restoreMethod": { + "properties": { + "folder": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "snapshot": { + "type": "string" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "volumes": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "exclusive": { + "type": "boolean" + }, + "finished": { + "type": "boolean" + }, + "started": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k8up.io/backup_v1.json b/schemas/k8up.io/backup_v1.json new file mode 100644 index 0000000..ac9738f --- /dev/null +++ b/schemas/k8up.io/backup_v1.json @@ -0,0 +1,759 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "clusterName": { + "type": "string" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "labelSelectors": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "promURL": { + "type": "string" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "statsURL": { + "type": "string" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "volumes": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "exclusive": { + "type": "boolean" + }, + "finished": { + "type": "boolean" + }, + "started": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k8up.io/check_v1.json b/schemas/k8up.io/check_v1.json new file mode 100644 index 0000000..4f94c10 --- /dev/null +++ b/schemas/k8up.io/check_v1.json @@ -0,0 +1,711 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "clusterName": { + "type": "string" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "promURL": { + "type": "string" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + }, + "volumes": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "exclusive": { + "type": "boolean" + }, + "finished": { + "type": "boolean" + }, + "started": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k8up.io/podconfig_v1.json b/schemas/k8up.io/podconfig_v1.json new file mode 100644 index 0000000..a2363b0 --- /dev/null +++ b/schemas/k8up.io/podconfig_v1.json @@ -0,0 +1,5203 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "template": { + "properties": { + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "automountServiceAccountToken": { + "type": "boolean" + }, + "containers": { + "items": { + "properties": { + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "lifecycle": { + "properties": { + "postStart": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "preStop": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "livenessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "properties": { + "containerPort": { + "format": "int32", + "type": "integer" + }, + "hostIP": { + "type": "string" + }, + "hostPort": { + "format": "int32", + "type": "integer" + }, + "name": { + "type": "string" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "items": { + "properties": { + "resourceName": { + "type": "string" + }, + "restartPolicy": { + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "type": "string" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "startupProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "tty": { + "type": "boolean" + }, + "volumeDevices": { + "items": { + "properties": { + "devicePath": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "devicePath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "dnsConfig": { + "properties": { + "nameservers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "options": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "searches": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "dnsPolicy": { + "type": "string" + }, + "enableServiceLinks": { + "type": "boolean" + }, + "ephemeralContainers": { + "items": { + "properties": { + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "lifecycle": { + "properties": { + "postStart": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "preStop": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "livenessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "properties": { + "containerPort": { + "format": "int32", + "type": "integer" + }, + "hostIP": { + "type": "string" + }, + "hostPort": { + "format": "int32", + "type": "integer" + }, + "name": { + "type": "string" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "items": { + "properties": { + "resourceName": { + "type": "string" + }, + "restartPolicy": { + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "type": "string" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "startupProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "targetContainerName": { + "type": "string" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "tty": { + "type": "boolean" + }, + "volumeDevices": { + "items": { + "properties": { + "devicePath": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "devicePath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "hostAliases": { + "items": { + "properties": { + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "hostIPC": { + "type": "boolean" + }, + "hostNetwork": { + "type": "boolean" + }, + "hostPID": { + "type": "boolean" + }, + "hostUsers": { + "type": "boolean" + }, + "hostname": { + "type": "string" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + }, + "initContainers": { + "items": { + "properties": { + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "lifecycle": { + "properties": { + "postStart": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "preStop": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "livenessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "properties": { + "containerPort": { + "format": "int32", + "type": "integer" + }, + "hostIP": { + "type": "string" + }, + "hostPort": { + "format": "int32", + "type": "integer" + }, + "name": { + "type": "string" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "items": { + "properties": { + "resourceName": { + "type": "string" + }, + "restartPolicy": { + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "type": "string" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "startupProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "tty": { + "type": "boolean" + }, + "volumeDevices": { + "items": { + "properties": { + "devicePath": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "devicePath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "nodeName": { + "type": "string" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "os": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "overhead": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "preemptionPolicy": { + "type": "string" + }, + "priority": { + "format": "int32", + "type": "integer" + }, + "priorityClassName": { + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "type": "array" + }, + "resourceClaims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "source": { + "properties": { + "resourceClaimName": { + "type": "string" + }, + "resourceClaimTemplateName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "restartPolicy": { + "type": "string" + }, + "runtimeClassName": { + "type": "string" + }, + "schedulerName": { + "type": "string" + }, + "schedulingGates": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "securityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serviceAccount": { + "type": "string" + }, + "serviceAccountName": { + "type": "string" + }, + "setHostnameAsFQDN": { + "type": "boolean" + }, + "shareProcessNamespace": { + "type": "boolean" + }, + "subdomain": { + "type": "string" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "topologySpreadConstraints": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "format": "int32", + "type": "integer" + }, + "minDomains": { + "format": "int32", + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } + }, + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "topologyKey", + "whenUnsatisfiable" + ], + "x-kubernetes-list-type": "map" + }, + "volumes": { + "items": { + "properties": { + "awsElasticBlockStore": { + "properties": { + "fsType": { + "type": "string" + }, + "partition": { + "format": "int32", + "type": "integer" + }, + "readOnly": { + "type": "boolean" + }, + "volumeID": { + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "azureDisk": { + "properties": { + "cachingMode": { + "type": "string" + }, + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "diskName", + "diskURI" + ], + "type": "object" + }, + "azureFile": { + "properties": { + "readOnly": { + "type": "boolean" + }, + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + } + }, + "required": [ + "secretName", + "shareName" + ], + "type": "object" + }, + "cephfs": { + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "user": { + "type": "string" + } + }, + "required": [ + "monitors" + ], + "type": "object" + }, + "cinder": { + "properties": { + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "volumeID": { + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "csi": { + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "nodePublishSecretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "readOnly": { + "type": "boolean" + }, + "volumeAttributes": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "driver" + ], + "type": "object" + }, + "downwardAPI": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "emptyDir": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "ephemeral": { + "properties": { + "volumeClaimTemplate": { + "properties": { + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" + } + }, + "type": "object" + }, + "fc": { + "properties": { + "fsType": { + "type": "string" + }, + "lun": { + "format": "int32", + "type": "integer" + }, + "readOnly": { + "type": "boolean" + }, + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "flexVolume": { + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "options": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "driver" + ], + "type": "object" + }, + "flocker": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "type": "object" + }, + "gcePersistentDisk": { + "properties": { + "fsType": { + "type": "string" + }, + "partition": { + "format": "int32", + "type": "integer" + }, + "pdName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "pdName" + ], + "type": "object" + }, + "gitRepo": { + "properties": { + "directory": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + } + }, + "required": [ + "repository" + ], + "type": "object" + }, + "glusterfs": { + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "endpoints", + "path" + ], + "type": "object" + }, + "hostPath": { + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "iscsi": { + "properties": { + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "initiatorName": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "iscsiInterface": { + "type": "string" + }, + "lun": { + "format": "int32", + "type": "integer" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "targetPortal": { + "type": "string" + } + }, + "required": [ + "iqn", + "lun", + "targetPortal" + ], + "type": "object" + }, + "name": { + "type": "string" + }, + "nfs": { + "properties": { + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "server": { + "type": "string" + } + }, + "required": [ + "path", + "server" + ], + "type": "object" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "photonPersistentDisk": { + "properties": { + "fsType": { + "type": "string" + }, + "pdID": { + "type": "string" + } + }, + "required": [ + "pdID" + ], + "type": "object" + }, + "portworxVolume": { + "properties": { + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "volumeID": { + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "projected": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "sources": { + "items": { + "properties": { + "clusterTrustBundle": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + }, + "path": { + "type": "string" + }, + "signerName": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "configMap": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "properties": { + "items": { + "items": { + "properties": { + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "secret": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "format": "int64", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "quobyte": { + "properties": { + "group": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "registry": { + "type": "string" + }, + "tenant": { + "type": "string" + }, + "user": { + "type": "string" + }, + "volume": { + "type": "string" + } + }, + "required": [ + "registry", + "volume" + ], + "type": "object" + }, + "rbd": { + "properties": { + "fsType": { + "type": "string" + }, + "image": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pool": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "user": { + "type": "string" + } + }, + "required": [ + "image", + "monitors" + ], + "type": "object" + }, + "scaleIO": { + "properties": { + "fsType": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "protectionDomain": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sslEnabled": { + "type": "boolean" + }, + "storageMode": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "system": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "required": [ + "gateway", + "secretRef", + "system" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "storageos": { + "properties": { + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + } + }, + "type": "object" + }, + "vsphereVolume": { + "properties": { + "fsType": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "volumePath": { + "type": "string" + } + }, + "required": [ + "volumePath" + ], + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "containers" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "status": { + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k8up.io/prebackuppod_v1.json b/schemas/k8up.io/prebackuppod_v1.json new file mode 100644 index 0000000..24bcc37 --- /dev/null +++ b/schemas/k8up.io/prebackuppod_v1.json @@ -0,0 +1,5206 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "backupCommand": { + "type": "string" + }, + "fileExtension": { + "type": "string" + }, + "pod": { + "properties": { + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "automountServiceAccountToken": { + "type": "boolean" + }, + "containers": { + "items": { + "properties": { + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "lifecycle": { + "properties": { + "postStart": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "preStop": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "livenessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "properties": { + "containerPort": { + "format": "int32", + "type": "integer" + }, + "hostIP": { + "type": "string" + }, + "hostPort": { + "format": "int32", + "type": "integer" + }, + "name": { + "type": "string" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "items": { + "properties": { + "resourceName": { + "type": "string" + }, + "restartPolicy": { + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "type": "string" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "startupProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "tty": { + "type": "boolean" + }, + "volumeDevices": { + "items": { + "properties": { + "devicePath": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "devicePath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "dnsConfig": { + "properties": { + "nameservers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "options": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "searches": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "dnsPolicy": { + "type": "string" + }, + "enableServiceLinks": { + "type": "boolean" + }, + "ephemeralContainers": { + "items": { + "properties": { + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "lifecycle": { + "properties": { + "postStart": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "preStop": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "livenessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "properties": { + "containerPort": { + "format": "int32", + "type": "integer" + }, + "hostIP": { + "type": "string" + }, + "hostPort": { + "format": "int32", + "type": "integer" + }, + "name": { + "type": "string" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "items": { + "properties": { + "resourceName": { + "type": "string" + }, + "restartPolicy": { + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "type": "string" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "startupProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "targetContainerName": { + "type": "string" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "tty": { + "type": "boolean" + }, + "volumeDevices": { + "items": { + "properties": { + "devicePath": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "devicePath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "hostAliases": { + "items": { + "properties": { + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "hostIPC": { + "type": "boolean" + }, + "hostNetwork": { + "type": "boolean" + }, + "hostPID": { + "type": "boolean" + }, + "hostUsers": { + "type": "boolean" + }, + "hostname": { + "type": "string" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + }, + "initContainers": { + "items": { + "properties": { + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "lifecycle": { + "properties": { + "postStart": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "preStop": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "livenessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "properties": { + "containerPort": { + "format": "int32", + "type": "integer" + }, + "hostIP": { + "type": "string" + }, + "hostPort": { + "format": "int32", + "type": "integer" + }, + "name": { + "type": "string" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "items": { + "properties": { + "resourceName": { + "type": "string" + }, + "restartPolicy": { + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "type": "string" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "startupProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "tty": { + "type": "boolean" + }, + "volumeDevices": { + "items": { + "properties": { + "devicePath": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "devicePath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "nodeName": { + "type": "string" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "os": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "overhead": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "preemptionPolicy": { + "type": "string" + }, + "priority": { + "format": "int32", + "type": "integer" + }, + "priorityClassName": { + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "type": "array" + }, + "resourceClaims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "source": { + "properties": { + "resourceClaimName": { + "type": "string" + }, + "resourceClaimTemplateName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "restartPolicy": { + "type": "string" + }, + "runtimeClassName": { + "type": "string" + }, + "schedulerName": { + "type": "string" + }, + "schedulingGates": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "securityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serviceAccount": { + "type": "string" + }, + "serviceAccountName": { + "type": "string" + }, + "setHostnameAsFQDN": { + "type": "boolean" + }, + "shareProcessNamespace": { + "type": "boolean" + }, + "subdomain": { + "type": "string" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "topologySpreadConstraints": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "format": "int32", + "type": "integer" + }, + "minDomains": { + "format": "int32", + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } + }, + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "topologyKey", + "whenUnsatisfiable" + ], + "x-kubernetes-list-type": "map" + }, + "volumes": { + "items": { + "properties": { + "awsElasticBlockStore": { + "properties": { + "fsType": { + "type": "string" + }, + "partition": { + "format": "int32", + "type": "integer" + }, + "readOnly": { + "type": "boolean" + }, + "volumeID": { + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "azureDisk": { + "properties": { + "cachingMode": { + "type": "string" + }, + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "diskName", + "diskURI" + ], + "type": "object" + }, + "azureFile": { + "properties": { + "readOnly": { + "type": "boolean" + }, + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + } + }, + "required": [ + "secretName", + "shareName" + ], + "type": "object" + }, + "cephfs": { + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "user": { + "type": "string" + } + }, + "required": [ + "monitors" + ], + "type": "object" + }, + "cinder": { + "properties": { + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "volumeID": { + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "csi": { + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "nodePublishSecretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "readOnly": { + "type": "boolean" + }, + "volumeAttributes": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "driver" + ], + "type": "object" + }, + "downwardAPI": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "emptyDir": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "ephemeral": { + "properties": { + "volumeClaimTemplate": { + "properties": { + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" + } + }, + "type": "object" + }, + "fc": { + "properties": { + "fsType": { + "type": "string" + }, + "lun": { + "format": "int32", + "type": "integer" + }, + "readOnly": { + "type": "boolean" + }, + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "flexVolume": { + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "options": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "driver" + ], + "type": "object" + }, + "flocker": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "type": "object" + }, + "gcePersistentDisk": { + "properties": { + "fsType": { + "type": "string" + }, + "partition": { + "format": "int32", + "type": "integer" + }, + "pdName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "pdName" + ], + "type": "object" + }, + "gitRepo": { + "properties": { + "directory": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + } + }, + "required": [ + "repository" + ], + "type": "object" + }, + "glusterfs": { + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "endpoints", + "path" + ], + "type": "object" + }, + "hostPath": { + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "iscsi": { + "properties": { + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "initiatorName": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "iscsiInterface": { + "type": "string" + }, + "lun": { + "format": "int32", + "type": "integer" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "targetPortal": { + "type": "string" + } + }, + "required": [ + "iqn", + "lun", + "targetPortal" + ], + "type": "object" + }, + "name": { + "type": "string" + }, + "nfs": { + "properties": { + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "server": { + "type": "string" + } + }, + "required": [ + "path", + "server" + ], + "type": "object" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "photonPersistentDisk": { + "properties": { + "fsType": { + "type": "string" + }, + "pdID": { + "type": "string" + } + }, + "required": [ + "pdID" + ], + "type": "object" + }, + "portworxVolume": { + "properties": { + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "volumeID": { + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "projected": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "sources": { + "items": { + "properties": { + "clusterTrustBundle": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + }, + "path": { + "type": "string" + }, + "signerName": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "configMap": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "properties": { + "items": { + "items": { + "properties": { + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "secret": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "format": "int64", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "quobyte": { + "properties": { + "group": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "registry": { + "type": "string" + }, + "tenant": { + "type": "string" + }, + "user": { + "type": "string" + }, + "volume": { + "type": "string" + } + }, + "required": [ + "registry", + "volume" + ], + "type": "object" + }, + "rbd": { + "properties": { + "fsType": { + "type": "string" + }, + "image": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pool": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "user": { + "type": "string" + } + }, + "required": [ + "image", + "monitors" + ], + "type": "object" + }, + "scaleIO": { + "properties": { + "fsType": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "protectionDomain": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sslEnabled": { + "type": "boolean" + }, + "storageMode": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "system": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "required": [ + "gateway", + "secretRef", + "system" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "storageos": { + "properties": { + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + } + }, + "type": "object" + }, + "vsphereVolume": { + "properties": { + "fsType": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "volumePath": { + "type": "string" + } + }, + "required": [ + "volumePath" + ], + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "containers" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k8up.io/prune_v1.json b/schemas/k8up.io/prune_v1.json new file mode 100644 index 0000000..2c1e7f9 --- /dev/null +++ b/schemas/k8up.io/prune_v1.json @@ -0,0 +1,746 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "retention": { + "properties": { + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "keepDaily": { + "type": "integer" + }, + "keepHourly": { + "type": "integer" + }, + "keepLast": { + "type": "integer" + }, + "keepMonthly": { + "type": "integer" + }, + "keepTags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "keepWeekly": { + "type": "integer" + }, + "keepYearly": { + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + }, + "volumes": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "exclusive": { + "type": "boolean" + }, + "finished": { + "type": "boolean" + }, + "started": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k8up.io/restore_v1.json b/schemas/k8up.io/restore_v1.json new file mode 100644 index 0000000..d7b9148 --- /dev/null +++ b/schemas/k8up.io/restore_v1.json @@ -0,0 +1,827 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restoreFilter": { + "type": "string" + }, + "restoreMethod": { + "properties": { + "folder": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "snapshot": { + "type": "string" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "volumes": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "exclusive": { + "type": "boolean" + }, + "finished": { + "type": "boolean" + }, + "started": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k8up.io/schedule_v1.json b/schemas/k8up.io/schedule_v1.json new file mode 100644 index 0000000..2617543 --- /dev/null +++ b/schemas/k8up.io/schedule_v1.json @@ -0,0 +1,4123 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "archive": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "concurrentRunsAllowed": { + "type": "boolean" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restoreFilter": { + "type": "string" + }, + "restoreMethod": { + "properties": { + "folder": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "schedule": { + "type": "string" + }, + "snapshot": { + "type": "string" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "volumes": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "backup": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "clusterName": { + "type": "string" + }, + "concurrentRunsAllowed": { + "type": "boolean" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "labelSelectors": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "promURL": { + "type": "string" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "schedule": { + "type": "string" + }, + "statsURL": { + "type": "string" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "volumes": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "check": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "clusterName": { + "type": "string" + }, + "concurrentRunsAllowed": { + "type": "boolean" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "promURL": { + "type": "string" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "schedule": { + "type": "string" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + }, + "volumes": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "prune": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "concurrentRunsAllowed": { + "type": "boolean" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "retention": { + "properties": { + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "keepDaily": { + "type": "integer" + }, + "keepHourly": { + "type": "integer" + }, + "keepLast": { + "type": "integer" + }, + "keepMonthly": { + "type": "integer" + }, + "keepTags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "keepWeekly": { + "type": "integer" + }, + "keepYearly": { + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "schedule": { + "type": "string" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + }, + "volumes": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "resourceRequirementsTemplate": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restore": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "backend": { + "properties": { + "azure": { + "properties": { + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountNameSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "b2": { + "properties": { + "accountIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "accountKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "gcs": { + "properties": { + "accessTokenSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "projectIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "local": { + "properties": { + "mountPath": { + "type": "string" + } + }, + "type": "object" + }, + "repoPasswordSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rest": { + "properties": { + "passwordSecretReg": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + }, + "userSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "swift": { + "properties": { + "container": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "concurrentRunsAllowed": { + "type": "boolean" + }, + "failedJobsHistoryLimit": { + "type": "integer" + }, + "keepJobs": { + "type": "integer" + }, + "podConfigRef": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSecurityContext": { + "properties": { + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restoreFilter": { + "type": "string" + }, + "restoreMethod": { + "properties": { + "folder": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "s3": { + "properties": { + "accessKeyIDSecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "tlsOptions": { + "properties": { + "caCert": { + "type": "string" + }, + "clientCert": { + "type": "string" + }, + "clientKey": { + "type": "string" + } + }, + "type": "object" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "schedule": { + "type": "string" + }, + "snapshot": { + "type": "string" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "volumes": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "successfulJobsHistoryLimit": { + "type": "integer" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "effectiveSchedules": { + "items": { + "properties": { + "generatedSchedule": { + "type": "string" + }, + "jobType": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/k8up.io/snapshot_v1.json b/schemas/k8up.io/snapshot_v1.json new file mode 100644 index 0000000..bcee852 --- /dev/null +++ b/schemas/k8up.io/snapshot_v1.json @@ -0,0 +1,39 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "paths": { + "items": { + "type": "string" + }, + "type": "array" + }, + "repository": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/kibana.k8s.elastic.co/kibana_v1.json b/schemas/kibana.k8s.elastic.co/kibana_v1.json new file mode 100644 index 0000000..f2a8e5f --- /dev/null +++ b/schemas/kibana.k8s.elastic.co/kibana_v1.json @@ -0,0 +1,422 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "count": { + "format": "int32", + "type": "integer" + }, + "elasticsearchRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "enterpriseSearchRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "http": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "monitoring": { + "properties": { + "logs": { + "properties": { + "elasticsearchRefs": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "metrics": { + "properties": { + "elasticsearchRefs": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array" + }, + "serviceAccountName": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "version" + ], + "type": "object" + }, + "status": { + "properties": { + "associationStatus": { + "type": "string" + }, + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "elasticsearchAssociationStatus": { + "type": "string" + }, + "enterpriseSearchAssociationStatus": { + "type": "string" + }, + "health": { + "type": "string" + }, + "monitoringAssociationStatus": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "selector": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/kibana.k8s.elastic.co/kibana_v1alpha1.json b/schemas/kibana.k8s.elastic.co/kibana_v1alpha1.json new file mode 100644 index 0000000..41f7668 --- /dev/null +++ b/schemas/kibana.k8s.elastic.co/kibana_v1alpha1.json @@ -0,0 +1,15 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/kibana.k8s.elastic.co/kibana_v1beta1.json b/schemas/kibana.k8s.elastic.co/kibana_v1beta1.json new file mode 100644 index 0000000..10bc7f4 --- /dev/null +++ b/schemas/kibana.k8s.elastic.co/kibana_v1beta1.json @@ -0,0 +1,311 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "count": { + "format": "int32", + "type": "integer" + }, + "elasticsearchRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "http": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "associationStatus": { + "type": "string" + }, + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "health": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/limitrange_v1.json b/schemas/limitrange_v1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/limitrange_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/limitrangelist_v1.json b/schemas/limitrangelist_v1.json new file mode 100644 index 0000000..e4a2622 --- /dev/null +++ b/schemas/limitrangelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/logstash.k8s.elastic.co/logstash_v1alpha1.json b/schemas/logstash.k8s.elastic.co/logstash_v1alpha1.json new file mode 100644 index 0000000..3239236 --- /dev/null +++ b/schemas/logstash.k8s.elastic.co/logstash_v1alpha1.json @@ -0,0 +1,757 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "configRef": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "elasticsearchRefs": { + "items": { + "properties": { + "clusterName": { + "minLength": 1, + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "required": [ + "clusterName" + ], + "type": "object" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "monitoring": { + "properties": { + "logs": { + "properties": { + "elasticsearchRefs": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "metrics": { + "properties": { + "elasticsearchRefs": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "pipelines": { + "items": { + "type": "object" + }, + "type": "array", + "x-kubernetes-preserve-unknown-fields": true + }, + "pipelinesRef": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array" + }, + "serviceAccountName": { + "type": "string" + }, + "services": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "updateStrategy": { + "properties": { + "rollingUpdate": { + "properties": { + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "partition": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "version": { + "type": "string" + }, + "volumeClaimTemplates": { + "items": { + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "allocatedResourceStatuses": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "granular" + }, + "allocatedResources": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "capacity": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "conditions": { + "items": { + "properties": { + "lastProbeTime": { + "format": "date-time", + "type": "string" + }, + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "currentVolumeAttributesClassName": { + "type": "string" + }, + "modifyVolumeStatus": { + "properties": { + "status": { + "type": "string" + }, + "targetVolumeAttributesClassName": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "phase": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "version" + ], + "type": "object" + }, + "status": { + "properties": { + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "elasticsearchAssociationsStatus": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "expectedNodes": { + "format": "int32", + "type": "integer" + }, + "health": { + "type": "string" + }, + "monitoringAssociationStatus": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "selector": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "selector" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/apiservice_v3.json b/schemas/management.cattle.io/apiservice_v3.json new file mode 100644 index 0000000..1e377e6 --- /dev/null +++ b/schemas/management.cattle.io/apiservice_v3.json @@ -0,0 +1,57 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "pathPrefixes": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "paths": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "secretName": { + "nullable": true, + "type": "string" + }, + "secretNamespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "serviceAccountName": { + "nullable": true, + "type": "string" + }, + "serviceAccountNamespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/authconfig_v3.json b/schemas/management.cattle.io/authconfig_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/authconfig_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/cluster_v3.json b/schemas/management.cattle.io/cluster_v3.json new file mode 100644 index 0000000..f7a109e --- /dev/null +++ b/schemas/management.cattle.io/cluster_v3.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/clusterproxyconfig_v3.json b/schemas/management.cattle.io/clusterproxyconfig_v3.json new file mode 100644 index 0000000..da48e1b --- /dev/null +++ b/schemas/management.cattle.io/clusterproxyconfig_v3.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "required": [ + "enabled" + ], + "type": "object" +} diff --git a/schemas/management.cattle.io/clusterregistrationtoken_v3.json b/schemas/management.cattle.io/clusterregistrationtoken_v3.json new file mode 100644 index 0000000..183f014 --- /dev/null +++ b/schemas/management.cattle.io/clusterregistrationtoken_v3.json @@ -0,0 +1,61 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "command": { + "nullable": true, + "type": "string" + }, + "insecureCommand": { + "nullable": true, + "type": "string" + }, + "insecureNodeCommand": { + "nullable": true, + "type": "string" + }, + "insecureWindowsNodeCommand": { + "nullable": true, + "type": "string" + }, + "manifestUrl": { + "nullable": true, + "type": "string" + }, + "nodeCommand": { + "nullable": true, + "type": "string" + }, + "token": { + "nullable": true, + "type": "string" + }, + "windowsNodeCommand": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/clusterroletemplatebinding_v3.json b/schemas/management.cattle.io/clusterroletemplatebinding_v3.json new file mode 100644 index 0000000..af65d20 --- /dev/null +++ b/schemas/management.cattle.io/clusterroletemplatebinding_v3.json @@ -0,0 +1,156 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "clusterName": { + "type": "string" + }, + "groupName": { + "type": "string" + }, + "groupPrincipalName": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "roleTemplateName": { + "type": "string" + }, + "status": { + "properties": { + "lastUpdateTime": { + "type": "string" + }, + "localConditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "observedGenerationLocal": { + "format": "int64", + "type": "integer" + }, + "observedGenerationRemote": { + "format": "int64", + "type": "integer" + }, + "remoteConditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "summary": { + "type": "string" + }, + "summaryLocal": { + "type": "string" + }, + "summaryRemote": { + "type": "string" + } + }, + "type": "object" + }, + "userName": { + "type": "string" + }, + "userPrincipalName": { + "type": "string" + } + }, + "required": [ + "clusterName", + "roleTemplateName" + ], + "type": "object" +} diff --git a/schemas/management.cattle.io/composeconfig_v3.json b/schemas/management.cattle.io/composeconfig_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/composeconfig_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/dynamicschema_v3.json b/schemas/management.cattle.io/dynamicschema_v3.json new file mode 100644 index 0000000..32f75eb --- /dev/null +++ b/schemas/management.cattle.io/dynamicschema_v3.json @@ -0,0 +1,262 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "collectionActions": { + "additionalProperties": { + "properties": { + "input": { + "type": "string" + }, + "output": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + }, + "collectionFields": { + "additionalProperties": { + "properties": { + "create": { + "type": "boolean" + }, + "default": { + "properties": { + "boolValue": { + "type": "boolean" + }, + "intValue": { + "type": "integer" + }, + "stringSliceValue": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "stringValue": { + "type": "string" + } + }, + "type": "object" + }, + "dynamicField": { + "type": "boolean" + }, + "invalidChars": { + "type": "string" + }, + "max": { + "format": "int64", + "type": "integer" + }, + "maxLength": { + "format": "int64", + "type": "integer" + }, + "min": { + "format": "int64", + "type": "integer" + }, + "minLength": { + "format": "int64", + "type": "integer" + }, + "nullable": { + "type": "boolean" + }, + "options": { + "items": { + "type": "string" + }, + "type": "array" + }, + "required": { + "type": "boolean" + }, + "type": { + "type": "string" + }, + "unique": { + "type": "boolean" + }, + "update": { + "type": "boolean" + }, + "validChars": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + }, + "collectionFilters": { + "additionalProperties": { + "properties": { + "modifiers": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "object" + }, + "collectionMethods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "dynamicSchemaVersion": { + "type": "string" + }, + "embed": { + "type": "boolean" + }, + "embedType": { + "type": "string" + }, + "includeableLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pluralName": { + "type": "string" + }, + "resourceActions": { + "additionalProperties": { + "properties": { + "input": { + "type": "string" + }, + "output": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + }, + "resourceFields": { + "additionalProperties": { + "properties": { + "create": { + "type": "boolean" + }, + "default": { + "properties": { + "boolValue": { + "type": "boolean" + }, + "intValue": { + "type": "integer" + }, + "stringSliceValue": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "stringValue": { + "type": "string" + } + }, + "type": "object" + }, + "dynamicField": { + "type": "boolean" + }, + "invalidChars": { + "type": "string" + }, + "max": { + "format": "int64", + "type": "integer" + }, + "maxLength": { + "format": "int64", + "type": "integer" + }, + "min": { + "format": "int64", + "type": "integer" + }, + "minLength": { + "format": "int64", + "type": "integer" + }, + "nullable": { + "type": "boolean" + }, + "options": { + "items": { + "type": "string" + }, + "type": "array" + }, + "required": { + "type": "boolean" + }, + "type": { + "type": "string" + }, + "unique": { + "type": "boolean" + }, + "update": { + "type": "boolean" + }, + "validChars": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + }, + "resourceMethods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemaName": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "fake": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/management.cattle.io/feature_v3.json b/schemas/management.cattle.io/feature_v3.json new file mode 100644 index 0000000..b4f62a4 --- /dev/null +++ b/schemas/management.cattle.io/feature_v3.json @@ -0,0 +1,39 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "value": { + "nullable": true, + "type": "boolean" + } + }, + "type": "object" + }, + "status": { + "properties": { + "default": { + "type": "boolean" + }, + "dynamic": { + "type": "boolean" + }, + "lockedValue": { + "nullable": true, + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/fleetworkspace_v3.json b/schemas/management.cattle.io/fleetworkspace_v3.json new file mode 100644 index 0000000..adf50e5 --- /dev/null +++ b/schemas/management.cattle.io/fleetworkspace_v3.json @@ -0,0 +1,18 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "status": { + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/globalrole_v3.json b/schemas/management.cattle.io/globalrole_v3.json new file mode 100644 index 0000000..f7e80f1 --- /dev/null +++ b/schemas/management.cattle.io/globalrole_v3.json @@ -0,0 +1,244 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "builtin": { + "type": "boolean" + }, + "displayName": { + "type": "string" + }, + "inheritedClusterRoles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "inheritedFleetWorkspacePermissions": { + "properties": { + "resourceRules": { + "items": { + "properties": { + "apiGroups": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "nonResourceURLs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resourceNames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "verbs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "verbs" + ], + "type": "object" + }, + "type": "array" + }, + "workspaceVerbs": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "namespacedRules": { + "additionalProperties": { + "items": { + "properties": { + "apiGroups": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "nonResourceURLs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resourceNames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "verbs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "verbs" + ], + "type": "object" + }, + "type": "array" + }, + "type": "object" + }, + "newUserDefault": { + "type": "boolean" + }, + "rules": { + "items": { + "properties": { + "apiGroups": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "nonResourceURLs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resourceNames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "verbs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "verbs" + ], + "type": "object" + }, + "type": "array" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdateTime": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "summary": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/globalrolebinding_v3.json b/schemas/management.cattle.io/globalrolebinding_v3.json new file mode 100644 index 0000000..92ec66d --- /dev/null +++ b/schemas/management.cattle.io/globalrolebinding_v3.json @@ -0,0 +1,149 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "globalRoleName": { + "type": "string" + }, + "groupPrincipalName": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "status": { + "properties": { + "lastUpdateTime": { + "type": "string" + }, + "localConditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "observedGenerationLocal": { + "format": "int64", + "type": "integer" + }, + "observedGenerationRemote": { + "format": "int64", + "type": "integer" + }, + "remoteConditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "summary": { + "type": "string" + }, + "summaryLocal": { + "type": "string" + }, + "summaryRemote": { + "type": "string" + } + }, + "type": "object" + }, + "userName": { + "type": "string" + }, + "userPrincipalName": { + "type": "string" + } + }, + "required": [ + "globalRoleName" + ], + "type": "object" +} diff --git a/schemas/management.cattle.io/group_v3.json b/schemas/management.cattle.io/group_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/group_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/groupmember_v3.json b/schemas/management.cattle.io/groupmember_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/groupmember_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/kontainerdriver_v3.json b/schemas/management.cattle.io/kontainerdriver_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/kontainerdriver_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/managedchart_v3.json b/schemas/management.cattle.io/managedchart_v3.json new file mode 100644 index 0000000..440be13 --- /dev/null +++ b/schemas/management.cattle.io/managedchart_v3.json @@ -0,0 +1,1050 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "chart": { + "nullable": true, + "type": "string" + }, + "defaultNamespace": { + "nullable": true, + "type": "string" + }, + "diff": { + "nullable": true, + "properties": { + "comparePatches": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "jsonPointers": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "operations": { + "items": { + "properties": { + "op": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "force": { + "type": "boolean" + }, + "maxHistory": { + "type": "integer" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "paused": { + "type": "boolean" + }, + "releaseName": { + "nullable": true, + "type": "string" + }, + "repoName": { + "nullable": true, + "type": "string" + }, + "rolloutStrategy": { + "nullable": true, + "properties": { + "autoPartitionSize": { + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "maxUnavailablePartitions": { + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "partitions": { + "items": { + "properties": { + "clusterGroup": { + "nullable": true, + "type": "string" + }, + "clusterGroupSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "operator": { + "nullable": true, + "type": "string" + }, + "values": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "clusterName": { + "nullable": true, + "type": "string" + }, + "clusterSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "operator": { + "nullable": true, + "type": "string" + }, + "values": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "maxUnavailable": { + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "serviceAccount": { + "nullable": true, + "type": "string" + }, + "takeOwnership": { + "type": "boolean" + }, + "targets": { + "items": { + "properties": { + "clusterGroup": { + "nullable": true, + "type": "string" + }, + "clusterGroupSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "operator": { + "nullable": true, + "type": "string" + }, + "values": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "clusterName": { + "nullable": true, + "type": "string" + }, + "clusterSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "operator": { + "nullable": true, + "type": "string" + }, + "values": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "correctDrift": { + "nullable": true, + "properties": { + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "keepFailHistory": { + "type": "boolean" + } + }, + "type": "object" + }, + "defaultNamespace": { + "nullable": true, + "type": "string" + }, + "deleteCRDResources": { + "type": "boolean" + }, + "deleteNamespace": { + "type": "boolean" + }, + "diff": { + "nullable": true, + "properties": { + "comparePatches": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "jsonPointers": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "operations": { + "items": { + "properties": { + "op": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "doNotDeploy": { + "type": "boolean" + }, + "downstreamResources": { + "items": { + "properties": { + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "forceSyncGeneration": { + "type": "integer" + }, + "helm": { + "nullable": true, + "properties": { + "atomic": { + "type": "boolean" + }, + "chart": { + "nullable": true, + "type": "string" + }, + "disableDNS": { + "type": "boolean" + }, + "disableDependencyUpdate": { + "type": "boolean" + }, + "disablePreProcess": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "maxHistory": { + "type": "integer" + }, + "releaseName": { + "nullable": true, + "type": "string" + }, + "repo": { + "nullable": true, + "type": "string" + }, + "skipSchemaValidation": { + "type": "boolean" + }, + "takeOwnership": { + "type": "boolean" + }, + "templateValues": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "timeoutSeconds": { + "type": "integer" + }, + "values": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "valuesFiles": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "valuesFrom": { + "items": { + "properties": { + "configMapKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "secretKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "version": { + "nullable": true, + "type": "string" + }, + "waitForJobs": { + "type": "boolean" + } + }, + "type": "object" + }, + "ignore": { + "nullable": true, + "properties": { + "conditions": { + "items": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "keepResources": { + "type": "boolean" + }, + "kustomize": { + "nullable": true, + "properties": { + "dir": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "namespaceAnnotations": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "namespaceLabels": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "serviceAccount": { + "nullable": true, + "type": "string" + }, + "yaml": { + "nullable": true, + "properties": { + "overlays": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "timeoutSeconds": { + "type": "integer" + }, + "values": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "version": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "nullable": true, + "type": "string" + }, + "lastUpdateTime": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "reason": { + "nullable": true, + "type": "string" + }, + "status": { + "nullable": true, + "type": "string" + }, + "type": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "display": { + "properties": { + "readyClusters": { + "nullable": true, + "type": "string" + }, + "state": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "maxNew": { + "type": "integer" + }, + "maxUnavailable": { + "type": "integer" + }, + "maxUnavailablePartitions": { + "type": "integer" + }, + "newlyCreated": { + "type": "integer" + }, + "observedGeneration": { + "type": "integer" + }, + "ociReference": { + "nullable": true, + "type": "string" + }, + "partitions": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "maxUnavailable": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "errApplied": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "nonReadyResources": { + "items": { + "properties": { + "bundleState": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "modifiedStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "delete": { + "type": "boolean" + }, + "exist": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "missing": { + "type": "boolean" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "patch": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "nullable": true, + "type": "string" + }, + "nonReadyStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "state": { + "nullable": true, + "type": "string" + }, + "transitioning": { + "type": "boolean" + } + }, + "type": "object" + }, + "uid": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "notReady": { + "type": "integer" + }, + "outOfSync": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "unavailable": { + "type": "integer" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "resourceKey": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "resourcesSha256Sum": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "desiredReady": { + "type": "integer" + }, + "errApplied": { + "type": "integer" + }, + "modified": { + "type": "integer" + }, + "nonReadyResources": { + "items": { + "properties": { + "bundleState": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "modifiedStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "delete": { + "type": "boolean" + }, + "exist": { + "type": "boolean" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "missing": { + "type": "boolean" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "patch": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "nullable": true, + "type": "string" + }, + "nonReadyStatus": { + "items": { + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "kind": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "summary": { + "properties": { + "error": { + "type": "boolean" + }, + "message": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "state": { + "nullable": true, + "type": "string" + }, + "transitioning": { + "type": "boolean" + } + }, + "type": "object" + }, + "uid": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "notReady": { + "type": "integer" + }, + "outOfSync": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "ready": { + "type": "integer" + }, + "waitApplied": { + "type": "integer" + } + }, + "type": "object" + }, + "unavailable": { + "type": "integer" + }, + "unavailablePartitions": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/node_v3.json b/schemas/management.cattle.io/node_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/node_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/nodedriver_v3.json b/schemas/management.cattle.io/nodedriver_v3.json new file mode 100644 index 0000000..1c3a160 --- /dev/null +++ b/schemas/management.cattle.io/nodedriver_v3.json @@ -0,0 +1,122 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "active": { + "type": "boolean" + }, + "addCloudCredential": { + "type": "boolean" + }, + "builtin": { + "type": "boolean" + }, + "checksum": { + "maxLength": 128, + "pattern": "^$|^[a-fA-F0-9]{32,128}$", + "type": "string" + }, + "displayName": { + "maxLength": 57, + "type": "string" + }, + "externalId": { + "type": "string" + }, + "uiUrl": { + "type": "string" + }, + "url": { + "type": "string" + }, + "whitelistDomains": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "active", + "url" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Checksum must be an md5, sha1, sha256, or sha512 digest.", + "rule": "!has(self.checksum) || (self.checksum.size() in [0, 32, 40, 64, 128])" + } + ] + }, + "status": { + "properties": { + "appliedChecksum": { + "type": "string" + }, + "appliedDockerMachineVersion": { + "type": "string" + }, + "appliedURL": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "reason": { + "maxLength": 1024, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/management.cattle.io/nodepool_v3.json b/schemas/management.cattle.io/nodepool_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/nodepool_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/podsecurityadmissionconfigurationtemplate_v3.json b/schemas/management.cattle.io/podsecurityadmissionconfigurationtemplate_v3.json new file mode 100644 index 0000000..3c1899e --- /dev/null +++ b/schemas/management.cattle.io/podsecurityadmissionconfigurationtemplate_v3.json @@ -0,0 +1,78 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "configuration": { + "properties": { + "defaults": { + "properties": { + "audit": { + "nullable": true, + "type": "string" + }, + "audit-version": { + "nullable": true, + "type": "string" + }, + "enforce": { + "nullable": true, + "type": "string" + }, + "enforce-version": { + "nullable": true, + "type": "string" + }, + "warn": { + "nullable": true, + "type": "string" + }, + "warn-version": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "exemptions": { + "properties": { + "namespaces": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "runtimeClasses": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "usernames": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/preference_v3.json b/schemas/management.cattle.io/preference_v3.json new file mode 100644 index 0000000..2f31866 --- /dev/null +++ b/schemas/management.cattle.io/preference_v3.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/project_v3.json b/schemas/management.cattle.io/project_v3.json new file mode 100644 index 0000000..9d7d18a --- /dev/null +++ b/schemas/management.cattle.io/project_v3.json @@ -0,0 +1,227 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "type": "string" + }, + "containerDefaultResourceLimit": { + "properties": { + "limitsCpu": { + "type": "string" + }, + "limitsMemory": { + "type": "string" + }, + "requestsCpu": { + "type": "string" + }, + "requestsMemory": { + "type": "string" + } + }, + "type": "object" + }, + "displayName": { + "type": "string" + }, + "namespaceDefaultResourceQuota": { + "properties": { + "limit": { + "properties": { + "configMaps": { + "type": "string" + }, + "limitsCpu": { + "type": "string" + }, + "limitsMemory": { + "type": "string" + }, + "persistentVolumeClaims": { + "type": "string" + }, + "pods": { + "type": "string" + }, + "replicationControllers": { + "type": "string" + }, + "requestsCpu": { + "type": "string" + }, + "requestsMemory": { + "type": "string" + }, + "requestsStorage": { + "type": "string" + }, + "secrets": { + "type": "string" + }, + "services": { + "type": "string" + }, + "servicesLoadBalancers": { + "type": "string" + }, + "servicesNodePorts": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "resourceQuota": { + "properties": { + "limit": { + "properties": { + "configMaps": { + "type": "string" + }, + "limitsCpu": { + "type": "string" + }, + "limitsMemory": { + "type": "string" + }, + "persistentVolumeClaims": { + "type": "string" + }, + "pods": { + "type": "string" + }, + "replicationControllers": { + "type": "string" + }, + "requestsCpu": { + "type": "string" + }, + "requestsMemory": { + "type": "string" + }, + "requestsStorage": { + "type": "string" + }, + "secrets": { + "type": "string" + }, + "services": { + "type": "string" + }, + "servicesLoadBalancers": { + "type": "string" + }, + "servicesNodePorts": { + "type": "string" + } + }, + "type": "object" + }, + "usedLimit": { + "properties": { + "configMaps": { + "type": "string" + }, + "limitsCpu": { + "type": "string" + }, + "limitsMemory": { + "type": "string" + }, + "persistentVolumeClaims": { + "type": "string" + }, + "pods": { + "type": "string" + }, + "replicationControllers": { + "type": "string" + }, + "requestsCpu": { + "type": "string" + }, + "requestsMemory": { + "type": "string" + }, + "requestsStorage": { + "type": "string" + }, + "secrets": { + "type": "string" + }, + "services": { + "type": "string" + }, + "servicesLoadBalancers": { + "type": "string" + }, + "servicesNodePorts": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "displayName" + ], + "type": "object" + }, + "status": { + "properties": { + "backingNamespace": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/projectnetworkpolicy_v3.json b/schemas/management.cattle.io/projectnetworkpolicy_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/projectnetworkpolicy_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/projectroletemplatebinding_v3.json b/schemas/management.cattle.io/projectroletemplatebinding_v3.json new file mode 100644 index 0000000..6f329dd --- /dev/null +++ b/schemas/management.cattle.io/projectroletemplatebinding_v3.json @@ -0,0 +1,40 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "groupName": { + "type": "string" + }, + "groupPrincipalName": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "projectName": { + "type": "string" + }, + "roleTemplateName": { + "type": "string" + }, + "serviceAccount": { + "type": "string" + }, + "userName": { + "type": "string" + }, + "userPrincipalName": { + "type": "string" + } + }, + "required": [ + "projectName", + "roleTemplateName" + ], + "type": "object" +} diff --git a/schemas/management.cattle.io/rancherusernotification_v3.json b/schemas/management.cattle.io/rancherusernotification_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/rancherusernotification_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/roletemplate_v3.json b/schemas/management.cattle.io/roletemplate_v3.json new file mode 100644 index 0000000..e0f87a8 --- /dev/null +++ b/schemas/management.cattle.io/roletemplate_v3.json @@ -0,0 +1,145 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "administrative": { + "type": "boolean" + }, + "apiVersion": { + "type": "string" + }, + "builtin": { + "type": "boolean" + }, + "clusterCreatorDefault": { + "type": "boolean" + }, + "context": { + "enum": [ + "project", + "cluster", + "" + ], + "type": "string" + }, + "displayName": { + "type": "string" + }, + "external": { + "type": "boolean" + }, + "externalRules": { + "items": { + "properties": { + "apiGroups": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "nonResourceURLs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resourceNames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "verbs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "verbs" + ], + "type": "object" + }, + "type": "array" + }, + "hidden": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "metadata": { + "type": "object" + }, + "projectCreatorDefault": { + "type": "boolean" + }, + "roleTemplateNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "rules": { + "items": { + "properties": { + "apiGroups": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "nonResourceURLs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resourceNames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "verbs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "verbs" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/samltoken_v3.json b/schemas/management.cattle.io/samltoken_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/samltoken_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/setting_v3.json b/schemas/management.cattle.io/setting_v3.json new file mode 100644 index 0000000..7cc9f5b --- /dev/null +++ b/schemas/management.cattle.io/setting_v3.json @@ -0,0 +1,30 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "customized": { + "type": "boolean" + }, + "default": { + "nullable": true, + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "source": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/token_v3.json b/schemas/management.cattle.io/token_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/token_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/management.cattle.io/user_v3.json b/schemas/management.cattle.io/user_v3.json new file mode 100644 index 0000000..9d37cca --- /dev/null +++ b/schemas/management.cattle.io/user_v3.json @@ -0,0 +1,74 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "me": { + "type": "boolean" + }, + "metadata": { + "type": "object" + }, + "mustChangePassword": { + "type": "boolean" + }, + "password": { + "type": "string" + }, + "principalIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "username": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/management.cattle.io/userattribute_v3.json b/schemas/management.cattle.io/userattribute_v3.json new file mode 100644 index 0000000..9e0c823 --- /dev/null +++ b/schemas/management.cattle.io/userattribute_v3.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true +} diff --git a/schemas/maps.k8s.elastic.co/elasticmapsserver_v1alpha1.json b/schemas/maps.k8s.elastic.co/elasticmapsserver_v1alpha1.json new file mode 100644 index 0000000..ae4eef4 --- /dev/null +++ b/schemas/maps.k8s.elastic.co/elasticmapsserver_v1alpha1.json @@ -0,0 +1,315 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "configRef": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "elasticsearchRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "serviceName": { + "type": "string" + } + }, + "type": "object" + }, + "http": { + "properties": { + "service": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "tls": { + "properties": { + "certificate": { + "properties": { + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "selfSignedCertificate": { + "properties": { + "disabled": { + "type": "boolean" + }, + "subjectAltNames": { + "items": { + "properties": { + "dns": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "podTemplate": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "serviceAccountName": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "version" + ], + "type": "object" + }, + "status": { + "properties": { + "associationStatus": { + "type": "string" + }, + "availableNodes": { + "format": "int32", + "type": "integer" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "health": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "selector": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/namespace_v1.json b/schemas/namespace_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/namespace_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/namespacelist_v1.json b/schemas/namespacelist_v1.json new file mode 100644 index 0000000..facc339 --- /dev/null +++ b/schemas/namespacelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/deleteoptions_v1.json b/schemas/networking.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/networking.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/deleteoptions_v1alpha1.json b/schemas/networking.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/networking.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/deleteoptions_v1beta1.json b/schemas/networking.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/networking.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/ingress_v1.json b/schemas/networking.k8s.io/ingress_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/networking.k8s.io/ingress_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/ingressclass_v1.json b/schemas/networking.k8s.io/ingressclass_v1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/networking.k8s.io/ingressclass_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/ingressclasslist_v1.json b/schemas/networking.k8s.io/ingressclasslist_v1.json new file mode 100644 index 0000000..b3ad0a9 --- /dev/null +++ b/schemas/networking.k8s.io/ingressclasslist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/ingresslist_v1.json b/schemas/networking.k8s.io/ingresslist_v1.json new file mode 100644 index 0000000..8541397 --- /dev/null +++ b/schemas/networking.k8s.io/ingresslist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/ipaddress_v1.json b/schemas/networking.k8s.io/ipaddress_v1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/networking.k8s.io/ipaddress_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/ipaddress_v1beta1.json b/schemas/networking.k8s.io/ipaddress_v1beta1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/networking.k8s.io/ipaddress_v1beta1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/ipaddresslist_v1.json b/schemas/networking.k8s.io/ipaddresslist_v1.json new file mode 100644 index 0000000..b1a63f6 --- /dev/null +++ b/schemas/networking.k8s.io/ipaddresslist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IPAddress" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/ipaddresslist_v1beta1.json b/schemas/networking.k8s.io/ipaddresslist_v1beta1.json new file mode 100644 index 0000000..074d592 --- /dev/null +++ b/schemas/networking.k8s.io/ipaddresslist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/networkpolicy_v1.json b/schemas/networking.k8s.io/networkpolicy_v1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/networking.k8s.io/networkpolicy_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/networkpolicylist_v1.json b/schemas/networking.k8s.io/networkpolicylist_v1.json new file mode 100644 index 0000000..f9cf5f1 --- /dev/null +++ b/schemas/networking.k8s.io/networkpolicylist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/servicecidr_v1.json b/schemas/networking.k8s.io/servicecidr_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/networking.k8s.io/servicecidr_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/servicecidr_v1beta1.json b/schemas/networking.k8s.io/servicecidr_v1beta1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/networking.k8s.io/servicecidr_v1beta1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/servicecidrlist_v1.json b/schemas/networking.k8s.io/servicecidrlist_v1.json new file mode 100644 index 0000000..48036ec --- /dev/null +++ b/schemas/networking.k8s.io/servicecidrlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.ServiceCIDR" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/servicecidrlist_v1beta1.json b/schemas/networking.k8s.io/servicecidrlist_v1beta1.json new file mode 100644 index 0000000..36d57a4 --- /dev/null +++ b/schemas/networking.k8s.io/servicecidrlist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/watchevent_v1.json b/schemas/networking.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/networking.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/watchevent_v1alpha1.json b/schemas/networking.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/networking.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/networking.k8s.io/watchevent_v1beta1.json b/schemas/networking.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/networking.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/nfd.k8s-sigs.io/nodefeature_v1alpha1.json b/schemas/nfd.k8s-sigs.io/nodefeature_v1alpha1.json new file mode 100644 index 0000000..7fb24e2 --- /dev/null +++ b/schemas/nfd.k8s-sigs.io/nodefeature_v1alpha1.json @@ -0,0 +1,96 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "features": { + "properties": { + "attributes": { + "additionalProperties": { + "properties": { + "elements": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "elements" + ], + "type": "object" + }, + "type": "object" + }, + "flags": { + "additionalProperties": { + "properties": { + "elements": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + } + }, + "required": [ + "elements" + ], + "type": "object" + }, + "type": "object" + }, + "instances": { + "additionalProperties": { + "properties": { + "elements": { + "items": { + "properties": { + "attributes": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "attributes" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "elements" + ], + "type": "object" + }, + "type": "object" + } + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/nfd.k8s-sigs.io/nodefeaturegroup_v1alpha1.json b/schemas/nfd.k8s-sigs.io/nodefeaturegroup_v1alpha1.json new file mode 100644 index 0000000..ce8ba94 --- /dev/null +++ b/schemas/nfd.k8s-sigs.io/nodefeaturegroup_v1alpha1.json @@ -0,0 +1,257 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "featureGroupRules": { + "items": { + "properties": { + "matchAny": { + "items": { + "properties": { + "matchFeatures": { + "items": { + "properties": { + "feature": { + "type": "string" + }, + "matchExpressions": { + "additionalProperties": { + "properties": { + "op": { + "enum": [ + "In", + "NotIn", + "InRegexp", + "Exists", + "DoesNotExist", + "Gt", + "Ge", + "Lt", + "Le", + "GtLt", + "GeLe", + "IsTrue", + "IsFalse" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "op" + ], + "type": "object" + }, + "type": "object" + }, + "matchName": { + "properties": { + "op": { + "enum": [ + "In", + "NotIn", + "InRegexp", + "Exists", + "DoesNotExist", + "Gt", + "Ge", + "Lt", + "Le", + "GtLt", + "GeLe", + "IsTrue", + "IsFalse" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "op" + ], + "type": "object" + } + }, + "required": [ + "feature" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "matchFeatures" + ], + "type": "object" + }, + "type": "array" + }, + "matchFeatures": { + "items": { + "properties": { + "feature": { + "type": "string" + }, + "matchExpressions": { + "additionalProperties": { + "properties": { + "op": { + "enum": [ + "In", + "NotIn", + "InRegexp", + "Exists", + "DoesNotExist", + "Gt", + "Ge", + "Lt", + "Le", + "GtLt", + "GeLe", + "IsTrue", + "IsFalse" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "op" + ], + "type": "object" + }, + "type": "object" + }, + "matchName": { + "properties": { + "op": { + "enum": [ + "In", + "NotIn", + "InRegexp", + "Exists", + "DoesNotExist", + "Gt", + "Ge", + "Lt", + "Le", + "GtLt", + "GeLe", + "IsTrue", + "IsFalse" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "op" + ], + "type": "object" + } + }, + "required": [ + "feature" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "vars": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "varsTemplate": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "featureGroupRules" + ], + "type": "object" + }, + "status": { + "properties": { + "nodes": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json b/schemas/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json new file mode 100644 index 0000000..4909bbd --- /dev/null +++ b/schemas/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json @@ -0,0 +1,280 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "rules": { + "items": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "extendedResources": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labelsTemplate": { + "type": "string" + }, + "matchAny": { + "items": { + "properties": { + "matchFeatures": { + "items": { + "properties": { + "feature": { + "type": "string" + }, + "matchExpressions": { + "additionalProperties": { + "properties": { + "op": { + "enum": [ + "In", + "NotIn", + "InRegexp", + "Exists", + "DoesNotExist", + "Gt", + "Ge", + "Lt", + "Le", + "GtLt", + "GeLe", + "IsTrue", + "IsFalse" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "op" + ], + "type": "object" + }, + "type": "object" + }, + "matchName": { + "properties": { + "op": { + "enum": [ + "In", + "NotIn", + "InRegexp", + "Exists", + "DoesNotExist", + "Gt", + "Ge", + "Lt", + "Le", + "GtLt", + "GeLe", + "IsTrue", + "IsFalse" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "op" + ], + "type": "object" + } + }, + "required": [ + "feature" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "matchFeatures" + ], + "type": "object" + }, + "type": "array" + }, + "matchFeatures": { + "items": { + "properties": { + "feature": { + "type": "string" + }, + "matchExpressions": { + "additionalProperties": { + "properties": { + "op": { + "enum": [ + "In", + "NotIn", + "InRegexp", + "Exists", + "DoesNotExist", + "Gt", + "Ge", + "Lt", + "Le", + "GtLt", + "GeLe", + "IsTrue", + "IsFalse" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "op" + ], + "type": "object" + }, + "type": "object" + }, + "matchName": { + "properties": { + "op": { + "enum": [ + "In", + "NotIn", + "InRegexp", + "Exists", + "DoesNotExist", + "Gt", + "Ge", + "Lt", + "Le", + "GtLt", + "GeLe", + "IsTrue", + "IsFalse" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "op" + ], + "type": "object" + } + }, + "required": [ + "feature" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "type": "array" + }, + "vars": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "varsTemplate": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "rules" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/node.k8s.io/deleteoptions_v1.json b/schemas/node.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/node.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/node.k8s.io/deleteoptions_v1alpha1.json b/schemas/node.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/node.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/node.k8s.io/deleteoptions_v1beta1.json b/schemas/node.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/node.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/node.k8s.io/runtimeclass_v1.json b/schemas/node.k8s.io/runtimeclass_v1.json new file mode 100644 index 0000000..589db91 --- /dev/null +++ b/schemas/node.k8s.io/runtimeclass_v1.json @@ -0,0 +1,28 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "handler": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "overhead": { + "additionalProperties": true, + "type": "object" + }, + "scheduling": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/node.k8s.io/runtimeclasslist_v1.json b/schemas/node.k8s.io/runtimeclasslist_v1.json new file mode 100644 index 0000000..4c3026e --- /dev/null +++ b/schemas/node.k8s.io/runtimeclasslist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/node.k8s.io/watchevent_v1.json b/schemas/node.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/node.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/node.k8s.io/watchevent_v1alpha1.json b/schemas/node.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/node.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/node.k8s.io/watchevent_v1beta1.json b/schemas/node.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/node.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/node_v1.json b/schemas/node_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/node_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/nodelist_v1.json b/schemas/nodelist_v1.json new file mode 100644 index 0000000..8b20525 --- /dev/null +++ b/schemas/nodelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vlagent_v1.json b/schemas/operator.victoriametrics.com/vlagent_v1.json new file mode 100644 index 0000000..5271244 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vlagent_v1.json @@ -0,0 +1,97 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "remoteWrite" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "selector": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vlcluster_v1.json b/schemas/operator.victoriametrics.com/vlcluster_v1.json new file mode 100644 index 0000000..e3c9b03 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vlcluster_v1.json @@ -0,0 +1,87 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vlogs_v1beta1.json b/schemas/operator.victoriametrics.com/vlogs_v1beta1.json new file mode 100644 index 0000000..4a3ceac --- /dev/null +++ b/schemas/operator.victoriametrics.com/vlogs_v1beta1.json @@ -0,0 +1,90 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "retentionPeriod" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vlsingle_v1.json b/schemas/operator.victoriametrics.com/vlsingle_v1.json new file mode 100644 index 0000000..e3c9b03 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vlsingle_v1.json @@ -0,0 +1,87 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmagent_v1beta1.json b/schemas/operator.victoriametrics.com/vmagent_v1beta1.json new file mode 100644 index 0000000..73bbbca --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmagent_v1beta1.json @@ -0,0 +1,101 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "remoteWrite" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "replicas": { + "format": "int32", + "type": "integer" + }, + "selector": { + "type": "string" + }, + "shards": { + "format": "int32", + "type": "integer" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmalert_v1beta1.json b/schemas/operator.victoriametrics.com/vmalert_v1beta1.json new file mode 100644 index 0000000..24af099 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmalert_v1beta1.json @@ -0,0 +1,90 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "datasource" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmalertmanager_v1beta1.json b/schemas/operator.victoriametrics.com/vmalertmanager_v1beta1.json new file mode 100644 index 0000000..d8b0951 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmalertmanager_v1beta1.json @@ -0,0 +1,90 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmalertmanagerconfig_v1beta1.json b/schemas/operator.victoriametrics.com/vmalertmanagerconfig_v1beta1.json new file mode 100644 index 0000000..2c62042 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmalertmanagerconfig_v1beta1.json @@ -0,0 +1,94 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "receivers", + "route" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "lastErrorParentAlertmanagerName": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmanomaly_v1.json b/schemas/operator.victoriametrics.com/vmanomaly_v1.json new file mode 100644 index 0000000..ba05c97 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmanomaly_v1.json @@ -0,0 +1,95 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "reader", + "writer" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "shards": { + "format": "int32", + "type": "integer" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmauth_v1beta1.json b/schemas/operator.victoriametrics.com/vmauth_v1beta1.json new file mode 100644 index 0000000..e3c9b03 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmauth_v1beta1.json @@ -0,0 +1,87 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmcluster_v1beta1.json b/schemas/operator.victoriametrics.com/vmcluster_v1beta1.json new file mode 100644 index 0000000..d8b0951 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmcluster_v1beta1.json @@ -0,0 +1,90 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmnodescrape_v1beta1.json b/schemas/operator.victoriametrics.com/vmnodescrape_v1beta1.json new file mode 100644 index 0000000..e3c9b03 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmnodescrape_v1beta1.json @@ -0,0 +1,87 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmpodscrape_v1beta1.json b/schemas/operator.victoriametrics.com/vmpodscrape_v1beta1.json new file mode 100644 index 0000000..8e3d11a --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmpodscrape_v1beta1.json @@ -0,0 +1,90 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "podMetricsEndpoints" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmprobe_v1beta1.json b/schemas/operator.victoriametrics.com/vmprobe_v1beta1.json new file mode 100644 index 0000000..ca378f4 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmprobe_v1beta1.json @@ -0,0 +1,93 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "vmProberSpec" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmrule_v1beta1.json b/schemas/operator.victoriametrics.com/vmrule_v1beta1.json new file mode 100644 index 0000000..0567163 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmrule_v1beta1.json @@ -0,0 +1,93 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "groups" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmscrapeconfig_v1beta1.json b/schemas/operator.victoriametrics.com/vmscrapeconfig_v1beta1.json new file mode 100644 index 0000000..e3c9b03 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmscrapeconfig_v1beta1.json @@ -0,0 +1,87 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmservicescrape_v1beta1.json b/schemas/operator.victoriametrics.com/vmservicescrape_v1beta1.json new file mode 100644 index 0000000..2e83b60 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmservicescrape_v1beta1.json @@ -0,0 +1,93 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "endpoints" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmsingle_v1beta1.json b/schemas/operator.victoriametrics.com/vmsingle_v1beta1.json new file mode 100644 index 0000000..e3c9b03 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmsingle_v1beta1.json @@ -0,0 +1,87 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmstaticscrape_v1beta1.json b/schemas/operator.victoriametrics.com/vmstaticscrape_v1beta1.json new file mode 100644 index 0000000..0fa24b8 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmstaticscrape_v1beta1.json @@ -0,0 +1,90 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "targetEndpoints" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vmuser_v1beta1.json b/schemas/operator.victoriametrics.com/vmuser_v1beta1.json new file mode 100644 index 0000000..1ca6dbb --- /dev/null +++ b/schemas/operator.victoriametrics.com/vmuser_v1beta1.json @@ -0,0 +1,90 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "required": [ + "targetRefs" + ], + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vtcluster_v1.json b/schemas/operator.victoriametrics.com/vtcluster_v1.json new file mode 100644 index 0000000..e3c9b03 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vtcluster_v1.json @@ -0,0 +1,87 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/operator.victoriametrics.com/vtsingle_v1.json b/schemas/operator.victoriametrics.com/vtsingle_v1.json new file mode 100644 index 0000000..e3c9b03 --- /dev/null +++ b/schemas/operator.victoriametrics.com/vtsingle_v1.json @@ -0,0 +1,87 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "lastUpdateTime", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "reason": { + "type": "string" + }, + "updateStatus": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/persistentvolume_v1.json b/schemas/persistentvolume_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/persistentvolume_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/persistentvolumeclaim_v1.json b/schemas/persistentvolumeclaim_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/persistentvolumeclaim_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/persistentvolumeclaimlist_v1.json b/schemas/persistentvolumeclaimlist_v1.json new file mode 100644 index 0000000..5351be5 --- /dev/null +++ b/schemas/persistentvolumeclaimlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/persistentvolumelist_v1.json b/schemas/persistentvolumelist_v1.json new file mode 100644 index 0000000..a9c7699 --- /dev/null +++ b/schemas/persistentvolumelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/pod_v1.json b/schemas/pod_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/pod_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/podlist_v1.json b/schemas/podlist_v1.json new file mode 100644 index 0000000..2e0bbe1 --- /dev/null +++ b/schemas/podlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/podtemplate_v1.json b/schemas/podtemplate_v1.json new file mode 100644 index 0000000..4af7fd8 --- /dev/null +++ b/schemas/podtemplate_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "template": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/podtemplatelist_v1.json b/schemas/podtemplatelist_v1.json new file mode 100644 index 0000000..2738eb8 --- /dev/null +++ b/schemas/podtemplatelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/policy.networking.k8s.io/adminnetworkpolicy_v1alpha1.json b/schemas/policy.networking.k8s.io/adminnetworkpolicy_v1alpha1.json new file mode 100644 index 0000000..513d8bc --- /dev/null +++ b/schemas/policy.networking.k8s.io/adminnetworkpolicy_v1alpha1.json @@ -0,0 +1,699 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "egress": { + "items": { + "properties": { + "action": { + "enum": [ + "Allow", + "Deny", + "Pass" + ], + "type": "string" + }, + "name": { + "maxLength": 100, + "type": "string" + }, + "ports": { + "items": { + "maxProperties": 1, + "minProperties": 1, + "properties": { + "namedPort": { + "type": "string" + }, + "portNumber": { + "properties": { + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "port", + "protocol" + ], + "type": "object" + }, + "portRange": { + "properties": { + "end": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "start": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "end", + "start" + ], + "type": "object" + } + }, + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "to": { + "items": { + "maxProperties": 1, + "minProperties": 1, + "properties": { + "namespaces": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "networks": { + "items": { + "maxLength": 43, + "type": "string", + "x-kubernetes-validations": [ + { + "message": "CIDR must be either an IPv4 or IPv6 address. IPv4 address embedded in IPv6 addresses are not supported", + "rule": "self.contains(':') != self.contains('.')" + } + ] + }, + "maxItems": 25, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "nodes": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "pods": { + "properties": { + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "namespaceSelector", + "podSelector" + ], + "type": "object" + } + }, + "type": "object" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "action", + "to" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "networks/nodes peer cannot be set with namedPorts since there are no namedPorts for networks/nodes", + "rule": "!(self.to.exists(peer, has(peer.networks) || has(peer.nodes)) && has(self.ports) && self.ports.exists(port, has(port.namedPort)))" + } + ] + }, + "maxItems": 100, + "type": "array" + }, + "ingress": { + "items": { + "properties": { + "action": { + "enum": [ + "Allow", + "Deny", + "Pass" + ], + "type": "string" + }, + "from": { + "items": { + "maxProperties": 1, + "minProperties": 1, + "properties": { + "namespaces": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "pods": { + "properties": { + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "namespaceSelector", + "podSelector" + ], + "type": "object" + } + }, + "type": "object" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + }, + "name": { + "maxLength": 100, + "type": "string" + }, + "ports": { + "items": { + "maxProperties": 1, + "minProperties": 1, + "properties": { + "namedPort": { + "type": "string" + }, + "portNumber": { + "properties": { + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "port", + "protocol" + ], + "type": "object" + }, + "portRange": { + "properties": { + "end": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "start": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "end", + "start" + ], + "type": "object" + } + }, + "type": "object" + }, + "maxItems": 100, + "type": "array" + } + }, + "required": [ + "action", + "from" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "priority": { + "format": "int32", + "maximum": 1000, + "minimum": 0, + "type": "integer" + }, + "subject": { + "maxProperties": 1, + "minProperties": 1, + "properties": { + "namespaces": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "pods": { + "properties": { + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "namespaceSelector", + "podSelector" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "priority", + "subject" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "required": [ + "conditions" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/policy.networking.k8s.io/baselineadminnetworkpolicy_v1alpha1.json b/schemas/policy.networking.k8s.io/baselineadminnetworkpolicy_v1alpha1.json new file mode 100644 index 0000000..e70f167 --- /dev/null +++ b/schemas/policy.networking.k8s.io/baselineadminnetworkpolicy_v1alpha1.json @@ -0,0 +1,696 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "egress": { + "items": { + "properties": { + "action": { + "enum": [ + "Allow", + "Deny" + ], + "type": "string" + }, + "name": { + "maxLength": 100, + "type": "string" + }, + "ports": { + "items": { + "maxProperties": 1, + "minProperties": 1, + "properties": { + "namedPort": { + "type": "string" + }, + "portNumber": { + "properties": { + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "port", + "protocol" + ], + "type": "object" + }, + "portRange": { + "properties": { + "end": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "start": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "end", + "start" + ], + "type": "object" + } + }, + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "to": { + "items": { + "maxProperties": 1, + "minProperties": 1, + "properties": { + "namespaces": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "networks": { + "items": { + "maxLength": 43, + "type": "string", + "x-kubernetes-validations": [ + { + "message": "CIDR must be either an IPv4 or IPv6 address. IPv4 address embedded in IPv6 addresses are not supported", + "rule": "self.contains(':') != self.contains('.')" + } + ] + }, + "maxItems": 25, + "minItems": 1, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "nodes": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "pods": { + "properties": { + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "namespaceSelector", + "podSelector" + ], + "type": "object" + } + }, + "type": "object" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "action", + "to" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "networks/nodes peer cannot be set with namedPorts since there are no namedPorts for networks/nodes", + "rule": "!(self.to.exists(peer, has(peer.networks) || has(peer.nodes)) && has(self.ports) && self.ports.exists(port, has(port.namedPort)))" + } + ] + }, + "maxItems": 100, + "type": "array" + }, + "ingress": { + "items": { + "properties": { + "action": { + "enum": [ + "Allow", + "Deny" + ], + "type": "string" + }, + "from": { + "items": { + "maxProperties": 1, + "minProperties": 1, + "properties": { + "namespaces": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "pods": { + "properties": { + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "namespaceSelector", + "podSelector" + ], + "type": "object" + } + }, + "type": "object" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + }, + "name": { + "maxLength": 100, + "type": "string" + }, + "ports": { + "items": { + "maxProperties": 1, + "minProperties": 1, + "properties": { + "namedPort": { + "type": "string" + }, + "portNumber": { + "properties": { + "port": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "port", + "protocol" + ], + "type": "object" + }, + "portRange": { + "properties": { + "end": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "start": { + "format": "int32", + "maximum": 65535, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "end", + "start" + ], + "type": "object" + } + }, + "type": "object" + }, + "maxItems": 100, + "type": "array" + } + }, + "required": [ + "action", + "from" + ], + "type": "object" + }, + "maxItems": 100, + "type": "array" + }, + "subject": { + "maxProperties": 1, + "minProperties": 1, + "properties": { + "namespaces": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "pods": { + "properties": { + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "podSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "namespaceSelector", + "podSelector" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "subject" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "required": [ + "conditions" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Only one baseline admin network policy with metadata.name=\"default\" can be created in the cluster", + "rule": "self.metadata.name == 'default'" + } + ] +} diff --git a/schemas/policy/deleteoptions_v1.json b/schemas/policy/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/policy/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/policy/deleteoptions_v1beta1.json b/schemas/policy/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/policy/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/policy/eviction_v1.json b/schemas/policy/eviction_v1.json new file mode 100644 index 0000000..2b4adc4 --- /dev/null +++ b/schemas/policy/eviction_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "deleteOptions": { + "additionalProperties": true, + "type": "object" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/policy/poddisruptionbudget_v1.json b/schemas/policy/poddisruptionbudget_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/policy/poddisruptionbudget_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/policy/poddisruptionbudgetlist_v1.json b/schemas/policy/poddisruptionbudgetlist_v1.json new file mode 100644 index 0000000..160b5ec --- /dev/null +++ b/schemas/policy/poddisruptionbudgetlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/policy/watchevent_v1.json b/schemas/policy/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/policy/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/policy/watchevent_v1beta1.json b/schemas/policy/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/policy/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/postgresql.cnpg.io/backup_v1.json b/schemas/postgresql.cnpg.io/backup_v1.json new file mode 100644 index 0000000..34505fd --- /dev/null +++ b/schemas/postgresql.cnpg.io/backup_v1.json @@ -0,0 +1,381 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "cluster": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "method": { + "default": "barmanObjectStore", + "enum": [ + "barmanObjectStore", + "volumeSnapshot", + "plugin" + ], + "type": "string" + }, + "online": { + "type": "boolean" + }, + "onlineConfiguration": { + "properties": { + "immediateCheckpoint": { + "type": "boolean" + }, + "waitForArchive": { + "default": true, + "type": "boolean" + } + }, + "type": "object" + }, + "pluginConfiguration": { + "properties": { + "name": { + "type": "string" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "target": { + "enum": [ + "primary", + "prefer-standby" + ], + "type": "string" + } + }, + "required": [ + "cluster" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "BackupSpec is immutable once set", + "rule": "oldSelf == self" + } + ] + }, + "status": { + "properties": { + "azureCredentials": { + "properties": { + "connectionString": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "inheritFromAzureAD": { + "type": "boolean" + }, + "storageAccount": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "storageKey": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "storageSasToken": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "backupId": { + "type": "string" + }, + "backupLabelFile": { + "format": "byte", + "type": "string" + }, + "backupName": { + "type": "string" + }, + "beginLSN": { + "type": "string" + }, + "beginWal": { + "type": "string" + }, + "commandError": { + "type": "string" + }, + "commandOutput": { + "type": "string" + }, + "destinationPath": { + "type": "string" + }, + "encryption": { + "type": "string" + }, + "endLSN": { + "type": "string" + }, + "endWal": { + "type": "string" + }, + "endpointCA": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "endpointURL": { + "type": "string" + }, + "error": { + "type": "string" + }, + "googleCredentials": { + "properties": { + "applicationCredentials": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "gkeEnvironment": { + "type": "boolean" + } + }, + "type": "object" + }, + "instanceID": { + "properties": { + "ContainerID": { + "type": "string" + }, + "podName": { + "type": "string" + } + }, + "type": "object" + }, + "majorVersion": { + "type": "integer" + }, + "method": { + "type": "string" + }, + "online": { + "type": "boolean" + }, + "phase": { + "type": "string" + }, + "pluginMetadata": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "s3Credentials": { + "properties": { + "accessKeyId": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "inheritFromIAMRole": { + "type": "boolean" + }, + "region": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "secretAccessKey": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "sessionToken": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "serverName": { + "type": "string" + }, + "snapshotBackupStatus": { + "properties": { + "elements": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "tablespaceName": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "startedAt": { + "format": "date-time", + "type": "string" + }, + "stoppedAt": { + "format": "date-time", + "type": "string" + }, + "tablespaceMapFile": { + "format": "byte", + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/postgresql.cnpg.io/cluster_v1.json b/schemas/postgresql.cnpg.io/cluster_v1.json new file mode 100644 index 0000000..2704769 --- /dev/null +++ b/schemas/postgresql.cnpg.io/cluster_v1.json @@ -0,0 +1,5079 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "affinity": { + "properties": { + "additionalPodAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "additionalPodAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "enablePodAntiAffinity": { + "type": "boolean" + }, + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "podAntiAffinityType": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "type": "object" + }, + "backup": { + "properties": { + "barmanObjectStore": { + "properties": { + "azureCredentials": { + "properties": { + "connectionString": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "inheritFromAzureAD": { + "type": "boolean" + }, + "storageAccount": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "storageKey": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "storageSasToken": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "data": { + "properties": { + "additionalCommandArgs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "compression": { + "enum": [ + "bzip2", + "gzip", + "snappy" + ], + "type": "string" + }, + "encryption": { + "enum": [ + "AES256", + "aws:kms" + ], + "type": "string" + }, + "immediateCheckpoint": { + "type": "boolean" + }, + "jobs": { + "format": "int32", + "minimum": 1, + "type": "integer" + } + }, + "type": "object" + }, + "destinationPath": { + "minLength": 1, + "type": "string" + }, + "endpointCA": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "endpointURL": { + "type": "string" + }, + "googleCredentials": { + "properties": { + "applicationCredentials": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "gkeEnvironment": { + "type": "boolean" + } + }, + "type": "object" + }, + "historyTags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "s3Credentials": { + "properties": { + "accessKeyId": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "inheritFromIAMRole": { + "type": "boolean" + }, + "region": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "secretAccessKey": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "sessionToken": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "serverName": { + "type": "string" + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "wal": { + "properties": { + "archiveAdditionalCommandArgs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "compression": { + "enum": [ + "bzip2", + "gzip", + "lz4", + "snappy", + "xz", + "zstd" + ], + "type": "string" + }, + "encryption": { + "enum": [ + "AES256", + "aws:kms" + ], + "type": "string" + }, + "maxParallel": { + "minimum": 1, + "type": "integer" + }, + "restoreAdditionalCommandArgs": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destinationPath" + ], + "type": "object" + }, + "retentionPolicy": { + "pattern": "^[1-9][0-9]*[dwm]$", + "type": "string" + }, + "target": { + "default": "prefer-standby", + "enum": [ + "primary", + "prefer-standby" + ], + "type": "string" + }, + "volumeSnapshot": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "className": { + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "online": { + "default": true, + "type": "boolean" + }, + "onlineConfiguration": { + "default": { + "immediateCheckpoint": false, + "waitForArchive": true + }, + "properties": { + "immediateCheckpoint": { + "type": "boolean" + }, + "waitForArchive": { + "default": true, + "type": "boolean" + } + }, + "type": "object" + }, + "snapshotOwnerReference": { + "default": "none", + "enum": [ + "none", + "cluster", + "backup" + ], + "type": "string" + }, + "tablespaceClassName": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "walClassName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "bootstrap": { + "properties": { + "initdb": { + "properties": { + "builtinLocale": { + "type": "string" + }, + "dataChecksums": { + "type": "boolean" + }, + "database": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "icuLocale": { + "type": "string" + }, + "icuRules": { + "type": "string" + }, + "import": { + "properties": { + "databases": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pgDumpExtraOptions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pgRestoreDataOptions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pgRestoreExtraOptions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pgRestorePostdataOptions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pgRestorePredataOptions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "postImportApplicationSQL": { + "items": { + "type": "string" + }, + "type": "array" + }, + "roles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemaOnly": { + "type": "boolean" + }, + "source": { + "properties": { + "externalCluster": { + "type": "string" + } + }, + "required": [ + "externalCluster" + ], + "type": "object" + }, + "type": { + "enum": [ + "microservice", + "monolith" + ], + "type": "string" + } + }, + "required": [ + "databases", + "source", + "type" + ], + "type": "object" + }, + "locale": { + "type": "string" + }, + "localeCType": { + "type": "string" + }, + "localeCollate": { + "type": "string" + }, + "localeProvider": { + "type": "string" + }, + "options": { + "items": { + "type": "string" + }, + "type": "array" + }, + "owner": { + "type": "string" + }, + "postInitApplicationSQL": { + "items": { + "type": "string" + }, + "type": "array" + }, + "postInitApplicationSQLRefs": { + "properties": { + "configMapRefs": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "secretRefs": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "postInitSQL": { + "items": { + "type": "string" + }, + "type": "array" + }, + "postInitSQLRefs": { + "properties": { + "configMapRefs": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "secretRefs": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "postInitTemplateSQL": { + "items": { + "type": "string" + }, + "type": "array" + }, + "postInitTemplateSQLRefs": { + "properties": { + "configMapRefs": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "secretRefs": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "secret": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "walSegmentSize": { + "maximum": 1024, + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "builtinLocale is only available when localeProvider is set to `builtin`", + "rule": "!has(self.builtinLocale) || self.localeProvider == 'builtin'" + }, + { + "message": "icuLocale is only available when localeProvider is set to `icu`", + "rule": "!has(self.icuLocale) || self.localeProvider == 'icu'" + }, + { + "message": "icuRules is only available when localeProvider is set to `icu`", + "rule": "!has(self.icuRules) || self.localeProvider == 'icu'" + } + ] + }, + "pg_basebackup": { + "properties": { + "database": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "secret": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "source": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "source" + ], + "type": "object" + }, + "recovery": { + "properties": { + "backup": { + "properties": { + "endpointCA": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "database": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "recoveryTarget": { + "properties": { + "backupID": { + "type": "string" + }, + "exclusive": { + "type": "boolean" + }, + "targetImmediate": { + "type": "boolean" + }, + "targetLSN": { + "type": "string" + }, + "targetName": { + "type": "string" + }, + "targetTLI": { + "type": "string" + }, + "targetTime": { + "type": "string" + }, + "targetXID": { + "type": "string" + } + }, + "type": "object" + }, + "secret": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "source": { + "type": "string" + }, + "volumeSnapshots": { + "properties": { + "storage": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "tablespaceStorage": { + "additionalProperties": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "object" + }, + "walStorage": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "storage" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "certificates": { + "properties": { + "clientCASecret": { + "type": "string" + }, + "replicationTLSSecret": { + "type": "string" + }, + "serverAltDNSNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "serverCASecret": { + "type": "string" + }, + "serverTLSSecret": { + "type": "string" + } + }, + "type": "object" + }, + "enablePDB": { + "default": true, + "type": "boolean" + }, + "enableSuperuserAccess": { + "default": false, + "type": "boolean" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fileKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "optional": { + "default": false, + "type": "boolean" + }, + "path": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "required": [ + "key", + "path", + "volumeName" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array" + }, + "ephemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "properties": { + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" + } + }, + "type": "object" + }, + "ephemeralVolumesSizeLimit": { + "properties": { + "shm": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "temporaryData": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "externalClusters": { + "items": { + "properties": { + "barmanObjectStore": { + "properties": { + "azureCredentials": { + "properties": { + "connectionString": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "inheritFromAzureAD": { + "type": "boolean" + }, + "storageAccount": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "storageKey": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "storageSasToken": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "data": { + "properties": { + "additionalCommandArgs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "compression": { + "enum": [ + "bzip2", + "gzip", + "snappy" + ], + "type": "string" + }, + "encryption": { + "enum": [ + "AES256", + "aws:kms" + ], + "type": "string" + }, + "immediateCheckpoint": { + "type": "boolean" + }, + "jobs": { + "format": "int32", + "minimum": 1, + "type": "integer" + } + }, + "type": "object" + }, + "destinationPath": { + "minLength": 1, + "type": "string" + }, + "endpointCA": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "endpointURL": { + "type": "string" + }, + "googleCredentials": { + "properties": { + "applicationCredentials": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "gkeEnvironment": { + "type": "boolean" + } + }, + "type": "object" + }, + "historyTags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "s3Credentials": { + "properties": { + "accessKeyId": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "inheritFromIAMRole": { + "type": "boolean" + }, + "region": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "secretAccessKey": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "sessionToken": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "serverName": { + "type": "string" + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "wal": { + "properties": { + "archiveAdditionalCommandArgs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "compression": { + "enum": [ + "bzip2", + "gzip", + "lz4", + "snappy", + "xz", + "zstd" + ], + "type": "string" + }, + "encryption": { + "enum": [ + "AES256", + "aws:kms" + ], + "type": "string" + }, + "maxParallel": { + "minimum": 1, + "type": "integer" + }, + "restoreAdditionalCommandArgs": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "destinationPath" + ], + "type": "object" + }, + "connectionParameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "password": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "plugin": { + "properties": { + "enabled": { + "default": true, + "type": "boolean" + }, + "isWALArchiver": { + "default": false, + "type": "boolean" + }, + "name": { + "type": "string" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "sslCert": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sslKey": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sslRootCert": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "failoverDelay": { + "default": 0, + "format": "int32", + "type": "integer" + }, + "imageCatalogRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "major": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "major", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "Only image catalogs are supported", + "rule": "self.kind == 'ImageCatalog' || self.kind == 'ClusterImageCatalog'" + }, + { + "message": "Only image catalogs are supported", + "rule": "self.apiGroup == 'postgresql.cnpg.io'" + } + ] + }, + "imageName": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "inheritedMetadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "instances": { + "default": 1, + "minimum": 1, + "type": "integer" + }, + "livenessProbeTimeout": { + "format": "int32", + "type": "integer" + }, + "logLevel": { + "default": "info", + "enum": [ + "error", + "warning", + "info", + "debug", + "trace" + ], + "type": "string" + }, + "managed": { + "properties": { + "roles": { + "items": { + "properties": { + "bypassrls": { + "type": "boolean" + }, + "comment": { + "type": "string" + }, + "connectionLimit": { + "default": -1, + "format": "int64", + "type": "integer" + }, + "createdb": { + "type": "boolean" + }, + "createrole": { + "type": "boolean" + }, + "disablePassword": { + "type": "boolean" + }, + "ensure": { + "default": "present", + "enum": [ + "present", + "absent" + ], + "type": "string" + }, + "inRoles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "inherit": { + "default": true, + "type": "boolean" + }, + "login": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "passwordSecret": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "replication": { + "type": "boolean" + }, + "superuser": { + "type": "boolean" + }, + "validUntil": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "services": { + "properties": { + "additional": { + "items": { + "properties": { + "selectorType": { + "enum": [ + "rw", + "r", + "ro" + ], + "type": "string" + }, + "serviceTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "updateStrategy": { + "default": "patch", + "enum": [ + "patch", + "replace" + ], + "type": "string" + } + }, + "required": [ + "selectorType", + "serviceTemplate" + ], + "type": "object" + }, + "type": "array" + }, + "disabledDefaultServices": { + "items": { + "enum": [ + "rw", + "r", + "ro" + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "maxSyncReplicas": { + "default": 0, + "minimum": 0, + "type": "integer" + }, + "minSyncReplicas": { + "default": 0, + "minimum": 0, + "type": "integer" + }, + "monitoring": { + "properties": { + "customQueriesConfigMap": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "customQueriesSecret": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "disableDefaultQueries": { + "default": false, + "type": "boolean" + }, + "enablePodMonitor": { + "default": false, + "type": "boolean" + }, + "metricsQueriesTTL": { + "type": "string" + }, + "podMonitorMetricRelabelings": { + "items": { + "properties": { + "action": { + "default": "replace", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ], + "type": "string" + }, + "modulus": { + "format": "int64", + "type": "integer" + }, + "regex": { + "type": "string" + }, + "replacement": { + "type": "string" + }, + "separator": { + "type": "string" + }, + "sourceLabels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetLabel": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "podMonitorRelabelings": { + "items": { + "properties": { + "action": { + "default": "replace", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ], + "type": "string" + }, + "modulus": { + "format": "int64", + "type": "integer" + }, + "regex": { + "type": "string" + }, + "replacement": { + "type": "string" + }, + "separator": { + "type": "string" + }, + "sourceLabels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetLabel": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tls": { + "properties": { + "enabled": { + "default": false, + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nodeMaintenanceWindow": { + "properties": { + "inProgress": { + "default": false, + "type": "boolean" + }, + "reusePVC": { + "default": true, + "type": "boolean" + } + }, + "type": "object" + }, + "plugins": { + "items": { + "properties": { + "enabled": { + "default": true, + "type": "boolean" + }, + "isWALArchiver": { + "default": false, + "type": "boolean" + }, + "name": { + "type": "string" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "podSecurityContext": { + "properties": { + "appArmorProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxChangePolicy": { + "type": "string" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "supplementalGroupsPolicy": { + "type": "string" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "postgresGID": { + "default": 26, + "format": "int64", + "type": "integer" + }, + "postgresUID": { + "default": 26, + "format": "int64", + "type": "integer" + }, + "postgresql": { + "properties": { + "enableAlterSystem": { + "type": "boolean" + }, + "extensions": { + "items": { + "properties": { + "dynamic_library_path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "extension_control_path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "properties": { + "pullPolicy": { + "type": "string" + }, + "reference": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "An image reference is required", + "rule": "has(self.reference)" + } + ] + }, + "ld_library_path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "type": "string" + } + }, + "required": [ + "image", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "ldap": { + "properties": { + "bindAsAuth": { + "properties": { + "prefix": { + "type": "string" + }, + "suffix": { + "type": "string" + } + }, + "type": "object" + }, + "bindSearchAuth": { + "properties": { + "baseDN": { + "type": "string" + }, + "bindDN": { + "type": "string" + }, + "bindPassword": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "searchAttribute": { + "type": "string" + }, + "searchFilter": { + "type": "string" + } + }, + "type": "object" + }, + "port": { + "type": "integer" + }, + "scheme": { + "enum": [ + "ldap", + "ldaps" + ], + "type": "string" + }, + "server": { + "type": "string" + }, + "tls": { + "type": "boolean" + } + }, + "type": "object" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "pg_hba": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pg_ident": { + "items": { + "type": "string" + }, + "type": "array" + }, + "promotionTimeout": { + "format": "int32", + "type": "integer" + }, + "shared_preload_libraries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "syncReplicaElectionConstraint": { + "properties": { + "enabled": { + "type": "boolean" + }, + "nodeLabelsAntiAffinity": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + "synchronous": { + "properties": { + "dataDurability": { + "enum": [ + "required", + "preferred" + ], + "type": "string" + }, + "failoverQuorum": { + "type": "boolean" + }, + "maxStandbyNamesFromCluster": { + "type": "integer" + }, + "method": { + "enum": [ + "any", + "first" + ], + "type": "string" + }, + "number": { + "type": "integer", + "x-kubernetes-validations": [ + { + "message": "The number of synchronous replicas should be greater than zero", + "rule": "self > 0" + } + ] + }, + "standbyNamesPost": { + "items": { + "type": "string" + }, + "type": "array" + }, + "standbyNamesPre": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "method", + "number" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "dataDurability set to 'preferred' requires empty 'standbyNamesPre' and empty 'standbyNamesPost'", + "rule": "self.dataDurability!='preferred' || ((!has(self.standbyNamesPre) || self.standbyNamesPre.size()==0) && (!has(self.standbyNamesPost) || self.standbyNamesPost.size()==0))" + } + ] + } + }, + "type": "object" + }, + "primaryUpdateMethod": { + "default": "restart", + "enum": [ + "switchover", + "restart" + ], + "type": "string" + }, + "primaryUpdateStrategy": { + "default": "unsupervised", + "enum": [ + "unsupervised", + "supervised" + ], + "type": "string" + }, + "priorityClassName": { + "type": "string" + }, + "probes": { + "properties": { + "liveness": { + "properties": { + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "isolationCheck": { + "properties": { + "connectionTimeout": { + "default": 1000, + "type": "integer" + }, + "enabled": { + "default": true, + "type": "boolean" + }, + "requestTimeout": { + "default": 1000, + "type": "integer" + } + }, + "type": "object" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "readiness": { + "properties": { + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "maximumLag": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + }, + "type": { + "enum": [ + "pg_isready", + "streaming", + "query" + ], + "type": "string" + } + }, + "type": "object" + }, + "startup": { + "properties": { + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "maximumLag": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + }, + "type": { + "enum": [ + "pg_isready", + "streaming", + "query" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "projectedVolumeTemplate": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "sources": { + "items": { + "properties": { + "clusterTrustBundle": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + }, + "path": { + "type": "string" + }, + "signerName": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "configMap": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "properties": { + "items": { + "items": { + "properties": { + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podCertificate": { + "properties": { + "certificateChainPath": { + "type": "string" + }, + "credentialBundlePath": { + "type": "string" + }, + "keyPath": { + "type": "string" + }, + "keyType": { + "type": "string" + }, + "maxExpirationSeconds": { + "format": "int32", + "type": "integer" + }, + "signerName": { + "type": "string" + } + }, + "required": [ + "keyType", + "signerName" + ], + "type": "object" + }, + "secret": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "format": "int64", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "replica": { + "properties": { + "enabled": { + "type": "boolean" + }, + "minApplyDelay": { + "type": "string" + }, + "primary": { + "type": "string" + }, + "promotionToken": { + "type": "string" + }, + "self": { + "type": "string" + }, + "source": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "source" + ], + "type": "object" + }, + "replicationSlots": { + "default": { + "highAvailability": { + "enabled": true + } + }, + "properties": { + "highAvailability": { + "default": { + "enabled": true + }, + "properties": { + "enabled": { + "default": true, + "type": "boolean" + }, + "slotPrefix": { + "default": "_cnpg_", + "pattern": "^[0-9a-z_]*$", + "type": "string" + }, + "synchronizeLogicalDecoding": { + "type": "boolean" + } + }, + "type": "object" + }, + "synchronizeReplicas": { + "properties": { + "enabled": { + "default": true, + "type": "boolean" + }, + "excludePatterns": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + "updateInterval": { + "default": 30, + "minimum": 1, + "type": "integer" + } + }, + "type": "object" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "request": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "schedulerName": { + "type": "string" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "appArmorProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serviceAccountTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "metadata" + ], + "type": "object" + }, + "smartShutdownTimeout": { + "default": 180, + "format": "int32", + "type": "integer" + }, + "startDelay": { + "default": 3600, + "format": "int32", + "type": "integer" + }, + "stopDelay": { + "default": 1800, + "format": "int32", + "type": "integer" + }, + "storage": { + "properties": { + "pvcTemplate": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + }, + "resizeInUseVolumes": { + "default": true, + "type": "boolean" + }, + "size": { + "type": "string" + }, + "storageClass": { + "type": "string" + } + }, + "type": "object" + }, + "superuserSecret": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "switchoverDelay": { + "default": 3600, + "format": "int32", + "type": "integer" + }, + "tablespaces": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "owner": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object" + }, + "storage": { + "properties": { + "pvcTemplate": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + }, + "resizeInUseVolumes": { + "default": true, + "type": "boolean" + }, + "size": { + "type": "string" + }, + "storageClass": { + "type": "string" + } + }, + "type": "object" + }, + "temporary": { + "default": false, + "type": "boolean" + } + }, + "required": [ + "name", + "storage" + ], + "type": "object" + }, + "type": "array" + }, + "topologySpreadConstraints": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "format": "int32", + "type": "integer" + }, + "minDomains": { + "format": "int32", + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } + }, + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "type": "object" + }, + "type": "array" + }, + "walStorage": { + "properties": { + "pvcTemplate": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + }, + "resizeInUseVolumes": { + "default": true, + "type": "boolean" + }, + "size": { + "type": "string" + }, + "storageClass": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "instances" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "imageName and imageCatalogRef are mutually exclusive", + "rule": "!(has(self.imageCatalogRef) && has(self.imageName))" + } + ] + }, + "status": { + "properties": { + "availableArchitectures": { + "items": { + "properties": { + "goArch": { + "type": "string" + }, + "hash": { + "type": "string" + } + }, + "required": [ + "goArch", + "hash" + ], + "type": "object" + }, + "type": "array" + }, + "certificates": { + "properties": { + "clientCASecret": { + "type": "string" + }, + "expirations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "replicationTLSSecret": { + "type": "string" + }, + "serverAltDNSNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "serverCASecret": { + "type": "string" + }, + "serverTLSSecret": { + "type": "string" + } + }, + "type": "object" + }, + "cloudNativePGCommitHash": { + "type": "string" + }, + "cloudNativePGOperatorHash": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "configMapResourceVersion": { + "properties": { + "metrics": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "currentPrimary": { + "type": "string" + }, + "currentPrimaryFailingSinceTimestamp": { + "type": "string" + }, + "currentPrimaryTimestamp": { + "type": "string" + }, + "danglingPVC": { + "items": { + "type": "string" + }, + "type": "array" + }, + "demotionToken": { + "type": "string" + }, + "firstRecoverabilityPoint": { + "type": "string" + }, + "firstRecoverabilityPointByMethod": { + "additionalProperties": { + "format": "date-time", + "type": "string" + }, + "type": "object" + }, + "healthyPVC": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "initializingPVC": { + "items": { + "type": "string" + }, + "type": "array" + }, + "instanceNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "instances": { + "type": "integer" + }, + "instancesReportedState": { + "additionalProperties": { + "properties": { + "ip": { + "type": "string" + }, + "isPrimary": { + "type": "boolean" + }, + "timeLineID": { + "type": "integer" + } + }, + "required": [ + "isPrimary" + ], + "type": "object" + }, + "type": "object" + }, + "instancesStatus": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" + }, + "jobCount": { + "format": "int32", + "type": "integer" + }, + "lastFailedBackup": { + "type": "string" + }, + "lastPromotionToken": { + "type": "string" + }, + "lastSuccessfulBackup": { + "type": "string" + }, + "lastSuccessfulBackupByMethod": { + "additionalProperties": { + "format": "date-time", + "type": "string" + }, + "type": "object" + }, + "latestGeneratedNode": { + "type": "integer" + }, + "managedRolesStatus": { + "properties": { + "byStatus": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" + }, + "cannotReconcile": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" + }, + "passwordStatus": { + "additionalProperties": { + "properties": { + "resourceVersion": { + "type": "string" + }, + "transactionID": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "type": "object" + } + }, + "type": "object" + }, + "onlineUpdateEnabled": { + "type": "boolean" + }, + "pgDataImageInfo": { + "properties": { + "image": { + "type": "string" + }, + "majorVersion": { + "type": "integer" + } + }, + "required": [ + "image", + "majorVersion" + ], + "type": "object" + }, + "phase": { + "type": "string" + }, + "phaseReason": { + "type": "string" + }, + "pluginStatus": { + "items": { + "properties": { + "backupCapabilities": { + "items": { + "type": "string" + }, + "type": "array" + }, + "capabilities": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "operatorCapabilities": { + "items": { + "type": "string" + }, + "type": "array" + }, + "restoreJobHookCapabilities": { + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "type": "string" + }, + "version": { + "type": "string" + }, + "walCapabilities": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "name", + "version" + ], + "type": "object" + }, + "type": "array" + }, + "poolerIntegrations": { + "properties": { + "pgBouncerIntegration": { + "properties": { + "secrets": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "pvcCount": { + "format": "int32", + "type": "integer" + }, + "readService": { + "type": "string" + }, + "readyInstances": { + "type": "integer" + }, + "resizingPVC": { + "items": { + "type": "string" + }, + "type": "array" + }, + "secretsResourceVersion": { + "properties": { + "applicationSecretVersion": { + "type": "string" + }, + "barmanEndpointCA": { + "type": "string" + }, + "caSecretVersion": { + "type": "string" + }, + "clientCaSecretVersion": { + "type": "string" + }, + "externalClusterSecretVersion": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "managedRoleSecretVersion": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "metrics": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "replicationSecretVersion": { + "type": "string" + }, + "serverCaSecretVersion": { + "type": "string" + }, + "serverSecretVersion": { + "type": "string" + }, + "superuserSecretVersion": { + "type": "string" + } + }, + "type": "object" + }, + "switchReplicaClusterStatus": { + "properties": { + "inProgress": { + "type": "boolean" + } + }, + "type": "object" + }, + "systemID": { + "type": "string" + }, + "tablespacesStatus": { + "items": { + "properties": { + "error": { + "type": "string" + }, + "name": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "state": { + "type": "string" + } + }, + "required": [ + "name", + "state" + ], + "type": "object" + }, + "type": "array" + }, + "targetPrimary": { + "type": "string" + }, + "targetPrimaryTimestamp": { + "type": "string" + }, + "timelineID": { + "type": "integer" + }, + "topology": { + "properties": { + "instances": { + "additionalProperties": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": "object" + }, + "nodesUsed": { + "format": "int32", + "type": "integer" + }, + "successfullyExtracted": { + "type": "boolean" + } + }, + "type": "object" + }, + "unusablePVC": { + "items": { + "type": "string" + }, + "type": "array" + }, + "writeService": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/postgresql.cnpg.io/clusterimagecatalog_v1.json b/schemas/postgresql.cnpg.io/clusterimagecatalog_v1.json new file mode 100644 index 0000000..c16a716 --- /dev/null +++ b/schemas/postgresql.cnpg.io/clusterimagecatalog_v1.json @@ -0,0 +1,54 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "images": { + "items": { + "properties": { + "image": { + "type": "string" + }, + "major": { + "minimum": 10, + "type": "integer" + } + }, + "required": [ + "image", + "major" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-validations": [ + { + "message": "Images must have unique major versions", + "rule": "self.all(e, self.filter(f, f.major==e.major).size() == 1)" + } + ] + } + }, + "required": [ + "images" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/postgresql.cnpg.io/database_v1.json b/schemas/postgresql.cnpg.io/database_v1.json new file mode 100644 index 0000000..957de5d --- /dev/null +++ b/schemas/postgresql.cnpg.io/database_v1.json @@ -0,0 +1,518 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "allowConnections": { + "type": "boolean" + }, + "builtinLocale": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "builtinLocale is immutable", + "rule": "self == oldSelf" + } + ] + }, + "cluster": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "collationVersion": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "collationVersion is immutable", + "rule": "self == oldSelf" + } + ] + }, + "connectionLimit": { + "type": "integer" + }, + "databaseReclaimPolicy": { + "default": "retain", + "enum": [ + "delete", + "retain" + ], + "type": "string" + }, + "encoding": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "encoding is immutable", + "rule": "self == oldSelf" + } + ] + }, + "ensure": { + "default": "present", + "enum": [ + "present", + "absent" + ], + "type": "string" + }, + "extensions": { + "items": { + "properties": { + "ensure": { + "default": "present", + "enum": [ + "present", + "absent" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "fdws": { + "items": { + "properties": { + "ensure": { + "default": "present", + "enum": [ + "present", + "absent" + ], + "type": "string" + }, + "handler": { + "type": "string" + }, + "name": { + "type": "string" + }, + "options": { + "items": { + "properties": { + "ensure": { + "default": "present", + "enum": [ + "present", + "absent" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "owner": { + "type": "string" + }, + "usage": { + "items": { + "properties": { + "name": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "name is required", + "rule": "self != ''" + } + ] + }, + "type": { + "default": "grant", + "enum": [ + "grant", + "revoke" + ], + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "validator": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "icuLocale": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "icuLocale is immutable", + "rule": "self == oldSelf" + } + ] + }, + "icuRules": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "icuRules is immutable", + "rule": "self == oldSelf" + } + ] + }, + "isTemplate": { + "type": "boolean" + }, + "locale": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "locale is immutable", + "rule": "self == oldSelf" + } + ] + }, + "localeCType": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "localeCType is immutable", + "rule": "self == oldSelf" + } + ] + }, + "localeCollate": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "localeCollate is immutable", + "rule": "self == oldSelf" + } + ] + }, + "localeProvider": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "localeProvider is immutable", + "rule": "self == oldSelf" + } + ] + }, + "name": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "name is immutable", + "rule": "self == oldSelf" + }, + { + "message": "the name postgres is reserved", + "rule": "self != 'postgres'" + }, + { + "message": "the name template0 is reserved", + "rule": "self != 'template0'" + }, + { + "message": "the name template1 is reserved", + "rule": "self != 'template1'" + } + ] + }, + "owner": { + "type": "string" + }, + "schemas": { + "items": { + "properties": { + "ensure": { + "default": "present", + "enum": [ + "present", + "absent" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "owner": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "servers": { + "items": { + "properties": { + "ensure": { + "default": "present", + "enum": [ + "present", + "absent" + ], + "type": "string" + }, + "fdw": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "fdw is required", + "rule": "self != ''" + } + ] + }, + "name": { + "type": "string" + }, + "options": { + "items": { + "properties": { + "ensure": { + "default": "present", + "enum": [ + "present", + "absent" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "usage": { + "items": { + "properties": { + "name": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "name is required", + "rule": "self != ''" + } + ] + }, + "type": { + "default": "grant", + "enum": [ + "grant", + "revoke" + ], + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "fdw", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "tablespace": { + "type": "string" + }, + "template": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "template is immutable", + "rule": "self == oldSelf" + } + ] + } + }, + "required": [ + "cluster", + "name", + "owner" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "builtinLocale is only available when localeProvider is set to `builtin`", + "rule": "!has(self.builtinLocale) || self.localeProvider == 'builtin'" + }, + { + "message": "icuLocale is only available when localeProvider is set to `icu`", + "rule": "!has(self.icuLocale) || self.localeProvider == 'icu'" + }, + { + "message": "icuRules is only available when localeProvider is set to `icu`", + "rule": "!has(self.icuRules) || self.localeProvider == 'icu'" + } + ] + }, + "status": { + "properties": { + "applied": { + "type": "boolean" + }, + "extensions": { + "items": { + "properties": { + "applied": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "applied", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "fdws": { + "items": { + "properties": { + "applied": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "applied", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "schemas": { + "items": { + "properties": { + "applied": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "applied", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "servers": { + "items": { + "properties": { + "applied": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "applied", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/postgresql.cnpg.io/failoverquorum_v1.json b/schemas/postgresql.cnpg.io/failoverquorum_v1.json new file mode 100644 index 0000000..656a989 --- /dev/null +++ b/schemas/postgresql.cnpg.io/failoverquorum_v1.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "status": { + "properties": { + "method": { + "type": "string" + }, + "primary": { + "type": "string" + }, + "standbyNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "standbyNumber": { + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "metadata" + ], + "type": "object" +} diff --git a/schemas/postgresql.cnpg.io/imagecatalog_v1.json b/schemas/postgresql.cnpg.io/imagecatalog_v1.json new file mode 100644 index 0000000..c16a716 --- /dev/null +++ b/schemas/postgresql.cnpg.io/imagecatalog_v1.json @@ -0,0 +1,54 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "images": { + "items": { + "properties": { + "image": { + "type": "string" + }, + "major": { + "minimum": 10, + "type": "integer" + } + }, + "required": [ + "image", + "major" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array", + "x-kubernetes-validations": [ + { + "message": "Images must have unique major versions", + "rule": "self.all(e, self.filter(f, f.major==e.major).size() == 1)" + } + ] + } + }, + "required": [ + "images" + ], + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/postgresql.cnpg.io/pooler_v1.json b/schemas/postgresql.cnpg.io/pooler_v1.json new file mode 100644 index 0000000..d03b91e --- /dev/null +++ b/schemas/postgresql.cnpg.io/pooler_v1.json @@ -0,0 +1,6301 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "cluster": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "deploymentStrategy": { + "properties": { + "rollingUpdate": { + "properties": { + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "instances": { + "default": 1, + "format": "int32", + "type": "integer" + }, + "monitoring": { + "properties": { + "enablePodMonitor": { + "default": false, + "type": "boolean" + }, + "podMonitorMetricRelabelings": { + "items": { + "properties": { + "action": { + "default": "replace", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ], + "type": "string" + }, + "modulus": { + "format": "int64", + "type": "integer" + }, + "regex": { + "type": "string" + }, + "replacement": { + "type": "string" + }, + "separator": { + "type": "string" + }, + "sourceLabels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetLabel": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "podMonitorRelabelings": { + "items": { + "properties": { + "action": { + "default": "replace", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ], + "type": "string" + }, + "modulus": { + "format": "int64", + "type": "integer" + }, + "regex": { + "type": "string" + }, + "replacement": { + "type": "string" + }, + "separator": { + "type": "string" + }, + "sourceLabels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetLabel": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "pgbouncer": { + "properties": { + "authQuery": { + "type": "string" + }, + "authQuerySecret": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientCASecret": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "clientTLSSecret": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "paused": { + "default": false, + "type": "boolean" + }, + "pg_hba": { + "items": { + "type": "string" + }, + "type": "array" + }, + "poolMode": { + "default": "session", + "enum": [ + "session", + "transaction" + ], + "type": "string" + }, + "serverCASecret": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "serverTLSSecret": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "serviceTemplate": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "allocateLoadBalancerNodePorts": { + "type": "boolean" + }, + "clusterIP": { + "type": "string" + }, + "clusterIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "type": "string" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "healthCheckNodePort": { + "format": "int32", + "type": "integer" + }, + "internalTrafficPolicy": { + "type": "string" + }, + "ipFamilies": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "loadBalancerClass": { + "type": "string" + }, + "loadBalancerIP": { + "type": "string" + }, + "loadBalancerSourceRanges": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "items": { + "properties": { + "appProtocol": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodePort": { + "format": "int32", + "type": "integer" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "protocol": { + "default": "TCP", + "type": "string" + }, + "targetPort": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "selector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "type": "string" + }, + "sessionAffinityConfig": { + "properties": { + "clientIP": { + "properties": { + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "trafficDistribution": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "template": { + "properties": { + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "activeDeadlineSeconds": { + "format": "int64", + "type": "integer" + }, + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "automountServiceAccountToken": { + "type": "boolean" + }, + "containers": { + "items": { + "properties": { + "args": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fileKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "optional": { + "default": false, + "type": "boolean" + }, + "path": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "required": [ + "key", + "path", + "volumeName" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "lifecycle": { + "properties": { + "postStart": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "preStop": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "stopSignal": { + "type": "string" + } + }, + "type": "object" + }, + "livenessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "default": "", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "properties": { + "containerPort": { + "format": "int32", + "type": "integer" + }, + "hostIP": { + "type": "string" + }, + "hostPort": { + "format": "int32", + "type": "integer" + }, + "name": { + "type": "string" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "default": "", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "items": { + "properties": { + "resourceName": { + "type": "string" + }, + "restartPolicy": { + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "request": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "type": "string" + }, + "restartPolicyRules": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "exitCodes": { + "properties": { + "operator": { + "type": "string" + }, + "values": { + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "operator" + ], + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "appArmorProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "startupProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "default": "", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "tty": { + "type": "boolean" + }, + "volumeDevices": { + "items": { + "properties": { + "devicePath": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "devicePath", + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "recursiveReadOnly": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "dnsConfig": { + "properties": { + "nameservers": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "options": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "searches": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "dnsPolicy": { + "type": "string" + }, + "enableServiceLinks": { + "type": "boolean" + }, + "ephemeralContainers": { + "items": { + "properties": { + "args": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fileKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "optional": { + "default": false, + "type": "boolean" + }, + "path": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "required": [ + "key", + "path", + "volumeName" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "lifecycle": { + "properties": { + "postStart": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "preStop": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "stopSignal": { + "type": "string" + } + }, + "type": "object" + }, + "livenessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "default": "", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "properties": { + "containerPort": { + "format": "int32", + "type": "integer" + }, + "hostIP": { + "type": "string" + }, + "hostPort": { + "format": "int32", + "type": "integer" + }, + "name": { + "type": "string" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "default": "", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "items": { + "properties": { + "resourceName": { + "type": "string" + }, + "restartPolicy": { + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "request": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "type": "string" + }, + "restartPolicyRules": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "exitCodes": { + "properties": { + "operator": { + "type": "string" + }, + "values": { + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "operator" + ], + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "appArmorProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "startupProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "default": "", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "targetContainerName": { + "type": "string" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "tty": { + "type": "boolean" + }, + "volumeDevices": { + "items": { + "properties": { + "devicePath": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "devicePath", + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "recursiveReadOnly": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "hostAliases": { + "items": { + "properties": { + "hostnames": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ip": { + "type": "string" + } + }, + "required": [ + "ip" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "ip" + ], + "x-kubernetes-list-type": "map" + }, + "hostIPC": { + "type": "boolean" + }, + "hostNetwork": { + "type": "boolean" + }, + "hostPID": { + "type": "boolean" + }, + "hostUsers": { + "type": "boolean" + }, + "hostname": { + "type": "string" + }, + "hostnameOverride": { + "type": "string" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "initContainers": { + "items": { + "properties": { + "args": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fileKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "optional": { + "default": false, + "type": "boolean" + }, + "path": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "required": [ + "key", + "path", + "volumeName" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "properties": { + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "image": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "lifecycle": { + "properties": { + "postStart": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "preStop": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "sleep": { + "properties": { + "seconds": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "stopSignal": { + "type": "string" + } + }, + "type": "object" + }, + "livenessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "default": "", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "properties": { + "containerPort": { + "format": "int32", + "type": "integer" + }, + "hostIP": { + "type": "string" + }, + "hostPort": { + "format": "int32", + "type": "integer" + }, + "name": { + "type": "string" + }, + "protocol": { + "default": "TCP", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "default": "", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "items": { + "properties": { + "resourceName": { + "type": "string" + }, + "restartPolicy": { + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "request": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "type": "string" + }, + "restartPolicyRules": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "exitCodes": { + "properties": { + "operator": { + "type": "string" + }, + "values": { + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "operator" + ], + "type": "object" + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "securityContext": { + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "appArmorProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "startupProbe": { + "properties": { + "exec": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "format": "int32", + "type": "integer" + }, + "grpc": { + "properties": { + "port": { + "format": "int32", + "type": "integer" + }, + "service": { + "default": "", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "properties": { + "host": { + "type": "string" + }, + "httpHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + }, + "scheme": { + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "properties": { + "host": { + "type": "string" + }, + "port": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "x-kubernetes-int-or-string": true + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "tty": { + "type": "boolean" + }, + "volumeDevices": { + "items": { + "properties": { + "devicePath": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "devicePath", + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "recursiveReadOnly": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "required": [ + "mountPath", + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "nodeName": { + "type": "string" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "os": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "overhead": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "preemptionPolicy": { + "type": "string" + }, + "priority": { + "format": "int32", + "type": "integer" + }, + "priorityClassName": { + "type": "string" + }, + "readinessGates": { + "items": { + "properties": { + "conditionType": { + "type": "string" + } + }, + "required": [ + "conditionType" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resourceClaims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "resourceClaimName": { + "type": "string" + }, + "resourceClaimTemplateName": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "request": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "type": "string" + }, + "runtimeClassName": { + "type": "string" + }, + "schedulerName": { + "type": "string" + }, + "schedulingGates": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "securityContext": { + "properties": { + "appArmorProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "fsGroup": { + "format": "int64", + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "format": "int64", + "type": "integer" + }, + "seLinuxChangePolicy": { + "type": "string" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supplementalGroups": { + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "supplementalGroupsPolicy": { + "type": "string" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serviceAccount": { + "type": "string" + }, + "serviceAccountName": { + "type": "string" + }, + "setHostnameAsFQDN": { + "type": "boolean" + }, + "shareProcessNamespace": { + "type": "boolean" + }, + "subdomain": { + "type": "string" + }, + "terminationGracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologySpreadConstraints": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "format": "int32", + "type": "integer" + }, + "minDomains": { + "format": "int32", + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } + }, + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "topologyKey", + "whenUnsatisfiable" + ], + "x-kubernetes-list-type": "map" + }, + "volumes": { + "items": { + "properties": { + "awsElasticBlockStore": { + "properties": { + "fsType": { + "type": "string" + }, + "partition": { + "format": "int32", + "type": "integer" + }, + "readOnly": { + "type": "boolean" + }, + "volumeID": { + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "azureDisk": { + "properties": { + "cachingMode": { + "type": "string" + }, + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "fsType": { + "default": "ext4", + "type": "string" + }, + "kind": { + "type": "string" + }, + "readOnly": { + "default": false, + "type": "boolean" + } + }, + "required": [ + "diskName", + "diskURI" + ], + "type": "object" + }, + "azureFile": { + "properties": { + "readOnly": { + "type": "boolean" + }, + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + } + }, + "required": [ + "secretName", + "shareName" + ], + "type": "object" + }, + "cephfs": { + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "user": { + "type": "string" + } + }, + "required": [ + "monitors" + ], + "type": "object" + }, + "cinder": { + "properties": { + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "volumeID": { + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "configMap": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "csi": { + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "nodePublishSecretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "readOnly": { + "type": "boolean" + }, + "volumeAttributes": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "driver" + ], + "type": "object" + }, + "downwardAPI": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "emptyDir": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "ephemeral": { + "properties": { + "volumeClaimTemplate": { + "properties": { + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "properties": { + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "type": "string" + }, + "volumeAttributesClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" + } + }, + "type": "object" + }, + "fc": { + "properties": { + "fsType": { + "type": "string" + }, + "lun": { + "format": "int32", + "type": "integer" + }, + "readOnly": { + "type": "boolean" + }, + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "flexVolume": { + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "options": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "driver" + ], + "type": "object" + }, + "flocker": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "type": "object" + }, + "gcePersistentDisk": { + "properties": { + "fsType": { + "type": "string" + }, + "partition": { + "format": "int32", + "type": "integer" + }, + "pdName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "pdName" + ], + "type": "object" + }, + "gitRepo": { + "properties": { + "directory": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + } + }, + "required": [ + "repository" + ], + "type": "object" + }, + "glusterfs": { + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "endpoints", + "path" + ], + "type": "object" + }, + "hostPath": { + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "image": { + "properties": { + "pullPolicy": { + "type": "string" + }, + "reference": { + "type": "string" + } + }, + "type": "object" + }, + "iscsi": { + "properties": { + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "initiatorName": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "iscsiInterface": { + "default": "default", + "type": "string" + }, + "lun": { + "format": "int32", + "type": "integer" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "targetPortal": { + "type": "string" + } + }, + "required": [ + "iqn", + "lun", + "targetPortal" + ], + "type": "object" + }, + "name": { + "type": "string" + }, + "nfs": { + "properties": { + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "server": { + "type": "string" + } + }, + "required": [ + "path", + "server" + ], + "type": "object" + }, + "persistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "photonPersistentDisk": { + "properties": { + "fsType": { + "type": "string" + }, + "pdID": { + "type": "string" + } + }, + "required": [ + "pdID" + ], + "type": "object" + }, + "portworxVolume": { + "properties": { + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "volumeID": { + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "projected": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "sources": { + "items": { + "properties": { + "clusterTrustBundle": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + }, + "path": { + "type": "string" + }, + "signerName": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "configMap": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "properties": { + "items": { + "items": { + "properties": { + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podCertificate": { + "properties": { + "certificateChainPath": { + "type": "string" + }, + "credentialBundlePath": { + "type": "string" + }, + "keyPath": { + "type": "string" + }, + "keyType": { + "type": "string" + }, + "maxExpirationSeconds": { + "format": "int32", + "type": "integer" + }, + "signerName": { + "type": "string" + } + }, + "required": [ + "keyType", + "signerName" + ], + "type": "object" + }, + "secret": { + "properties": { + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "format": "int64", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "quobyte": { + "properties": { + "group": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "registry": { + "type": "string" + }, + "tenant": { + "type": "string" + }, + "user": { + "type": "string" + }, + "volume": { + "type": "string" + } + }, + "required": [ + "registry", + "volume" + ], + "type": "object" + }, + "rbd": { + "properties": { + "fsType": { + "type": "string" + }, + "image": { + "type": "string" + }, + "keyring": { + "default": "/etc/ceph/keyring", + "type": "string" + }, + "monitors": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "pool": { + "default": "rbd", + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "user": { + "default": "admin", + "type": "string" + } + }, + "required": [ + "image", + "monitors" + ], + "type": "object" + }, + "scaleIO": { + "properties": { + "fsType": { + "default": "xfs", + "type": "string" + }, + "gateway": { + "type": "string" + }, + "protectionDomain": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sslEnabled": { + "type": "boolean" + }, + "storageMode": { + "default": "ThinProvisioned", + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "system": { + "type": "string" + }, + "volumeName": { + "type": "string" + } + }, + "required": [ + "gateway", + "secretRef", + "system" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultMode": { + "format": "int32", + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "format": "int32", + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "storageos": { + "properties": { + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + } + }, + "type": "object" + }, + "vsphereVolume": { + "properties": { + "fsType": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "volumePath": { + "type": "string" + } + }, + "required": [ + "volumePath" + ], + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "required": [ + "containers" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "default": "rw", + "enum": [ + "rw", + "ro", + "r" + ], + "type": "string" + } + }, + "required": [ + "cluster", + "pgbouncer" + ], + "type": "object" + }, + "status": { + "properties": { + "instances": { + "format": "int32", + "type": "integer" + }, + "secrets": { + "properties": { + "clientCA": { + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "clientTLS": { + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "pgBouncerSecrets": { + "properties": { + "authQuery": { + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "serverCA": { + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "serverTLS": { + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/postgresql.cnpg.io/publication_v1.json b/schemas/postgresql.cnpg.io/publication_v1.json new file mode 100644 index 0000000..2351055 --- /dev/null +++ b/schemas/postgresql.cnpg.io/publication_v1.json @@ -0,0 +1,154 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "cluster": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dbname": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "dbname is immutable", + "rule": "self == oldSelf" + } + ] + }, + "name": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "name is immutable", + "rule": "self == oldSelf" + } + ] + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "publicationReclaimPolicy": { + "default": "retain", + "enum": [ + "delete", + "retain" + ], + "type": "string" + }, + "target": { + "properties": { + "allTables": { + "type": "boolean", + "x-kubernetes-validations": [ + { + "message": "allTables is immutable", + "rule": "self == oldSelf" + } + ] + }, + "objects": { + "items": { + "properties": { + "table": { + "properties": { + "columns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "only": { + "type": "boolean" + }, + "schema": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "tablesInSchema": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "tablesInSchema and table are mutually exclusive", + "rule": "(has(self.tablesInSchema) && !has(self.table)) || (!has(self.tablesInSchema) && has(self.table))" + } + ] + }, + "maxItems": 100000, + "type": "array", + "x-kubernetes-validations": [ + { + "message": "specifying a column list when the publication also publishes tablesInSchema is not supported", + "rule": "!(self.exists(o, has(o.table) && has(o.table.columns)) && self.exists(o, has(o.tablesInSchema)))" + } + ] + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "allTables and objects are mutually exclusive", + "rule": "(has(self.allTables) && !has(self.objects)) || (!has(self.allTables) && has(self.objects))" + } + ] + } + }, + "required": [ + "cluster", + "dbname", + "name", + "target" + ], + "type": "object" + }, + "status": { + "properties": { + "applied": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/postgresql.cnpg.io/scheduledbackup_v1.json b/schemas/postgresql.cnpg.io/scheduledbackup_v1.json new file mode 100644 index 0000000..5de7fde --- /dev/null +++ b/schemas/postgresql.cnpg.io/scheduledbackup_v1.json @@ -0,0 +1,122 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "backupOwnerReference": { + "default": "none", + "enum": [ + "none", + "self", + "cluster" + ], + "type": "string" + }, + "cluster": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "immediate": { + "type": "boolean" + }, + "method": { + "default": "barmanObjectStore", + "enum": [ + "barmanObjectStore", + "volumeSnapshot", + "plugin" + ], + "type": "string" + }, + "online": { + "type": "boolean" + }, + "onlineConfiguration": { + "properties": { + "immediateCheckpoint": { + "type": "boolean" + }, + "waitForArchive": { + "default": true, + "type": "boolean" + } + }, + "type": "object" + }, + "pluginConfiguration": { + "properties": { + "name": { + "type": "string" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "schedule": { + "type": "string" + }, + "suspend": { + "type": "boolean" + }, + "target": { + "enum": [ + "primary", + "prefer-standby" + ], + "type": "string" + } + }, + "required": [ + "cluster", + "schedule" + ], + "type": "object" + }, + "status": { + "properties": { + "lastCheckTime": { + "format": "date-time", + "type": "string" + }, + "lastScheduleTime": { + "format": "date-time", + "type": "string" + }, + "nextScheduleTime": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/postgresql.cnpg.io/subscription_v1.json b/schemas/postgresql.cnpg.io/subscription_v1.json new file mode 100644 index 0000000..798d8f3 --- /dev/null +++ b/schemas/postgresql.cnpg.io/subscription_v1.json @@ -0,0 +1,97 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "cluster": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dbname": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "dbname is immutable", + "rule": "self == oldSelf" + } + ] + }, + "externalClusterName": { + "type": "string" + }, + "name": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "name is immutable", + "rule": "self == oldSelf" + } + ] + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "publicationDBName": { + "type": "string" + }, + "publicationName": { + "type": "string" + }, + "subscriptionReclaimPolicy": { + "default": "retain", + "enum": [ + "delete", + "retain" + ], + "type": "string" + } + }, + "required": [ + "cluster", + "dbname", + "externalClusterName", + "name", + "publicationName" + ], + "type": "object" + }, + "status": { + "properties": { + "applied": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" +} diff --git a/schemas/provisioning.cattle.io/cluster_v1.json b/schemas/provisioning.cattle.io/cluster_v1.json new file mode 100644 index 0000000..76a5f51 --- /dev/null +++ b/schemas/provisioning.cattle.io/cluster_v1.json @@ -0,0 +1,2495 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "agentEnvVars": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "clusterAPIConfig": { + "nullable": true, + "properties": { + "clusterName": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "clusterAgentDeploymentCustomization": { + "nullable": true, + "properties": { + "appendTolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "overrideAffinity": { + "nullable": true, + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "overrideResourceRequirements": { + "nullable": true, + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "request": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "schedulingCustomization": { + "nullable": true, + "properties": { + "podDisruptionBudget": { + "nullable": true, + "properties": { + "maxUnavailable": { + "maxLength": 10, + "nullable": true, + "pattern": "^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$", + "type": "string" + }, + "minAvailable": { + "maxLength": 10, + "nullable": true, + "pattern": "^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$", + "type": "string" + } + }, + "type": "object" + }, + "priorityClass": { + "nullable": true, + "properties": { + "preemptionPolicy": { + "nullable": true, + "type": "string" + }, + "value": { + "maximum": 1000000000, + "minimum": -1000000000, + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "defaultClusterRoleForProjectMembers": { + "nullable": true, + "type": "string" + }, + "defaultPodSecurityAdmissionConfigurationTemplateName": { + "nullable": true, + "type": "string" + }, + "enableNetworkPolicy": { + "nullable": true, + "type": "boolean" + }, + "fleetAgentDeploymentCustomization": { + "nullable": true, + "properties": { + "appendTolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "overrideAffinity": { + "nullable": true, + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "overrideResourceRequirements": { + "nullable": true, + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "request": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + }, + "schedulingCustomization": { + "nullable": true, + "properties": { + "podDisruptionBudget": { + "nullable": true, + "properties": { + "maxUnavailable": { + "maxLength": 10, + "nullable": true, + "pattern": "^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$", + "type": "string" + }, + "minAvailable": { + "maxLength": 10, + "nullable": true, + "pattern": "^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$", + "type": "string" + } + }, + "type": "object" + }, + "priorityClass": { + "nullable": true, + "properties": { + "preemptionPolicy": { + "nullable": true, + "type": "string" + }, + "value": { + "maximum": 1000000000, + "minimum": -1000000000, + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "kubernetesVersion": { + "nullable": true, + "type": "string" + }, + "localClusterAuthEndpoint": { + "properties": { + "caCerts": { + "nullable": true, + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "fqdn": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "redeploySystemAgentGeneration": { + "format": "int64", + "type": "integer" + }, + "rkeConfig": { + "nullable": true, + "properties": { + "additionalManifest": { + "nullable": true, + "type": "string" + }, + "chartValues": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "dataDirectories": { + "properties": { + "k8sDistro": { + "nullable": true, + "type": "string" + }, + "provisioning": { + "nullable": true, + "type": "string" + }, + "systemAgent": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "etcd": { + "nullable": true, + "properties": { + "disableSnapshots": { + "type": "boolean" + }, + "s3": { + "nullable": true, + "properties": { + "bucket": { + "maxLength": 63, + "nullable": true, + "type": "string" + }, + "cloudCredentialName": { + "nullable": true, + "type": "string" + }, + "endpoint": { + "nullable": true, + "type": "string" + }, + "endpointCA": { + "nullable": true, + "type": "string" + }, + "folder": { + "nullable": true, + "type": "string" + }, + "region": { + "nullable": true, + "type": "string" + }, + "skipSSLVerify": { + "type": "boolean" + } + }, + "type": "object" + }, + "snapshotRetention": { + "type": "integer" + }, + "snapshotScheduleCron": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "etcdSnapshotCreate": { + "nullable": true, + "properties": { + "generation": { + "type": "integer" + } + }, + "type": "object" + }, + "etcdSnapshotRestore": { + "nullable": true, + "properties": { + "generation": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "restoreRKEConfig": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "infrastructureRef": { + "nullable": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "machineGlobalConfig": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "machinePoolDefaults": { + "properties": { + "hostnameLengthLimit": { + "maximum": 63, + "minimum": 10, + "type": "integer" + } + }, + "type": "object" + }, + "machinePools": { + "items": { + "properties": { + "autoscalingMaxSize": { + "format": "int32", + "nullable": true, + "type": "integer" + }, + "autoscalingMinSize": { + "format": "int32", + "nullable": true, + "type": "integer" + }, + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "controlPlaneRole": { + "type": "boolean" + }, + "displayName": { + "nullable": true, + "type": "string" + }, + "drainBeforeDelete": { + "type": "boolean" + }, + "drainBeforeDeleteTimeout": { + "nullable": true, + "type": "string" + }, + "dynamicSchemaSpec": { + "nullable": true, + "type": "string" + }, + "etcdRole": { + "type": "boolean" + }, + "hostnameLengthLimit": { + "maximum": 63, + "minimum": 10, + "type": "integer" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "machineConfigRef": { + "nullable": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "machineDeploymentAnnotations": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "machineDeploymentLabels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "machineOS": { + "nullable": true, + "type": "string" + }, + "maxUnhealthy": { + "nullable": true, + "type": "string" + }, + "name": { + "minLength": 1, + "type": "string" + }, + "nodeStartupTimeout": { + "nullable": true, + "type": "string" + }, + "paused": { + "type": "boolean" + }, + "quantity": { + "format": "int32", + "minimum": 0, + "nullable": true, + "type": "integer" + }, + "rollingUpdate": { + "nullable": true, + "properties": { + "maxSurge": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "nullable": true, + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "unhealthyNodeTimeout": { + "nullable": true, + "type": "string" + }, + "unhealthyRange": { + "nullable": true, + "type": "string" + }, + "workerRole": { + "type": "boolean" + } + }, + "required": [ + "machineConfigRef", + "name" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "AutoscalingMinSize must be greater than 0 when ControlPlaneRole is true", + "rule": "!has(self.controlPlaneRole) || !self.controlPlaneRole || !has(self.autoscalingMinSize) || self.autoscalingMinSize > 0" + }, + { + "message": "AutoscalingMinSize must be greater than 0 when EtcdRole is true", + "rule": "!has(self.etcdRole) || !self.etcdRole || !has(self.autoscalingMinSize) || self.autoscalingMinSize > 0" + }, + { + "message": "AutoscalingMinSize must be less than or equal to AutoscalingMaxSize when both are non-nil", + "rule": "!has(self.autoscalingMaxSize) || !has(self.autoscalingMinSize) || self.autoscalingMinSize <= self.autoscalingMaxSize" + }, + { + "message": "AutoscalingMinSize and AutoscalingMaxSize must both be set if enabling cluster-autoscaling", + "rule": "(has(self.autoscalingMinSize) && has(self.autoscalingMaxSize)) || (!has(self.autoscalingMinSize) && !has(self.autoscalingMaxSize))" + } + ] + }, + "maxItems": 1000, + "nullable": true, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "machineSelectorConfig": { + "items": { + "properties": { + "config": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "machineLabelSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "machineSelectorFiles": { + "items": { + "properties": { + "fileSources": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultPermissions": { + "nullable": true, + "type": "string" + }, + "items": { + "items": { + "properties": { + "dynamic": { + "type": "boolean" + }, + "hash": { + "nullable": true, + "type": "string" + }, + "key": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "permissions": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "maxLength": 253, + "nullable": true, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultPermissions": { + "nullable": true, + "type": "string" + }, + "items": { + "items": { + "properties": { + "dynamic": { + "type": "boolean" + }, + "hash": { + "nullable": true, + "type": "string" + }, + "key": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "permissions": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "maxLength": 253, + "nullable": true, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "machineLabelSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "networking": { + "nullable": true, + "properties": { + "stackPreference": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "provisionGeneration": { + "type": "integer" + }, + "registries": { + "nullable": true, + "properties": { + "configs": { + "additionalProperties": { + "properties": { + "authConfigSecretName": { + "maxLength": 253, + "nullable": true, + "type": "string" + }, + "caBundle": { + "format": "byte", + "nullable": true, + "type": "string" + }, + "insecureSkipVerify": { + "type": "boolean" + }, + "tlsSecretName": { + "maxLength": 253, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "object" + }, + "mirrors": { + "additionalProperties": { + "properties": { + "endpoint": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "rewrite": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "rotateCertificates": { + "nullable": true, + "properties": { + "generation": { + "format": "int64", + "type": "integer" + }, + "services": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "rotateEncryptionKeys": { + "nullable": true, + "properties": { + "generation": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "upgradeStrategy": { + "properties": { + "controlPlaneConcurrency": { + "maxLength": 10, + "nullable": true, + "pattern": "^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$", + "type": "string" + }, + "controlPlaneDrainOptions": { + "properties": { + "deleteEmptyDirData": { + "type": "boolean" + }, + "disableEviction": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "gracePeriod": { + "type": "integer" + }, + "ignoreDaemonSets": { + "nullable": true, + "type": "boolean" + }, + "ignoreErrors": { + "type": "boolean" + }, + "postDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "preDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "skipWaitForDeleteTimeoutSeconds": { + "type": "integer" + }, + "timeout": { + "type": "integer" + } + }, + "type": "object" + }, + "workerConcurrency": { + "maxLength": 10, + "nullable": true, + "pattern": "^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$", + "type": "string" + }, + "workerDrainOptions": { + "properties": { + "deleteEmptyDirData": { + "type": "boolean" + }, + "disableEviction": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "gracePeriod": { + "type": "integer" + }, + "ignoreDaemonSets": { + "nullable": true, + "type": "boolean" + }, + "ignoreErrors": { + "type": "boolean" + }, + "postDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "preDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "skipWaitForDeleteTimeoutSeconds": { + "type": "integer" + }, + "timeout": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "agentDeployed": { + "type": "boolean" + }, + "clientSecretName": { + "maxLength": 253, + "type": "string" + }, + "clusterName": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "fleetWorkspaceName": { + "maxLength": 63, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/purelb.io/lbnodeagent_v1.json b/schemas/purelb.io/lbnodeagent_v1.json new file mode 100644 index 0000000..d9c0504 --- /dev/null +++ b/schemas/purelb.io/lbnodeagent_v1.json @@ -0,0 +1,49 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "local": { + "properties": { + "extlbint": { + "default": "kube-lb0", + "type": "string" + }, + "localint": { + "default": "default", + "type": "string" + }, + "sendgarp": { + "default": false, + "type": "boolean" + } + }, + "required": [ + "sendgarp" + ], + "type": "object" + } + }, + "required": [ + "local" + ], + "type": "object" + }, + "status": { + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/purelb.io/servicegroup_v1.json b/schemas/purelb.io/servicegroup_v1.json new file mode 100644 index 0000000..e23edbe --- /dev/null +++ b/schemas/purelb.io/servicegroup_v1.json @@ -0,0 +1,141 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "local": { + "properties": { + "aggregation": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "subnet": { + "type": "string" + }, + "v4pool": { + "properties": { + "aggregation": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "subnet": { + "type": "string" + } + }, + "required": [ + "aggregation", + "pool", + "subnet" + ], + "type": "object" + }, + "v4pools": { + "items": { + "properties": { + "aggregation": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "subnet": { + "type": "string" + } + }, + "required": [ + "aggregation", + "pool", + "subnet" + ], + "type": "object" + }, + "type": "array" + }, + "v6pool": { + "properties": { + "aggregation": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "subnet": { + "type": "string" + } + }, + "required": [ + "aggregation", + "pool", + "subnet" + ], + "type": "object" + }, + "v6pools": { + "items": { + "properties": { + "aggregation": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "subnet": { + "type": "string" + } + }, + "required": [ + "aggregation", + "pool", + "subnet" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "netbox": { + "properties": { + "aggregation": { + "type": "string" + }, + "tenant": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "aggregation", + "tenant", + "url" + ], + "type": "object" + } + }, + "type": "object" + }, + "status": { + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/clusterrole_v1.json b/schemas/rbac.authorization.k8s.io/clusterrole_v1.json new file mode 100644 index 0000000..443c1b7 --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/clusterrole_v1.json @@ -0,0 +1,28 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "aggregationRule": { + "additionalProperties": true, + "type": "object" + }, + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "rules": { + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/clusterrolebinding_v1.json b/schemas/rbac.authorization.k8s.io/clusterrolebinding_v1.json new file mode 100644 index 0000000..667012a --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/clusterrolebinding_v1.json @@ -0,0 +1,28 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "roleRef": { + "additionalProperties": true, + "type": "object" + }, + "subjects": { + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/clusterrolebindinglist_v1.json b/schemas/rbac.authorization.k8s.io/clusterrolebindinglist_v1.json new file mode 100644 index 0000000..43b000b --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/clusterrolebindinglist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/clusterrolelist_v1.json b/schemas/rbac.authorization.k8s.io/clusterrolelist_v1.json new file mode 100644 index 0000000..2233348 --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/clusterrolelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/deleteoptions_v1.json b/schemas/rbac.authorization.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/deleteoptions_v1alpha1.json b/schemas/rbac.authorization.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/deleteoptions_v1beta1.json b/schemas/rbac.authorization.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/role_v1.json b/schemas/rbac.authorization.k8s.io/role_v1.json new file mode 100644 index 0000000..0a178a7 --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/role_v1.json @@ -0,0 +1,24 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "rules": { + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/rolebinding_v1.json b/schemas/rbac.authorization.k8s.io/rolebinding_v1.json new file mode 100644 index 0000000..667012a --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/rolebinding_v1.json @@ -0,0 +1,28 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "roleRef": { + "additionalProperties": true, + "type": "object" + }, + "subjects": { + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/rolebindinglist_v1.json b/schemas/rbac.authorization.k8s.io/rolebindinglist_v1.json new file mode 100644 index 0000000..967d977 --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/rolebindinglist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/rolelist_v1.json b/schemas/rbac.authorization.k8s.io/rolelist_v1.json new file mode 100644 index 0000000..a016eb7 --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/rolelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/watchevent_v1.json b/schemas/rbac.authorization.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/watchevent_v1alpha1.json b/schemas/rbac.authorization.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rbac.authorization.k8s.io/watchevent_v1beta1.json b/schemas/rbac.authorization.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/rbac.authorization.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/replicationcontroller_v1.json b/schemas/replicationcontroller_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/replicationcontroller_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/replicationcontrollerlist_v1.json b/schemas/replicationcontrollerlist_v1.json new file mode 100644 index 0000000..01aaa9c --- /dev/null +++ b/schemas/replicationcontrollerlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/deleteoptions_v1alpha3.json b/schemas/resource.k8s.io/deleteoptions_v1alpha3.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/resource.k8s.io/deleteoptions_v1alpha3.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/deleteoptions_v1beta1.json b/schemas/resource.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/resource.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/deleteoptions_v1beta2.json b/schemas/resource.k8s.io/deleteoptions_v1beta2.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/resource.k8s.io/deleteoptions_v1beta2.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/deviceclass_v1alpha3.json b/schemas/resource.k8s.io/deviceclass_v1alpha3.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/resource.k8s.io/deviceclass_v1alpha3.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/deviceclass_v1beta1.json b/schemas/resource.k8s.io/deviceclass_v1beta1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/resource.k8s.io/deviceclass_v1beta1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/deviceclass_v1beta2.json b/schemas/resource.k8s.io/deviceclass_v1beta2.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/resource.k8s.io/deviceclass_v1beta2.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/deviceclasslist_v1alpha3.json b/schemas/resource.k8s.io/deviceclasslist_v1alpha3.json new file mode 100644 index 0000000..75465c3 --- /dev/null +++ b/schemas/resource.k8s.io/deviceclasslist_v1alpha3.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/deviceclasslist_v1beta1.json b/schemas/resource.k8s.io/deviceclasslist_v1beta1.json new file mode 100644 index 0000000..8644a8a --- /dev/null +++ b/schemas/resource.k8s.io/deviceclasslist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/deviceclasslist_v1beta2.json b/schemas/resource.k8s.io/deviceclasslist_v1beta2.json new file mode 100644 index 0000000..ca670f6 --- /dev/null +++ b/schemas/resource.k8s.io/deviceclasslist_v1beta2.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta2.DeviceClass" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/devicetaintrule_v1alpha3.json b/schemas/resource.k8s.io/devicetaintrule_v1alpha3.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/resource.k8s.io/devicetaintrule_v1alpha3.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/devicetaintrulelist_v1alpha3.json b/schemas/resource.k8s.io/devicetaintrulelist_v1alpha3.json new file mode 100644 index 0000000..d5b6d2d --- /dev/null +++ b/schemas/resource.k8s.io/devicetaintrulelist_v1alpha3.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceTaintRule" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaim_v1alpha3.json b/schemas/resource.k8s.io/resourceclaim_v1alpha3.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaim_v1alpha3.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaim_v1beta1.json b/schemas/resource.k8s.io/resourceclaim_v1beta1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaim_v1beta1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaim_v1beta2.json b/schemas/resource.k8s.io/resourceclaim_v1beta2.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaim_v1beta2.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaimlist_v1alpha3.json b/schemas/resource.k8s.io/resourceclaimlist_v1alpha3.json new file mode 100644 index 0000000..d77895f --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaimlist_v1alpha3.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaimlist_v1beta1.json b/schemas/resource.k8s.io/resourceclaimlist_v1beta1.json new file mode 100644 index 0000000..fc209f1 --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaimlist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaimlist_v1beta2.json b/schemas/resource.k8s.io/resourceclaimlist_v1beta2.json new file mode 100644 index 0000000..52df97f --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaimlist_v1beta2.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta2.ResourceClaim" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaimtemplate_v1alpha3.json b/schemas/resource.k8s.io/resourceclaimtemplate_v1alpha3.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaimtemplate_v1alpha3.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaimtemplate_v1beta1.json b/schemas/resource.k8s.io/resourceclaimtemplate_v1beta1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaimtemplate_v1beta1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaimtemplate_v1beta2.json b/schemas/resource.k8s.io/resourceclaimtemplate_v1beta2.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaimtemplate_v1beta2.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaimtemplatelist_v1alpha3.json b/schemas/resource.k8s.io/resourceclaimtemplatelist_v1alpha3.json new file mode 100644 index 0000000..8673ac8 --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaimtemplatelist_v1alpha3.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaimtemplatelist_v1beta1.json b/schemas/resource.k8s.io/resourceclaimtemplatelist_v1beta1.json new file mode 100644 index 0000000..12d48b4 --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaimtemplatelist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceclaimtemplatelist_v1beta2.json b/schemas/resource.k8s.io/resourceclaimtemplatelist_v1beta2.json new file mode 100644 index 0000000..1bf39b5 --- /dev/null +++ b/schemas/resource.k8s.io/resourceclaimtemplatelist_v1beta2.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta2.ResourceClaimTemplate" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceslice_v1alpha3.json b/schemas/resource.k8s.io/resourceslice_v1alpha3.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/resource.k8s.io/resourceslice_v1alpha3.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceslice_v1beta1.json b/schemas/resource.k8s.io/resourceslice_v1beta1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/resource.k8s.io/resourceslice_v1beta1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceslice_v1beta2.json b/schemas/resource.k8s.io/resourceslice_v1beta2.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/resource.k8s.io/resourceslice_v1beta2.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceslicelist_v1alpha3.json b/schemas/resource.k8s.io/resourceslicelist_v1alpha3.json new file mode 100644 index 0000000..f9b9aa1 --- /dev/null +++ b/schemas/resource.k8s.io/resourceslicelist_v1alpha3.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceslicelist_v1beta1.json b/schemas/resource.k8s.io/resourceslicelist_v1beta1.json new file mode 100644 index 0000000..e21a40b --- /dev/null +++ b/schemas/resource.k8s.io/resourceslicelist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/resourceslicelist_v1beta2.json b/schemas/resource.k8s.io/resourceslicelist_v1beta2.json new file mode 100644 index 0000000..c3cb0f8 --- /dev/null +++ b/schemas/resource.k8s.io/resourceslicelist_v1beta2.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta2.ResourceSlice" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/watchevent_v1alpha3.json b/schemas/resource.k8s.io/watchevent_v1alpha3.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/resource.k8s.io/watchevent_v1alpha3.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/watchevent_v1beta1.json b/schemas/resource.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/resource.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/resource.k8s.io/watchevent_v1beta2.json b/schemas/resource.k8s.io/watchevent_v1beta2.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/resource.k8s.io/watchevent_v1beta2.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/resourcequota_v1.json b/schemas/resourcequota_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/resourcequota_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/resourcequotalist_v1.json b/schemas/resourcequotalist_v1.json new file mode 100644 index 0000000..77ee691 --- /dev/null +++ b/schemas/resourcequotalist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine-config.cattle.io/amazonec2config_v1.json b/schemas/rke-machine-config.cattle.io/amazonec2config_v1.json new file mode 100644 index 0000000..9ef4f69 --- /dev/null +++ b/schemas/rke-machine-config.cattle.io/amazonec2config_v1.json @@ -0,0 +1,209 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "accessKey": { + "default": "", + "nullable": true, + "type": "string" + }, + "ami": { + "default": "", + "nullable": true, + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "blockDurationMinutes": { + "default": "0", + "nullable": true, + "type": "string" + }, + "deviceName": { + "default": "", + "nullable": true, + "type": "string" + }, + "enablePrimaryIpv6": { + "default": false, + "type": "boolean" + }, + "encryptEbsVolume": { + "default": false, + "type": "boolean" + }, + "endpoint": { + "default": "", + "nullable": true, + "type": "string" + }, + "httpEndpoint": { + "default": "", + "nullable": true, + "type": "string" + }, + "httpProtocolIpv6": { + "default": "disabled", + "nullable": true, + "type": "string" + }, + "httpTokens": { + "default": "", + "nullable": true, + "type": "string" + }, + "iamInstanceProfile": { + "default": "", + "nullable": true, + "type": "string" + }, + "insecureTransport": { + "default": false, + "type": "boolean" + }, + "instanceType": { + "default": "t2.micro", + "nullable": true, + "type": "string" + }, + "ipv6AddressCount": { + "default": "0", + "nullable": true, + "type": "string" + }, + "ipv6AddressOnly": { + "default": false, + "type": "boolean" + }, + "keypairName": { + "default": "", + "nullable": true, + "type": "string" + }, + "kind": { + "type": "string" + }, + "kmsKey": { + "default": "", + "nullable": true, + "type": "string" + }, + "metadata": { + "type": "object" + }, + "monitoring": { + "default": false, + "type": "boolean" + }, + "openPort": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "privateAddressOnly": { + "default": false, + "type": "boolean" + }, + "region": { + "default": "us-east-1", + "nullable": true, + "type": "string" + }, + "requestSpotInstance": { + "default": false, + "type": "boolean" + }, + "retries": { + "default": "5", + "nullable": true, + "type": "string" + }, + "rootSize": { + "default": "16", + "nullable": true, + "type": "string" + }, + "secretKey": { + "default": "", + "nullable": true, + "type": "string" + }, + "securityGroup": { + "default": [ + "rancher-nodes" + ], + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "securityGroupReadonly": { + "default": false, + "type": "boolean" + }, + "sessionToken": { + "default": "", + "nullable": true, + "type": "string" + }, + "spotPrice": { + "default": "0.50", + "nullable": true, + "type": "string" + }, + "sshKeyContents": { + "default": "", + "nullable": true, + "type": "string" + }, + "sshUser": { + "default": "ubuntu", + "nullable": true, + "type": "string" + }, + "subnetId": { + "default": "", + "nullable": true, + "type": "string" + }, + "tags": { + "default": "", + "nullable": true, + "type": "string" + }, + "useEbsOptimizedInstance": { + "default": false, + "type": "boolean" + }, + "usePrivateAddress": { + "default": false, + "type": "boolean" + }, + "userdata": { + "default": "", + "nullable": true, + "type": "string" + }, + "volumeType": { + "default": "gp2", + "nullable": true, + "type": "string" + }, + "vpcId": { + "default": "", + "nullable": true, + "type": "string" + }, + "zone": { + "default": "a", + "nullable": true, + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine-config.cattle.io/azureconfig_v1.json b/schemas/rke-machine-config.cattle.io/azureconfig_v1.json new file mode 100644 index 0000000..d11f565 --- /dev/null +++ b/schemas/rke-machine-config.cattle.io/azureconfig_v1.json @@ -0,0 +1,177 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "acceleratedNetworking": { + "default": false, + "type": "boolean" + }, + "apiVersion": { + "type": "string" + }, + "availabilitySet": { + "default": "docker-machine", + "nullable": true, + "type": "string" + }, + "availabilityZone": { + "default": "", + "nullable": true, + "type": "string" + }, + "clientId": { + "default": "", + "nullable": true, + "type": "string" + }, + "clientSecret": { + "default": "", + "nullable": true, + "type": "string" + }, + "customData": { + "default": "", + "nullable": true, + "type": "string" + }, + "diskSize": { + "default": "30", + "nullable": true, + "type": "string" + }, + "dns": { + "default": "", + "nullable": true, + "type": "string" + }, + "dockerPort": { + "default": "2376", + "nullable": true, + "type": "string" + }, + "enablePublicIpStandardSku": { + "default": false, + "type": "boolean" + }, + "environment": { + "default": "AzurePublicCloud", + "nullable": true, + "type": "string" + }, + "faultDomainCount": { + "default": "3", + "nullable": true, + "type": "string" + }, + "image": { + "default": "canonical:ubuntu-24_04-lts:server-gen1:latest", + "nullable": true, + "type": "string" + }, + "kind": { + "type": "string" + }, + "location": { + "default": "westus", + "nullable": true, + "type": "string" + }, + "managedDisks": { + "default": false, + "type": "boolean" + }, + "metadata": { + "type": "object" + }, + "noPublicIp": { + "default": false, + "type": "boolean" + }, + "nsg": { + "default": "", + "nullable": true, + "type": "string" + }, + "openPort": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "plan": { + "default": "", + "nullable": true, + "type": "string" + }, + "privateIpAddress": { + "default": "", + "nullable": true, + "type": "string" + }, + "resourceGroup": { + "default": "docker-machine", + "nullable": true, + "type": "string" + }, + "size": { + "default": "Standard_D2_v2", + "nullable": true, + "type": "string" + }, + "sshUser": { + "default": "docker-user", + "nullable": true, + "type": "string" + }, + "staticPublicIp": { + "default": false, + "type": "boolean" + }, + "storageType": { + "default": "Standard_LRS", + "nullable": true, + "type": "string" + }, + "subnet": { + "default": "docker-machine", + "nullable": true, + "type": "string" + }, + "subnetPrefix": { + "default": "192.168.0.0/16", + "nullable": true, + "type": "string" + }, + "subscriptionId": { + "default": "", + "nullable": true, + "type": "string" + }, + "tags": { + "default": "", + "nullable": true, + "type": "string" + }, + "tenantId": { + "default": "", + "nullable": true, + "type": "string" + }, + "updateDomainCount": { + "default": "5", + "nullable": true, + "type": "string" + }, + "usePrivateIp": { + "default": false, + "type": "boolean" + }, + "vnet": { + "default": "docker-machine-vnet", + "nullable": true, + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine-config.cattle.io/digitaloceanconfig_v1.json b/schemas/rke-machine-config.cattle.io/digitaloceanconfig_v1.json new file mode 100644 index 0000000..c08d656 --- /dev/null +++ b/schemas/rke-machine-config.cattle.io/digitaloceanconfig_v1.json @@ -0,0 +1,81 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "accessToken": { + "default": "", + "nullable": true, + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "backups": { + "default": false, + "type": "boolean" + }, + "image": { + "default": "ubuntu-20-04-x64", + "nullable": true, + "type": "string" + }, + "ipv6": { + "default": false, + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "monitoring": { + "default": false, + "type": "boolean" + }, + "privateNetworking": { + "default": false, + "type": "boolean" + }, + "region": { + "default": "nyc3", + "nullable": true, + "type": "string" + }, + "size": { + "default": "s-1vcpu-1gb", + "nullable": true, + "type": "string" + }, + "sshKeyContents": { + "default": "", + "nullable": true, + "type": "string" + }, + "sshKeyFingerprint": { + "default": "", + "nullable": true, + "type": "string" + }, + "sshPort": { + "default": "22", + "nullable": true, + "type": "string" + }, + "sshUser": { + "default": "root", + "nullable": true, + "type": "string" + }, + "tags": { + "default": "", + "nullable": true, + "type": "string" + }, + "userdata": { + "default": "", + "nullable": true, + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine-config.cattle.io/harvesterconfig_v1.json b/schemas/rke-machine-config.cattle.io/harvesterconfig_v1.json new file mode 100644 index 0000000..ef1a99b --- /dev/null +++ b/schemas/rke-machine-config.cattle.io/harvesterconfig_v1.json @@ -0,0 +1,165 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "cloudConfig": { + "default": "", + "nullable": true, + "type": "string" + }, + "clusterId": { + "default": "", + "nullable": true, + "type": "string" + }, + "clusterName": { + "default": "", + "nullable": true, + "type": "string" + }, + "clusterType": { + "default": "", + "nullable": true, + "type": "string" + }, + "cpuCount": { + "default": "2", + "nullable": true, + "type": "string" + }, + "cpuPinning": { + "default": false, + "type": "boolean" + }, + "diskBus": { + "default": "", + "nullable": true, + "type": "string" + }, + "diskInfo": { + "default": "", + "nullable": true, + "type": "string" + }, + "diskSize": { + "default": "0", + "nullable": true, + "type": "string" + }, + "enableEfi": { + "default": false, + "type": "boolean" + }, + "enableSecureBoot": { + "default": false, + "type": "boolean" + }, + "enableTpm": { + "default": false, + "type": "boolean" + }, + "imageName": { + "default": "", + "nullable": true, + "type": "string" + }, + "isolateEmulatorThread": { + "default": false, + "type": "boolean" + }, + "keyPairName": { + "default": "", + "nullable": true, + "type": "string" + }, + "kind": { + "type": "string" + }, + "kubeconfigContent": { + "default": "", + "nullable": true, + "type": "string" + }, + "memorySize": { + "default": "4", + "nullable": true, + "type": "string" + }, + "metadata": { + "type": "object" + }, + "networkData": { + "default": "", + "nullable": true, + "type": "string" + }, + "networkInfo": { + "default": "", + "nullable": true, + "type": "string" + }, + "networkModel": { + "default": "", + "nullable": true, + "type": "string" + }, + "networkName": { + "default": "", + "nullable": true, + "type": "string" + }, + "networkType": { + "default": "", + "nullable": true, + "type": "string" + }, + "reservedMemorySize": { + "default": "-1", + "nullable": true, + "type": "string" + }, + "sshPassword": { + "default": "", + "nullable": true, + "type": "string" + }, + "sshPort": { + "default": "22", + "nullable": true, + "type": "string" + }, + "sshPrivateKeyPath": { + "default": "", + "nullable": true, + "type": "string" + }, + "sshUser": { + "default": "root", + "nullable": true, + "type": "string" + }, + "userData": { + "default": "", + "nullable": true, + "type": "string" + }, + "vgpuInfo": { + "default": "", + "nullable": true, + "type": "string" + }, + "vmAffinity": { + "default": "", + "nullable": true, + "type": "string" + }, + "vmNamespace": { + "default": "default", + "nullable": true, + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine-config.cattle.io/linodeconfig_v1.json b/schemas/rke-machine-config.cattle.io/linodeconfig_v1.json new file mode 100644 index 0000000..abae3c1 --- /dev/null +++ b/schemas/rke-machine-config.cattle.io/linodeconfig_v1.json @@ -0,0 +1,94 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "authorizedUsers": { + "default": "", + "nullable": true, + "type": "string" + }, + "createPrivateIp": { + "default": false, + "type": "boolean" + }, + "dockerPort": { + "default": "2376", + "nullable": true, + "type": "string" + }, + "image": { + "default": "linode/ubuntu18.04", + "nullable": true, + "type": "string" + }, + "instanceType": { + "default": "g6-standard-4", + "nullable": true, + "type": "string" + }, + "kind": { + "type": "string" + }, + "label": { + "default": "", + "nullable": true, + "type": "string" + }, + "metadata": { + "type": "object" + }, + "region": { + "default": "us-east", + "nullable": true, + "type": "string" + }, + "rootPass": { + "default": "", + "nullable": true, + "type": "string" + }, + "sshPort": { + "default": "22", + "nullable": true, + "type": "string" + }, + "sshUser": { + "default": "", + "nullable": true, + "type": "string" + }, + "stackscript": { + "default": "", + "nullable": true, + "type": "string" + }, + "stackscriptData": { + "default": "", + "nullable": true, + "type": "string" + }, + "swapSize": { + "default": "512", + "nullable": true, + "type": "string" + }, + "tags": { + "default": "", + "nullable": true, + "type": "string" + }, + "token": { + "default": "", + "nullable": true, + "type": "string" + }, + "uaPrefix": { + "default": "", + "nullable": true, + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine-config.cattle.io/vmwarevsphereconfig_v1.json b/schemas/rke-machine-config.cattle.io/vmwarevsphereconfig_v1.json new file mode 100644 index 0000000..460f2b1 --- /dev/null +++ b/schemas/rke-machine-config.cattle.io/vmwarevsphereconfig_v1.json @@ -0,0 +1,241 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "boot2dockerUrl": { + "default": "", + "nullable": true, + "type": "string" + }, + "cfgparam": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "cloneFrom": { + "default": "", + "nullable": true, + "type": "string" + }, + "cloudConfig": { + "default": "", + "nullable": true, + "type": "string" + }, + "cloudinit": { + "default": "", + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "nullable": true, + "type": "string" + }, + "key": { + "nullable": true, + "type": "string" + }, + "timeAdded": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "contentLibrary": { + "default": "", + "nullable": true, + "type": "string" + }, + "cpuCount": { + "default": "2", + "nullable": true, + "type": "string" + }, + "creationType": { + "default": "legacy", + "nullable": true, + "type": "string" + }, + "customAttribute": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "datacenter": { + "default": "", + "nullable": true, + "type": "string" + }, + "datastore": { + "default": "", + "nullable": true, + "type": "string" + }, + "datastoreCluster": { + "default": "", + "nullable": true, + "type": "string" + }, + "diskSize": { + "default": "20480", + "nullable": true, + "type": "string" + }, + "folder": { + "default": "", + "nullable": true, + "type": "string" + }, + "gracefulShutdownTimeout": { + "default": "0", + "nullable": true, + "type": "string" + }, + "hostsystem": { + "default": "", + "nullable": true, + "type": "string" + }, + "kind": { + "type": "string" + }, + "memorySize": { + "default": "2048", + "nullable": true, + "type": "string" + }, + "metadata": { + "type": "object" + }, + "network": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "os": { + "default": "linux", + "nullable": true, + "type": "string" + }, + "password": { + "default": "", + "nullable": true, + "type": "string" + }, + "pool": { + "default": "", + "nullable": true, + "type": "string" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "sshPassword": { + "default": "tcuser", + "nullable": true, + "type": "string" + }, + "sshPort": { + "default": "22", + "nullable": true, + "type": "string" + }, + "sshUser": { + "default": "docker", + "nullable": true, + "type": "string" + }, + "sshUserGroup": { + "default": "staff", + "nullable": true, + "type": "string" + }, + "tag": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "username": { + "default": "", + "nullable": true, + "type": "string" + }, + "vappIpallocationpolicy": { + "default": "", + "nullable": true, + "type": "string" + }, + "vappIpprotocol": { + "default": "", + "nullable": true, + "type": "string" + }, + "vappProperty": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "vappTransport": { + "default": "", + "nullable": true, + "type": "string" + }, + "vcenter": { + "default": "", + "nullable": true, + "type": "string" + }, + "vcenterPort": { + "default": "443", + "nullable": true, + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/amazonec2machine_v1.json b/schemas/rke-machine.cattle.io/amazonec2machine_v1.json new file mode 100644 index 0000000..fc21017 --- /dev/null +++ b/schemas/rke-machine.cattle.io/amazonec2machine_v1.json @@ -0,0 +1,304 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "accessKey": { + "nullable": true, + "type": "string" + }, + "ami": { + "nullable": true, + "type": "string" + }, + "blockDurationMinutes": { + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "deviceName": { + "nullable": true, + "type": "string" + }, + "enablePrimaryIpv6": { + "type": "boolean" + }, + "encryptEbsVolume": { + "type": "boolean" + }, + "endpoint": { + "nullable": true, + "type": "string" + }, + "httpEndpoint": { + "nullable": true, + "type": "string" + }, + "httpProtocolIpv6": { + "nullable": true, + "type": "string" + }, + "httpTokens": { + "nullable": true, + "type": "string" + }, + "iamInstanceProfile": { + "nullable": true, + "type": "string" + }, + "insecureTransport": { + "type": "boolean" + }, + "instanceType": { + "nullable": true, + "type": "string" + }, + "ipv6AddressCount": { + "nullable": true, + "type": "string" + }, + "ipv6AddressOnly": { + "type": "boolean" + }, + "keypairName": { + "nullable": true, + "type": "string" + }, + "kmsKey": { + "nullable": true, + "type": "string" + }, + "monitoring": { + "type": "boolean" + }, + "openPort": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "privateAddressOnly": { + "type": "boolean" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "region": { + "nullable": true, + "type": "string" + }, + "requestSpotInstance": { + "type": "boolean" + }, + "retries": { + "nullable": true, + "type": "string" + }, + "rootSize": { + "nullable": true, + "type": "string" + }, + "secretKey": { + "nullable": true, + "type": "string" + }, + "securityGroup": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "securityGroupReadonly": { + "type": "boolean" + }, + "sessionToken": { + "nullable": true, + "type": "string" + }, + "spotPrice": { + "nullable": true, + "type": "string" + }, + "sshKeyContents": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "subnetId": { + "nullable": true, + "type": "string" + }, + "tags": { + "nullable": true, + "type": "string" + }, + "useEbsOptimizedInstance": { + "type": "boolean" + }, + "usePrivateAddress": { + "type": "boolean" + }, + "userdata": { + "nullable": true, + "type": "string" + }, + "volumeType": { + "nullable": true, + "type": "string" + }, + "vpcId": { + "nullable": true, + "type": "string" + }, + "zone": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "addresses": { + "items": { + "properties": { + "address": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "type": { + "enum": [ + "Hostname", + "ExternalIP", + "InternalIP", + "ExternalDNS", + "InternalDNS" + ], + "type": "string" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "cloudCredentialSecretName": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "driverHash": { + "type": "string" + }, + "driverUrl": { + "type": "string" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "jobName": { + "type": "string" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/amazonec2machinetemplate_v1.json b/schemas/rke-machine.cattle.io/amazonec2machinetemplate_v1.json new file mode 100644 index 0000000..2849cfe --- /dev/null +++ b/schemas/rke-machine.cattle.io/amazonec2machinetemplate_v1.json @@ -0,0 +1,235 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "nullable": true, + "type": "string" + }, + "template": { + "properties": { + "spec": { + "properties": { + "accessKey": { + "nullable": true, + "type": "string" + }, + "ami": { + "nullable": true, + "type": "string" + }, + "blockDurationMinutes": { + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "deviceName": { + "nullable": true, + "type": "string" + }, + "enablePrimaryIpv6": { + "type": "boolean" + }, + "encryptEbsVolume": { + "type": "boolean" + }, + "endpoint": { + "nullable": true, + "type": "string" + }, + "httpEndpoint": { + "nullable": true, + "type": "string" + }, + "httpProtocolIpv6": { + "nullable": true, + "type": "string" + }, + "httpTokens": { + "nullable": true, + "type": "string" + }, + "iamInstanceProfile": { + "nullable": true, + "type": "string" + }, + "insecureTransport": { + "type": "boolean" + }, + "instanceType": { + "nullable": true, + "type": "string" + }, + "ipv6AddressCount": { + "nullable": true, + "type": "string" + }, + "ipv6AddressOnly": { + "type": "boolean" + }, + "keypairName": { + "nullable": true, + "type": "string" + }, + "kmsKey": { + "nullable": true, + "type": "string" + }, + "monitoring": { + "type": "boolean" + }, + "openPort": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "privateAddressOnly": { + "type": "boolean" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "region": { + "nullable": true, + "type": "string" + }, + "requestSpotInstance": { + "type": "boolean" + }, + "retries": { + "nullable": true, + "type": "string" + }, + "rootSize": { + "nullable": true, + "type": "string" + }, + "secretKey": { + "nullable": true, + "type": "string" + }, + "securityGroup": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "securityGroupReadonly": { + "type": "boolean" + }, + "sessionToken": { + "nullable": true, + "type": "string" + }, + "spotPrice": { + "nullable": true, + "type": "string" + }, + "sshKeyContents": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "subnetId": { + "nullable": true, + "type": "string" + }, + "tags": { + "nullable": true, + "type": "string" + }, + "useEbsOptimizedInstance": { + "type": "boolean" + }, + "usePrivateAddress": { + "type": "boolean" + }, + "userdata": { + "nullable": true, + "type": "string" + }, + "volumeType": { + "nullable": true, + "type": "string" + }, + "vpcId": { + "nullable": true, + "type": "string" + }, + "zone": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/azuremachine_v1.json b/schemas/rke-machine.cattle.io/azuremachine_v1.json new file mode 100644 index 0000000..8715d9e --- /dev/null +++ b/schemas/rke-machine.cattle.io/azuremachine_v1.json @@ -0,0 +1,280 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "acceleratedNetworking": { + "type": "boolean" + }, + "availabilitySet": { + "nullable": true, + "type": "string" + }, + "availabilityZone": { + "nullable": true, + "type": "string" + }, + "clientId": { + "nullable": true, + "type": "string" + }, + "clientSecret": { + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "customData": { + "nullable": true, + "type": "string" + }, + "diskSize": { + "nullable": true, + "type": "string" + }, + "dns": { + "nullable": true, + "type": "string" + }, + "dockerPort": { + "nullable": true, + "type": "string" + }, + "enablePublicIpStandardSku": { + "type": "boolean" + }, + "environment": { + "nullable": true, + "type": "string" + }, + "faultDomainCount": { + "nullable": true, + "type": "string" + }, + "image": { + "nullable": true, + "type": "string" + }, + "location": { + "nullable": true, + "type": "string" + }, + "managedDisks": { + "type": "boolean" + }, + "noPublicIp": { + "type": "boolean" + }, + "nsg": { + "nullable": true, + "type": "string" + }, + "openPort": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "plan": { + "nullable": true, + "type": "string" + }, + "privateIpAddress": { + "nullable": true, + "type": "string" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "resourceGroup": { + "nullable": true, + "type": "string" + }, + "size": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "staticPublicIp": { + "type": "boolean" + }, + "storageType": { + "nullable": true, + "type": "string" + }, + "subnet": { + "nullable": true, + "type": "string" + }, + "subnetPrefix": { + "nullable": true, + "type": "string" + }, + "subscriptionId": { + "nullable": true, + "type": "string" + }, + "tags": { + "nullable": true, + "type": "string" + }, + "tenantId": { + "nullable": true, + "type": "string" + }, + "updateDomainCount": { + "nullable": true, + "type": "string" + }, + "usePrivateIp": { + "type": "boolean" + }, + "vnet": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "addresses": { + "items": { + "properties": { + "address": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "type": { + "enum": [ + "Hostname", + "ExternalIP", + "InternalIP", + "ExternalDNS", + "InternalDNS" + ], + "type": "string" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "cloudCredentialSecretName": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "driverHash": { + "type": "string" + }, + "driverUrl": { + "type": "string" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "jobName": { + "type": "string" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/azuremachinetemplate_v1.json b/schemas/rke-machine.cattle.io/azuremachinetemplate_v1.json new file mode 100644 index 0000000..4432e9d --- /dev/null +++ b/schemas/rke-machine.cattle.io/azuremachinetemplate_v1.json @@ -0,0 +1,211 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "nullable": true, + "type": "string" + }, + "template": { + "properties": { + "spec": { + "properties": { + "acceleratedNetworking": { + "type": "boolean" + }, + "availabilitySet": { + "nullable": true, + "type": "string" + }, + "availabilityZone": { + "nullable": true, + "type": "string" + }, + "clientId": { + "nullable": true, + "type": "string" + }, + "clientSecret": { + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "customData": { + "nullable": true, + "type": "string" + }, + "diskSize": { + "nullable": true, + "type": "string" + }, + "dns": { + "nullable": true, + "type": "string" + }, + "dockerPort": { + "nullable": true, + "type": "string" + }, + "enablePublicIpStandardSku": { + "type": "boolean" + }, + "environment": { + "nullable": true, + "type": "string" + }, + "faultDomainCount": { + "nullable": true, + "type": "string" + }, + "image": { + "nullable": true, + "type": "string" + }, + "location": { + "nullable": true, + "type": "string" + }, + "managedDisks": { + "type": "boolean" + }, + "noPublicIp": { + "type": "boolean" + }, + "nsg": { + "nullable": true, + "type": "string" + }, + "openPort": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "plan": { + "nullable": true, + "type": "string" + }, + "privateIpAddress": { + "nullable": true, + "type": "string" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "resourceGroup": { + "nullable": true, + "type": "string" + }, + "size": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "staticPublicIp": { + "type": "boolean" + }, + "storageType": { + "nullable": true, + "type": "string" + }, + "subnet": { + "nullable": true, + "type": "string" + }, + "subnetPrefix": { + "nullable": true, + "type": "string" + }, + "subscriptionId": { + "nullable": true, + "type": "string" + }, + "tags": { + "nullable": true, + "type": "string" + }, + "tenantId": { + "nullable": true, + "type": "string" + }, + "updateDomainCount": { + "nullable": true, + "type": "string" + }, + "usePrivateIp": { + "type": "boolean" + }, + "vnet": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/digitaloceanmachine_v1.json b/schemas/rke-machine.cattle.io/digitaloceanmachine_v1.json new file mode 100644 index 0000000..3f1d4a8 --- /dev/null +++ b/schemas/rke-machine.cattle.io/digitaloceanmachine_v1.json @@ -0,0 +1,202 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "accessToken": { + "nullable": true, + "type": "string" + }, + "backups": { + "type": "boolean" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "image": { + "nullable": true, + "type": "string" + }, + "ipv6": { + "type": "boolean" + }, + "monitoring": { + "type": "boolean" + }, + "privateNetworking": { + "type": "boolean" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "region": { + "nullable": true, + "type": "string" + }, + "size": { + "nullable": true, + "type": "string" + }, + "sshKeyContents": { + "nullable": true, + "type": "string" + }, + "sshKeyFingerprint": { + "nullable": true, + "type": "string" + }, + "sshPort": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "tags": { + "nullable": true, + "type": "string" + }, + "userdata": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "addresses": { + "items": { + "properties": { + "address": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "type": { + "enum": [ + "Hostname", + "ExternalIP", + "InternalIP", + "ExternalDNS", + "InternalDNS" + ], + "type": "string" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "cloudCredentialSecretName": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "driverHash": { + "type": "string" + }, + "driverUrl": { + "type": "string" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "jobName": { + "type": "string" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/digitaloceanmachinetemplate_v1.json b/schemas/rke-machine.cattle.io/digitaloceanmachinetemplate_v1.json new file mode 100644 index 0000000..0a2cdb2 --- /dev/null +++ b/schemas/rke-machine.cattle.io/digitaloceanmachinetemplate_v1.json @@ -0,0 +1,133 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "nullable": true, + "type": "string" + }, + "template": { + "properties": { + "spec": { + "properties": { + "accessToken": { + "nullable": true, + "type": "string" + }, + "backups": { + "type": "boolean" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "image": { + "nullable": true, + "type": "string" + }, + "ipv6": { + "type": "boolean" + }, + "monitoring": { + "type": "boolean" + }, + "privateNetworking": { + "type": "boolean" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "region": { + "nullable": true, + "type": "string" + }, + "size": { + "nullable": true, + "type": "string" + }, + "sshKeyContents": { + "nullable": true, + "type": "string" + }, + "sshKeyFingerprint": { + "nullable": true, + "type": "string" + }, + "sshPort": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "tags": { + "nullable": true, + "type": "string" + }, + "userdata": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/harvestermachine_v1.json b/schemas/rke-machine.cattle.io/harvestermachine_v1.json new file mode 100644 index 0000000..0daa50f --- /dev/null +++ b/schemas/rke-machine.cattle.io/harvestermachine_v1.json @@ -0,0 +1,269 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "cloudConfig": { + "nullable": true, + "type": "string" + }, + "clusterId": { + "nullable": true, + "type": "string" + }, + "clusterName": { + "nullable": true, + "type": "string" + }, + "clusterType": { + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "cpuCount": { + "nullable": true, + "type": "string" + }, + "cpuPinning": { + "type": "boolean" + }, + "diskBus": { + "nullable": true, + "type": "string" + }, + "diskInfo": { + "nullable": true, + "type": "string" + }, + "diskSize": { + "nullable": true, + "type": "string" + }, + "enableEfi": { + "type": "boolean" + }, + "enableSecureBoot": { + "type": "boolean" + }, + "enableTpm": { + "type": "boolean" + }, + "imageName": { + "nullable": true, + "type": "string" + }, + "isolateEmulatorThread": { + "type": "boolean" + }, + "keyPairName": { + "nullable": true, + "type": "string" + }, + "kubeconfigContent": { + "nullable": true, + "type": "string" + }, + "memorySize": { + "nullable": true, + "type": "string" + }, + "networkData": { + "nullable": true, + "type": "string" + }, + "networkInfo": { + "nullable": true, + "type": "string" + }, + "networkModel": { + "nullable": true, + "type": "string" + }, + "networkName": { + "nullable": true, + "type": "string" + }, + "networkType": { + "nullable": true, + "type": "string" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "reservedMemorySize": { + "nullable": true, + "type": "string" + }, + "sshPassword": { + "nullable": true, + "type": "string" + }, + "sshPort": { + "nullable": true, + "type": "string" + }, + "sshPrivateKeyPath": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "userData": { + "nullable": true, + "type": "string" + }, + "vgpuInfo": { + "nullable": true, + "type": "string" + }, + "vmAffinity": { + "nullable": true, + "type": "string" + }, + "vmNamespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "addresses": { + "items": { + "properties": { + "address": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "type": { + "enum": [ + "Hostname", + "ExternalIP", + "InternalIP", + "ExternalDNS", + "InternalDNS" + ], + "type": "string" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "cloudCredentialSecretName": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "driverHash": { + "type": "string" + }, + "driverUrl": { + "type": "string" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "jobName": { + "type": "string" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/harvestermachinetemplate_v1.json b/schemas/rke-machine.cattle.io/harvestermachinetemplate_v1.json new file mode 100644 index 0000000..b98dbdd --- /dev/null +++ b/schemas/rke-machine.cattle.io/harvestermachinetemplate_v1.json @@ -0,0 +1,200 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "nullable": true, + "type": "string" + }, + "template": { + "properties": { + "spec": { + "properties": { + "cloudConfig": { + "nullable": true, + "type": "string" + }, + "clusterId": { + "nullable": true, + "type": "string" + }, + "clusterName": { + "nullable": true, + "type": "string" + }, + "clusterType": { + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "cpuCount": { + "nullable": true, + "type": "string" + }, + "cpuPinning": { + "type": "boolean" + }, + "diskBus": { + "nullable": true, + "type": "string" + }, + "diskInfo": { + "nullable": true, + "type": "string" + }, + "diskSize": { + "nullable": true, + "type": "string" + }, + "enableEfi": { + "type": "boolean" + }, + "enableSecureBoot": { + "type": "boolean" + }, + "enableTpm": { + "type": "boolean" + }, + "imageName": { + "nullable": true, + "type": "string" + }, + "isolateEmulatorThread": { + "type": "boolean" + }, + "keyPairName": { + "nullable": true, + "type": "string" + }, + "kubeconfigContent": { + "nullable": true, + "type": "string" + }, + "memorySize": { + "nullable": true, + "type": "string" + }, + "networkData": { + "nullable": true, + "type": "string" + }, + "networkInfo": { + "nullable": true, + "type": "string" + }, + "networkModel": { + "nullable": true, + "type": "string" + }, + "networkName": { + "nullable": true, + "type": "string" + }, + "networkType": { + "nullable": true, + "type": "string" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "reservedMemorySize": { + "nullable": true, + "type": "string" + }, + "sshPassword": { + "nullable": true, + "type": "string" + }, + "sshPort": { + "nullable": true, + "type": "string" + }, + "sshPrivateKeyPath": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "userData": { + "nullable": true, + "type": "string" + }, + "vgpuInfo": { + "nullable": true, + "type": "string" + }, + "vmAffinity": { + "nullable": true, + "type": "string" + }, + "vmNamespace": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/linodemachine_v1.json b/schemas/rke-machine.cattle.io/linodemachine_v1.json new file mode 100644 index 0000000..2853658 --- /dev/null +++ b/schemas/rke-machine.cattle.io/linodemachine_v1.json @@ -0,0 +1,213 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "authorizedUsers": { + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "createPrivateIp": { + "type": "boolean" + }, + "dockerPort": { + "nullable": true, + "type": "string" + }, + "image": { + "nullable": true, + "type": "string" + }, + "instanceType": { + "nullable": true, + "type": "string" + }, + "label": { + "nullable": true, + "type": "string" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "region": { + "nullable": true, + "type": "string" + }, + "rootPass": { + "nullable": true, + "type": "string" + }, + "sshPort": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "stackscript": { + "nullable": true, + "type": "string" + }, + "stackscriptData": { + "nullable": true, + "type": "string" + }, + "swapSize": { + "nullable": true, + "type": "string" + }, + "tags": { + "nullable": true, + "type": "string" + }, + "token": { + "nullable": true, + "type": "string" + }, + "uaPrefix": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "addresses": { + "items": { + "properties": { + "address": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "type": { + "enum": [ + "Hostname", + "ExternalIP", + "InternalIP", + "ExternalDNS", + "InternalDNS" + ], + "type": "string" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "cloudCredentialSecretName": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "driverHash": { + "type": "string" + }, + "driverUrl": { + "type": "string" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "jobName": { + "type": "string" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/linodemachinetemplate_v1.json b/schemas/rke-machine.cattle.io/linodemachinetemplate_v1.json new file mode 100644 index 0000000..e60c2b4 --- /dev/null +++ b/schemas/rke-machine.cattle.io/linodemachinetemplate_v1.json @@ -0,0 +1,144 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "nullable": true, + "type": "string" + }, + "template": { + "properties": { + "spec": { + "properties": { + "authorizedUsers": { + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "createPrivateIp": { + "type": "boolean" + }, + "dockerPort": { + "nullable": true, + "type": "string" + }, + "image": { + "nullable": true, + "type": "string" + }, + "instanceType": { + "nullable": true, + "type": "string" + }, + "label": { + "nullable": true, + "type": "string" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "region": { + "nullable": true, + "type": "string" + }, + "rootPass": { + "nullable": true, + "type": "string" + }, + "sshPort": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "stackscript": { + "nullable": true, + "type": "string" + }, + "stackscriptData": { + "nullable": true, + "type": "string" + }, + "swapSize": { + "nullable": true, + "type": "string" + }, + "tags": { + "nullable": true, + "type": "string" + }, + "token": { + "nullable": true, + "type": "string" + }, + "uaPrefix": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/vmwarevspheremachine_v1.json b/schemas/rke-machine.cattle.io/vmwarevspheremachine_v1.json new file mode 100644 index 0000000..dfbf468 --- /dev/null +++ b/schemas/rke-machine.cattle.io/vmwarevspheremachine_v1.json @@ -0,0 +1,302 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "boot2dockerUrl": { + "nullable": true, + "type": "string" + }, + "cfgparam": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "cloneFrom": { + "nullable": true, + "type": "string" + }, + "cloudConfig": { + "nullable": true, + "type": "string" + }, + "cloudinit": { + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "contentLibrary": { + "nullable": true, + "type": "string" + }, + "cpuCount": { + "nullable": true, + "type": "string" + }, + "creationType": { + "nullable": true, + "type": "string" + }, + "customAttribute": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "datacenter": { + "nullable": true, + "type": "string" + }, + "datastore": { + "nullable": true, + "type": "string" + }, + "datastoreCluster": { + "nullable": true, + "type": "string" + }, + "diskSize": { + "nullable": true, + "type": "string" + }, + "folder": { + "nullable": true, + "type": "string" + }, + "gracefulShutdownTimeout": { + "nullable": true, + "type": "string" + }, + "hostsystem": { + "nullable": true, + "type": "string" + }, + "memorySize": { + "nullable": true, + "type": "string" + }, + "network": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "os": { + "nullable": true, + "type": "string" + }, + "password": { + "nullable": true, + "type": "string" + }, + "pool": { + "nullable": true, + "type": "string" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "sshPassword": { + "nullable": true, + "type": "string" + }, + "sshPort": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "sshUserGroup": { + "nullable": true, + "type": "string" + }, + "tag": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "username": { + "nullable": true, + "type": "string" + }, + "vappIpallocationpolicy": { + "nullable": true, + "type": "string" + }, + "vappIpprotocol": { + "nullable": true, + "type": "string" + }, + "vappProperty": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "vappTransport": { + "nullable": true, + "type": "string" + }, + "vcenter": { + "nullable": true, + "type": "string" + }, + "vcenterPort": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "addresses": { + "items": { + "properties": { + "address": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "type": { + "enum": [ + "Hostname", + "ExternalIP", + "InternalIP", + "ExternalDNS", + "InternalDNS" + ], + "type": "string" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "cloudCredentialSecretName": { + "type": "string" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "driverHash": { + "type": "string" + }, + "driverUrl": { + "type": "string" + }, + "failureMessage": { + "type": "string" + }, + "failureReason": { + "type": "string" + }, + "jobName": { + "type": "string" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke-machine.cattle.io/vmwarevspheremachinetemplate_v1.json b/schemas/rke-machine.cattle.io/vmwarevspheremachinetemplate_v1.json new file mode 100644 index 0000000..0c47b75 --- /dev/null +++ b/schemas/rke-machine.cattle.io/vmwarevspheremachinetemplate_v1.json @@ -0,0 +1,233 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "nullable": true, + "type": "string" + }, + "template": { + "properties": { + "spec": { + "properties": { + "boot2dockerUrl": { + "nullable": true, + "type": "string" + }, + "cfgparam": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "cloneFrom": { + "nullable": true, + "type": "string" + }, + "cloudConfig": { + "nullable": true, + "type": "string" + }, + "cloudinit": { + "nullable": true, + "type": "string" + }, + "common": { + "properties": { + "cloudCredentialSecretName": { + "maxLength": 317, + "nullable": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + }, + "taints": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "timeAdded": { + "format": "date-time", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "effect", + "key" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "contentLibrary": { + "nullable": true, + "type": "string" + }, + "cpuCount": { + "nullable": true, + "type": "string" + }, + "creationType": { + "nullable": true, + "type": "string" + }, + "customAttribute": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "datacenter": { + "nullable": true, + "type": "string" + }, + "datastore": { + "nullable": true, + "type": "string" + }, + "datastoreCluster": { + "nullable": true, + "type": "string" + }, + "diskSize": { + "nullable": true, + "type": "string" + }, + "folder": { + "nullable": true, + "type": "string" + }, + "gracefulShutdownTimeout": { + "nullable": true, + "type": "string" + }, + "hostsystem": { + "nullable": true, + "type": "string" + }, + "memorySize": { + "nullable": true, + "type": "string" + }, + "network": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "os": { + "nullable": true, + "type": "string" + }, + "password": { + "nullable": true, + "type": "string" + }, + "pool": { + "nullable": true, + "type": "string" + }, + "providerID": { + "nullable": true, + "type": "string" + }, + "sshPassword": { + "nullable": true, + "type": "string" + }, + "sshPort": { + "nullable": true, + "type": "string" + }, + "sshUser": { + "nullable": true, + "type": "string" + }, + "sshUserGroup": { + "nullable": true, + "type": "string" + }, + "tag": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "username": { + "nullable": true, + "type": "string" + }, + "vappIpallocationpolicy": { + "nullable": true, + "type": "string" + }, + "vappIpprotocol": { + "nullable": true, + "type": "string" + }, + "vappProperty": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "vappTransport": { + "nullable": true, + "type": "string" + }, + "vcenter": { + "nullable": true, + "type": "string" + }, + "vcenterPort": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke.cattle.io/custommachine_v1.json b/schemas/rke.cattle.io/custommachine_v1.json new file mode 100644 index 0000000..0271cd6 --- /dev/null +++ b/schemas/rke.cattle.io/custommachine_v1.json @@ -0,0 +1,89 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "providerID": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "addresses": { + "items": { + "properties": { + "address": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "type": { + "enum": [ + "Hostname", + "ExternalIP", + "InternalIP", + "ExternalDNS", + "InternalDNS" + ], + "type": "string" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke.cattle.io/etcdsnapshot_v1.json b/schemas/rke.cattle.io/etcdsnapshot_v1.json new file mode 100644 index 0000000..5019713 --- /dev/null +++ b/schemas/rke.cattle.io/etcdsnapshot_v1.json @@ -0,0 +1,98 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "snapshotFile": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "location": { + "type": "string" + }, + "message": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nodeName": { + "type": "string" + }, + "s3": { + "properties": { + "bucket": { + "maxLength": 63, + "nullable": true, + "type": "string" + }, + "cloudCredentialName": { + "nullable": true, + "type": "string" + }, + "endpoint": { + "nullable": true, + "type": "string" + }, + "endpointCA": { + "nullable": true, + "type": "string" + }, + "folder": { + "nullable": true, + "type": "string" + }, + "region": { + "nullable": true, + "type": "string" + }, + "skipSSLVerify": { + "type": "boolean" + } + }, + "type": "object" + }, + "size": { + "format": "int64", + "type": "integer" + }, + "status": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "missing": { + "type": "boolean" + } + }, + "required": [ + "missing" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/rke.cattle.io/rkebootstrap_v1.json b/schemas/rke.cattle.io/rkebootstrap_v1.json new file mode 100644 index 0000000..6a15213 --- /dev/null +++ b/schemas/rke.cattle.io/rkebootstrap_v1.json @@ -0,0 +1,39 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "dataSecretName": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/rke.cattle.io/rkebootstraptemplate_v1.json b/schemas/rke.cattle.io/rkebootstraptemplate_v1.json new file mode 100644 index 0000000..447d92f --- /dev/null +++ b/schemas/rke.cattle.io/rkebootstraptemplate_v1.json @@ -0,0 +1,93 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "type": "string" + }, + "template": { + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "spec": { + "properties": { + "clusterName": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "dataSecretName": { + "maxLength": 253, + "minLength": 1, + "type": "string" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" + } + }, + "required": [ + "template" + ], + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/rke.cattle.io/rkecluster_v1.json b/schemas/rke.cattle.io/rkecluster_v1.json new file mode 100644 index 0000000..d61493b --- /dev/null +++ b/schemas/rke.cattle.io/rkecluster_v1.json @@ -0,0 +1,78 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "controlPlaneEndpoint": { + "properties": { + "host": { + "maxLength": 512, + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "host", + "port" + ], + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/rke.cattle.io/rkecontrolplane_v1.json b/schemas/rke.cattle.io/rkecontrolplane_v1.json new file mode 100644 index 0000000..658ad6a --- /dev/null +++ b/schemas/rke.cattle.io/rkecontrolplane_v1.json @@ -0,0 +1,1346 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "additionalManifest": { + "nullable": true, + "type": "string" + }, + "agentEnvVars": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "chartValues": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "clusterName": { + "maxLength": 63, + "type": "string" + }, + "dataDirectories": { + "properties": { + "k8sDistro": { + "nullable": true, + "type": "string" + }, + "provisioning": { + "nullable": true, + "type": "string" + }, + "systemAgent": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "etcd": { + "nullable": true, + "properties": { + "disableSnapshots": { + "type": "boolean" + }, + "s3": { + "nullable": true, + "properties": { + "bucket": { + "maxLength": 63, + "nullable": true, + "type": "string" + }, + "cloudCredentialName": { + "nullable": true, + "type": "string" + }, + "endpoint": { + "nullable": true, + "type": "string" + }, + "endpointCA": { + "nullable": true, + "type": "string" + }, + "folder": { + "nullable": true, + "type": "string" + }, + "region": { + "nullable": true, + "type": "string" + }, + "skipSSLVerify": { + "type": "boolean" + } + }, + "type": "object" + }, + "snapshotRetention": { + "type": "integer" + }, + "snapshotScheduleCron": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "etcdSnapshotCreate": { + "nullable": true, + "properties": { + "generation": { + "type": "integer" + } + }, + "type": "object" + }, + "etcdSnapshotRestore": { + "nullable": true, + "properties": { + "generation": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "restoreRKEConfig": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "kubernetesVersion": { + "nullable": true, + "type": "string" + }, + "localClusterAuthEndpoint": { + "properties": { + "caCerts": { + "nullable": true, + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "fqdn": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "machineGlobalConfig": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "machineSelectorConfig": { + "items": { + "properties": { + "config": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "machineLabelSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "machineSelectorFiles": { + "items": { + "properties": { + "fileSources": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultPermissions": { + "nullable": true, + "type": "string" + }, + "items": { + "items": { + "properties": { + "dynamic": { + "type": "boolean" + }, + "hash": { + "nullable": true, + "type": "string" + }, + "key": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "permissions": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "maxLength": 253, + "nullable": true, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultPermissions": { + "nullable": true, + "type": "string" + }, + "items": { + "items": { + "properties": { + "dynamic": { + "type": "boolean" + }, + "hash": { + "nullable": true, + "type": "string" + }, + "key": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "permissions": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "maxLength": 253, + "nullable": true, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "machineLabelSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "managementClusterName": { + "type": "string" + }, + "networking": { + "nullable": true, + "properties": { + "stackPreference": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "provisionGeneration": { + "type": "integer" + }, + "registries": { + "nullable": true, + "properties": { + "configs": { + "additionalProperties": { + "properties": { + "authConfigSecretName": { + "maxLength": 253, + "nullable": true, + "type": "string" + }, + "caBundle": { + "format": "byte", + "nullable": true, + "type": "string" + }, + "insecureSkipVerify": { + "type": "boolean" + }, + "tlsSecretName": { + "maxLength": 253, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "object" + }, + "mirrors": { + "additionalProperties": { + "properties": { + "endpoint": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "rewrite": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "rotateCertificates": { + "nullable": true, + "properties": { + "generation": { + "format": "int64", + "type": "integer" + }, + "services": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "rotateEncryptionKeys": { + "nullable": true, + "properties": { + "generation": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "unmanagedConfig": { + "type": "boolean" + }, + "upgradeStrategy": { + "properties": { + "controlPlaneConcurrency": { + "maxLength": 10, + "nullable": true, + "pattern": "^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$", + "type": "string" + }, + "controlPlaneDrainOptions": { + "properties": { + "deleteEmptyDirData": { + "type": "boolean" + }, + "disableEviction": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "gracePeriod": { + "type": "integer" + }, + "ignoreDaemonSets": { + "nullable": true, + "type": "boolean" + }, + "ignoreErrors": { + "type": "boolean" + }, + "postDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "preDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "skipWaitForDeleteTimeoutSeconds": { + "type": "integer" + }, + "timeout": { + "type": "integer" + } + }, + "type": "object" + }, + "workerConcurrency": { + "maxLength": 10, + "nullable": true, + "pattern": "^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$", + "type": "string" + }, + "workerDrainOptions": { + "properties": { + "deleteEmptyDirData": { + "type": "boolean" + }, + "disableEviction": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "gracePeriod": { + "type": "integer" + }, + "ignoreDaemonSets": { + "nullable": true, + "type": "boolean" + }, + "ignoreErrors": { + "type": "boolean" + }, + "postDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "preDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "skipWaitForDeleteTimeoutSeconds": { + "type": "integer" + }, + "timeout": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "managementClusterName" + ], + "type": "object" + }, + "status": { + "properties": { + "agentConnected": { + "type": "boolean" + }, + "appliedSpec": { + "properties": { + "additionalManifest": { + "nullable": true, + "type": "string" + }, + "agentEnvVars": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "chartValues": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "clusterName": { + "maxLength": 63, + "type": "string" + }, + "dataDirectories": { + "properties": { + "k8sDistro": { + "nullable": true, + "type": "string" + }, + "provisioning": { + "nullable": true, + "type": "string" + }, + "systemAgent": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "etcd": { + "nullable": true, + "properties": { + "disableSnapshots": { + "type": "boolean" + }, + "s3": { + "nullable": true, + "properties": { + "bucket": { + "maxLength": 63, + "nullable": true, + "type": "string" + }, + "cloudCredentialName": { + "nullable": true, + "type": "string" + }, + "endpoint": { + "nullable": true, + "type": "string" + }, + "endpointCA": { + "nullable": true, + "type": "string" + }, + "folder": { + "nullable": true, + "type": "string" + }, + "region": { + "nullable": true, + "type": "string" + }, + "skipSSLVerify": { + "type": "boolean" + } + }, + "type": "object" + }, + "snapshotRetention": { + "type": "integer" + }, + "snapshotScheduleCron": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "etcdSnapshotCreate": { + "nullable": true, + "properties": { + "generation": { + "type": "integer" + } + }, + "type": "object" + }, + "etcdSnapshotRestore": { + "nullable": true, + "properties": { + "generation": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "restoreRKEConfig": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "kubernetesVersion": { + "nullable": true, + "type": "string" + }, + "localClusterAuthEndpoint": { + "properties": { + "caCerts": { + "nullable": true, + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "fqdn": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "machineGlobalConfig": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "machineSelectorConfig": { + "items": { + "properties": { + "config": { + "nullable": true, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "machineLabelSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "machineSelectorFiles": { + "items": { + "properties": { + "fileSources": { + "items": { + "properties": { + "configMap": { + "properties": { + "defaultPermissions": { + "nullable": true, + "type": "string" + }, + "items": { + "items": { + "properties": { + "dynamic": { + "type": "boolean" + }, + "hash": { + "nullable": true, + "type": "string" + }, + "key": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "permissions": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "maxLength": 253, + "nullable": true, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "secret": { + "properties": { + "defaultPermissions": { + "nullable": true, + "type": "string" + }, + "items": { + "items": { + "properties": { + "dynamic": { + "type": "boolean" + }, + "hash": { + "nullable": true, + "type": "string" + }, + "key": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "permissions": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { + "maxLength": 253, + "nullable": true, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "machineLabelSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "managementClusterName": { + "type": "string" + }, + "networking": { + "nullable": true, + "properties": { + "stackPreference": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "provisionGeneration": { + "type": "integer" + }, + "registries": { + "nullable": true, + "properties": { + "configs": { + "additionalProperties": { + "properties": { + "authConfigSecretName": { + "maxLength": 253, + "nullable": true, + "type": "string" + }, + "caBundle": { + "format": "byte", + "nullable": true, + "type": "string" + }, + "insecureSkipVerify": { + "type": "boolean" + }, + "tlsSecretName": { + "maxLength": 253, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "object" + }, + "mirrors": { + "additionalProperties": { + "properties": { + "endpoint": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "rewrite": { + "additionalProperties": { + "type": "string" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "rotateCertificates": { + "nullable": true, + "properties": { + "generation": { + "format": "int64", + "type": "integer" + }, + "services": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "rotateEncryptionKeys": { + "nullable": true, + "properties": { + "generation": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "unmanagedConfig": { + "type": "boolean" + }, + "upgradeStrategy": { + "properties": { + "controlPlaneConcurrency": { + "maxLength": 10, + "nullable": true, + "pattern": "^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$", + "type": "string" + }, + "controlPlaneDrainOptions": { + "properties": { + "deleteEmptyDirData": { + "type": "boolean" + }, + "disableEviction": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "gracePeriod": { + "type": "integer" + }, + "ignoreDaemonSets": { + "nullable": true, + "type": "boolean" + }, + "ignoreErrors": { + "type": "boolean" + }, + "postDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "preDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "skipWaitForDeleteTimeoutSeconds": { + "type": "integer" + }, + "timeout": { + "type": "integer" + } + }, + "type": "object" + }, + "workerConcurrency": { + "maxLength": 10, + "nullable": true, + "pattern": "^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$", + "type": "string" + }, + "workerDrainOptions": { + "properties": { + "deleteEmptyDirData": { + "type": "boolean" + }, + "disableEviction": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "gracePeriod": { + "type": "integer" + }, + "ignoreDaemonSets": { + "nullable": true, + "type": "boolean" + }, + "ignoreErrors": { + "type": "boolean" + }, + "postDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "preDrainHooks": { + "items": { + "properties": { + "annotation": { + "maxLength": 317, + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "skipWaitForDeleteTimeoutSeconds": { + "type": "integer" + }, + "timeout": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "clusterName", + "managementClusterName" + ], + "type": "object" + }, + "certificateRotationGeneration": { + "format": "int64", + "type": "integer" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "configGeneration": { + "format": "int64", + "type": "integer" + }, + "etcdSnapshotCreate": { + "properties": { + "generation": { + "type": "integer" + } + }, + "type": "object" + }, + "etcdSnapshotCreatePhase": { + "enum": [ + "Started", + "RestartCluster", + "Finished", + "Failed" + ], + "type": "string" + }, + "etcdSnapshotRestore": { + "properties": { + "generation": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "restoreRKEConfig": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "etcdSnapshotRestorePhase": { + "enum": [ + "Started", + "Shutdown", + "Restore", + "PostRestorePodCleanup", + "InitialRestartCluster", + "PostRestoreNodeCleanup", + "RestartCluster", + "Finished", + "Failed" + ], + "type": "string" + }, + "initialized": { + "type": "boolean" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "ready": { + "type": "boolean" + }, + "rotateEncryptionKeys": { + "properties": { + "generation": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "rotateEncryptionKeysLeader": { + "type": "string" + }, + "rotateEncryptionKeysPhase": { + "type": "string" + } + }, + "required": [ + "observedGeneration" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/runtime.cluster.x-k8s.io/extensionconfig_v1alpha1.json b/schemas/runtime.cluster.x-k8s.io/extensionconfig_v1alpha1.json new file mode 100644 index 0000000..a726109 --- /dev/null +++ b/schemas/runtime.cluster.x-k8s.io/extensionconfig_v1alpha1.json @@ -0,0 +1,264 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "clientConfig": { + "properties": { + "caBundle": { + "format": "byte", + "maxLength": 51200, + "minLength": 1, + "type": "string" + }, + "service": { + "properties": { + "name": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "namespace": { + "maxLength": 63, + "minLength": 1, + "type": "string" + }, + "path": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "name", + "namespace" + ], + "type": "object" + }, + "url": { + "maxLength": 512, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "settings": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "clientConfig" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "handlers": { + "items": { + "properties": { + "failurePolicy": { + "enum": [ + "Ignore", + "Fail" + ], + "type": "string" + }, + "name": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "requestHook": { + "properties": { + "apiVersion": { + "maxLength": 512, + "minLength": 1, + "type": "string" + }, + "hook": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "apiVersion", + "hook" + ], + "type": "object" + }, + "timeoutSeconds": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "name", + "requestHook" + ], + "type": "object" + }, + "maxItems": 512, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "v1beta2": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "maxItems": 32, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/scheduling.k8s.io/deleteoptions_v1.json b/schemas/scheduling.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/scheduling.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/scheduling.k8s.io/deleteoptions_v1alpha1.json b/schemas/scheduling.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/scheduling.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/scheduling.k8s.io/deleteoptions_v1beta1.json b/schemas/scheduling.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/scheduling.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/scheduling.k8s.io/priorityclass_v1.json b/schemas/scheduling.k8s.io/priorityclass_v1.json new file mode 100644 index 0000000..a0c4089 --- /dev/null +++ b/schemas/scheduling.k8s.io/priorityclass_v1.json @@ -0,0 +1,27 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "globalDefault": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "preemptionPolicy": { + "type": "string" + }, + "value": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" +} diff --git a/schemas/scheduling.k8s.io/priorityclasslist_v1.json b/schemas/scheduling.k8s.io/priorityclasslist_v1.json new file mode 100644 index 0000000..305b2a5 --- /dev/null +++ b/schemas/scheduling.k8s.io/priorityclasslist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/scheduling.k8s.io/watchevent_v1.json b/schemas/scheduling.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/scheduling.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/scheduling.k8s.io/watchevent_v1alpha1.json b/schemas/scheduling.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/scheduling.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/scheduling.k8s.io/watchevent_v1beta1.json b/schemas/scheduling.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/scheduling.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/secret_v1.json b/schemas/secret_v1.json new file mode 100644 index 0000000..98fee24 --- /dev/null +++ b/schemas/secret_v1.json @@ -0,0 +1,36 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "data": { + "additionalProperties": { + "format": "byte", + "type": "string" + }, + "type": "object" + }, + "immutable": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "stringData": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/secretlist_v1.json b/schemas/secretlist_v1.json new file mode 100644 index 0000000..cadd7f4 --- /dev/null +++ b/schemas/secretlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/secrets.hashicorp.com/csisecrets_v1beta1.json b/schemas/secrets.hashicorp.com/csisecrets_v1beta1.json new file mode 100644 index 0000000..62d83e8 --- /dev/null +++ b/schemas/secrets.hashicorp.com/csisecrets_v1beta1.json @@ -0,0 +1,468 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "accessControl": { + "properties": { + "matchPolicy": { + "default": "all", + "enum": [ + "any", + "all" + ], + "type": "string" + }, + "namespacePatterns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "podLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "podNamePatterns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "serviceAccountPattern": { + "type": "string" + } + }, + "required": [ + "serviceAccountPattern" + ], + "type": "object" + }, + "namespace": { + "type": "string" + }, + "secrets": { + "properties": { + "transformation": { + "properties": { + "excludeRaw": { + "type": "boolean" + }, + "excludes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "includes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "templates": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + }, + "type": "object" + }, + "transformationRefs": { + "items": { + "properties": { + "ignoreExcludes": { + "type": "boolean" + }, + "ignoreIncludes": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "templateRefs": { + "items": { + "properties": { + "keyOverride": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "vaultAppRoleSecretIDs": { + "items": { + "properties": { + "cidrList": { + "items": { + "type": "string" + }, + "type": "array" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "mount": { + "type": "string" + }, + "numUses": { + "type": "integer" + }, + "role": { + "type": "string" + }, + "syncRoleID": { + "type": "boolean" + }, + "tokenBoundCIDRs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "transformation": { + "properties": { + "excludeRaw": { + "type": "boolean" + }, + "excludes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "includes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "templates": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + }, + "type": "object" + }, + "transformationRefs": { + "items": { + "properties": { + "ignoreExcludes": { + "type": "boolean" + }, + "ignoreIncludes": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "templateRefs": { + "items": { + "properties": { + "keyOverride": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "ttl": { + "pattern": "^([0-9]+(\\.[0-9]+)?(s|m|h))$", + "type": "string" + }, + "wrapTTL": { + "pattern": "^([0-9]+(\\.[0-9]+)?(s|m|h))$", + "type": "string" + } + }, + "required": [ + "mount", + "role" + ], + "type": "object" + }, + "type": "array" + }, + "vaultStaticSecrets": { + "items": { + "properties": { + "mount": { + "type": "string" + }, + "path": { + "type": "string" + }, + "transformation": { + "properties": { + "excludeRaw": { + "type": "boolean" + }, + "excludes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "includes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "templates": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + }, + "type": "object" + }, + "transformationRefs": { + "items": { + "properties": { + "ignoreExcludes": { + "type": "boolean" + }, + "ignoreIncludes": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "templateRefs": { + "items": { + "properties": { + "keyOverride": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "kv-v1", + "kv-v2" + ], + "type": "string" + }, + "version": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "mount", + "path", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "syncConfig": { + "properties": { + "containerState": { + "properties": { + "imagePattern": { + "type": "string" + }, + "namePattern": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "containerState" + ], + "type": "object" + }, + "vaultAuthRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "trustNamespace": { + "type": "boolean" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "accessControl", + "secrets" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/secrets.hashicorp.com/hcpauth_v1beta1.json b/schemas/secrets.hashicorp.com/hcpauth_v1beta1.json new file mode 100644 index 0000000..18c4725 --- /dev/null +++ b/schemas/secrets.hashicorp.com/hcpauth_v1beta1.json @@ -0,0 +1,116 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "allowedNamespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "method": { + "default": "servicePrincipal", + "enum": [ + "servicePrincipal" + ], + "type": "string" + }, + "organizationID": { + "type": "string" + }, + "projectID": { + "type": "string" + }, + "servicePrincipal": { + "properties": { + "secretRef": { + "type": "string" + } + }, + "required": [ + "secretRef" + ], + "type": "object" + } + }, + "required": [ + "organizationID", + "projectID" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "error": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "error", + "valid" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/secrets.hashicorp.com/hcpvaultsecretsapp_v1beta1.json b/schemas/secrets.hashicorp.com/hcpvaultsecretsapp_v1beta1.json new file mode 100644 index 0000000..a9ea77f --- /dev/null +++ b/schemas/secrets.hashicorp.com/hcpvaultsecretsapp_v1beta1.json @@ -0,0 +1,268 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "appName": { + "type": "string" + }, + "destination": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "create": { + "default": false, + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "overwrite": { + "default": false, + "type": "boolean" + }, + "transformation": { + "properties": { + "excludeRaw": { + "type": "boolean" + }, + "excludes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "includes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "templates": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + }, + "type": "object" + }, + "transformationRefs": { + "items": { + "properties": { + "ignoreExcludes": { + "type": "boolean" + }, + "ignoreIncludes": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "templateRefs": { + "items": { + "properties": { + "keyOverride": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "hcpAuthRef": { + "type": "string" + }, + "refreshAfter": { + "default": "600s", + "pattern": "^([0-9]+(\\.[0-9]+)?(s|m|h))$", + "type": "string" + }, + "rolloutRestartTargets": { + "items": { + "properties": { + "kind": { + "enum": [ + "Deployment", + "DaemonSet", + "StatefulSet", + "argo.Rollout" + ], + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "syncConfig": { + "properties": { + "dynamic": { + "properties": { + "renewalPercent": { + "default": 67, + "maximum": 90, + "minimum": 0, + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "appName", + "destination" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "dynamicSecrets": { + "items": { + "properties": { + "createdAt": { + "type": "string" + }, + "expiresAt": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ttl": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "lastGeneration": { + "format": "int64", + "type": "integer" + }, + "secretMAC": { + "type": "string" + } + }, + "required": [ + "lastGeneration" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/secrets.hashicorp.com/secrettransformation_v1beta1.json b/schemas/secrets.hashicorp.com/secrettransformation_v1beta1.json new file mode 100644 index 0000000..4d5e6eb --- /dev/null +++ b/schemas/secrets.hashicorp.com/secrettransformation_v1beta1.json @@ -0,0 +1,128 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "excludes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "includes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "sourceTemplates": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + }, + "type": "array" + }, + "templates": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + }, + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "error": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "error", + "valid" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/secrets.hashicorp.com/vaultauth_v1beta1.json b/schemas/secrets.hashicorp.com/vaultauth_v1beta1.json new file mode 100644 index 0000000..9fd5c7a --- /dev/null +++ b/schemas/secrets.hashicorp.com/vaultauth_v1beta1.json @@ -0,0 +1,282 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "allowedNamespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "appRole": { + "properties": { + "roleId": { + "type": "string" + }, + "secretIDPath": { + "type": "string" + }, + "secretRef": { + "type": "string" + } + }, + "type": "object" + }, + "aws": { + "properties": { + "headerValue": { + "type": "string" + }, + "iamEndpoint": { + "type": "string" + }, + "irsaServiceAccount": { + "type": "string" + }, + "region": { + "type": "string" + }, + "role": { + "type": "string" + }, + "secretRef": { + "type": "string" + }, + "sessionName": { + "type": "string" + }, + "stsEndpoint": { + "type": "string" + } + }, + "type": "object" + }, + "gcp": { + "properties": { + "clusterName": { + "type": "string" + }, + "projectID": { + "type": "string" + }, + "region": { + "type": "string" + }, + "role": { + "type": "string" + }, + "workloadIdentityServiceAccount": { + "type": "string" + } + }, + "type": "object" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "jwt": { + "properties": { + "audiences": { + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "type": "string" + }, + "secretRef": { + "type": "string" + }, + "serviceAccount": { + "type": "string" + }, + "tokenExpirationSeconds": { + "default": 600, + "format": "int64", + "minimum": 600, + "type": "integer" + } + }, + "type": "object" + }, + "kubernetes": { + "properties": { + "audiences": { + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "type": "string" + }, + "serviceAccount": { + "type": "string" + }, + "tokenExpirationSeconds": { + "default": 600, + "format": "int64", + "minimum": 600, + "type": "integer" + } + }, + "type": "object" + }, + "method": { + "enum": [ + "kubernetes", + "jwt", + "appRole", + "aws", + "gcp" + ], + "type": "string" + }, + "mount": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "params": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "storageEncryption": { + "properties": { + "keyName": { + "type": "string" + }, + "mount": { + "type": "string" + } + }, + "required": [ + "keyName", + "mount" + ], + "type": "object" + }, + "vaultAuthGlobalRef": { + "properties": { + "allowDefault": { + "type": "boolean" + }, + "mergeStrategy": { + "properties": { + "headers": { + "enum": [ + "union", + "replace", + "none" + ], + "type": "string" + }, + "params": { + "enum": [ + "union", + "replace", + "none" + ], + "type": "string" + } + }, + "type": "object" + }, + "name": { + "pattern": "^([a-z0-9.-]{1,253})$", + "type": "string" + }, + "namespace": { + "pattern": "^([a-z0-9-]{1,63})$", + "type": "string" + } + }, + "type": "object" + }, + "vaultConnectionRef": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "error": { + "type": "string" + }, + "specHash": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/secrets.hashicorp.com/vaultauthglobal_v1beta1.json b/schemas/secrets.hashicorp.com/vaultauthglobal_v1beta1.json new file mode 100644 index 0000000..8a456f8 --- /dev/null +++ b/schemas/secrets.hashicorp.com/vaultauthglobal_v1beta1.json @@ -0,0 +1,274 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "allowedNamespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "appRole": { + "properties": { + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "mount": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "params": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "roleId": { + "type": "string" + }, + "secretIDPath": { + "type": "string" + }, + "secretRef": { + "type": "string" + } + }, + "type": "object" + }, + "aws": { + "properties": { + "headerValue": { + "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "iamEndpoint": { + "type": "string" + }, + "irsaServiceAccount": { + "type": "string" + }, + "mount": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "params": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "region": { + "type": "string" + }, + "role": { + "type": "string" + }, + "secretRef": { + "type": "string" + }, + "sessionName": { + "type": "string" + }, + "stsEndpoint": { + "type": "string" + } + }, + "type": "object" + }, + "defaultAuthMethod": { + "enum": [ + "kubernetes", + "jwt", + "appRole", + "aws", + "gcp" + ], + "type": "string" + }, + "defaultMount": { + "type": "string" + }, + "defaultVaultNamespace": { + "type": "string" + }, + "gcp": { + "properties": { + "clusterName": { + "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "mount": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "params": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "projectID": { + "type": "string" + }, + "region": { + "type": "string" + }, + "role": { + "type": "string" + }, + "workloadIdentityServiceAccount": { + "type": "string" + } + }, + "type": "object" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "jwt": { + "properties": { + "audiences": { + "items": { + "type": "string" + }, + "type": "array" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "mount": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "params": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "role": { + "type": "string" + }, + "secretRef": { + "type": "string" + }, + "serviceAccount": { + "type": "string" + }, + "tokenExpirationSeconds": { + "default": 600, + "format": "int64", + "minimum": 600, + "type": "integer" + } + }, + "type": "object" + }, + "kubernetes": { + "properties": { + "audiences": { + "items": { + "type": "string" + }, + "type": "array" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "mount": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "params": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "role": { + "type": "string" + }, + "serviceAccount": { + "type": "string" + }, + "tokenExpirationSeconds": { + "default": 600, + "format": "int64", + "minimum": 600, + "type": "integer" + } + }, + "type": "object" + }, + "params": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "vaultConnectionRef": { + "type": "string" + } + }, + "type": "object" + }, + "status": { + "properties": { + "error": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "error", + "valid" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/secrets.hashicorp.com/vaultconnection_v1beta1.json b/schemas/secrets.hashicorp.com/vaultconnection_v1beta1.json new file mode 100644 index 0000000..8981c24 --- /dev/null +++ b/schemas/secrets.hashicorp.com/vaultconnection_v1beta1.json @@ -0,0 +1,108 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "address": { + "type": "string" + }, + "caCertPath": { + "type": "string" + }, + "caCertSecretRef": { + "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "skipTLSVerify": { + "default": false, + "type": "boolean" + }, + "timeout": { + "pattern": "^([0-9]+(\\.[0-9]+)?(s|m|h))$", + "type": "string" + }, + "tlsServerName": { + "type": "string" + } + }, + "required": [ + "address", + "skipTLSVerify" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "valid" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/secrets.hashicorp.com/vaultdynamicsecret_v1beta1.json b/schemas/secrets.hashicorp.com/vaultdynamicsecret_v1beta1.json new file mode 100644 index 0000000..36cb0e3 --- /dev/null +++ b/schemas/secrets.hashicorp.com/vaultdynamicsecret_v1beta1.json @@ -0,0 +1,332 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "allowStaticCreds": { + "type": "boolean" + }, + "destination": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "create": { + "default": false, + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "overwrite": { + "default": false, + "type": "boolean" + }, + "transformation": { + "properties": { + "excludeRaw": { + "type": "boolean" + }, + "excludes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "includes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "templates": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + }, + "type": "object" + }, + "transformationRefs": { + "items": { + "properties": { + "ignoreExcludes": { + "type": "boolean" + }, + "ignoreIncludes": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "templateRefs": { + "items": { + "properties": { + "keyOverride": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "mount": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "params": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "path": { + "type": "string" + }, + "refreshAfter": { + "pattern": "^([0-9]+(\\.[0-9]+)?(s|m|h))$", + "type": "string" + }, + "renewalPercent": { + "default": 67, + "maximum": 90, + "minimum": 0, + "type": "integer" + }, + "requestHTTPMethod": { + "enum": [ + "GET", + "POST", + "PUT" + ], + "type": "string" + }, + "revoke": { + "type": "boolean" + }, + "rolloutRestartTargets": { + "items": { + "properties": { + "kind": { + "enum": [ + "Deployment", + "DaemonSet", + "StatefulSet", + "argo.Rollout" + ], + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "vaultAuthRef": { + "type": "string" + } + }, + "required": [ + "destination", + "mount", + "path" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "lastGeneration": { + "format": "int64", + "type": "integer" + }, + "lastRenewalTime": { + "format": "int64", + "type": "integer" + }, + "lastRuntimePodUID": { + "type": "string" + }, + "secretLease": { + "properties": { + "duration": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "renewable": { + "type": "boolean" + }, + "requestID": { + "type": "string" + } + }, + "required": [ + "duration", + "id", + "renewable", + "requestID" + ], + "type": "object" + }, + "secretMAC": { + "type": "string" + }, + "staticCredsMetaData": { + "properties": { + "lastVaultRotation": { + "format": "int64", + "type": "integer" + }, + "rotationPeriod": { + "format": "int64", + "type": "integer" + }, + "rotationSchedule": { + "type": "string" + }, + "ttl": { + "format": "int64", + "type": "integer" + } + }, + "required": [ + "lastVaultRotation", + "rotationPeriod", + "ttl" + ], + "type": "object" + }, + "vaultClientMeta": { + "properties": { + "cacheKey": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "lastGeneration", + "lastRenewalTime", + "secretLease" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/secrets.hashicorp.com/vaultpkisecret_v1beta1.json b/schemas/secrets.hashicorp.com/vaultpkisecret_v1beta1.json new file mode 100644 index 0000000..a6de06b --- /dev/null +++ b/schemas/secrets.hashicorp.com/vaultpkisecret_v1beta1.json @@ -0,0 +1,316 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "altNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clear": { + "type": "boolean" + }, + "commonName": { + "type": "string" + }, + "destination": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "create": { + "default": false, + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "overwrite": { + "default": false, + "type": "boolean" + }, + "transformation": { + "properties": { + "excludeRaw": { + "type": "boolean" + }, + "excludes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "includes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "templates": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + }, + "type": "object" + }, + "transformationRefs": { + "items": { + "properties": { + "ignoreExcludes": { + "type": "boolean" + }, + "ignoreIncludes": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "templateRefs": { + "items": { + "properties": { + "keyOverride": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "excludeCNFromSans": { + "type": "boolean" + }, + "expiryOffset": { + "pattern": "^([0-9]+(\\.[0-9]+)?(s|m|h))$", + "type": "string" + }, + "format": { + "type": "string" + }, + "ipSans": { + "items": { + "type": "string" + }, + "type": "array" + }, + "issuerRef": { + "type": "string" + }, + "mount": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "notAfter": { + "type": "string" + }, + "otherSans": { + "items": { + "type": "string" + }, + "type": "array" + }, + "privateKeyFormat": { + "type": "string" + }, + "revoke": { + "type": "boolean" + }, + "role": { + "type": "string" + }, + "rolloutRestartTargets": { + "items": { + "properties": { + "kind": { + "enum": [ + "Deployment", + "DaemonSet", + "StatefulSet", + "argo.Rollout" + ], + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "ttl": { + "pattern": "^([0-9]+(\\.[0-9]+)?(s|m|h|d))$", + "type": "string" + }, + "uriSans": { + "items": { + "type": "string" + }, + "type": "array" + }, + "userIDs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "vaultAuthRef": { + "type": "string" + } + }, + "required": [ + "destination", + "mount", + "role" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "error": { + "type": "string" + }, + "expiration": { + "format": "int64", + "type": "integer" + }, + "lastGeneration": { + "format": "int64", + "type": "integer" + }, + "lastRotation": { + "format": "int64", + "type": "integer" + }, + "secretMAC": { + "type": "string" + }, + "serialNumber": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "error", + "lastGeneration", + "lastRotation", + "valid" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/secrets.hashicorp.com/vaultstaticsecret_v1beta1.json b/schemas/secrets.hashicorp.com/vaultstaticsecret_v1beta1.json new file mode 100644 index 0000000..8c906d5 --- /dev/null +++ b/schemas/secrets.hashicorp.com/vaultstaticsecret_v1beta1.json @@ -0,0 +1,262 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "destination": { + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "create": { + "default": false, + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "overwrite": { + "default": false, + "type": "boolean" + }, + "transformation": { + "properties": { + "excludeRaw": { + "type": "boolean" + }, + "excludes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "includes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "templates": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + }, + "type": "object" + }, + "transformationRefs": { + "items": { + "properties": { + "ignoreExcludes": { + "type": "boolean" + }, + "ignoreIncludes": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "templateRefs": { + "items": { + "properties": { + "keyOverride": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "hmacSecretData": { + "default": true, + "type": "boolean" + }, + "mount": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "path": { + "type": "string" + }, + "refreshAfter": { + "pattern": "^([0-9]+(\\.[0-9]+)?(s|m|h))$", + "type": "string" + }, + "rolloutRestartTargets": { + "items": { + "properties": { + "kind": { + "enum": [ + "Deployment", + "DaemonSet", + "StatefulSet", + "argo.Rollout" + ], + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "syncConfig": { + "properties": { + "instantUpdates": { + "type": "boolean" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "kv-v1", + "kv-v2" + ], + "type": "string" + }, + "vaultAuthRef": { + "type": "string" + }, + "version": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "destination", + "mount", + "path", + "type" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 32768, + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "reason": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", + "type": "string" + }, + "status": { + "enum": [ + "True", + "False", + "Unknown" + ], + "type": "string" + }, + "type": { + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "lastGeneration": { + "format": "int64", + "type": "integer" + }, + "secretMAC": { + "type": "string" + } + }, + "required": [ + "lastGeneration" + ], + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/service_v1.json b/schemas/service_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/service_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/serviceaccount_v1.json b/schemas/serviceaccount_v1.json new file mode 100644 index 0000000..12371a1 --- /dev/null +++ b/schemas/serviceaccount_v1.json @@ -0,0 +1,39 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "automountServiceAccountToken": { + "type": "boolean" + }, + "imagePullSecrets": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "secrets": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "type": "object" +} diff --git a/schemas/serviceaccountlist_v1.json b/schemas/serviceaccountlist_v1.json new file mode 100644 index 0000000..85a3e6c --- /dev/null +++ b/schemas/serviceaccountlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/servicelist_v1.json b/schemas/servicelist_v1.json new file mode 100644 index 0000000..d05cc81 --- /dev/null +++ b/schemas/servicelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/snapshot.storage.k8s.io/volumesnapshot_v1.json b/schemas/snapshot.storage.k8s.io/volumesnapshot_v1.json new file mode 100644 index 0000000..c4cdc07 --- /dev/null +++ b/schemas/snapshot.storage.k8s.io/volumesnapshot_v1.json @@ -0,0 +1,107 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "source": { + "properties": { + "persistentVolumeClaimName": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "persistentVolumeClaimName is immutable", + "rule": "self == oldSelf" + } + ] + }, + "volumeSnapshotContentName": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "volumeSnapshotContentName is immutable", + "rule": "self == oldSelf" + } + ] + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "persistentVolumeClaimName is required once set", + "rule": "!has(oldSelf.persistentVolumeClaimName) || has(self.persistentVolumeClaimName)" + }, + { + "message": "volumeSnapshotContentName is required once set", + "rule": "!has(oldSelf.volumeSnapshotContentName) || has(self.volumeSnapshotContentName)" + }, + { + "message": "exactly one of volumeSnapshotContentName and persistentVolumeClaimName must be set", + "rule": "(has(self.volumeSnapshotContentName) && !has(self.persistentVolumeClaimName)) || (!has(self.volumeSnapshotContentName) && has(self.persistentVolumeClaimName))" + } + ] + }, + "volumeSnapshotClassName": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "volumeSnapshotClassName must not be the empty string when set", + "rule": "size(self) > 0" + } + ] + } + }, + "required": [ + "source" + ], + "type": "object" + }, + "status": { + "properties": { + "boundVolumeSnapshotContentName": { + "type": "string" + }, + "creationTime": { + "format": "date-time", + "type": "string" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "time": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "readyToUse": { + "type": "boolean" + }, + "restoreSize": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "type": "string", + "x-kubernetes-int-or-string": true + }, + "volumeGroupSnapshotName": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/snapshot.storage.k8s.io/volumesnapshot_v1beta1.json b/schemas/snapshot.storage.k8s.io/volumesnapshot_v1beta1.json new file mode 100644 index 0000000..2012676 --- /dev/null +++ b/schemas/snapshot.storage.k8s.io/volumesnapshot_v1beta1.json @@ -0,0 +1,72 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "source": { + "properties": { + "persistentVolumeClaimName": { + "type": "string" + }, + "volumeSnapshotContentName": { + "type": "string" + } + }, + "type": "object" + }, + "volumeSnapshotClassName": { + "type": "string" + } + }, + "required": [ + "source" + ], + "type": "object" + }, + "status": { + "properties": { + "boundVolumeSnapshotContentName": { + "type": "string" + }, + "creationTime": { + "format": "date-time", + "type": "string" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "time": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "readyToUse": { + "type": "boolean" + }, + "restoreSize": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "type": "string", + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/snapshot.storage.k8s.io/volumesnapshotclass_v1.json b/schemas/snapshot.storage.k8s.io/volumesnapshotclass_v1.json new file mode 100644 index 0000000..eb6ea91 --- /dev/null +++ b/schemas/snapshot.storage.k8s.io/volumesnapshotclass_v1.json @@ -0,0 +1,35 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "deletionPolicy": { + "enum": [ + "Delete", + "Retain" + ], + "type": "string" + }, + "driver": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "deletionPolicy", + "driver" + ], + "type": "object" +} diff --git a/schemas/snapshot.storage.k8s.io/volumesnapshotclass_v1beta1.json b/schemas/snapshot.storage.k8s.io/volumesnapshotclass_v1beta1.json new file mode 100644 index 0000000..eb6ea91 --- /dev/null +++ b/schemas/snapshot.storage.k8s.io/volumesnapshotclass_v1beta1.json @@ -0,0 +1,35 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "deletionPolicy": { + "enum": [ + "Delete", + "Retain" + ], + "type": "string" + }, + "driver": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "deletionPolicy", + "driver" + ], + "type": "object" +} diff --git a/schemas/snapshot.storage.k8s.io/volumesnapshotcontent_v1.json b/schemas/snapshot.storage.k8s.io/volumesnapshotcontent_v1.json new file mode 100644 index 0000000..637e664 --- /dev/null +++ b/schemas/snapshot.storage.k8s.io/volumesnapshotcontent_v1.json @@ -0,0 +1,162 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "deletionPolicy": { + "enum": [ + "Delete", + "Retain" + ], + "type": "string" + }, + "driver": { + "type": "string" + }, + "source": { + "properties": { + "snapshotHandle": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "snapshotHandle is immutable", + "rule": "self == oldSelf" + } + ] + }, + "volumeHandle": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "volumeHandle is immutable", + "rule": "self == oldSelf" + } + ] + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "volumeHandle is required once set", + "rule": "!has(oldSelf.volumeHandle) || has(self.volumeHandle)" + }, + { + "message": "snapshotHandle is required once set", + "rule": "!has(oldSelf.snapshotHandle) || has(self.snapshotHandle)" + }, + { + "message": "exactly one of volumeHandle and snapshotHandle must be set", + "rule": "(has(self.volumeHandle) && !has(self.snapshotHandle)) || (!has(self.volumeHandle) && has(self.snapshotHandle))" + } + ] + }, + "sourceVolumeMode": { + "type": "string", + "x-kubernetes-validations": [ + { + "message": "sourceVolumeMode is immutable", + "rule": "self == oldSelf" + } + ] + }, + "volumeSnapshotClassName": { + "type": "string" + }, + "volumeSnapshotRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "both spec.volumeSnapshotRef.name and spec.volumeSnapshotRef.namespace must be set", + "rule": "has(self.name) && has(self.__namespace__)" + } + ] + } + }, + "required": [ + "deletionPolicy", + "driver", + "source", + "volumeSnapshotRef" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "sourceVolumeMode is required once set", + "rule": "!has(oldSelf.sourceVolumeMode) || has(self.sourceVolumeMode)" + } + ] + }, + "status": { + "properties": { + "creationTime": { + "format": "int64", + "type": "integer" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "time": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "readyToUse": { + "type": "boolean" + }, + "restoreSize": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "snapshotHandle": { + "type": "string" + }, + "volumeGroupSnapshotHandle": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/snapshot.storage.k8s.io/volumesnapshotcontent_v1beta1.json b/schemas/snapshot.storage.k8s.io/volumesnapshotcontent_v1beta1.json new file mode 100644 index 0000000..86c455f --- /dev/null +++ b/schemas/snapshot.storage.k8s.io/volumesnapshotcontent_v1beta1.json @@ -0,0 +1,111 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "deletionPolicy": { + "enum": [ + "Delete", + "Retain" + ], + "type": "string" + }, + "driver": { + "type": "string" + }, + "source": { + "properties": { + "snapshotHandle": { + "type": "string" + }, + "volumeHandle": { + "type": "string" + } + }, + "type": "object" + }, + "volumeSnapshotClassName": { + "type": "string" + }, + "volumeSnapshotRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "deletionPolicy", + "driver", + "source", + "volumeSnapshotRef" + ], + "type": "object" + }, + "status": { + "properties": { + "creationTime": { + "format": "int64", + "type": "integer" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "time": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "readyToUse": { + "type": "boolean" + }, + "restoreSize": { + "format": "int64", + "minimum": 0, + "type": "integer" + }, + "snapshotHandle": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "spec" + ], + "type": "object" +} diff --git a/schemas/stackconfigpolicy.k8s.elastic.co/stackconfigpolicy_v1alpha1.json b/schemas/stackconfigpolicy.k8s.elastic.co/stackconfigpolicy_v1alpha1.json new file mode 100644 index 0000000..be6579d --- /dev/null +++ b/schemas/stackconfigpolicy.k8s.elastic.co/stackconfigpolicy_v1alpha1.json @@ -0,0 +1,313 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "elasticsearch": { + "properties": { + "clusterSettings": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "indexLifecyclePolicies": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "indexTemplates": { + "properties": { + "componentTemplates": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "composableIndexTemplates": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "ingestPipelines": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "secretMounts": { + "items": { + "properties": { + "mountPath": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-preserve-unknown-fields": true + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-preserve-unknown-fields": true + }, + "securityRoleMappings": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "snapshotLifecyclePolicies": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "snapshotRepositories": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object" + }, + "kibana": { + "properties": { + "config": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object" + }, + "resourceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secureSettings": { + "items": { + "properties": { + "entries": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "type": "array" + }, + "secretName": { + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "status": { + "properties": { + "details": { + "additionalProperties": { + "additionalProperties": { + "properties": { + "currentVersion": { + "format": "int64", + "type": "integer" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "version": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "expectedVersion": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + }, + "type": "object" + }, + "errors": { + "type": "integer" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + }, + "ready": { + "type": "integer" + }, + "readyCount": { + "type": "string" + }, + "resources": { + "type": "integer" + }, + "resourcesStatuses": { + "additionalProperties": { + "properties": { + "currentVersion": { + "format": "int64", + "type": "integer" + }, + "error": { + "properties": { + "message": { + "type": "string" + }, + "version": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "expectedVersion": { + "format": "int64", + "type": "integer" + }, + "phase": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/status_v1.json b/schemas/status_v1.json new file mode 100644 index 0000000..bc5b0f4 --- /dev/null +++ b/schemas/status_v1.json @@ -0,0 +1,35 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "code": { + "format": "int32", + "type": "integer" + }, + "details": { + "additionalProperties": true, + "type": "object", + "x-kubernetes-list-type": "atomic" + }, + "kind": { + "type": "string" + }, + "message": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/csidriver_v1.json b/schemas/storage.k8s.io/csidriver_v1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/storage.k8s.io/csidriver_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/csidriverlist_v1.json b/schemas/storage.k8s.io/csidriverlist_v1.json new file mode 100644 index 0000000..a324bfa --- /dev/null +++ b/schemas/storage.k8s.io/csidriverlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/csinode_v1.json b/schemas/storage.k8s.io/csinode_v1.json new file mode 100644 index 0000000..e902b80 --- /dev/null +++ b/schemas/storage.k8s.io/csinode_v1.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/csinodelist_v1.json b/schemas/storage.k8s.io/csinodelist_v1.json new file mode 100644 index 0000000..38d16d4 --- /dev/null +++ b/schemas/storage.k8s.io/csinodelist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/csistoragecapacity_v1.json b/schemas/storage.k8s.io/csistoragecapacity_v1.json new file mode 100644 index 0000000..3857b71 --- /dev/null +++ b/schemas/storage.k8s.io/csistoragecapacity_v1.json @@ -0,0 +1,32 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "capacity": { + "additionalProperties": true, + "type": "object" + }, + "kind": { + "type": "string" + }, + "maximumVolumeSize": { + "additionalProperties": true, + "type": "object" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "nodeTopology": { + "additionalProperties": true, + "type": "object" + }, + "storageClassName": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/csistoragecapacitylist_v1.json b/schemas/storage.k8s.io/csistoragecapacitylist_v1.json new file mode 100644 index 0000000..bbaecf8 --- /dev/null +++ b/schemas/storage.k8s.io/csistoragecapacitylist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/deleteoptions_v1.json b/schemas/storage.k8s.io/deleteoptions_v1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/storage.k8s.io/deleteoptions_v1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/deleteoptions_v1alpha1.json b/schemas/storage.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/storage.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/deleteoptions_v1beta1.json b/schemas/storage.k8s.io/deleteoptions_v1beta1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/storage.k8s.io/deleteoptions_v1beta1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/storageclass_v1.json b/schemas/storage.k8s.io/storageclass_v1.json new file mode 100644 index 0000000..5738f99 --- /dev/null +++ b/schemas/storage.k8s.io/storageclass_v1.json @@ -0,0 +1,49 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "allowVolumeExpansion": { + "type": "boolean" + }, + "allowedTopologies": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "mountOptions": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "provisioner": { + "type": "string" + }, + "reclaimPolicy": { + "type": "string" + }, + "volumeBindingMode": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/storageclasslist_v1.json b/schemas/storage.k8s.io/storageclasslist_v1.json new file mode 100644 index 0000000..bacf992 --- /dev/null +++ b/schemas/storage.k8s.io/storageclasslist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/volumeattachment_v1.json b/schemas/storage.k8s.io/volumeattachment_v1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/storage.k8s.io/volumeattachment_v1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/volumeattachmentlist_v1.json b/schemas/storage.k8s.io/volumeattachmentlist_v1.json new file mode 100644 index 0000000..938baa1 --- /dev/null +++ b/schemas/storage.k8s.io/volumeattachmentlist_v1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/volumeattributesclass_v1alpha1.json b/schemas/storage.k8s.io/volumeattributesclass_v1alpha1.json new file mode 100644 index 0000000..5fe0b52 --- /dev/null +++ b/schemas/storage.k8s.io/volumeattributesclass_v1alpha1.json @@ -0,0 +1,26 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "driverName": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/volumeattributesclass_v1beta1.json b/schemas/storage.k8s.io/volumeattributesclass_v1beta1.json new file mode 100644 index 0000000..5fe0b52 --- /dev/null +++ b/schemas/storage.k8s.io/volumeattributesclass_v1beta1.json @@ -0,0 +1,26 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "driverName": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/volumeattributesclasslist_v1alpha1.json b/schemas/storage.k8s.io/volumeattributesclasslist_v1alpha1.json new file mode 100644 index 0000000..9a834ba --- /dev/null +++ b/schemas/storage.k8s.io/volumeattributesclasslist_v1alpha1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/volumeattributesclasslist_v1beta1.json b/schemas/storage.k8s.io/volumeattributesclasslist_v1beta1.json new file mode 100644 index 0000000..936fb08 --- /dev/null +++ b/schemas/storage.k8s.io/volumeattributesclasslist_v1beta1.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + }, + "type": "array" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/watchevent_v1.json b/schemas/storage.k8s.io/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/storage.k8s.io/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/watchevent_v1alpha1.json b/schemas/storage.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/storage.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/storage.k8s.io/watchevent_v1beta1.json b/schemas/storage.k8s.io/watchevent_v1beta1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/storage.k8s.io/watchevent_v1beta1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/storagemigration.k8s.io/deleteoptions_v1alpha1.json b/schemas/storagemigration.k8s.io/deleteoptions_v1alpha1.json new file mode 100644 index 0000000..e0ac6b4 --- /dev/null +++ b/schemas/storagemigration.k8s.io/deleteoptions_v1alpha1.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "dryRun": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "format": "int64", + "type": "integer" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "orphanDependents": { + "type": "boolean" + }, + "preconditions": { + "additionalProperties": true, + "type": "object" + }, + "propagationPolicy": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/storagemigration.k8s.io/storageversionmigration_v1alpha1.json b/schemas/storagemigration.k8s.io/storageversionmigration_v1alpha1.json new file mode 100644 index 0000000..b7e1463 --- /dev/null +++ b/schemas/storagemigration.k8s.io/storageversionmigration_v1alpha1.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + }, + "spec": { + "additionalProperties": true, + "type": "object" + }, + "status": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storagemigration.k8s.io/storageversionmigrationlist_v1alpha1.json b/schemas/storagemigration.k8s.io/storageversionmigrationlist_v1alpha1.json new file mode 100644 index 0000000..bd21818 --- /dev/null +++ b/schemas/storagemigration.k8s.io/storageversionmigrationlist_v1alpha1.json @@ -0,0 +1,29 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "apiVersion": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/io.k8s.api.storagemigration.v1alpha1.StorageVersionMigration" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "kind": { + "type": "string" + }, + "metadata": { + "additionalProperties": true, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/storagemigration.k8s.io/watchevent_v1alpha1.json b/schemas/storagemigration.k8s.io/watchevent_v1alpha1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/storagemigration.k8s.io/watchevent_v1alpha1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +} diff --git a/schemas/telemetry.cattle.io/secretrequest_v1.json b/schemas/telemetry.cattle.io/secretrequest_v1.json new file mode 100644 index 0000000..8365537 --- /dev/null +++ b/schemas/telemetry.cattle.io/secretrequest_v1.json @@ -0,0 +1,82 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "secretType": { + "type": "string" + }, + "targetSecretRef": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "secretType", + "targetSecretRef" + ], + "type": "object" + }, + "status": { + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "type": "string" + }, + "lastUpdateTime": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "status", + "type" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "lastSyncTS": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/turtles-capi.cattle.io/capiprovider_v1alpha1.json b/schemas/turtles-capi.cattle.io/capiprovider_v1alpha1.json new file mode 100644 index 0000000..06000d6 --- /dev/null +++ b/schemas/turtles-capi.cattle.io/capiprovider_v1alpha1.json @@ -0,0 +1,2306 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "example": { + "credentials": { + "rancherCloudCredential": "user-credential" + }, + "name": "aws", + "type": "infrastructure", + "version": "v2.3.0" + }, + "properties": { + "additionalDeployments": { + "additionalProperties": { + "properties": { + "deployment": { + "properties": { + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "containers": { + "items": { + "properties": { + "args": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "imageUrl": { + "type": "string" + }, + "name": { + "type": "string" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "request": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "replicas": { + "minimum": 0, + "type": "integer" + }, + "serviceAccountName": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "manager": { + "properties": { + "additionalArgs": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "cacheNamespace": { + "type": "string" + }, + "controller": { + "properties": { + "cacheSyncTimeout": { + "format": "int64", + "type": "integer" + }, + "groupKindConcurrency": { + "additionalProperties": { + "type": "integer" + }, + "type": "object" + }, + "recoverPanic": { + "type": "boolean" + } + }, + "type": "object" + }, + "featureGates": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "gracefulShutDown": { + "type": "string" + }, + "health": { + "properties": { + "healthProbeBindAddress": { + "type": "string" + }, + "livenessEndpointName": { + "type": "string" + }, + "readinessEndpointName": { + "type": "string" + } + }, + "type": "object" + }, + "leaderElection": { + "properties": { + "leaderElect": { + "type": "boolean" + }, + "leaseDuration": { + "type": "string" + }, + "renewDeadline": { + "type": "string" + }, + "resourceLock": { + "type": "string" + }, + "resourceName": { + "type": "string" + }, + "resourceNamespace": { + "type": "string" + }, + "retryPeriod": { + "type": "string" + } + }, + "required": [ + "leaderElect", + "leaseDuration", + "renewDeadline", + "resourceLock", + "resourceName", + "resourceNamespace", + "retryPeriod" + ], + "type": "object" + }, + "maxConcurrentReconciles": { + "minimum": 1, + "type": "integer" + }, + "metrics": { + "properties": { + "bindAddress": { + "type": "string" + } + }, + "type": "object" + }, + "profilerAddress": { + "type": "string" + }, + "syncPeriod": { + "type": "string" + }, + "verbosity": { + "default": 1, + "minimum": 0, + "type": "integer" + }, + "webhook": { + "properties": { + "certDir": { + "type": "string" + }, + "host": { + "type": "string" + }, + "port": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "object" + }, + "additionalManifests": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "configSecret": { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "credentials": { + "example": { + "rancherCloudCredential": "user-credential" + }, + "maxProperties": 1, + "minProperties": 1, + "properties": { + "rancherCloudCredential": { + "type": "string" + }, + "rancherCloudCredentialNamespaceName": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "rancherCloudCredentialNamespaceName should be in the namespace:name format.", + "rule": "!has(self.rancherCloudCredentialNamespaceName) || self.rancherCloudCredentialNamespaceName.matches('^.+:.+$')" + } + ] + }, + "deployment": { + "properties": { + "affinity": { + "properties": { + "nodeAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "preference": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "properties": { + "nodeSelectorTerms": { + "items": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "podAffinityTerm": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "weight": { + "format": "int32", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "containers": { + "items": { + "properties": { + "args": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "properties": { + "configMapKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "properties": { + "containerName": { + "type": "string" + }, + "divisor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "imageUrl": { + "type": "string" + }, + "name": { + "type": "string" + }, + "resources": { + "properties": { + "claims": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "request": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + }, + "requests": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "type": "array" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "replicas": { + "minimum": 0, + "type": "integer" + }, + "serviceAccountName": { + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "enableAutomaticUpdate": { + "type": "boolean" + }, + "features": { + "example": { + "clusterResourceSet": true, + "clusterTopology": true, + "machinePool": true + }, + "properties": { + "clusterResourceSet": { + "type": "boolean" + }, + "clusterTopology": { + "type": "boolean" + }, + "machinePool": { + "type": "boolean" + } + }, + "type": "object" + }, + "fetchConfig": { + "properties": { + "oci": { + "type": "string" + }, + "selector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "url": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Must specify one and only one of {oci, url, selector}", + "rule": "[has(self.oci), has(self.url), has(self.selector)].exists_one(x,x)" + } + ] + }, + "manager": { + "properties": { + "additionalArgs": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "cacheNamespace": { + "type": "string" + }, + "controller": { + "properties": { + "cacheSyncTimeout": { + "format": "int64", + "type": "integer" + }, + "groupKindConcurrency": { + "additionalProperties": { + "type": "integer" + }, + "type": "object" + }, + "recoverPanic": { + "type": "boolean" + } + }, + "type": "object" + }, + "featureGates": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "gracefulShutDown": { + "type": "string" + }, + "health": { + "properties": { + "healthProbeBindAddress": { + "type": "string" + }, + "livenessEndpointName": { + "type": "string" + }, + "readinessEndpointName": { + "type": "string" + } + }, + "type": "object" + }, + "leaderElection": { + "properties": { + "leaderElect": { + "type": "boolean" + }, + "leaseDuration": { + "type": "string" + }, + "renewDeadline": { + "type": "string" + }, + "resourceLock": { + "type": "string" + }, + "resourceName": { + "type": "string" + }, + "resourceNamespace": { + "type": "string" + }, + "retryPeriod": { + "type": "string" + } + }, + "required": [ + "leaderElect", + "leaseDuration", + "renewDeadline", + "resourceLock", + "resourceName", + "resourceNamespace", + "retryPeriod" + ], + "type": "object" + }, + "maxConcurrentReconciles": { + "minimum": 1, + "type": "integer" + }, + "metrics": { + "properties": { + "bindAddress": { + "type": "string" + } + }, + "type": "object" + }, + "profilerAddress": { + "type": "string" + }, + "syncPeriod": { + "type": "string" + }, + "verbosity": { + "default": 1, + "minimum": 0, + "type": "integer" + }, + "webhook": { + "properties": { + "certDir": { + "type": "string" + }, + "host": { + "type": "string" + }, + "port": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "manifestPatches": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "example": "aws", + "type": "string" + }, + "type": { + "example": "InfrastructureProvider", + "type": "string" + }, + "variables": { + "additionalProperties": { + "type": "string" + }, + "example": { + "CLUSTER_TOPOLOGY": "true", + "EXP_CLUSTER_RESOURCE_SET": "true", + "EXP_MACHINE_POOL": "true" + }, + "type": "object" + }, + "version": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-validations": [ + { + "message": "CAPI Provider version should be in the semver format prefixed with 'v'. Example: v1.9.3", + "rule": "!has(self.version) || self.version.matches(r\"\"\"^v([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?(?:\\+[0-9A-Za-z-]+)?$\"\"\")" + }, + { + "message": "Config secret namespace is always equal to the resource namespace and should not be set.", + "rule": "!has(self.configSecret) || !has(self.configSecret.__namespace__)" + }, + { + "message": "One of fetchConfig oci, url or selector should be set.", + "rule": "!has(self.fetchConfig) || [has(self.fetchConfig.oci), has(self.fetchConfig.url), has(self.fetchConfig.selector)].exists_one(e, e)" + } + ] + }, + "status": { + "default": {}, + "properties": { + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "format": "date-time", + "type": "string" + }, + "message": { + "maxLength": 10240, + "minLength": 1, + "type": "string" + }, + "reason": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "severity": { + "maxLength": 32, + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "contract": { + "type": "string" + }, + "installedVersion": { + "type": "string" + }, + "name": { + "type": "string" + }, + "observedGeneration": { + "format": "int64", + "type": "integer" + }, + "phase": { + "default": "Pending", + "type": "string" + }, + "variables": { + "additionalProperties": { + "type": "string" + }, + "default": { + "CLUSTER_TOPOLOGY": "true", + "EXP_CLUSTER_RESOURCE_SET": "true", + "EXP_MACHINE_POOL": "true" + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "CAPI Provider type should always be set.", + "rule": "has(self.spec.type)" + } + ] +} diff --git a/schemas/turtles-capi.cattle.io/clusterctlconfig_v1alpha1.json b/schemas/turtles-capi.cattle.io/clusterctlconfig_v1alpha1.json new file mode 100644 index 0000000..cbbca53 --- /dev/null +++ b/schemas/turtles-capi.cattle.io/clusterctlconfig_v1alpha1.json @@ -0,0 +1,71 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "images": { + "items": { + "properties": { + "name": { + "example": "all", + "type": "string" + }, + "repository": { + "example": "my-registry/my-org", + "type": "string" + }, + "tag": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "providers": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "type": { + "example": "InfrastructureProvider", + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "type", + "url" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-validations": [ + { + "message": "Clusterctl Config should be named clusterctl-config.", + "rule": "self.metadata.name == 'clusterctl-config'" + } + ] +} diff --git a/schemas/ui.cattle.io/navlink_v1.json b/schemas/ui.cattle.io/navlink_v1.json new file mode 100644 index 0000000..e9550d4 --- /dev/null +++ b/schemas/ui.cattle.io/navlink_v1.json @@ -0,0 +1,75 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "group": { + "nullable": true, + "type": "string" + }, + "iconSrc": { + "nullable": true, + "type": "string" + }, + "label": { + "nullable": true, + "type": "string" + }, + "sideLabel": { + "nullable": true, + "type": "string" + }, + "target": { + "nullable": true, + "type": "string" + }, + "toService": { + "nullable": true, + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "namespace": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "port": { + "nullable": true, + "x-kubernetes-int-or-string": true + }, + "scheme": { + "default": "http", + "nullable": true, + "type": "string" + } + }, + "required": [ + "name", + "namespace" + ], + "type": "object" + }, + "toURL": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/upgrade.cattle.io/plan_v1.json b/schemas/upgrade.cattle.io/plan_v1.json new file mode 100644 index 0000000..0653184 --- /dev/null +++ b/schemas/upgrade.cattle.io/plan_v1.json @@ -0,0 +1,970 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "properties": { + "channel": { + "nullable": true, + "type": "string" + }, + "concurrency": { + "type": "integer" + }, + "cordon": { + "type": "boolean" + }, + "drain": { + "nullable": true, + "properties": { + "deleteEmptydirData": { + "nullable": true, + "type": "boolean" + }, + "deleteLocalData": { + "nullable": true, + "type": "boolean" + }, + "disableEviction": { + "type": "boolean" + }, + "force": { + "type": "boolean" + }, + "gracePeriod": { + "nullable": true, + "type": "integer" + }, + "ignoreDaemonSets": { + "nullable": true, + "type": "boolean" + }, + "podSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "operator": { + "nullable": true, + "type": "string" + }, + "values": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "skipWaitForDeleteTimeout": { + "type": "integer" + }, + "timeout": { + "nullable": true, + "x-kubernetes-int-or-string": true + } + }, + "type": "object" + }, + "exclusive": { + "type": "boolean" + }, + "imagePullSecrets": { + "items": { + "properties": { + "name": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "jobActiveDeadlineSecs": { + "nullable": true, + "type": "integer" + }, + "nodeSelector": { + "nullable": true, + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "operator": { + "nullable": true, + "type": "string" + }, + "values": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "object" + } + }, + "type": "object" + }, + "postCompleteDelay": { + "nullable": true, + "type": "string" + }, + "prepare": { + "nullable": true, + "properties": { + "args": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "command": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "nullable": true, + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "optional": { + "nullable": true, + "type": "boolean" + } + }, + "type": "object" + }, + "prefix": { + "nullable": true, + "type": "string" + }, + "secretRef": { + "nullable": true, + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "optional": { + "nullable": true, + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "envs": { + "items": { + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + }, + "valueFrom": { + "nullable": true, + "properties": { + "configMapKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "optional": { + "nullable": true, + "type": "boolean" + } + }, + "type": "object" + }, + "fieldRef": { + "nullable": true, + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "fieldPath": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "fileKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "optional": { + "nullable": true, + "type": "boolean" + }, + "path": { + "nullable": true, + "type": "string" + }, + "volumeName": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "resourceFieldRef": { + "nullable": true, + "properties": { + "containerName": { + "nullable": true, + "type": "string" + }, + "divisor": { + "nullable": true, + "type": "string" + }, + "resource": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "secretKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "optional": { + "nullable": true, + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "image": { + "nullable": true, + "type": "string" + }, + "securityContext": { + "nullable": true, + "properties": { + "allowPrivilegeEscalation": { + "nullable": true, + "type": "boolean" + }, + "appArmorProfile": { + "nullable": true, + "properties": { + "localhostProfile": { + "nullable": true, + "type": "string" + }, + "type": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "capabilities": { + "nullable": true, + "properties": { + "add": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "drop": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "privileged": { + "nullable": true, + "type": "boolean" + }, + "procMount": { + "nullable": true, + "type": "string" + }, + "readOnlyRootFilesystem": { + "nullable": true, + "type": "boolean" + }, + "runAsGroup": { + "nullable": true, + "type": "integer" + }, + "runAsNonRoot": { + "nullable": true, + "type": "boolean" + }, + "runAsUser": { + "nullable": true, + "type": "integer" + }, + "seLinuxOptions": { + "nullable": true, + "properties": { + "level": { + "nullable": true, + "type": "string" + }, + "role": { + "nullable": true, + "type": "string" + }, + "type": { + "nullable": true, + "type": "string" + }, + "user": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "nullable": true, + "properties": { + "localhostProfile": { + "nullable": true, + "type": "string" + }, + "type": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "windowsOptions": { + "nullable": true, + "properties": { + "gmsaCredentialSpec": { + "nullable": true, + "type": "string" + }, + "gmsaCredentialSpecName": { + "nullable": true, + "type": "string" + }, + "hostProcess": { + "nullable": true, + "type": "boolean" + }, + "runAsUserName": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "volumes": { + "items": { + "properties": { + "destination": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "source": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "priorityClassName": { + "nullable": true, + "type": "string" + }, + "secrets": { + "items": { + "properties": { + "defaultMode": { + "nullable": true, + "type": "integer" + }, + "ignoreUpdates": { + "type": "boolean" + }, + "name": { + "nullable": true, + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "serviceAccountName": { + "nullable": true, + "type": "string" + }, + "tolerations": { + "items": { + "properties": { + "effect": { + "nullable": true, + "type": "string" + }, + "key": { + "nullable": true, + "type": "string" + }, + "operator": { + "nullable": true, + "type": "string" + }, + "tolerationSeconds": { + "nullable": true, + "type": "integer" + }, + "value": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "upgrade": { + "nullable": true, + "properties": { + "args": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "command": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "envFrom": { + "items": { + "properties": { + "configMapRef": { + "nullable": true, + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "optional": { + "nullable": true, + "type": "boolean" + } + }, + "type": "object" + }, + "prefix": { + "nullable": true, + "type": "string" + }, + "secretRef": { + "nullable": true, + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "optional": { + "nullable": true, + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "envs": { + "items": { + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "value": { + "nullable": true, + "type": "string" + }, + "valueFrom": { + "nullable": true, + "properties": { + "configMapKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "optional": { + "nullable": true, + "type": "boolean" + } + }, + "type": "object" + }, + "fieldRef": { + "nullable": true, + "properties": { + "apiVersion": { + "nullable": true, + "type": "string" + }, + "fieldPath": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "fileKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "optional": { + "nullable": true, + "type": "boolean" + }, + "path": { + "nullable": true, + "type": "string" + }, + "volumeName": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "resourceFieldRef": { + "nullable": true, + "properties": { + "containerName": { + "nullable": true, + "type": "string" + }, + "divisor": { + "nullable": true, + "type": "string" + }, + "resource": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "secretKeyRef": { + "nullable": true, + "properties": { + "key": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "optional": { + "nullable": true, + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "image": { + "nullable": true, + "type": "string" + }, + "securityContext": { + "nullable": true, + "properties": { + "allowPrivilegeEscalation": { + "nullable": true, + "type": "boolean" + }, + "appArmorProfile": { + "nullable": true, + "properties": { + "localhostProfile": { + "nullable": true, + "type": "string" + }, + "type": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "capabilities": { + "nullable": true, + "properties": { + "add": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "drop": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "privileged": { + "nullable": true, + "type": "boolean" + }, + "procMount": { + "nullable": true, + "type": "string" + }, + "readOnlyRootFilesystem": { + "nullable": true, + "type": "boolean" + }, + "runAsGroup": { + "nullable": true, + "type": "integer" + }, + "runAsNonRoot": { + "nullable": true, + "type": "boolean" + }, + "runAsUser": { + "nullable": true, + "type": "integer" + }, + "seLinuxOptions": { + "nullable": true, + "properties": { + "level": { + "nullable": true, + "type": "string" + }, + "role": { + "nullable": true, + "type": "string" + }, + "type": { + "nullable": true, + "type": "string" + }, + "user": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "seccompProfile": { + "nullable": true, + "properties": { + "localhostProfile": { + "nullable": true, + "type": "string" + }, + "type": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "windowsOptions": { + "nullable": true, + "properties": { + "gmsaCredentialSpec": { + "nullable": true, + "type": "string" + }, + "gmsaCredentialSpecName": { + "nullable": true, + "type": "string" + }, + "hostProcess": { + "nullable": true, + "type": "boolean" + }, + "runAsUserName": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "volumes": { + "items": { + "properties": { + "destination": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "source": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "version": { + "nullable": true, + "type": "string" + }, + "window": { + "nullable": true, + "properties": { + "days": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "endTime": { + "nullable": true, + "type": "string" + }, + "startTime": { + "nullable": true, + "type": "string" + }, + "timeZone": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "status": { + "properties": { + "applying": { + "items": { + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "conditions": { + "items": { + "properties": { + "lastTransitionTime": { + "nullable": true, + "type": "string" + }, + "lastUpdateTime": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "reason": { + "nullable": true, + "type": "string" + }, + "status": { + "nullable": true, + "type": "string" + }, + "type": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "latestHash": { + "nullable": true, + "type": "string" + }, + "latestVersion": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +} diff --git a/schemas/watchevent_v1.json b/schemas/watchevent_v1.json new file mode 100644 index 0000000..304cecf --- /dev/null +++ b/schemas/watchevent_v1.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, + "properties": { + "object": { + "additionalProperties": true, + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}