diff --git a/charts/meta-cert-manager/.helmignore b/charts/meta-cert-manager/.helmignore new file mode 100644 index 0000000..7f28c89 --- /dev/null +++ b/charts/meta-cert-manager/.helmignore @@ -0,0 +1,3 @@ +config/* +values.schema.full.json +values.example.yaml diff --git a/charts/meta-cert-manager/Chart.yaml b/charts/meta-cert-manager/Chart.yaml new file mode 100644 index 0000000..c7c3a2e --- /dev/null +++ b/charts/meta-cert-manager/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: metachart +description: Metachart born Helm Chart for cert-manager resources +type: application +version: "1.14.5" +appVersion: none diff --git a/charts/meta-cert-manager/README.md b/charts/meta-cert-manager/README.md new file mode 100644 index 0000000..d0c5419 --- /dev/null +++ b/charts/meta-cert-manager/README.md @@ -0,0 +1,47 @@ +# meta-cert-manager + +`meta-cert-manager` is a [metachart](https://github.com/iponweb/metachart) +born [Helm](https://helm.sh/) Chart for +[cert-manager](https://github.com/cert-manager/cert-manager) +operator custom resources + +## Quickstart + +Add the [Helm](https://helm.sh/) repository: + +```shell +helm repo add iponweb https://iponweb.github.io/charts/ +``` + +Add the [values.schema.json](values.schema.json) file to your favourite IDE +to enable values file autocompletion and validation. +Examples: +- [IntelliJ IDEA](https://www.jetbrains.com/help/idea/json.html#ws_json_schema_add_custom) +- [Visual Studio Code](https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings) +- [Sublime Text](https://github.com/sublimelsp/LSP-json) + +Define `values.yaml` with required resources and install the release: + +```shell +helm install release-name -f values.yaml iponweb/meta-cert-manager +``` + +See also [values.example.yaml](values.example.yaml) + +## Documentation + +For complete resources list support see [resources](docs/resources.md). + +See the `metachart` [Documentation](https://github.com/iponweb/metachart/docs) +for more details. + +## Requirements + +Minimal supported [Helm](https://helm.sh/) version is `v3.2.0`. + +## Versioning + +Chart major and minor version parts follow +[cert-manager](https://github.com/cert-manager/cert-manager) +versions which has been used for the chart generation. Patch component is used +for charts own changes/fixes. diff --git a/charts/meta-cert-manager/config/resources.yaml b/charts/meta-cert-manager/config/resources.yaml new file mode 100644 index 0000000..13dacab --- /dev/null +++ b/charts/meta-cert-manager/config/resources.yaml @@ -0,0 +1,26 @@ +resources: + challenges: + apiVersion: acme.cert-manager.io/v1 + kind: Challenge + jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.acme.v1.Challenge + orders: + apiVersion: acme.cert-manager.io/v1 + kind: Order + jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.acme.v1.Order + + certificaterequests: + apiVersion: cert-manager.io/v1 + kind: CertificateRequest + jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest + certificates: + apiVersion: cert-manager.io/v1 + kind: Certificate + jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Certificate + clusterissuers: + apiVersion: cert-manager.io/v1 + kind: ClusterIssuer + jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer + issuers: + apiVersion: cert-manager.io/v1 + kind: Issuer + jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Issuer diff --git a/charts/meta-cert-manager/config/schema.yaml b/charts/meta-cert-manager/config/schema.yaml new file mode 100644 index 0000000..ecfa398 --- /dev/null +++ b/charts/meta-cert-manager/config/schema.yaml @@ -0,0 +1,56 @@ +.defaults: + disallowed: &defaultDisallowed + - status + - kind + - apiVersion + properties: &defaultProperties + enabled: metachart.interface.boolean + metadata: metachart.api.meta.v1.ObjectMeta + rootKey: &defaultRootKey + disallowed: *defaultDisallowed + properties: *defaultProperties + +definitions: + - https://raw.githubusercontent.com/iponweb/schemas/main/json-schemas/kubernetes/v1.29.3-strict/_definitions.json + - https://raw.githubusercontent.com/iponweb/schemas/main/json-schemas/cert-manager/v1.14.5-strict/_definitions.json + +rules: + #: Common + #: + #: meta.v1.ObjectMeta + - target: metachart.api.meta.v1.ObjectMeta + source: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + allowed: + - annotations + - labels + - finalizers + - namespace + - name + properties: + checksums: metachart.interface.checksums + + #: acme.cert-manager.io/v1 + - target: metachart.api.io.cert-manager.pkg.apis.acme.v1.Challenge + source: io.cert-manager.pkg.apis.acme.v1.Challenge + <<: *defaultRootKey + + - target: metachart.api.io.cert-manager.pkg.apis.acme.v1.Order + source: io.cert-manager.pkg.apis.acme.v1.Order + <<: *defaultRootKey + + #: cert-manager.io/v1 + - target: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest + source: io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest + <<: *defaultRootKey + + - target: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Certificate + source: io.cert-manager.pkg.apis.certmanager.v1.Certificate + <<: *defaultRootKey + + - target: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer + source: io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer + <<: *defaultRootKey + + - target: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Issuer + source: io.cert-manager.pkg.apis.certmanager.v1.Issuer + <<: *defaultRootKey diff --git a/charts/meta-cert-manager/config/values.schema.custom.json b/charts/meta-cert-manager/config/values.schema.custom.json new file mode 100644 index 0000000..64c007d --- /dev/null +++ b/charts/meta-cert-manager/config/values.schema.custom.json @@ -0,0 +1,5 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "definitions": {} +} diff --git a/charts/meta-cert-manager/docs/resources.md b/charts/meta-cert-manager/docs/resources.md new file mode 100644 index 0000000..b1e79b1 --- /dev/null +++ b/charts/meta-cert-manager/docs/resources.md @@ -0,0 +1,20 @@ +# Resources + +A set of resources supported by the chart + +## acme.cert-manager.io/v1 + +| Values file key | Kind | Preprocessor | +| --------------- | ---- | ------------ | +| challenges | Challenge | - | +| orders | Order | - | + + +## cert-manager.io/v1 + +| Values file key | Kind | Preprocessor | +| --------------- | ---- | ------------ | +| certificaterequests | CertificateRequest | - | +| certificates | Certificate | - | +| clusterissuers | ClusterIssuer | - | +| issuers | Issuer | - | \ No newline at end of file diff --git a/charts/meta-cert-manager/templates/_custom.tpl b/charts/meta-cert-manager/templates/_custom.tpl new file mode 100644 index 0000000..ed2ccbe --- /dev/null +++ b/charts/meta-cert-manager/templates/_custom.tpl @@ -0,0 +1 @@ +{{/* Place user-provided templates there */}} diff --git a/charts/meta-cert-manager/templates/_metachart.tpl b/charts/meta-cert-manager/templates/_metachart.tpl new file mode 100644 index 0000000..af51893 --- /dev/null +++ b/charts/meta-cert-manager/templates/_metachart.tpl @@ -0,0 +1,641 @@ +{{/* +Create a default fully qualified app name. +Truncate at 63 chars because some Kubernetes name fields are limited to this +(by the DNS naming spec). +Use only helm release name because helm chart is made to be used by different +kinds of applications. + +Return: string +*/}} +{{- define "metachart.fullname" -}} +{{- if $.Values.fullnameOverride }} +{{- $.Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $.Release.Name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} + +{{/* +Compute chart name-version to be used by the chart label + +Return: string +*/}} +{{- define "metachart.chart" -}} +{{- printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Compute Chart labels + +Return: dict in json format +*/}} +{{- define "metachart.chartLabels" -}} +{{- $result := dict + "helm.sh/chart" (include "metachart.chart" $) + "app.kubernetes.io/instance" $.Release.Name + "app.kubernetes.io/managed-by" $.Release.Service +}} +{{- if $.Chart.AppVersion }} + {{- $_ := set $result "app.kubernetes.io/version" $.Chart.AppVersion }} +{{- end }} +{{- /* Return */}} +{{- $result | toJson }} +{{- end }} + +{{/* +Label selector to determine if a resource belongs to a component. Only +necessary and sufficient set of labels is used. + +Params: + + component : str - Component value which the resource belongs to + +Return: dict in json format +*/}} +{{- define "metachart.selectorLabels" -}} +{{- /* Cleanup context from the function params */}} +{{- $params := $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $component := default nil $params.component }} +{{- /* Execution */}} +{{- $result := dict "app.kubernetes.io/instance" $.Release.Name }} +{{- with $component }} + {{- $_ := set $result "app.kubernetes.io/component" $component}} +{{- end }} +{{- /* Return */}} +{{- $result | toJson }} +{{- end }} + +{{/* +Compute resource labels + +Params: + + definition : dict - Resource definition + component : str - Resource component value + relatedComponent : str - Related resource component value + +Return: dict in json format +*/}} +{{- define "metachart.resourceLabels" -}} +{{- /* Cleanup context from the function params */}} +{{- $params := $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $definition := $params.definition }} +{{- $component := default nil $params.component }} +{{- $relatedComponent := default nil $params.relatedComponent }} +{{- /* Execution */}} +{{- $resourceMeta := default dict $definition.metadata }} +{{- $chartLabels := include "metachart.chartLabels" $context | fromJson }} +{{- $globalLabels := default dict (default dict (default dict $.Values.settings).global).labels | deepCopy }} +{{- $resourceLabels := default dict $resourceMeta.labels | deepCopy }} +{{- if $relatedComponent }} + {{- $_ := set $chartLabels "app.kubernetes.io/component" $relatedComponent}} +{{- else if $component }} + {{- $_ := set $chartLabels "app.kubernetes.io/component" $component}} +{{- end }} +{{- /* Validate if forbidden labels are used */}} +{{- range $reservedLabel := keys $chartLabels }} + {{- if hasKey $globalLabels $reservedLabel }} + {{- required (printf "Label %s is reserved for internal usage and can not be overrided" $reservedLabel) "" }} + {{- end }} + {{- if hasKey $resourceLabels $reservedLabel }} + {{- required (printf "Label %s is reserved for internal usage and can not be overrided" $reservedLabel) "" }} + {{- end }} +{{- end }} +{{- $result := merge $resourceLabels $globalLabels $chartLabels }} +{{- /* Return */}} +{{- $result | toJson }} +{{- end }} + +{{/* +Compute checksums annotations for a resource + +Params: + + definition : dict - Resource definition + +Return: dict in json format +*/}} +{{- define "metachart.resourceChecksumAnnotations" -}} +{{- /* Cleanup context from the function params */}} +{{- $params := $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $definition := $params.definition }} +{{- /* Execution */}} +{{- $result := dict }} +{{- $checksums := default dict (default dict $definition.metadata).checksums }} +{{- range $kind, $names := $checksums }} + {{- if $names }} + {{- if (kindIs "slice" $names) }} + {{- range $name := $names }} + {{- $_ := set $result (printf "checksum-%s-%s" $kind $name) (include "metachart.checksumSingle" (merge (dict "params" + (dict + "kind" $kind + "name" $name + )) $)) }} + {{- end }} + {{- else if eq $names "*" }} + {{- $_ := set $result (printf "checksum-%s" $kind) (include "metachart.checksumKinds" (merge (dict "params" + (dict + "kinds" (list $kind) + )) $)) }} + {{- end }} + {{- end }} +{{- end }} +{{- /* Return */}} +{{- $result | toJson}} +{{- end }} + +{{/* +Compute resource annotations + +Params: + + definition : dict - Resource definition + +Return: dict in json format +*/}} +{{- define "metachart.resourceAnnotations" -}} +{{- /* Cleanup context from the function params */}} +{{- $params := $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $definition := $params.definition }} +{{- /* Execution */}} +{{- $resourceMeta := default dict $definition.metadata }} +{{- $checksums := (include "metachart.resourceChecksumAnnotations" (merge (dict "params" $params) $context) | fromJson) }} +{{- $globalAnnotations := default dict (default dict (default dict $.Values.settings).global).annotations | deepCopy }} +{{- $resourceAnnotations := default dict $resourceMeta.annotations | deepCopy }} +{{- $result := merge $resourceAnnotations $globalAnnotations $checksums }} +{{- /* Return */}} +{{- $result | toJson}} +{{- end }} + +{{/* +Compute resource ObjectMeta + +Params: + + definition : dict - Resource definition + name : string - Resource name as defined in the values file + nameSuffix : string - Suffix to be added to the resource name + withName : bool - Whether name key must be added (default: true) + withNameFullnamePrefix : bool - Whether fullname prefix must be added to the name (default: true) + +Return: dict in json format +*/}} +{{- define "metachart.resourceMeta" -}} +{{- /* Cleanup context from the function params */}} +{{- $params := $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $definition := $params.definition }} +{{- $name := $params.name }} +{{- $nameSuffix := $params.nameSuffix }} +{{- $withName := (hasKey $params "withName" | ternary $params.withName true) }} +{{- $withNameFullnamePrefix := (hasKey $params "withNameFullnamePrefix" | ternary $params.withNameFullnamePrefix true) }} +{{- /* Execution */}} +{{- $resourceMeta := default dict $definition.metadata }} +{{- /* Execution */}} +{{- $result := omit $resourceMeta "labels" "annotations" "name" "checksums" }} +{{- $fullnamePrefix := "" }} +{{- if $withNameFullnamePrefix }} +{{- $fullnamePrefix = printf "%s-" (include "metachart.fullname" $context) }} +{{- end }} +{{- if $withName }} + {{- if $resourceMeta.name }} + {{- $_ := set $result "name" $resourceMeta.name }} + {{- else if $name }} + {{- if $nameSuffix }} + {{- $_ := set $result "name" (printf "%s%s-%s" $fullnamePrefix $name $nameSuffix) }} + {{- else }} + {{- $_ := set $result "name" (printf "%s%s" $fullnamePrefix $name) }} + {{- end }} + {{- else }} + {{- if $nameSuffix }} + {{- $_ := set $result "name" (printf "%s%s" $fullnamePrefix $nameSuffix) }} + {{- else }} + {{- $_ := set $result "name" (printf "%s" (include "metachart.fullname" $context)) }} + {{- end }} + {{- end }} +{{- end }} +{{- $_ := set $result "labels" (include "metachart.resourceLabels" (merge (dict "params" $params) $context) | fromJson) }} +{{- $_ = set $result "annotations" (include "metachart.resourceAnnotations" (merge (dict "params" $params) $context) | fromJson) }} +{{- /* Return */}} +{{- $result | toJson }} +{{- end }} + +{{/* +Discover all string values and render them as templates + +Params: + + data : any - data to be processed + +Return: dict in json format +*/}} +{{- define "metachart.deepRender" -}} +{{- /* Cleanup context from the function params */}} +{{- $params := $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $data := ($params.data | deepCopy) }} +{{- /* Execution */}} +{{- if kindIs "string" $data }} + {{- $result := tpl $data $context }} + {{- /* Return */}} + {{- $result | toJson }} +{{- else if kindIs "map" $data }} + {{- $result := dict }} + {{- range $key, $value := $data }} + {{- if kindIs "string" $value }} + {{- $newValue := tpl $value $context }} + {{- $_ := set $result $key $newValue }} + {{- else if kindIs "map" $value }} + {{- $newValue := include "metachart.deepRender" (merge (dict "params" (dict "data" $value)) $context) | fromJson }} + {{- $_ := set $result $key $newValue }} + {{- else if kindIs "slice" $value }} + {{- $newValue := include "metachart.deepRender" (merge (dict "params" (dict "data" $value)) $context) | fromJsonArray }} + {{- $_ := set $result $key $newValue }} + {{- else }} + {{- $_ := set $result $key $value }} + {{- end }} + {{- end }} + {{- $result | toJson }} +{{- else if kindIs "slice" $data }} + {{- $result := list }} + {{- range $value := $data }} + {{- if kindIs "string" $value }} + {{- $newValue := tpl $value $context }} + {{- $result = append $result $newValue }} + {{- else if kindIs "map" $value }} + {{- $newValue := include "metachart.deepRender" (merge (dict "params" (dict "data" $value)) $context) | fromJson }} + {{- $result = append $result $newValue }} + {{- else if kindIs "slice" $value }} + {{- $newValue := include "metachart.deepRender" (merge (dict "params" (dict "data" $value)) $context) | fromJsonArray }} + {{- $result = append $result $newValue }} + {{- else }} + {{- $result = append $result $value }} + {{- end }} + {{- end }} + {{- /* Return */}} + {{- $result | toJson }} +{{- else }} + {{- $result := $data }} + {{- /* Return */}} + {{- $result | toJson }} +{{- end }} +{{- end }} + +{{/* +Deep merge like function which concats 2 slices if meets in instead of +override. This implementation takes into account that each of source and target +values can be none one of specific type or nil. + +Params: + + source : dict | slice - Merge from + target : dict | slice - Merge to + +Return: dict | slice in json format +*/}} +{{- define "metachart.mergeConcatLists" }} +{{- /* Cleanup context from the function params */}} +{{- $params := $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $source := ($params.source | deepCopy) }} +{{- $target := ($params.target | deepCopy) }} +{{- /* Execution */}} +{{- $result := dict }} +{{- $keys := keys (default dict $source) (default dict $target) | uniq }} +{{- range $key := $keys }} + {{- $sourceValue := get $source $key }} + {{- $targetValue := get $target $key }} + {{- if or (kindIs "map" $sourceValue) (kindIs "map" $targetValue) }} + {{- /* Normalize types */}} + {{- if kindIs "map" $sourceValue }}{{- else }}{{- $sourceValue = dict }}{{- end }} + {{- if kindIs "map" $targetValue }}{{- else }}{{- $targetValue = dict }}{{- end }} + {{- $newValue := include "metachart.mergeConcatLists" (dict "params" (dict + "source" $sourceValue + "target" $targetValue + )) | fromJson }} + {{- $_ := set $result $key $newValue }} + {{- else if or (kindIs "slice" $sourceValue) (kindIs "slice" $targetValue) }} + {{- /* Normalize types */}} + {{- if kindIs "slice" $sourceValue }}{{- else }}{{- $sourceValue = list }}{{- end }} + {{- if kindIs "slice" $targetValue }}{{- else }}{{- $targetValue = list }}{{- end }} + {{- $newValue := concat $sourceValue $targetValue }} + {{- $_ := set $result $key $newValue }} + {{- else if hasKey $target $key }} + {{- $_ := set $result $key $targetValue }} + {{- else }} + {{- $_ := set $result $key $sourceValue }} + {{- end }} +{{- end }} +{{- /* Return */}} +{{- $result | toJson }} +{{- end }} + +{{/* +Discover defaults for the specific kind and apply them to the resource + +Params: + + definition : dict - Resource definition + kind : string - Resource kind + +Return: dict in json format +*/}} +{{- define "metachart.setDefaults" }} +{{- /* Cleanup context from the function params */}} +{{- $params := $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $definition := ($params.definition | deepCopy) }} +{{- $kind := $params.kind }} +{{- $kindSettings := ternary (get $.Values.settings $kind) (dict) (hasKey (default dict $.Values.settings) $kind) }} +{{- /* Execution */}} +{{- $defaults := default dict $kindSettings.defaults }} +{{- include "metachart.mergeConcatLists" (dict "params" (dict + "source" $defaults + "target" $definition +)) }} +{{- end }} + +{{/* +Discover all available resources (standalone and related) of specific kind. +It takes into account: + +- If resource kind is not disable in settings +- If resource definition.enabled is not false + +Params: + + kind : string - Resource kind + +Return: dict in json format +*/}} +{{- define "metachart.discover" }} +{{- /* Cleanup context from the function params */}} +{{- $params := $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $kind := $params.kind }} +{{- /* Execution */}} +{{- $result := dict }} +{{- $kindSettings := dict }} +{{- if hasKey (default dict $.Values.settings) $kind }} + {{- $kindSettings = get (default dict $.Values.settings) $kind }} +{{- end }} +{{- if not $kindSettings.disabled }} + {{- if hasKey $.Values $kind }} + {{- range $resourceName, $resourceDefinition := get $.Values $kind }} + {{- if (hasKey $resourceDefinition "enabled" | ternary $resourceDefinition.enabled true) }} + {{- $_ := set $result $resourceName $resourceDefinition}} + {{- end }} + {{- end }} + {{- end }} + {{- /* Discover related resources */}} + {{- $settingsKindAll := include "metachart.settings" $context | fromYaml | keys }} + {{- range $settingsKind := $settingsKindAll }} + {{- $resourceSettings := dict }} + {{- if hasKey (default dict $.Values.settings) $settingsKind }} + {{- $resourceSettings = get (default dict $.Values.settings) $settingsKind }} + {{- end }} + {{- if not $resourceSettings.disabled }} + {{- if hasKey $.Values $settingsKind }} + {{- range $resourceName, $resourceDefinition := get $.Values $settingsKind }} + {{- if (hasKey $resourceDefinition "enabled" | ternary $resourceDefinition.enabled true) }} + {{- $resourceRelated := default dict $resourceDefinition.related }} + {{- if hasKey $resourceRelated $kind }} + {{- range $name, $definition := get $resourceRelated $kind }} + {{- if hasKey $result $name }} + {{- fail (printf "Resource %s/%s defined in global and related scopes" $kind $name) }} + {{- else }} + {{- $patchedDefinition := $definition | deepCopy }} + {{- $_ := set $patchedDefinition "relatedComponent" (printf "%s-%s" $settingsKind $resourceName)}} + {{- $_ = set $result $name $patchedDefinition}} + {{- end }} + {{- end }} + {{- end }} + {{- end }} + {{- end }} + {{- end }} + {{- end }} + {{- end }} +{{- end }} +{{- /* Return */}} +{{- $result | toJson }} +{{- end }} + +{{/* +Build a complete resource ready for rendering + +Params: + + name : string - Resource name as defined in the values file + kind : string - Resource kind + definition : dict - Resource definition + apiVersion : strint - Resource ApiVersion + kindCamelCase : string - Resource kind in CamelCase format + preprocess : bool - Whether the resource kind has a preprocessor + +Return: dict in json format +*/}} +{{- define "metachart.buildResource" }} +{{- /* Cleanup context from the function params */}} +{{- $params := $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $name := $params.name }} +{{- $definition := $params.definition }} +{{- $apiVersion := $params.apiVersion }} +{{- $kindCamelCase := $params.kindCamelCase }} +{{- $preprocess := $params.preprocess }} +{{- $kind := $params.kind }} +{{- /* Execution */}} +{{- $component := (printf "%s-%s" $kind $name) }} +{{- $relatedComponent := $definition.relatedComponent }} +{{- $resource := dict + "apiVersion" $apiVersion + "kind" $kindCamelCase +}} +{{- $resource = merge $resource (omit ($definition | deepCopy) "enabled" "metadata" "related" "relatedComponent") }} +{{- $_ := set $resource "metadata" (include "metachart.resourceMeta" (merge (dict "params" + (dict + "definition" $definition + "name" $name + "component" $component + "relatedComponent" $relatedComponent + )) $context) | fromJson) }} +{{- /* Apply defaults */}} +{{- $resource = include "metachart.setDefaults" (merge (dict "params" + (dict + "definition" $resource + "kind" $kind + )) $context) | fromJson }} +{{- /* Preprocessing */}} +{{- $preprocessed := $resource }} +{{- if $preprocess }} + {{- $preprocessor := printf "metachart.preprocess.%s" $kind }} + {{- $preprocessed = include $preprocessor (merge (dict "params" + (dict + "definition" $resource + "name" $name + "component" $component + "relatedComponent" $relatedComponent + )) $context) | fromJson }} +{{- end }} +{{- /* Render */}} +{{- $result := include "metachart.deepRender" (merge (dict "params" (dict "data" $preprocessed)) $) | fromJson }} +{{- /* Return */}} +{{- $result | toJson }} +{{- end }} + +{{/* +Render all release resources + +Return: yaml +*/}} +{{- define "metachart.renderAll" }} +{{- /* Cleanup context from the function params */}} +{{- $params := default dict $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- /* Execution */}} +{{- $kinds := (include "metachart.settings" $context) | fromYaml | keys }} +{{- $result := include "metachart.renderKinds" (merge (dict "params" + (dict + "kinds" $kinds + )) $) }} +{{- /* Return */}} +{{- $result }} +{{- end }} + +{{/* +Render specific resource kinds + +Params: + + kinds : slice - List of kinds + +Return: yaml +*/}} +{{- define "metachart.renderKinds" }} +{{- /* Cleanup context from the function params */}} +{{- $params := default dict $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $kinds := $params.kinds }} +{{- /* Execution */}} +{{- $result := "" }} +{{- range $kind := $kinds }} + {{- $settings := get (include "metachart.settings" $context | fromYaml) $kind }} + {{- range $name, $definition := (include "metachart.discover" (merge (dict "params" + (dict + "kind" $kind + )) $context) | fromJson) }} + {{- $rendered := include "metachart.buildResource" (merge (dict "params" + (dict + "kind" $kind + "apiVersion" $settings.apiVersion + "kindCamelCase" $settings.kindCamelCase + "name" $name + "definition" $definition + "preprocess" $settings.preprocess + )) $context) | fromJson | toYaml | nindent 0 }} + {{- $result = printf "%s---%s\n...\n" $result $rendered }} + {{- end }} +{{- end }} +{{- /* Return */}} +{{- $result }} +{{- end }} + +{{/* +Calculate checksum of resources of specific kind + +Params: + + kinds : slice - List of kinds + +Return: string +*/}} +{{- define "metachart.checksumKinds" }} +{{- /* Cleanup context from the function params */}} +{{- $params := default dict $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- /* Execution */}} +{{- $result := include "metachart.renderKinds" (merge (dict "params" + (dict + "params" $params + )) $) }} +{{- /* Return */}} +{{- $result | sha256sum }} +{{- end }} + +{{/* +Render single resource + +Params: + + name : string - Resource name as defined in the values file + kind : string - Resource kind + +Return: yaml +*/}} +{{- define "metachart.renderSingle" }} +{{- /* Cleanup context from the function params */}} +{{- $params := default dict $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- $kind := $params.kind }} +{{- $name := $params.name }} +{{- /* Execution */}} +{{- $settings := get (include "metachart.settings" $context | fromYaml) $kind }} +{{- $definitionsAll := (include "metachart.discover" (merge (dict "params" + (dict + "kind" $kind + )) $context) | fromJson) }} +{{- if hasKey $definitionsAll $name }}{{- else }}{{- fail (printf "can not find resource %s/%s" $kind $name)}}{{- end }} +{{- $definition := get $definitionsAll $name }} +{{- $result := include "metachart.buildResource" (merge (dict "params" + (dict + "kind" $kind + "apiVersion" $settings.apiVersion + "kindCamelCase" $settings.kindCamelCase + "name" $name + "definition" $definition + "preprocess" $settings.preprocess + )) $context) | fromJson | toYaml | nindent 0 }} +{{- $result }} +{{- end }} + +{{/* +Calculate checksum of a specific resource + +Params: + + name : string - Resource name as defined in the values file + kind : string - Resource kind + +Return: string +*/}} +{{- define "metachart.checksumSingle" }} +{{- /* Cleanup context from the function params */}} +{{- $params := default dict $.params | deepCopy }} +{{- $context := omit $ "params" }} +{{- /* Get params */}} +{{- /* Execution */}} +{{- $result := include "metachart.renderSingle" (merge (dict "params" + (dict + "params" $params + )) $) }} +{{- /* Return */}} +{{- $result | sha256sum }} +{{- end }} diff --git a/charts/meta-cert-manager/templates/generated/_settings.tpl b/charts/meta-cert-manager/templates/generated/_settings.tpl new file mode 100644 index 0000000..fb72887 --- /dev/null +++ b/charts/meta-cert-manager/templates/generated/_settings.tpl @@ -0,0 +1,27 @@ +{{- /* Resources definition */}} +{{- define "metachart.settings" }} +certificaterequests: + apiVersion: cert-manager.io/v1 + kindCamelCase: CertificateRequest + preprocess: false +certificates: + apiVersion: cert-manager.io/v1 + kindCamelCase: Certificate + preprocess: false +challenges: + apiVersion: acme.cert-manager.io/v1 + kindCamelCase: Challenge + preprocess: false +clusterissuers: + apiVersion: cert-manager.io/v1 + kindCamelCase: ClusterIssuer + preprocess: false +issuers: + apiVersion: cert-manager.io/v1 + kindCamelCase: Issuer + preprocess: false +orders: + apiVersion: acme.cert-manager.io/v1 + kindCamelCase: Order + preprocess: false +{{- end }} \ No newline at end of file diff --git a/charts/meta-cert-manager/templates/resources.yaml b/charts/meta-cert-manager/templates/resources.yaml new file mode 100644 index 0000000..017a652 --- /dev/null +++ b/charts/meta-cert-manager/templates/resources.yaml @@ -0,0 +1 @@ +{{- include "metachart.renderAll" $ }} diff --git a/charts/meta-cert-manager/values.schema.full.json b/charts/meta-cert-manager/values.schema.full.json new file mode 100644 index 0000000..3e4623e --- /dev/null +++ b/charts/meta-cert-manager/values.schema.full.json @@ -0,0 +1,2301 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "definitions": { + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolver": { + "additionalProperties": false, + "description": "An ACMEChallengeSolver describes how to solve ACME challenges for the issuer it is part of. A selector may be provided to use different solving strategies for different DNS names. Only one of HTTP01 or DNS01 must be provided.", + "properties": { + "dns01": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverDNS01", + "description": "Configures cert-manager to attempt to complete authorizations by performing the DNS01 challenge flow." + }, + "http01": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01", + "description": "Configures cert-manager to attempt to complete authorizations by performing the HTTP01 challenge flow. It is not possible to obtain certificates for wildcard domain names (e.g. `*.example.com`) using the HTTP01 challenge mechanism." + }, + "selector": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.CertificateDNSNameSelector", + "description": "Selector selects a set of DNSNames on the Certificate resource that should be solved using this challenge solver. If not specified, the solver will be treated as the 'default' solver with the lowest priority, i.e. if any other solver has a more specific match, it will be used instead." + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverDNS01": { + "additionalProperties": false, + "description": "Used to configure a DNS01 challenge provider to be used when solving DNS01 challenges. Only one DNS provider may be configured per solver.", + "properties": { + "acmeDNS": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAcmeDNS", + "description": "Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage DNS01 challenge records." + }, + "akamai": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAkamai", + "description": "Use the Akamai DNS zone management API to manage DNS01 challenge records." + }, + "azureDNS": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAzureDNS", + "description": "Use the Microsoft Azure DNS API to manage DNS01 challenge records." + }, + "cloudDNS": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderCloudDNS", + "description": "Use the Google Cloud DNS API to manage DNS01 challenge records." + }, + "cloudflare": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderCloudflare", + "description": "Use the Cloudflare API to manage DNS01 challenge records." + }, + "cnameStrategy": { + "description": "CNAMEStrategy configures how the DNS01 provider should handle CNAME records when found in DNS zones.", + "type": "string" + }, + "digitalocean": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderDigitalOcean", + "description": "Use the DigitalOcean DNS API to manage DNS01 challenge records." + }, + "rfc2136": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderRFC2136", + "description": "Use RFC2136 (\"Dynamic Updates in the Domain Name System\") (https://datatracker.ietf.org/doc/rfc2136/) to manage DNS01 challenge records." + }, + "route53": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderRoute53", + "description": "Use the AWS Route53 API to manage DNS01 challenge records." + }, + "webhook": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderWebhook", + "description": "Configure an external webhook based DNS01 challenge solver to manage DNS01 challenge records." + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01": { + "additionalProperties": false, + "description": "ACMEChallengeSolverHTTP01 contains configuration detailing how to solve HTTP01 challenges within a Kubernetes cluster. Typically this is accomplished through creating 'routes' of some description that configure ingress controllers to direct traffic to 'solver pods', which are responsible for responding to the ACME server's HTTP requests. Only one of Ingress / Gateway can be specified.", + "properties": { + "gatewayHTTPRoute": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01GatewayHTTPRoute", + "description": "The Gateway API is a sig-network community API that models service networking in Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will create HTTPRoutes with the specified labels in the same namespace as the challenge. This solver is experimental, and fields / behaviour may change in the future." + }, + "ingress": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01Ingress", + "description": "The ingress based HTTP01 challenge solver will solve challenges by creating or modifying Ingress resources in order to route requests for '/.well-known/acme-challenge/XYZ' to 'challenge solver' pods that are provisioned by cert-manager for each Challenge to be completed." + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01GatewayHTTPRoute": { + "additionalProperties": false, + "description": "The ACMEChallengeSolverHTTP01GatewayHTTPRoute solver will create HTTPRoute objects for a Gateway class routing to an ACME challenge solver pod.", + "properties": { + "labels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "Custom labels that will be applied to HTTPRoutes created by cert-manager while solving HTTP-01 challenges.", + "type": "object" + }, + "parentRefs": { + "description": "When solving an HTTP-01 challenge, cert-manager creates an HTTPRoute. cert-manager needs to know which parentRefs should be used when creating the HTTPRoute. Usually, the parentRef references a Gateway. See: https://gateway-api.sigs.k8s.io/api-types/httproute/#attaching-to-gateways", + "items": { + "$ref": "#/definitions/io.k8s.sigs.gateway-api.apis.v1.ParentReference", + "default": {} + }, + "type": "array" + }, + "serviceType": { + "description": "Optional service type for Kubernetes solver service. Supported values are NodePort or ClusterIP. If unset, defaults to NodePort.\n\nPossible enum values:\n - `\"ClusterIP\"` means a service will only be accessible inside the cluster, via the cluster IP.\n - `\"ExternalName\"` means a service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved.\n - `\"LoadBalancer\"` means a service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type.\n - `\"NodePort\"` means a service will be exposed on one port of every node, in addition to 'ClusterIP' type.", + "enum": [ + "ClusterIP", + "ExternalName", + "LoadBalancer", + "NodePort" + ], + "type": "string" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01Ingress": { + "additionalProperties": false, + "properties": { + "class": { + "description": "This field configures the annotation `kubernetes.io/ingress.class` when creating Ingress resources to solve ACME challenges that use this challenge solver. Only one of `class`, `name` or `ingressClassName` may be specified.", + "type": "string" + }, + "ingressClassName": { + "description": "This field configures the field `ingressClassName` on the created Ingress resources used to solve ACME challenges that use this challenge solver. This is the recommended way of configuring the ingress class. Only one of `class`, `name` or `ingressClassName` may be specified.", + "type": "string" + }, + "ingressTemplate": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressTemplate", + "description": "Optional ingress template used to configure the ACME challenge solver ingress used for HTTP01 challenges." + }, + "name": { + "description": "The name of the ingress resource that should have ACME challenge solving routes inserted into it in order to solve HTTP01 challenges. This is typically used in conjunction with ingress controllers like ingress-gce, which maintains a 1:1 mapping between external IPs and ingress resources. Only one of `class`, `name` or `ingressClassName` may be specified.", + "type": "string" + }, + "podTemplate": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodTemplate", + "description": "Optional pod template used to configure the ACME challenge solver pods used for HTTP01 challenges." + }, + "serviceType": { + "description": "Optional service type for Kubernetes solver service. Supported values are NodePort or ClusterIP. If unset, defaults to NodePort.\n\nPossible enum values:\n - `\"ClusterIP\"` means a service will only be accessible inside the cluster, via the cluster IP.\n - `\"ExternalName\"` means a service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved.\n - `\"LoadBalancer\"` means a service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type.\n - `\"NodePort\"` means a service will be exposed on one port of every node, in addition to 'ClusterIP' type.", + "enum": [ + "ClusterIP", + "ExternalName", + "LoadBalancer", + "NodePort" + ], + "type": "string" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressObjectMeta": { + "additionalProperties": false, + "properties": { + "annotations": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "Annotations that should be added to the created ACME HTTP01 solver ingress.", + "type": "object" + }, + "labels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "Labels that should be added to the created ACME HTTP01 solver ingress.", + "type": "object" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodObjectMeta": { + "additionalProperties": false, + "properties": { + "annotations": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "Annotations that should be added to the create ACME HTTP01 solver pods.", + "type": "object" + }, + "labels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "Labels that should be added to the created ACME HTTP01 solver pods.", + "type": "object" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodSpec": { + "additionalProperties": false, + "properties": { + "affinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.Affinity", + "description": "If specified, the pod's scheduling constraints" + }, + "imagePullSecrets": { + "description": "If specified, the pod's imagePullSecrets", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", + "default": {} + }, + "type": "array" + }, + "nodeSelector": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object" + }, + "priorityClassName": { + "description": "If specified, the pod's priorityClassName.", + "type": "string" + }, + "serviceAccountName": { + "description": "If specified, the pod's service account", + "type": "string" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration", + "default": {} + }, + "type": "array" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodTemplate": { + "additionalProperties": false, + "properties": { + "metadata": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodObjectMeta", + "default": {}, + "description": "ObjectMeta overrides for the pod used to solve HTTP01 challenges. Only the 'labels' and 'annotations' fields may be set. If labels or annotations overlap with in-built values, the values here will override the in-built values." + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodSpec", + "default": {}, + "description": "PodSpec defines overrides for the HTTP01 challenge solver pod. Check ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields. All other fields will be ignored." + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressTemplate": { + "additionalProperties": false, + "properties": { + "metadata": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressObjectMeta", + "default": {}, + "description": "ObjectMeta overrides for the ingress used to solve HTTP01 challenges. Only the 'labels' and 'annotations' fields may be set. If labels or annotations overlap with in-built values, the values here will override the in-built values." + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEExternalAccountBinding": { + "additionalProperties": false, + "description": "ACMEExternalAccountBinding is a reference to a CA external account of the ACME server.", + "properties": { + "keyAlgorithm": { + "description": "Deprecated: keyAlgorithm field exists for historical compatibility reasons and should not be used. The algorithm is now hardcoded to HS256 in golang/x/crypto/acme.", + "type": "string" + }, + "keyID": { + "default": "", + "description": "keyID is the ID of the CA key that the External Account is bound to.", + "type": "string" + }, + "keySecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {}, + "description": "keySecretRef is a Secret Key Selector referencing a data item in a Kubernetes Secret which holds the symmetric MAC key of the External Account Binding. The `key` is the index string that is paired with the key data in the Secret and should not be confused with the key data itself, or indeed with the External Account Binding keyID above. The secret key stored in the Secret **must** be un-padded, base64 URL encoded data." + } + }, + "required": [ + "keyID", + "keySecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuer": { + "additionalProperties": false, + "description": "ACMEIssuer contains the specification for an ACME issuer. This uses the RFC8555 specification to obtain certificates by completing 'challenges' to prove ownership of domain identifiers. Earlier draft versions of the ACME specification are not supported.", + "properties": { + "caBundle": { + "description": "Base64-encoded bundle of PEM CAs which can be used to validate the certificate chain presented by the ACME server. Mutually exclusive with SkipTLSVerify; prefer using CABundle to prevent various kinds of security vulnerabilities. If CABundle and SkipTLSVerify are unset, the system certificate bundle inside the container is used to validate the TLS connection.", + "format": "byte", + "type": "string" + }, + "disableAccountKeyGeneration": { + "description": "Enables or disables generating a new ACME account key. If true, the Issuer resource will *not* request a new account but will expect the account key to be supplied via an existing secret. If false, the cert-manager system will generate a new ACME account key for the Issuer. Defaults to false.", + "type": "boolean" + }, + "email": { + "description": "Email is the email address to be associated with the ACME account. This field is optional, but it is strongly recommended to be set. It will be used to contact you in case of issues with your account or certificates, including expiry notification emails. This field may be updated after the account is initially registered.", + "type": "string" + }, + "enableDurationFeature": { + "description": "Enables requesting a Not After date on certificates that matches the duration of the certificate. This is not supported by all ACME servers like Let's Encrypt. If set to true when the ACME server does not support it it will create an error on the Order. Defaults to false.", + "type": "boolean" + }, + "externalAccountBinding": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEExternalAccountBinding", + "description": "ExternalAccountBinding is a reference to a CA external account of the ACME server. If set, upon registration cert-manager will attempt to associate the given external account credentials with the registered ACME account." + }, + "preferredChain": { + "description": "PreferredChain is the chain to use if the ACME server outputs multiple. PreferredChain is no guarantee that this one gets delivered by the ACME endpoint. For example, for Let's Encrypt's DST crosssign you would use: \"DST Root CA X3\" or \"ISRG Root X1\" for the newer Let's Encrypt root CA. This value picks the first certificate bundle in the ACME alternative chains that has a certificate with this value as its issuer's CN", + "type": "string" + }, + "privateKeySecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {}, + "description": "PrivateKey is the name of a Kubernetes Secret resource that will be used to store the automatically generated ACME account private key. Optionally, a `key` may be specified to select a specific entry within the named Secret resource. If `key` is not specified, a default of `tls.key` will be used." + }, + "server": { + "default": "", + "description": "Server is the URL used to access the ACME server's 'directory' endpoint. For example, for Let's Encrypt's staging endpoint, you would use: \"https://acme-staging-v02.api.letsencrypt.org/directory\". Only ACME v2 endpoints (i.e. RFC 8555) are supported.", + "type": "string" + }, + "skipTLSVerify": { + "description": "INSECURE: Enables or disables validation of the ACME server TLS certificate. If true, requests to the ACME server will not have the TLS certificate chain validated. Mutually exclusive with CABundle; prefer using CABundle to prevent various kinds of security vulnerabilities. Only enable this option in development environments. If CABundle and SkipTLSVerify are unset, the system certificate bundle inside the container is used to validate the TLS connection. Defaults to false.", + "type": "boolean" + }, + "solvers": { + "description": "Solvers is a list of challenge solvers that will be used to solve ACME challenges for the matching domains. Solver configurations must be provided in order to obtain certificates from an ACME server. For more information, see: https://cert-manager.io/docs/configuration/acme/", + "items": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolver", + "default": {} + }, + "type": "array" + } + }, + "required": [ + "server", + "privateKeySecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAcmeDNS": { + "additionalProperties": false, + "description": "ACMEIssuerDNS01ProviderAcmeDNS is a structure containing the configuration for ACME-DNS servers", + "properties": { + "accountSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "host": { + "default": "", + "type": "string" + } + }, + "required": [ + "host", + "accountSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAkamai": { + "additionalProperties": false, + "description": "ACMEIssuerDNS01ProviderAkamai is a structure containing the DNS configuration for Akamai DNS—Zone Record Management API", + "properties": { + "accessTokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "clientSecretSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "clientTokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "serviceConsumerDomain": { + "default": "", + "type": "string" + } + }, + "required": [ + "serviceConsumerDomain", + "clientTokenSecretRef", + "clientSecretSecretRef", + "accessTokenSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAzureDNS": { + "additionalProperties": false, + "description": "ACMEIssuerDNS01ProviderAzureDNS is a structure containing the configuration for Azure DNS", + "properties": { + "clientID": { + "description": "Auth: Azure Service Principal: The ClientID of the Azure Service Principal used to authenticate with Azure DNS. If set, ClientSecret and TenantID must also be set.", + "type": "string" + }, + "clientSecretSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "description": "Auth: Azure Service Principal: A reference to a Secret containing the password associated with the Service Principal. If set, ClientID and TenantID must also be set." + }, + "environment": { + "description": "name of the Azure environment (default AzurePublicCloud)", + "type": "string" + }, + "hostedZoneName": { + "description": "name of the DNS zone that should be used", + "type": "string" + }, + "managedIdentity": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.AzureManagedIdentity", + "description": "Auth: Azure Workload Identity or Azure Managed Service Identity: Settings to enable Azure Workload Identity or Azure Managed Service Identity If set, ClientID, ClientSecret and TenantID must not be set." + }, + "resourceGroupName": { + "default": "", + "description": "resource group the DNS zone is located in", + "type": "string" + }, + "subscriptionID": { + "default": "", + "description": "ID of the Azure subscription", + "type": "string" + }, + "tenantID": { + "description": "Auth: Azure Service Principal: The TenantID of the Azure Service Principal used to authenticate with Azure DNS. If set, ClientID and ClientSecret must also be set.", + "type": "string" + } + }, + "required": [ + "subscriptionID", + "resourceGroupName" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderCloudDNS": { + "additionalProperties": false, + "description": "ACMEIssuerDNS01ProviderCloudDNS is a structure containing the DNS configuration for Google Cloud DNS", + "properties": { + "hostedZoneName": { + "description": "HostedZoneName is an optional field that tells cert-manager in which Cloud DNS zone the challenge record has to be created. If left empty cert-manager will automatically choose a zone.", + "type": "string" + }, + "project": { + "default": "", + "type": "string" + }, + "serviceAccountSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector" + } + }, + "required": [ + "project" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderCloudflare": { + "additionalProperties": false, + "description": "ACMEIssuerDNS01ProviderCloudflare is a structure containing the DNS configuration for Cloudflare. One of `apiKeySecretRef` or `apiTokenSecretRef` must be provided.", + "properties": { + "apiKeySecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "description": "API key to use to authenticate with Cloudflare. Note: using an API token to authenticate is now the recommended method as it allows greater control of permissions." + }, + "apiTokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "description": "API token used to authenticate with Cloudflare." + }, + "email": { + "description": "Email of the account, only required when using API key based authentication.", + "type": "string" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderDigitalOcean": { + "additionalProperties": false, + "description": "ACMEIssuerDNS01ProviderDigitalOcean is a structure containing the DNS configuration for DigitalOcean Domains", + "properties": { + "tokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + } + }, + "required": [ + "tokenSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderRFC2136": { + "additionalProperties": false, + "description": "ACMEIssuerDNS01ProviderRFC2136 is a structure containing the configuration for RFC2136 DNS", + "properties": { + "nameserver": { + "default": "", + "description": "The IP address or hostname of an authoritative DNS server supporting RFC2136 in the form host:port. If the host is an IPv6 address it must be enclosed in square brackets (e.g [2001:db8::1]) ; port is optional. This field is required.", + "type": "string" + }, + "tsigAlgorithm": { + "description": "The TSIG Algorithm configured in the DNS supporting RFC2136. Used only when ``tsigSecretSecretRef`` and ``tsigKeyName`` are defined. Supported values are (case-insensitive): ``HMACMD5`` (default), ``HMACSHA1``, ``HMACSHA256`` or ``HMACSHA512``.", + "type": "string" + }, + "tsigKeyName": { + "description": "The TSIG Key name configured in the DNS. If ``tsigSecretSecretRef`` is defined, this field is required.", + "type": "string" + }, + "tsigSecretSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {}, + "description": "The name of the secret containing the TSIG value. If ``tsigKeyName`` is defined, this field is required." + } + }, + "required": [ + "nameserver" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderRoute53": { + "additionalProperties": false, + "description": "ACMEIssuerDNS01ProviderRoute53 is a structure containing the Route 53 configuration for AWS", + "properties": { + "accessKeyID": { + "description": "The AccessKeyID is used for authentication. Cannot be set when SecretAccessKeyID is set. If neither the Access Key nor Key ID are set, we fall-back to using env vars, shared credentials file or AWS Instance metadata, see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials", + "type": "string" + }, + "accessKeyIDSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "description": "The SecretAccessKey is used for authentication. If set, pull the AWS access key ID from a key within a Kubernetes Secret. Cannot be set when AccessKeyID is set. If neither the Access Key nor Key ID are set, we fall-back to using env vars, shared credentials file or AWS Instance metadata, see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials" + }, + "hostedZoneID": { + "description": "If set, the provider will manage only this zone in Route53 and will not do an lookup using the route53:ListHostedZonesByName api call.", + "type": "string" + }, + "region": { + "default": "", + "description": "Always set the region when using AccessKeyID and SecretAccessKey", + "type": "string" + }, + "role": { + "description": "Role is a Role ARN which the Route53 provider will assume using either the explicit credentials AccessKeyID/SecretAccessKey or the inferred credentials from environment variables, shared credentials file or AWS Instance metadata", + "type": "string" + }, + "secretAccessKeySecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {}, + "description": "The SecretAccessKey is used for authentication. If neither the Access Key nor Key ID are set, we fall-back to using env vars, shared credentials file or AWS Instance metadata, see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials" + } + }, + "required": [ + "region" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderWebhook": { + "additionalProperties": false, + "description": "ACMEIssuerDNS01ProviderWebhook specifies configuration for a webhook DNS01 provider, including where to POST ChallengePayload resources.", + "properties": { + "config": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON", + "description": "Additional configuration that should be passed to the webhook apiserver when challenges are processed. This can contain arbitrary JSON data. Secret values should not be specified in this stanza. If secret values are needed (e.g. credentials for a DNS service), you should use a SecretKeySelector to reference a Secret resource. For details on the schema of this field, consult the webhook provider implementation's documentation." + }, + "groupName": { + "default": "", + "description": "The API group name that should be used when POSTing ChallengePayload resources to the webhook apiserver. This should be the same as the GroupName specified in the webhook provider implementation.", + "type": "string" + }, + "solverName": { + "default": "", + "description": "The name of the solver to use, as defined in the webhook provider implementation. This will typically be the name of the provider, e.g. 'cloudflare'.", + "type": "string" + } + }, + "required": [ + "groupName", + "solverName" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.AzureManagedIdentity": { + "additionalProperties": false, + "description": "AzureManagedIdentity contains the configuration for Azure Workload Identity or Azure Managed Service Identity If the AZURE_FEDERATED_TOKEN_FILE environment variable is set, the Azure Workload Identity will be used. Otherwise, we fall-back to using Azure Managed Service Identity.", + "properties": { + "clientID": { + "description": "client ID of the managed identity, can not be used at the same time as resourceID", + "type": "string" + }, + "resourceID": { + "description": "resource ID of the managed identity, can not be used at the same time as clientID Cannot be used for Azure Managed Service Identity", + "type": "string" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.CertificateDNSNameSelector": { + "additionalProperties": false, + "description": "CertificateDNSNameSelector selects certificates using a label selector, and can optionally select individual DNS names within those certificates. If both MatchLabels and DNSNames are empty, this selector will match all certificates and DNS names within them.", + "properties": { + "dnsNames": { + "description": "List of DNSNames that this solver will be used to solve. If specified and a match is found, a dnsNames selector will take precedence over a dnsZones selector. If multiple solvers match with the same dnsNames value, the solver with the most matching labels in matchLabels will be selected. If neither has more matches, the solver defined earlier in the list will be selected.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "dnsZones": { + "description": "List of DNSZones that this solver will be used to solve. The most specific DNS zone match specified here will take precedence over other DNS zone matches, so a solver specifying sys.example.com will be selected over one specifying example.com for the domain www.sys.example.com. If multiple solvers match with the same dnsZones value, the solver with the most matching labels in matchLabels will be selected. If neither has more matches, the solver defined earlier in the list will be selected.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "A label selector that is used to refine the set of certificate's that this challenge solver will apply to.", + "type": "object" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ChallengeSpec": { + "additionalProperties": false, + "properties": { + "authorizationURL": { + "default": "", + "description": "The URL to the ACME Authorization resource that this challenge is a part of.", + "type": "string" + }, + "dnsName": { + "default": "", + "description": "dnsName is the identifier that this challenge is for, e.g. example.com. If the requested DNSName is a 'wildcard', this field MUST be set to the non-wildcard domain, e.g. for `*.example.com`, it must be `example.com`.", + "type": "string" + }, + "issuerRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.ObjectReference", + "default": {}, + "description": "References a properly configured ACME-type Issuer which should be used to create this Challenge. If the Issuer does not exist, processing will be retried. If the Issuer is not an 'ACME' Issuer, an error will be returned and the Challenge will be marked as failed." + }, + "key": { + "default": "", + "description": "The ACME challenge key for this challenge For HTTP01 challenges, this is the value that must be responded with to complete the HTTP01 challenge in the format: `\u003cprivate key JWK thumbprint\u003e.\u003ckey from acme server for challenge\u003e`. For DNS01 challenges, this is the base64 encoded SHA256 sum of the `\u003cprivate key JWK thumbprint\u003e.\u003ckey from acme server for challenge\u003e` text that must be set as the TXT record content.", + "type": "string" + }, + "solver": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolver", + "default": {}, + "description": "Contains the domain solving configuration that should be used to solve this challenge resource." + }, + "token": { + "default": "", + "description": "The ACME challenge token for this challenge. This is the raw value returned from the ACME server.", + "type": "string" + }, + "type": { + "default": "", + "description": "The type of ACME challenge this resource represents. One of \"HTTP-01\" or \"DNS-01\".", + "type": "string" + }, + "url": { + "default": "", + "description": "The URL of the ACME Challenge resource for this challenge. This can be used to lookup details about the status of this challenge.", + "type": "string" + }, + "wildcard": { + "default": false, + "description": "wildcard will be true if this challenge is for a wildcard identifier, for example '*.example.com'.", + "type": "boolean" + } + }, + "required": [ + "url", + "authorizationURL", + "dnsName", + "type", + "token", + "key", + "solver", + "issuerRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.OrderSpec": { + "additionalProperties": false, + "properties": { + "commonName": { + "description": "CommonName is the common name as specified on the DER encoded CSR. If specified, this value must also be present in `dnsNames` or `ipAddresses`. This field must match the corresponding field on the DER encoded CSR.", + "type": "string" + }, + "dnsNames": { + "description": "DNSNames is a list of DNS names that should be included as part of the Order validation process. This field must match the corresponding field on the DER encoded CSR.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "duration": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration", + "description": "Duration is the duration for the not after date for the requested certificate. this is set on order creation as pe the ACME spec." + }, + "ipAddresses": { + "description": "IPAddresses is a list of IP addresses that should be included as part of the Order validation process. This field must match the corresponding field on the DER encoded CSR.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "issuerRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.ObjectReference", + "default": {}, + "description": "IssuerRef references a properly configured ACME-type Issuer which should be used to create this Order. If the Issuer does not exist, processing will be retried. If the Issuer is not an 'ACME' Issuer, an error will be returned and the Order will be marked as failed." + }, + "request": { + "description": "Certificate signing request bytes in DER encoding. This will be used when finalizing the order. This field must be set on the order.", + "format": "byte", + "type": "string" + } + }, + "required": [ + "request", + "issuerRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CAIssuer": { + "additionalProperties": false, + "properties": { + "crlDistributionPoints": { + "description": "The CRL distribution points is an X.509 v3 certificate extension which identifies the location of the CRL from which the revocation of this certificate can be checked. If not set, certificates will be issued without distribution points set.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "issuingCertificateURLs": { + "description": "IssuingCertificateURLs is a list of URLs which this issuer should embed into certificates it creates. See https://www.rfc-editor.org/rfc/rfc5280#section-4.2.2.1 for more details. As an example, such a URL might be \"http://ca.domain.com/ca.crt\".", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "ocspServers": { + "description": "The OCSP server list is an X.509 v3 extension that defines a list of URLs of OCSP responders. The OCSP responders can be queried for the revocation status of an issued certificate. If not set, the certificate will be issued with no OCSP servers set. For example, an OCSP server URL could be \"http://ocsp.int-x3.letsencrypt.org\".", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "secretName": { + "default": "", + "description": "SecretName is the name of the secret used to sign Certificates issued by this Issuer.", + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificateAdditionalOutputFormat": { + "additionalProperties": false, + "description": "CertificateAdditionalOutputFormat defines an additional output format of a Certificate resource. These contain supplementary data formats of the signed certificate chain and paired private key.", + "properties": { + "type": { + "default": "", + "description": "Type is the name of the format type that should be written to the Certificate's target Secret.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificateKeystores": { + "additionalProperties": false, + "description": "CertificateKeystores configures additional keystore output formats to be created in the Certificate's output Secret.", + "properties": { + "jks": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.JKSKeystore", + "description": "JKS configures options for storing a JKS keystore in the `spec.secretName` Secret resource." + }, + "pkcs12": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.PKCS12Keystore", + "description": "PKCS12 configures options for storing a PKCS12 keystore in the `spec.secretName` Secret resource." + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificatePrivateKey": { + "additionalProperties": false, + "description": "CertificatePrivateKey contains configuration options for private keys used by the Certificate controller. These include the key algorithm and size, the used encoding and the rotation policy.", + "properties": { + "algorithm": { + "description": "Algorithm is the private key algorithm of the corresponding private key for this certificate.\n\nIf provided, allowed values are either `RSA`, `ECDSA` or `Ed25519`. If `algorithm` is specified and `size` is not provided, key size of 2048 will be used for `RSA` key algorithm and key size of 256 will be used for `ECDSA` key algorithm. key size is ignored when using the `Ed25519` key algorithm.", + "type": "string" + }, + "encoding": { + "description": "The private key cryptography standards (PKCS) encoding for this certificate's private key to be encoded in.\n\nIf provided, allowed values are `PKCS1` and `PKCS8` standing for PKCS#1 and PKCS#8, respectively. Defaults to `PKCS1` if not specified.", + "type": "string" + }, + "rotationPolicy": { + "description": "RotationPolicy controls how private keys should be regenerated when a re-issuance is being processed.\n\nIf set to `Never`, a private key will only be generated if one does not already exist in the target `spec.secretName`. If one does exists but it does not have the correct algorithm or size, a warning will be raised to await user intervention. If set to `Always`, a private key matching the specified requirements will be generated whenever a re-issuance occurs. Default is `Never` for backward compatibility.", + "type": "string" + }, + "size": { + "description": "Size is the key bit size of the corresponding private key for this certificate.\n\nIf `algorithm` is set to `RSA`, valid values are `2048`, `4096` or `8192`, and will default to `2048` if not specified. If `algorithm` is set to `ECDSA`, valid values are `256`, `384` or `521`, and will default to `256` if not specified. If `algorithm` is set to `Ed25519`, Size is ignored. No other values are allowed.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificateRequestSpec": { + "additionalProperties": false, + "description": "CertificateRequestSpec defines the desired state of CertificateRequest\n\nNOTE: It is important to note that the issuer can choose to ignore or change any of the requested attributes. How the issuer maps a certificate request to a signed certificate is the full responsibility of the issuer itself. For example, as an edge case, an issuer that inverts the isCA value is free to do so.", + "properties": { + "duration": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration", + "description": "Requested 'duration' (i.e. lifetime) of the Certificate. Note that the issuer may choose to ignore the requested duration, just like any other requested attribute." + }, + "extra": { + "additionalProperties": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "description": "Extra contains extra attributes of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.", + "type": "object" + }, + "groups": { + "description": "Groups contains group membership of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.", + "items": { + "default": "", + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "isCA": { + "description": "Requested basic constraints isCA value. Note that the issuer may choose to ignore the requested isCA value, just like any other requested attribute.\n\nNOTE: If the CSR in the `Request` field has a BasicConstraints extension, it must have the same isCA value as specified here.\n\nIf true, this will automatically add the `cert sign` usage to the list of requested `usages`.", + "type": "boolean" + }, + "issuerRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.ObjectReference", + "default": {}, + "description": "Reference to the issuer responsible for issuing the certificate. If the issuer is namespace-scoped, it must be in the same namespace as the Certificate. If the issuer is cluster-scoped, it can be used from any namespace.\n\nThe `name` field of the reference must always be specified." + }, + "request": { + "description": "The PEM-encoded X.509 certificate signing request to be submitted to the issuer for signing.\n\nIf the CSR has a BasicConstraints extension, its isCA attribute must match the `isCA` value of this CertificateRequest. If the CSR has a KeyUsage extension, its key usages must match the key usages in the `usages` field of this CertificateRequest. If the CSR has a ExtKeyUsage extension, its extended key usages must match the extended key usages in the `usages` field of this CertificateRequest.", + "format": "byte", + "type": "string" + }, + "uid": { + "description": "UID contains the uid of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.", + "type": "string" + }, + "usages": { + "description": "Requested key usages and extended key usages.\n\nNOTE: If the CSR in the `Request` field has uses the KeyUsage or ExtKeyUsage extension, these extensions must have the same values as specified here without any additional values.\n\nIf unset, defaults to `digital signature` and `key encipherment`.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "username": { + "description": "Username contains the name of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.", + "type": "string" + } + }, + "required": [ + "issuerRef", + "request" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificateSecretTemplate": { + "additionalProperties": false, + "description": "CertificateSecretTemplate defines the default labels and annotations to be copied to the Kubernetes Secret resource named in `CertificateSpec.secretName`.", + "properties": { + "annotations": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "Annotations is a key value map to be copied to the target Kubernetes Secret.", + "type": "object" + }, + "labels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "Labels is a key value map to be copied to the target Kubernetes Secret.", + "type": "object" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificateSpec": { + "additionalProperties": false, + "description": "CertificateSpec defines the desired state of Certificate.\n\nNOTE: The specification contains a lot of \"requested\" certificate attributes, it is important to note that the issuer can choose to ignore or change any of these requested attributes. How the issuer maps a certificate request to a signed certificate is the full responsibility of the issuer itself. For example, as an edge case, an issuer that inverts the isCA value is free to do so.\n\nA valid Certificate requires at least one of a CommonName, LiteralSubject, DNSName, or URI to be valid.", + "properties": { + "additionalOutputFormats": { + "description": "Defines extra output formats of the private key and signed certificate chain to be written to this Certificate's target Secret.\n\nThis is an Alpha Feature and is only enabled with the `--feature-gates=AdditionalCertificateOutputFormats=true` option set on both the controller and webhook components.", + "items": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificateAdditionalOutputFormat", + "default": {} + }, + "type": "array" + }, + "commonName": { + "description": "Requested common name X509 certificate subject attribute. More info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6 NOTE: TLS clients will ignore this value when any subject alternative name is set (see https://tools.ietf.org/html/rfc6125#section-6.4.4).\n\nShould have a length of 64 characters or fewer to avoid generating invalid CSRs. Cannot be set if the `literalSubject` field is set.", + "type": "string" + }, + "dnsNames": { + "description": "Requested DNS subject alternative names.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "duration": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration", + "description": "Requested 'duration' (i.e. lifetime) of the Certificate. Note that the issuer may choose to ignore the requested duration, just like any other requested attribute.\n\nIf unset, this defaults to 90 days. Minimum accepted duration is 1 hour. Value must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration." + }, + "emailAddresses": { + "description": "Requested email subject alternative names.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "encodeUsagesInRequest": { + "description": "Whether the KeyUsage and ExtKeyUsage extensions should be set in the encoded CSR.\n\nThis option defaults to true, and should only be disabled if the target issuer does not support CSRs with these X509 KeyUsage/ ExtKeyUsage extensions.", + "type": "boolean" + }, + "ipAddresses": { + "description": "Requested IP address subject alternative names.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "isCA": { + "description": "Requested basic constraints isCA value. The isCA value is used to set the `isCA` field on the created CertificateRequest resources. Note that the issuer may choose to ignore the requested isCA value, just like any other requested attribute.\n\nIf true, this will automatically add the `cert sign` usage to the list of requested `usages`.", + "type": "boolean" + }, + "issuerRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.ObjectReference", + "default": {}, + "description": "Reference to the issuer responsible for issuing the certificate. If the issuer is namespace-scoped, it must be in the same namespace as the Certificate. If the issuer is cluster-scoped, it can be used from any namespace.\n\nThe `name` field of the reference must always be specified." + }, + "keystores": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificateKeystores", + "description": "Additional keystore output formats to be stored in the Certificate's Secret." + }, + "literalSubject": { + "description": "Requested X.509 certificate subject, represented using the LDAP \"String Representation of a Distinguished Name\" [1]. Important: the LDAP string format also specifies the order of the attributes in the subject, this is important when issuing certs for LDAP authentication. Example: `CN=foo,DC=corp,DC=example,DC=com` More info [1]: https://datatracker.ietf.org/doc/html/rfc4514 More info: https://github.com/cert-manager/cert-manager/issues/3203 More info: https://github.com/cert-manager/cert-manager/issues/4424\n\nCannot be set if the `subject` or `commonName` field is set. This is an Alpha Feature and is only enabled with the `--feature-gates=LiteralCertificateSubject=true` option set on both the controller and webhook components.", + "type": "string" + }, + "nameConstraints": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.NameConstraints", + "description": "x.509 certificate NameConstraint extension which MUST NOT be used in a non-CA certificate. More Info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.10\n\nThis is an Alpha Feature and is only enabled with the `--feature-gates=NameConstraints=true` option set on both the controller and webhook components." + }, + "otherNames": { + "description": "`otherNames` is an escape hatch for SAN that allows any type. We currently restrict the support to string like otherNames, cf RFC 5280 p 37 Any UTF8 String valued otherName can be passed with by setting the keys oid: x.x.x.x and UTF8Value: somevalue for `otherName`. Most commonly this would be UPN set with oid: 1.3.6.1.4.1.311.20.2.3 You should ensure that any OID passed is valid for the UTF8String type as we do not explicitly validate this.", + "items": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.OtherName", + "default": {} + }, + "type": "array" + }, + "privateKey": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificatePrivateKey", + "description": "Private key options. These include the key algorithm and size, the used encoding and the rotation policy." + }, + "renewBefore": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration", + "description": "How long before the currently issued certificate's expiry cert-manager should renew the certificate. For example, if a certificate is valid for 60 minutes, and `renewBefore=10m`, cert-manager will begin to attempt to renew the certificate 50 minutes after it was issued (i.e. when there are 10 minutes remaining until the certificate is no longer valid).\n\nNOTE: The actual lifetime of the issued certificate is used to determine the renewal time. If an issuer returns a certificate with a different lifetime than the one requested, cert-manager will use the lifetime of the issued certificate.\n\nIf unset, this defaults to 1/3 of the issued certificate's lifetime. Minimum accepted value is 5 minutes. Value must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration." + }, + "revisionHistoryLimit": { + "description": "The maximum number of CertificateRequest revisions that are maintained in the Certificate's history. Each revision represents a single `CertificateRequest` created by this Certificate, either when it was created, renewed, or Spec was changed. Revisions will be removed by oldest first if the number of revisions exceeds this number.\n\nIf set, revisionHistoryLimit must be a value of `1` or greater. If unset (`nil`), revisions will not be garbage collected. Default value is `nil`.", + "format": "int32", + "type": "integer" + }, + "secretName": { + "default": "", + "description": "Name of the Secret resource that will be automatically created and managed by this Certificate resource. It will be populated with a private key and certificate, signed by the denoted issuer. The Secret resource lives in the same namespace as the Certificate resource.", + "type": "string" + }, + "secretTemplate": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificateSecretTemplate", + "description": "Defines annotations and labels to be copied to the Certificate's Secret. Labels and annotations on the Secret will be changed as they appear on the SecretTemplate when added or removed. SecretTemplate annotations are added in conjunction with, and cannot overwrite, the base set of annotations cert-manager sets on the Certificate's Secret." + }, + "subject": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.X509Subject", + "description": "Requested set of X509 certificate subject attributes. More info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6\n\nThe common name attribute is specified separately in the `commonName` field. Cannot be set if the `literalSubject` field is set." + }, + "uris": { + "description": "Requested URI subject alternative names.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "usages": { + "description": "Requested key usages and extended key usages. These usages are used to set the `usages` field on the created CertificateRequest resources. If `encodeUsagesInRequest` is unset or set to `true`, the usages will additionally be encoded in the `request` field which contains the CSR blob.\n\nIf unset, defaults to `digital signature` and `key encipherment`.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "secretName", + "issuerRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.IssuerSpec": { + "additionalProperties": false, + "description": "IssuerSpec is the specification of an Issuer. This includes any configuration required for the issuer.", + "properties": { + "acme": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuer", + "description": "ACME configures this issuer to communicate with a RFC8555 (ACME) server to obtain signed x509 certificates." + }, + "ca": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CAIssuer", + "description": "CA configures this issuer to sign certificates using a signing CA keypair stored in a Secret resource. This is used to build internal PKIs that are managed by cert-manager." + }, + "selfSigned": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.SelfSignedIssuer", + "description": "SelfSigned configures this issuer to 'self sign' certificates using the private key used to create the CertificateRequest object." + }, + "vault": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VaultIssuer", + "description": "Vault configures this issuer to sign certificates using a HashiCorp Vault PKI backend." + }, + "venafi": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VenafiIssuer", + "description": "Venafi configures this issuer to sign certificates using a Venafi TPP or Venafi Cloud policy zone." + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.JKSKeystore": { + "additionalProperties": false, + "description": "JKS configures options for storing a JKS keystore in the `spec.secretName` Secret resource.", + "properties": { + "create": { + "default": false, + "description": "Create enables JKS keystore creation for the Certificate. If true, a file named `keystore.jks` will be created in the target Secret resource, encrypted using the password stored in `passwordSecretRef`. The keystore file will be updated immediately. If the issuer provided a CA certificate, a file named `truststore.jks` will also be created in the target Secret resource, encrypted using the password stored in `passwordSecretRef` containing the issuing Certificate Authority", + "type": "boolean" + }, + "passwordSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {}, + "description": "PasswordSecretRef is a reference to a key in a Secret resource containing the password used to encrypt the JKS keystore." + } + }, + "required": [ + "create", + "passwordSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.NameConstraintItem": { + "additionalProperties": false, + "properties": { + "dnsDomains": { + "description": "DNSDomains is a list of DNS domains that are permitted or excluded.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "emailAddresses": { + "description": "EmailAddresses is a list of Email Addresses that are permitted or excluded.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "ipRanges": { + "description": "IPRanges is a list of IP Ranges that are permitted or excluded. This should be a valid CIDR notation.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "uriDomains": { + "description": "URIDomains is a list of URI domains that are permitted or excluded.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.NameConstraints": { + "additionalProperties": false, + "description": "NameConstraints is a type to represent x509 NameConstraints", + "properties": { + "critical": { + "description": "if true then the name constraints are marked critical.", + "type": "boolean" + }, + "excluded": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.NameConstraintItem", + "description": "Excluded contains the constraints which must be disallowed. Any name matching a restriction in the excluded field is invalid regardless of information appearing in the permitted" + }, + "permitted": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.NameConstraintItem", + "description": "Permitted contains the constraints in which the names must be located." + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.OtherName": { + "additionalProperties": false, + "properties": { + "oid": { + "description": "OID is the object identifier for the otherName SAN. The object identifier must be expressed as a dotted string, for example, \"1.2.840.113556.1.4.221\".", + "type": "string" + }, + "utf8Value": { + "description": "utf8Value is the string value of the otherName SAN. The utf8Value accepts any valid UTF8 string to set as value for the otherName SAN.", + "type": "string" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.PKCS12Keystore": { + "additionalProperties": false, + "description": "PKCS12 configures options for storing a PKCS12 keystore in the `spec.secretName` Secret resource.", + "properties": { + "create": { + "default": false, + "description": "Create enables PKCS12 keystore creation for the Certificate. If true, a file named `keystore.p12` will be created in the target Secret resource, encrypted using the password stored in `passwordSecretRef`. The keystore file will be updated immediately. If the issuer provided a CA certificate, a file named `truststore.p12` will also be created in the target Secret resource, encrypted using the password stored in `passwordSecretRef` containing the issuing Certificate Authority", + "type": "boolean" + }, + "passwordSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {}, + "description": "PasswordSecretRef is a reference to a key in a Secret resource containing the password used to encrypt the PKCS12 keystore." + }, + "profile": { + "description": "Profile specifies the key and certificate encryption algorithms and the HMAC algorithm used to create the PKCS12 keystore. Default value is `LegacyRC2` for backward compatibility.\n\nIf provided, allowed values are: `LegacyRC2`: Deprecated. Not supported by default in OpenSSL 3 or Java 20. `LegacyDES`: Less secure algorithm. Use this option for maximal compatibility. `Modern2023`: Secure algorithm. Use this option in case you have to always use secure algorithms (eg. because of company policy). Please note that the security of the algorithm is not that important in reality, because the unencrypted certificate and private key are also stored in the Secret.", + "type": "string" + } + }, + "required": [ + "create", + "passwordSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.SelfSignedIssuer": { + "additionalProperties": false, + "description": "Configures an issuer to 'self sign' certificates using the private key used to create the CertificateRequest object.", + "properties": { + "crlDistributionPoints": { + "description": "The CRL distribution points is an X.509 v3 certificate extension which identifies the location of the CRL from which the revocation of this certificate can be checked. If not set certificate will be issued without CDP. Values are strings.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.ServiceAccountRef": { + "additionalProperties": false, + "description": "ServiceAccountRef is a service account used by cert-manager to request a token. The audience cannot be configured. The audience is generated by cert-manager and takes the form `vault://namespace-name/issuer-name` for an Issuer and `vault://issuer-name` for a ClusterIssuer. The expiration of the token is also set by cert-manager to 10 minutes.", + "properties": { + "name": { + "default": "", + "description": "Name of the ServiceAccount used to request a token.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VaultAppRole": { + "additionalProperties": false, + "description": "VaultAppRole authenticates with Vault using the App Role auth mechanism, with the role and secret stored in a Kubernetes Secret resource.", + "properties": { + "path": { + "default": "", + "description": "Path where the App Role authentication backend is mounted in Vault, e.g: \"approle\"", + "type": "string" + }, + "roleId": { + "default": "", + "description": "RoleID configured in the App Role authentication backend when setting up the authentication backend in Vault.", + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {}, + "description": "Reference to a key in a Secret that contains the App Role secret used to authenticate with Vault. The `key` field must be specified and denotes which entry within the Secret resource is used as the app role secret." + } + }, + "required": [ + "path", + "roleId", + "secretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VaultAuth": { + "additionalProperties": false, + "description": "VaultAuth is configuration used to authenticate with a Vault server. The order of precedence is [`tokenSecretRef`, `appRole` or `kubernetes`].", + "properties": { + "appRole": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VaultAppRole", + "description": "AppRole authenticates with Vault using the App Role auth mechanism, with the role and secret stored in a Kubernetes Secret resource." + }, + "kubernetes": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VaultKubernetesAuth", + "description": "Kubernetes authenticates with Vault by passing the ServiceAccount token stored in the named Secret resource to the Vault server." + }, + "tokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "description": "TokenSecretRef authenticates with Vault by presenting a token." + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VaultIssuer": { + "additionalProperties": false, + "description": "Configures an issuer to sign certificates using a HashiCorp Vault PKI backend.", + "properties": { + "auth": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VaultAuth", + "default": {}, + "description": "Auth configures how cert-manager authenticates with the Vault server." + }, + "caBundle": { + "description": "Base64-encoded bundle of PEM CAs which will be used to validate the certificate chain presented by Vault. Only used if using HTTPS to connect to Vault and ignored for HTTP connections. Mutually exclusive with CABundleSecretRef. If neither CABundle nor CABundleSecretRef are defined, the certificate bundle in the cert-manager controller container is used to validate the TLS connection.", + "format": "byte", + "type": "string" + }, + "caBundleSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "description": "Reference to a Secret containing a bundle of PEM-encoded CAs to use when verifying the certificate chain presented by Vault when using HTTPS. Mutually exclusive with CABundle. If neither CABundle nor CABundleSecretRef are defined, the certificate bundle in the cert-manager controller container is used to validate the TLS connection. If no key for the Secret is specified, cert-manager will default to 'ca.crt'." + }, + "namespace": { + "description": "Name of the vault namespace. Namespaces is a set of features within Vault Enterprise that allows Vault environments to support Secure Multi-tenancy. e.g: \"ns1\" More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces", + "type": "string" + }, + "path": { + "default": "", + "description": "Path is the mount path of the Vault PKI backend's `sign` endpoint, e.g: \"my_pki_mount/sign/my-role-name\".", + "type": "string" + }, + "server": { + "default": "", + "description": "Server is the connection address for the Vault server, e.g: \"https://vault.example.com:8200\".", + "type": "string" + } + }, + "required": [ + "auth", + "server", + "path" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VaultKubernetesAuth": { + "additionalProperties": false, + "description": "Authenticate against Vault using a Kubernetes ServiceAccount token stored in a Secret.", + "properties": { + "mountPath": { + "description": "The Vault mountPath here is the mount path to use when authenticating with Vault. For example, setting a value to `/v1/auth/foo`, will use the path `/v1/auth/foo/login` to authenticate with Vault. If unspecified, the default value \"/v1/auth/kubernetes\" will be used.", + "type": "string" + }, + "role": { + "default": "", + "description": "A required field containing the Vault Role to assume. A Role binds a Kubernetes ServiceAccount with a set of Vault policies.", + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {}, + "description": "The required Secret field containing a Kubernetes ServiceAccount JWT used for authenticating with Vault. Use of 'ambient credentials' is not supported." + }, + "serviceAccountRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.ServiceAccountRef", + "description": "A reference to a service account that will be used to request a bound token (also known as \"projected token\"). Compared to using \"secretRef\", using this field means that you don't rely on statically bound tokens. To use this field, you must configure an RBAC rule to let cert-manager request a token." + } + }, + "required": [ + "role" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VenafiCloud": { + "additionalProperties": false, + "description": "VenafiCloud defines connection configuration details for Venafi Cloud", + "properties": { + "apiTokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {}, + "description": "APITokenSecretRef is a secret key selector for the Venafi Cloud API token." + }, + "url": { + "description": "URL is the base URL for Venafi Cloud. Defaults to \"https://api.venafi.cloud/v1\".", + "type": "string" + } + }, + "required": [ + "apiTokenSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VenafiIssuer": { + "additionalProperties": false, + "description": "Configures an issuer to sign certificates using a Venafi TPP or Cloud policy zone.", + "properties": { + "cloud": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VenafiCloud", + "description": "Cloud specifies the Venafi cloud configuration settings. Only one of TPP or Cloud may be specified." + }, + "tpp": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VenafiTPP", + "description": "TPP specifies Trust Protection Platform configuration settings. Only one of TPP or Cloud may be specified." + }, + "zone": { + "default": "", + "description": "Zone is the Venafi Policy Zone to use for this issuer. All requests made to the Venafi platform will be restricted by the named zone policy. This field is required.", + "type": "string" + } + }, + "required": [ + "zone" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VenafiTPP": { + "additionalProperties": false, + "description": "VenafiTPP defines connection configuration details for a Venafi TPP instance", + "properties": { + "caBundle": { + "description": "Base64-encoded bundle of PEM CAs which will be used to validate the certificate chain presented by the TPP server. Only used if using HTTPS; ignored for HTTP. If undefined, the certificate bundle in the cert-manager controller container is used to validate the chain.", + "format": "byte", + "type": "string" + }, + "credentialsRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.LocalObjectReference", + "default": {}, + "description": "CredentialsRef is a reference to a Secret containing the username and password for the TPP server. The secret must contain two keys, 'username' and 'password'." + }, + "url": { + "default": "", + "description": "URL is the base URL for the vedsdk endpoint of the Venafi TPP instance, for example: \"https://tpp.example.com/vedsdk\".", + "type": "string" + } + }, + "required": [ + "url", + "credentialsRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.X509Subject": { + "additionalProperties": false, + "description": "X509Subject Full X509 name specification", + "properties": { + "countries": { + "description": "Countries to be used on the Certificate.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "localities": { + "description": "Cities to be used on the Certificate.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "organizationalUnits": { + "description": "Organizational Units to be used on the Certificate.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "organizations": { + "description": "Organizations to be used on the Certificate.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "postalCodes": { + "description": "Postal codes to be used on the Certificate.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "provinces": { + "description": "State/Provinces to be used on the Certificate.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "serialNumber": { + "description": "Serial number to be used on the Certificate.", + "type": "string" + }, + "streetAddresses": { + "description": "Street addresses to be used on the Certificate.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.meta.v1.LocalObjectReference": { + "additionalProperties": false, + "description": "A reference to an object in the same namespace as the referent. If the referent is a cluster-scoped resource (e.g. a ClusterIssuer), the reference instead refers to the resource with the given name in the configured 'cluster resource namespace', which is set as a flag on the controller component (and defaults to the namespace that cert-manager runs in).", + "properties": { + "name": { + "default": "", + "description": "Name of the resource being referred to. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.meta.v1.ObjectReference": { + "additionalProperties": false, + "description": "ObjectReference is a reference to an object with a given name, kind and group.", + "properties": { + "group": { + "description": "Group of the resource being referred to.", + "type": "string" + }, + "kind": { + "description": "Kind of the resource being referred to.", + "type": "string" + }, + "name": { + "default": "", + "description": "Name of the resource being referred to.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.meta.v1.SecretKeySelector": { + "additionalProperties": false, + "description": "A reference to a specific 'key' within a Secret resource. In some instances, `key` is a required field.", + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.", + "type": "string" + }, + "name": { + "default": "", + "description": "Name of the resource being referred to. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.k8s.api.core.v1.Affinity": { + "additionalProperties": false, + "description": "Affinity is a group of affinity scheduling rules.", + "properties": { + "nodeAffinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeAffinity", + "description": "Describes node affinity scheduling rules for the pod." + }, + "podAffinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinity", + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." + }, + "podAntiAffinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAntiAffinity", + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.LocalObjectReference": { + "additionalProperties": false, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "properties": { + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.NodeAffinity": { + "additionalProperties": false, + "description": "Node affinity is a group of node affinity scheduling rules.", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PreferredSchedulingTerm", + "default": {} + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node." + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.NodeSelector": { + "additionalProperties": false, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm", + "default": {} + }, + "type": "array" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.NodeSelectorRequirement": { + "additionalProperties": false, + "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "default": "", + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "default": "", + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.\n\nPossible enum values:\n - `\"DoesNotExist\"`\n - `\"Exists\"`\n - `\"Gt\"`\n - `\"In\"`\n - `\"Lt\"`\n - `\"NotIn\"`", + "enum": [ + "DoesNotExist", + "Exists", + "Gt", + "In", + "Lt", + "NotIn" + ], + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "io.k8s.api.core.v1.NodeSelectorTerm": { + "additionalProperties": false, + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement", + "default": {} + }, + "type": "array" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement", + "default": {} + }, + "type": "array" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.PodAffinity": { + "additionalProperties": false, + "description": "Pod affinity is a group of inter pod affinity scheduling rules.", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm", + "default": {} + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm", + "default": {} + }, + "type": "array" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.PodAffinityTerm": { + "additionalProperties": false, + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running", + "properties": { + "labelSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods." + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "items": { + "default": "", + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "items": { + "default": "", + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "default": "", + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "io.k8s.api.core.v1.PodAntiAffinity": { + "additionalProperties": false, + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm", + "default": {} + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm", + "default": {} + }, + "type": "array" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.PreferredSchedulingTerm": { + "additionalProperties": false, + "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "properties": { + "preference": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm", + "default": {}, + "description": "A node selector term, associated with the corresponding weight." + }, + "weight": { + "default": 0, + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "weight", + "preference" + ], + "type": "object" + }, + "io.k8s.api.core.v1.Toleration": { + "additionalProperties": false, + "description": "The pod this Toleration is attached to tolerates any taint that matches the triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e.", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.\n\nPossible enum values:\n - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.\n - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.\n - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.", + "enum": [ + "NoExecute", + "NoSchedule", + "PreferNoSchedule" + ], + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.\n\nPossible enum values:\n - `\"Equal\"`\n - `\"Exists\"`", + "enum": [ + "Equal", + "Exists" + ], + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", + "format": "int64", + "type": "integer" + }, + "value": { + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.WeightedPodAffinityTerm": { + "additionalProperties": false, + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "properties": { + "podAffinityTerm": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm", + "default": {}, + "description": "Required. A pod affinity term, associated with the corresponding weight." + }, + "weight": { + "default": 0, + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "weight", + "podAffinityTerm" + ], + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON": { + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.Duration": { + "description": "Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.", + "type": "string" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector": { + "additionalProperties": false, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement", + "default": {} + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement": { + "additionalProperties": false, + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "default": "", + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "default": "", + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "io.k8s.sigs.gateway-api.apis.v1.ParentReference": { + "additionalProperties": false, + "description": "ParentReference identifies an API object (usually a Gateway) that can be considered a parent of this resource (usually a route). There are two kinds of parent resources with \"Core\" support:\n\n* Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\nThis API may be extended in the future to support additional kinds of parent resources.\n\nThe API object must be valid in the cluster; the Group and Kind must be registered in the cluster for this reference to be valid.", + "properties": { + "group": { + "description": "Group is the group of the referent. When unspecified, \"gateway.networking.k8s.io\" is inferred. To set the core API group (such as for a \"Service\" kind referent), Group must be explicitly set to \"\" (empty string).\n\nSupport: Core", + "type": "string" + }, + "kind": { + "description": "Kind is kind of the referent.\n\nThere are two kinds of parent resources with \"Core\" support:\n\n* Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\nSupport for other resources is Implementation-Specific.", + "type": "string" + }, + "name": { + "default": "", + "description": "Name is the name of the referent.\n\nSupport: Core", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the referent. When unspecified, this refers to the local namespace of the Route.\n\nNote that there are specific rules for ParentRefs which cross namespace boundaries. Cross-namespace references are only valid if they are explicitly allowed by something in the namespace they are referring to. For example: Gateway has the AllowedRoutes field, and ReferenceGrant provides a generic way to enable any other kind of cross-namespace reference.\n\n\u003cgateway:experimental:description\u003e ParentRefs from a Route to a Service in the same namespace are \"producer\" routes, which apply default routing rules to inbound connections from any namespace to the Service.\n\nParentRefs from a Route to a Service in a different namespace are \"consumer\" routes, and these routing rules are only applied to outbound connections originating from the same namespace as the Route, for which the intended destination of the connections are a Service targeted as a ParentRef of the Route. \u003c/gateway:experimental:description\u003e\n\nSupport: Core", + "type": "string" + }, + "port": { + "description": "Port is the network port this Route targets. It can be interpreted differently based on the type of parent resource.\n\nWhen the parent resource is a Gateway, this targets all listeners listening on the specified port that also support this kind of Route(and select this Route). It's not recommended to set `Port` unless the networking behaviors specified in a Route must apply to a specific port as opposed to a listener(s) whose port(s) may be changed. When both Port and SectionName are specified, the name and port of the selected listener must match both specified values.\n\n\u003cgateway:experimental:description\u003e When the parent resource is a Service, this targets a specific port in the Service spec. When both Port (experimental) and SectionName are specified, the name and port of the selected port must match both specified values. \u003c/gateway:experimental:description\u003e\n\nImplementations MAY choose to support other parent resources. Implementations supporting other types of parent resources MUST clearly document how/if Port is interpreted.\n\nFor the purpose of status, an attachment is considered successful as long as the parent resource accepts it partially. For example, Gateway listeners can restrict which Routes can attach to them by Route kind, namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from the referencing Route, the Route MUST be considered successfully attached. If no Gateway listeners accept attachment from this Route, the Route MUST be considered detached from the Gateway.\n\nSupport: Extended\n\n\u003cgateway:experimental\u003e", + "format": "int32", + "type": "integer" + }, + "sectionName": { + "description": "SectionName is the name of a section within the target resource. In the following resources, SectionName is interpreted as the following:\n\n* Gateway: Listener Name. When both Port (experimental) and SectionName are specified, the name and port of the selected listener must match both specified values. * Service: Port Name. When both Port (experimental) and SectionName are specified, the name and port of the selected listener must match both specified values. Note that attaching Routes to Services as Parents is part of experimental Mesh support and is not supported for any other purpose.\n\nImplementations MAY choose to support attaching Routes to other resources. If that is the case, they MUST clearly document how SectionName is interpreted.\n\nWhen unspecified (empty string), this will reference the entire resource. For the purpose of status, an attachment is considered successful if at least one section in the parent resource accepts it. For example, Gateway listeners can restrict which Routes can attach to them by Route kind, namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from the referencing Route, the Route MUST be considered successfully attached. If no Gateway listeners accept attachment from this Route, the Route MUST be considered detached from the Gateway.\n\nSupport: Core", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.acme.v1.Challenge": { + "additionalProperties": false, + "description": "Challenge is a type to represent a Challenge request with an ACME server", + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ChallengeSpec", + "default": {} + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.acme.v1.Order": { + "additionalProperties": false, + "description": "Order is a type to represent an Order with an ACME server", + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.OrderSpec", + "default": {} + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Certificate": { + "additionalProperties": false, + "description": "A Certificate resource should be created to ensure an up to date and signed X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.\n\nThe stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).", + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificateSpec", + "default": {}, + "description": "Specification of the desired state of the Certificate resource. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest": { + "additionalProperties": false, + "description": "A CertificateRequest is used to request a signed certificate from one of the configured issuers.\n\nAll fields within the CertificateRequest's `spec` are immutable after creation. A CertificateRequest will either succeed or fail, as denoted by its `Ready` status condition and its `status.failureTime` field.\n\nA CertificateRequest is a one-shot resource, meaning it represents a single point in time request for a certificate and cannot be re-used.", + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificateRequestSpec", + "default": {}, + "description": "Specification of the desired state of the CertificateRequest resource. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer": { + "additionalProperties": false, + "description": "A ClusterIssuer represents a certificate issuing authority which can be referenced as part of `issuerRef` fields. It is similar to an Issuer, however it is cluster-scoped and therefore can be referenced by resources that exist in *any* namespace, not just the same namespace as the referent.", + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.IssuerSpec", + "default": {}, + "description": "Desired state of the ClusterIssuer resource." + } + }, + "required": [ + "spec" + ], + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Issuer": { + "additionalProperties": false, + "description": "An Issuer represents a certificate issuing authority which can be referenced as part of `issuerRef` fields. It is scoped to a single namespace and can therefore only be referenced by resources within the same namespace.", + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.IssuerSpec", + "default": {}, + "description": "Desired state of the Issuer resource." + } + }, + "required": [ + "spec" + ], + "type": "object" + }, + "metachart.api.meta.v1.ObjectMeta": { + "additionalProperties": false, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", + "properties": { + "annotations": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations", + "type": "object" + }, + "checksums": { + "$ref": "#/definitions/metachart.interface.checksums" + }, + "finalizers": { + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", + "items": { + "default": "", + "type": "string" + }, + "type": "array", + "x-kubernetes-patch-strategy": "merge" + }, + "labels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels", + "type": "object" + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", + "type": "string" + }, + "namespace": { + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces", + "type": "string" + } + }, + "type": "object" + }, + "metachart.interface.FQDNitem": { + "pattern": "^[a-z][0-9a-z]*(-[0-9a-z]+)*$", + "type": "string" + }, + "metachart.interface.boolean": { + "type": "boolean" + }, + "metachart.interface.checksumEntryList": { + "anyOf": [ + { + "items": { + "$ref": "#/definitions/metachart.interface.FQDNitem" + }, + "type": "array" + }, + { + "enum": [ + "*" + ] + } + ] + }, + "metachart.interface.checksums": { + "properties": { + "certificaterequests": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + }, + "certificates": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + }, + "challenges": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + }, + "clusterissuers": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + }, + "issuers": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + }, + "orders": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + } + }, + "type": "object" + } + }, + "properties": { + "certificaterequests": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest" + } + }, + "type": "object" + }, + "certificates": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Certificate" + } + }, + "type": "object" + }, + "challenges": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.acme.v1.Challenge" + } + }, + "type": "object" + }, + "clusterissuers": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer" + } + }, + "type": "object" + }, + "context": { + "description": "Any content which can be used for config rendering without schema defined by the chart", + "type": "object" + }, + "fullnameOverride": { + "anyOf": [ + { + "$ref": "#/definitions/metachart.interface.FQDNitem" + }, + { + "type": "null" + } + ] + }, + "issuers": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Issuer" + } + }, + "type": "object" + }, + "orders": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.acme.v1.Order" + } + }, + "type": "object" + }, + "settings": { + "additionalProperties": false, + "properties": { + "certificaterequests": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + }, + "certificates": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Certificate" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + }, + "challenges": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.acme.v1.Challenge" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + }, + "clusterissuers": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + }, + "global": { + "additionalProperties": false, + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "issuers": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Issuer" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + }, + "orders": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.acme.v1.Order" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/charts/meta-cert-manager/values.schema.json b/charts/meta-cert-manager/values.schema.json new file mode 100644 index 0000000..fa7c4ea --- /dev/null +++ b/charts/meta-cert-manager/values.schema.json @@ -0,0 +1,1988 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "definitions": { + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolver": { + "additionalProperties": false, + "properties": { + "dns01": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverDNS01" + }, + "http01": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01" + }, + "selector": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.CertificateDNSNameSelector" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverDNS01": { + "additionalProperties": false, + "properties": { + "acmeDNS": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAcmeDNS" + }, + "akamai": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAkamai" + }, + "azureDNS": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAzureDNS" + }, + "cloudDNS": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderCloudDNS" + }, + "cloudflare": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderCloudflare" + }, + "cnameStrategy": { + "type": "string" + }, + "digitalocean": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderDigitalOcean" + }, + "rfc2136": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderRFC2136" + }, + "route53": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderRoute53" + }, + "webhook": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderWebhook" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01": { + "additionalProperties": false, + "properties": { + "gatewayHTTPRoute": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01GatewayHTTPRoute" + }, + "ingress": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01Ingress" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01GatewayHTTPRoute": { + "additionalProperties": false, + "properties": { + "labels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + }, + "parentRefs": { + "items": { + "$ref": "#/definitions/io.k8s.sigs.gateway-api.apis.v1.ParentReference", + "default": {} + }, + "type": "array" + }, + "serviceType": { + "enum": [ + "ClusterIP", + "ExternalName", + "LoadBalancer", + "NodePort" + ], + "type": "string" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01Ingress": { + "additionalProperties": false, + "properties": { + "class": { + "type": "string" + }, + "ingressClassName": { + "type": "string" + }, + "ingressTemplate": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressTemplate" + }, + "name": { + "type": "string" + }, + "podTemplate": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodTemplate" + }, + "serviceType": { + "enum": [ + "ClusterIP", + "ExternalName", + "LoadBalancer", + "NodePort" + ], + "type": "string" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressObjectMeta": { + "additionalProperties": false, + "properties": { + "annotations": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodObjectMeta": { + "additionalProperties": false, + "properties": { + "annotations": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodSpec": { + "additionalProperties": false, + "properties": { + "affinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.Affinity" + }, + "imagePullSecrets": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", + "default": {} + }, + "type": "array" + }, + "nodeSelector": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + }, + "priorityClassName": { + "type": "string" + }, + "serviceAccountName": { + "type": "string" + }, + "tolerations": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration", + "default": {} + }, + "type": "array" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodTemplate": { + "additionalProperties": false, + "properties": { + "metadata": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodObjectMeta", + "default": {} + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressPodSpec", + "default": {} + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressTemplate": { + "additionalProperties": false, + "properties": { + "metadata": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolverHTTP01IngressObjectMeta", + "default": {} + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEExternalAccountBinding": { + "additionalProperties": false, + "properties": { + "keyAlgorithm": { + "type": "string" + }, + "keyID": { + "default": "", + "type": "string" + }, + "keySecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + } + }, + "required": [ + "keyID", + "keySecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuer": { + "additionalProperties": false, + "properties": { + "caBundle": { + "format": "byte", + "type": "string" + }, + "disableAccountKeyGeneration": { + "type": "boolean" + }, + "email": { + "type": "string" + }, + "enableDurationFeature": { + "type": "boolean" + }, + "externalAccountBinding": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEExternalAccountBinding" + }, + "preferredChain": { + "type": "string" + }, + "privateKeySecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "server": { + "default": "", + "type": "string" + }, + "skipTLSVerify": { + "type": "boolean" + }, + "solvers": { + "items": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolver", + "default": {} + }, + "type": "array" + } + }, + "required": [ + "server", + "privateKeySecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAcmeDNS": { + "additionalProperties": false, + "properties": { + "accountSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "host": { + "default": "", + "type": "string" + } + }, + "required": [ + "host", + "accountSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAkamai": { + "additionalProperties": false, + "properties": { + "accessTokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "clientSecretSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "clientTokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "serviceConsumerDomain": { + "default": "", + "type": "string" + } + }, + "required": [ + "serviceConsumerDomain", + "clientTokenSecretRef", + "clientSecretSecretRef", + "accessTokenSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderAzureDNS": { + "additionalProperties": false, + "properties": { + "clientID": { + "type": "string" + }, + "clientSecretSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector" + }, + "environment": { + "type": "string" + }, + "hostedZoneName": { + "type": "string" + }, + "managedIdentity": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.AzureManagedIdentity" + }, + "resourceGroupName": { + "default": "", + "type": "string" + }, + "subscriptionID": { + "default": "", + "type": "string" + }, + "tenantID": { + "type": "string" + } + }, + "required": [ + "subscriptionID", + "resourceGroupName" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderCloudDNS": { + "additionalProperties": false, + "properties": { + "hostedZoneName": { + "type": "string" + }, + "project": { + "default": "", + "type": "string" + }, + "serviceAccountSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector" + } + }, + "required": [ + "project" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderCloudflare": { + "additionalProperties": false, + "properties": { + "apiKeySecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector" + }, + "apiTokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector" + }, + "email": { + "type": "string" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderDigitalOcean": { + "additionalProperties": false, + "properties": { + "tokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + } + }, + "required": [ + "tokenSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderRFC2136": { + "additionalProperties": false, + "properties": { + "nameserver": { + "default": "", + "type": "string" + }, + "tsigAlgorithm": { + "type": "string" + }, + "tsigKeyName": { + "type": "string" + }, + "tsigSecretSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + } + }, + "required": [ + "nameserver" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderRoute53": { + "additionalProperties": false, + "properties": { + "accessKeyID": { + "type": "string" + }, + "accessKeyIDSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector" + }, + "hostedZoneID": { + "type": "string" + }, + "region": { + "default": "", + "type": "string" + }, + "role": { + "type": "string" + }, + "secretAccessKeySecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + } + }, + "required": [ + "region" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ACMEIssuerDNS01ProviderWebhook": { + "additionalProperties": false, + "properties": { + "config": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" + }, + "groupName": { + "default": "", + "type": "string" + }, + "solverName": { + "default": "", + "type": "string" + } + }, + "required": [ + "groupName", + "solverName" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.AzureManagedIdentity": { + "additionalProperties": false, + "properties": { + "clientID": { + "type": "string" + }, + "resourceID": { + "type": "string" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.CertificateDNSNameSelector": { + "additionalProperties": false, + "properties": { + "dnsNames": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "dnsZones": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.ChallengeSpec": { + "additionalProperties": false, + "properties": { + "authorizationURL": { + "default": "", + "type": "string" + }, + "dnsName": { + "default": "", + "type": "string" + }, + "issuerRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.ObjectReference", + "default": {} + }, + "key": { + "default": "", + "type": "string" + }, + "solver": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEChallengeSolver", + "default": {} + }, + "token": { + "default": "", + "type": "string" + }, + "type": { + "default": "", + "type": "string" + }, + "url": { + "default": "", + "type": "string" + }, + "wildcard": { + "default": false, + "type": "boolean" + } + }, + "required": [ + "url", + "authorizationURL", + "dnsName", + "type", + "token", + "key", + "solver", + "issuerRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.acme.v1.OrderSpec": { + "additionalProperties": false, + "properties": { + "commonName": { + "type": "string" + }, + "dnsNames": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "duration": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "ipAddresses": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "issuerRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.ObjectReference", + "default": {} + }, + "request": { + "format": "byte", + "type": "string" + } + }, + "required": [ + "request", + "issuerRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CAIssuer": { + "additionalProperties": false, + "properties": { + "crlDistributionPoints": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "issuingCertificateURLs": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "ocspServers": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "secretName": { + "default": "", + "type": "string" + } + }, + "required": [ + "secretName" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificateAdditionalOutputFormat": { + "additionalProperties": false, + "properties": { + "type": { + "default": "", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificateKeystores": { + "additionalProperties": false, + "properties": { + "jks": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.JKSKeystore" + }, + "pkcs12": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.PKCS12Keystore" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificatePrivateKey": { + "additionalProperties": false, + "properties": { + "algorithm": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "rotationPolicy": { + "type": "string" + }, + "size": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificateRequestSpec": { + "additionalProperties": false, + "properties": { + "duration": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "extra": { + "additionalProperties": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "type": "object" + }, + "groups": { + "items": { + "default": "", + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "isCA": { + "type": "boolean" + }, + "issuerRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.ObjectReference", + "default": {} + }, + "request": { + "format": "byte", + "type": "string" + }, + "uid": { + "type": "string" + }, + "usages": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "username": { + "type": "string" + } + }, + "required": [ + "issuerRef", + "request" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificateSecretTemplate": { + "additionalProperties": false, + "properties": { + "annotations": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.CertificateSpec": { + "additionalProperties": false, + "properties": { + "additionalOutputFormats": { + "items": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificateAdditionalOutputFormat", + "default": {} + }, + "type": "array" + }, + "commonName": { + "type": "string" + }, + "dnsNames": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "duration": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "emailAddresses": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "encodeUsagesInRequest": { + "type": "boolean" + }, + "ipAddresses": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "isCA": { + "type": "boolean" + }, + "issuerRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.ObjectReference", + "default": {} + }, + "keystores": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificateKeystores" + }, + "literalSubject": { + "type": "string" + }, + "nameConstraints": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.NameConstraints" + }, + "otherNames": { + "items": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.OtherName", + "default": {} + }, + "type": "array" + }, + "privateKey": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificatePrivateKey" + }, + "renewBefore": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "revisionHistoryLimit": { + "format": "int32", + "type": "integer" + }, + "secretName": { + "default": "", + "type": "string" + }, + "secretTemplate": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificateSecretTemplate" + }, + "subject": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.X509Subject" + }, + "uris": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "usages": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "secretName", + "issuerRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.IssuerSpec": { + "additionalProperties": false, + "properties": { + "acme": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ACMEIssuer" + }, + "ca": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CAIssuer" + }, + "selfSigned": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.SelfSignedIssuer" + }, + "vault": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VaultIssuer" + }, + "venafi": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VenafiIssuer" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.JKSKeystore": { + "additionalProperties": false, + "properties": { + "create": { + "default": false, + "type": "boolean" + }, + "passwordSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + } + }, + "required": [ + "create", + "passwordSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.NameConstraintItem": { + "additionalProperties": false, + "properties": { + "dnsDomains": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "emailAddresses": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "ipRanges": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "uriDomains": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.NameConstraints": { + "additionalProperties": false, + "properties": { + "critical": { + "type": "boolean" + }, + "excluded": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.NameConstraintItem" + }, + "permitted": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.NameConstraintItem" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.OtherName": { + "additionalProperties": false, + "properties": { + "oid": { + "type": "string" + }, + "utf8Value": { + "type": "string" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.PKCS12Keystore": { + "additionalProperties": false, + "properties": { + "create": { + "default": false, + "type": "boolean" + }, + "passwordSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "profile": { + "type": "string" + } + }, + "required": [ + "create", + "passwordSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.SelfSignedIssuer": { + "additionalProperties": false, + "properties": { + "crlDistributionPoints": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.ServiceAccountRef": { + "additionalProperties": false, + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VaultAppRole": { + "additionalProperties": false, + "properties": { + "path": { + "default": "", + "type": "string" + }, + "roleId": { + "default": "", + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + } + }, + "required": [ + "path", + "roleId", + "secretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VaultAuth": { + "additionalProperties": false, + "properties": { + "appRole": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VaultAppRole" + }, + "kubernetes": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VaultKubernetesAuth" + }, + "tokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VaultIssuer": { + "additionalProperties": false, + "properties": { + "auth": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VaultAuth", + "default": {} + }, + "caBundle": { + "format": "byte", + "type": "string" + }, + "caBundleSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector" + }, + "namespace": { + "type": "string" + }, + "path": { + "default": "", + "type": "string" + }, + "server": { + "default": "", + "type": "string" + } + }, + "required": [ + "auth", + "server", + "path" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VaultKubernetesAuth": { + "additionalProperties": false, + "properties": { + "mountPath": { + "type": "string" + }, + "role": { + "default": "", + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "serviceAccountRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.ServiceAccountRef" + } + }, + "required": [ + "role" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VenafiCloud": { + "additionalProperties": false, + "properties": { + "apiTokenSecretRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.SecretKeySelector", + "default": {} + }, + "url": { + "type": "string" + } + }, + "required": [ + "apiTokenSecretRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VenafiIssuer": { + "additionalProperties": false, + "properties": { + "cloud": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VenafiCloud" + }, + "tpp": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.VenafiTPP" + }, + "zone": { + "default": "", + "type": "string" + } + }, + "required": [ + "zone" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.VenafiTPP": { + "additionalProperties": false, + "properties": { + "caBundle": { + "format": "byte", + "type": "string" + }, + "credentialsRef": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.meta.v1.LocalObjectReference", + "default": {} + }, + "url": { + "default": "", + "type": "string" + } + }, + "required": [ + "url", + "credentialsRef" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.certmanager.v1.X509Subject": { + "additionalProperties": false, + "properties": { + "countries": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "localities": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "organizationalUnits": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "organizations": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "postalCodes": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "provinces": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "serialNumber": { + "type": "string" + }, + "streetAddresses": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "io.cert-manager.pkg.apis.meta.v1.LocalObjectReference": { + "additionalProperties": false, + "properties": { + "name": { + "default": "", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.meta.v1.ObjectReference": { + "additionalProperties": false, + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.cert-manager.pkg.apis.meta.v1.SecretKeySelector": { + "additionalProperties": false, + "properties": { + "key": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.k8s.api.core.v1.Affinity": { + "additionalProperties": false, + "properties": { + "nodeAffinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeAffinity" + }, + "podAffinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinity" + }, + "podAntiAffinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAntiAffinity" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.LocalObjectReference": { + "additionalProperties": false, + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.NodeAffinity": { + "additionalProperties": false, + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PreferredSchedulingTerm", + "default": {} + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.NodeSelector": { + "additionalProperties": false, + "properties": { + "nodeSelectorTerms": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm", + "default": {} + }, + "type": "array" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.NodeSelectorRequirement": { + "additionalProperties": false, + "properties": { + "key": { + "default": "", + "type": "string" + }, + "operator": { + "default": "", + "enum": [ + "DoesNotExist", + "Exists", + "Gt", + "In", + "Lt", + "NotIn" + ], + "type": "string" + }, + "values": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "io.k8s.api.core.v1.NodeSelectorTerm": { + "additionalProperties": false, + "properties": { + "matchExpressions": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement", + "default": {} + }, + "type": "array" + }, + "matchFields": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement", + "default": {} + }, + "type": "array" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.PodAffinity": { + "additionalProperties": false, + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm", + "default": {} + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm", + "default": {} + }, + "type": "array" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.PodAffinityTerm": { + "additionalProperties": false, + "properties": { + "labelSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "matchLabelKeys": { + "items": { + "default": "", + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "items": { + "default": "", + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "namespaces": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "default": "", + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "io.k8s.api.core.v1.PodAntiAffinity": { + "additionalProperties": false, + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm", + "default": {} + }, + "type": "array" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm", + "default": {} + }, + "type": "array" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.PreferredSchedulingTerm": { + "additionalProperties": false, + "properties": { + "preference": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm", + "default": {} + }, + "weight": { + "default": 0, + "format": "int32", + "type": "integer" + } + }, + "required": [ + "weight", + "preference" + ], + "type": "object" + }, + "io.k8s.api.core.v1.Toleration": { + "additionalProperties": false, + "properties": { + "effect": { + "enum": [ + "NoExecute", + "NoSchedule", + "PreferNoSchedule" + ], + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "enum": [ + "Equal", + "Exists" + ], + "type": "string" + }, + "tolerationSeconds": { + "format": "int64", + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.WeightedPodAffinityTerm": { + "additionalProperties": false, + "properties": { + "podAffinityTerm": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm", + "default": {} + }, + "weight": { + "default": 0, + "format": "int32", + "type": "integer" + } + }, + "required": [ + "weight", + "podAffinityTerm" + ], + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON": {}, + "io.k8s.apimachinery.pkg.apis.meta.v1.Duration": { + "type": "string" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector": { + "additionalProperties": false, + "properties": { + "matchExpressions": { + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement", + "default": {} + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement": { + "additionalProperties": false, + "properties": { + "key": { + "default": "", + "type": "string" + }, + "operator": { + "default": "", + "type": "string" + }, + "values": { + "items": { + "default": "", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "io.k8s.sigs.gateway-api.apis.v1.ParentReference": { + "additionalProperties": false, + "properties": { + "group": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "default": "", + "type": "string" + }, + "namespace": { + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "sectionName": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.acme.v1.Challenge": { + "additionalProperties": false, + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.ChallengeSpec", + "default": {} + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.acme.v1.Order": { + "additionalProperties": false, + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.acme.v1.OrderSpec", + "default": {} + } + }, + "required": [ + "metadata", + "spec" + ], + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Certificate": { + "additionalProperties": false, + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificateSpec", + "default": {} + } + }, + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest": { + "additionalProperties": false, + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.CertificateRequestSpec", + "default": {} + } + }, + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer": { + "additionalProperties": false, + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.IssuerSpec", + "default": {} + } + }, + "required": [ + "spec" + ], + "type": "object" + }, + "metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Issuer": { + "additionalProperties": false, + "properties": { + "enabled": { + "$ref": "#/definitions/metachart.interface.boolean" + }, + "metadata": { + "$ref": "#/definitions/metachart.api.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.cert-manager.pkg.apis.certmanager.v1.IssuerSpec", + "default": {} + } + }, + "required": [ + "spec" + ], + "type": "object" + }, + "metachart.api.meta.v1.ObjectMeta": { + "additionalProperties": false, + "properties": { + "annotations": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + }, + "checksums": { + "$ref": "#/definitions/metachart.interface.checksums" + }, + "finalizers": { + "items": { + "default": "", + "type": "string" + }, + "type": "array", + "x-kubernetes-patch-strategy": "merge" + }, + "labels": { + "additionalProperties": { + "default": "", + "type": "string" + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "type": "object" + }, + "metachart.interface.FQDNitem": { + "pattern": "^[a-z][0-9a-z]*(-[0-9a-z]+)*$", + "type": "string" + }, + "metachart.interface.boolean": { + "type": "boolean" + }, + "metachart.interface.checksumEntryList": { + "anyOf": [ + { + "items": { + "$ref": "#/definitions/metachart.interface.FQDNitem" + }, + "type": "array" + }, + { + "enum": [ + "*" + ] + } + ] + }, + "metachart.interface.checksums": { + "properties": { + "certificaterequests": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + }, + "certificates": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + }, + "challenges": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + }, + "clusterissuers": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + }, + "issuers": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + }, + "orders": { + "$ref": "#/definitions/metachart.interface.checksumEntryList" + } + }, + "type": "object" + } + }, + "properties": { + "certificaterequests": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest" + } + }, + "type": "object" + }, + "certificates": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Certificate" + } + }, + "type": "object" + }, + "challenges": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.acme.v1.Challenge" + } + }, + "type": "object" + }, + "clusterissuers": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer" + } + }, + "type": "object" + }, + "context": { + "description": "Any content which can be used for config rendering without schema defined by the chart", + "type": "object" + }, + "fullnameOverride": { + "anyOf": [ + { + "$ref": "#/definitions/metachart.interface.FQDNitem" + }, + { + "type": "null" + } + ] + }, + "issuers": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Issuer" + } + }, + "type": "object" + }, + "orders": { + "additionalProperties": false, + "patternProperties": { + "^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.acme.v1.Order" + } + }, + "type": "object" + }, + "settings": { + "additionalProperties": false, + "properties": { + "certificaterequests": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + }, + "certificates": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Certificate" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + }, + "challenges": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.acme.v1.Challenge" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + }, + "clusterissuers": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + }, + "global": { + "additionalProperties": false, + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "issuers": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Issuer" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + }, + "orders": { + "properties": { + "defaults": { + "$ref": "#/definitions/metachart.api.io.cert-manager.pkg.apis.acme.v1.Order" + }, + "disabled": { + "description": "Disable all resources of this kind", + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/charts/meta-cert-manager/values.yaml b/charts/meta-cert-manager/values.yaml new file mode 100644 index 0000000..a4840db --- /dev/null +++ b/charts/meta-cert-manager/values.yaml @@ -0,0 +1,10 @@ +# context can be used to define any user-provided structure to use in values +# templating +context: {} + +# fullnameOverride overrides value of $.Release.Name for resources release name +# prefixes +fullnameOverride: + +# settings configures chart behaviour +settings: {}