diff --git a/crossplane/crossplane@v1.15.2 b/crossplane/crossplane@v1.16.0 similarity index 95% rename from crossplane/crossplane@v1.15.2 rename to crossplane/crossplane@v1.16.0 index 754c448b..ea3abac1 100644 --- a/crossplane/crossplane@v1.15.2 +++ b/crossplane/crossplane@v1.16.0 @@ -1,7 +1,9 @@ +--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - creationTimestamp: null + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 name: compositeresourcedefinitions.apiextensions.crossplane.io spec: group: apiextensions.crossplane.io @@ -31,9 +33,12 @@ spec: schema: openAPIV3Schema: description: |- - A CompositeResourceDefinition defines a new kind of composite infrastructure - resource. The new resource is composed of other composite or managed - infrastructure resources. + A CompositeResourceDefinition defines the schema for a new custom Kubernetes + API. + + + Read the Crossplane documentation for + [more information about CustomResourceDefinitions](https://docs.crossplane.io/latest/concepts/composite-resource-definitions). properties: apiVersion: description: |- @@ -479,6 +484,13 @@ spec: A Message containing details about this condition's last transition from one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -550,34 +562,30 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1 - --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - creationTimestamp: null - name: compositions.apiextensions.crossplane.io + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: compositionrevisions.apiextensions.crossplane.io spec: group: apiextensions.crossplane.io names: categories: - crossplane - kind: Composition - listKind: CompositionList - plural: compositions + kind: CompositionRevision + listKind: CompositionRevisionList + plural: compositionrevisions shortNames: - - comp - singular: composition + - comprev + singular: compositionrevision scope: Cluster versions: - additionalPrinterColumns: + - jsonPath: .spec.revision + name: REVISION + type: string - jsonPath: .spec.compositeTypeRef.kind name: XR-KIND type: string @@ -590,7 +598,13 @@ spec: name: v1 schema: openAPIV3Schema: - description: A Composition specifies how a composite resource should be composed. + description: |- + A CompositionRevision represents a revision of a Composition. Crossplane + creates new revisions when there are changes to the Composition. + + + Crossplane creates and manages CompositionRevisions. Don't directly edit + CompositionRevisions. properties: apiVersion: description: |- @@ -610,7 +624,9 @@ spec: metadata: type: object spec: - description: CompositionSpec specifies desired state of a composition. + description: |- + CompositionRevisionSpec specifies the desired state of the composition + revision. properties: compositeTypeRef: description: |- @@ -836,7 +852,7 @@ spec: type: string mergeOptions: description: MergeOptions Specifies merge options on - a field path + a field path. properties: appendSlice: description: Specifies that already existing elements @@ -1250,7 +1266,7 @@ spec: type: string mergeOptions: description: MergeOptions Specifies merge options - on a field path + on a field path. properties: appendSlice: description: Specifies that already existing elements @@ -1540,6 +1556,46 @@ spec: items: description: A PipelineStep in a Composition Function pipeline. properties: + credentials: + description: Credentials are optional credentials that the Composition + Function needs. + items: + description: |- + FunctionCredentials are optional credentials that a Composition Function + needs to run. + properties: + name: + description: Name of this set of credentials. + type: string + secretRef: + description: |- + A SecretRef is a reference to a secret containing credentials that should + be supplied to the function. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + source: + description: Source of the function credentials. + enum: + - None + - Secret + type: string + required: + - name + - source + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map functionRef: description: |- FunctionRef is a reference to the Composition Function this step should @@ -1748,7 +1804,7 @@ spec: type: string mergeOptions: description: MergeOptions Specifies merge options - on a field path + on a field path. properties: appendSlice: description: Specifies that already existing elements @@ -2030,7 +2086,7 @@ spec: items: description: |- ReadinessCheck is used to indicate how to tell whether a resource is ready - for consumption + for consumption. properties: fieldPath: description: FieldPath shows the path of the field whose @@ -2083,6 +2139,10 @@ spec: - base type: object type: array + revision: + description: Revision number. Newer revisions have larger numbers. + format: int64 + type: integer writeConnectionSecretsToNamespace: description: |- WriteConnectionSecretsToNamespace specifies the namespace in which the @@ -2096,38 +2156,65 @@ spec: type: string required: - compositeTypeRef + - revision + type: object + status: + description: |- + CompositionRevisionStatus shows the observed state of the composition + revision. + properties: + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map type: object type: object served: true storage: true - subresources: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1 - ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - creationTimestamp: null - name: compositionrevisions.apiextensions.crossplane.io -spec: - group: apiextensions.crossplane.io - names: - categories: - - crossplane - kind: CompositionRevision - listKind: CompositionRevisionList - plural: compositionrevisions - shortNames: - - comprev - singular: compositionrevision - scope: Cluster - versions: + subresources: + status: {} - additionalPrinterColumns: - jsonPath: .spec.revision name: REVISION @@ -2141,12 +2228,16 @@ spec: - jsonPath: .metadata.creationTimestamp name: AGE type: date - name: v1 + name: v1beta1 schema: openAPIV3Schema: description: |- - A CompositionRevision represents a revision in time of a Composition. - Revisions are created by Crossplane; they should be treated as immutable. + A CompositionRevision represents a revision of a Composition. Crossplane + creates new revisions when there are changes to the Composition. + + + Crossplane creates and manages CompositionRevisions. Don't directly edit + CompositionRevisions. properties: apiVersion: description: |- @@ -2394,7 +2485,7 @@ spec: type: string mergeOptions: description: MergeOptions Specifies merge options on - a field path + a field path. properties: appendSlice: description: Specifies that already existing elements @@ -2808,7 +2899,7 @@ spec: type: string mergeOptions: description: MergeOptions Specifies merge options - on a field path + on a field path. properties: appendSlice: description: Specifies that already existing elements @@ -3098,6 +3189,46 @@ spec: items: description: A PipelineStep in a Composition Function pipeline. properties: + credentials: + description: Credentials are optional credentials that the Composition + Function needs. + items: + description: |- + FunctionCredentials are optional credentials that a Composition Function + needs to run. + properties: + name: + description: Name of this set of credentials. + type: string + secretRef: + description: |- + A SecretRef is a reference to a secret containing credentials that should + be supplied to the function. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + source: + description: Source of the function credentials. + enum: + - None + - Secret + type: string + required: + - name + - source + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map functionRef: description: |- FunctionRef is a reference to the Composition Function this step should @@ -3306,7 +3437,7 @@ spec: type: string mergeOptions: description: MergeOptions Specifies merge options - on a field path + on a field path. properties: appendSlice: description: Specifies that already existing elements @@ -3588,7 +3719,7 @@ spec: items: description: |- ReadinessCheck is used to indicate how to tell whether a resource is ready - for consumption + for consumption. properties: fieldPath: description: FieldPath shows the path of the field whose @@ -3681,6 +3812,13 @@ spec: A Message containing details about this condition's last transition from one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -3707,13 +3845,30 @@ spec: type: object type: object served: true - storage: true + storage: false subresources: status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: compositions.apiextensions.crossplane.io +spec: + group: apiextensions.crossplane.io + names: + categories: + - crossplane + kind: Composition + listKind: CompositionList + plural: compositions + shortNames: + - comp + singular: composition + scope: Cluster + versions: - additionalPrinterColumns: - - jsonPath: .spec.revision - name: REVISION - type: string - jsonPath: .spec.compositeTypeRef.kind name: XR-KIND type: string @@ -3723,12 +3878,16 @@ spec: - jsonPath: .metadata.creationTimestamp name: AGE type: date - name: v1beta1 + name: v1 schema: openAPIV3Schema: description: |- - A CompositionRevision represents a revision in time of a Composition. - Revisions are created by Crossplane; they should be treated as immutable. + A Composition defines a collection of managed resources or functions that + Crossplane uses to create and manage new composite resources. + + + Read the Crossplane documentation for + [more information about Compositions](https://docs.crossplane.io/latest/concepts/compositions). properties: apiVersion: description: |- @@ -3748,9 +3907,7 @@ spec: metadata: type: object spec: - description: |- - CompositionRevisionSpec specifies the desired state of the composition - revision. + description: CompositionSpec specifies desired state of a composition. properties: compositeTypeRef: description: |- @@ -3976,7 +4133,7 @@ spec: type: string mergeOptions: description: MergeOptions Specifies merge options on - a field path + a field path. properties: appendSlice: description: Specifies that already existing elements @@ -4390,7 +4547,7 @@ spec: type: string mergeOptions: description: MergeOptions Specifies merge options - on a field path + on a field path. properties: appendSlice: description: Specifies that already existing elements @@ -4680,6 +4837,46 @@ spec: items: description: A PipelineStep in a Composition Function pipeline. properties: + credentials: + description: Credentials are optional credentials that the Composition + Function needs. + items: + description: |- + FunctionCredentials are optional credentials that a Composition Function + needs to run. + properties: + name: + description: Name of this set of credentials. + type: string + secretRef: + description: |- + A SecretRef is a reference to a secret containing credentials that should + be supplied to the function. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + source: + description: Source of the function credentials. + enum: + - None + - Secret + type: string + required: + - name + - source + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map functionRef: description: |- FunctionRef is a reference to the Composition Function this step should @@ -4707,6 +4904,9 @@ spec: - step type: object type: array + x-kubernetes-list-map-keys: + - step + x-kubernetes-list-type: map publishConnectionDetailsWithStoreConfigRef: default: name: default @@ -4888,7 +5088,7 @@ spec: type: string mergeOptions: description: MergeOptions Specifies merge options - on a field path + on a field path. properties: appendSlice: description: Specifies that already existing elements @@ -5170,7 +5370,7 @@ spec: items: description: |- ReadinessCheck is used to indicate how to tell whether a resource is ready - for consumption + for consumption. properties: fieldPath: description: FieldPath shows the path of the field whose @@ -5223,10 +5423,6 @@ spec: - base type: object type: array - revision: - description: Revision number. Newer revisions have larger numbers. - format: int64 - type: integer writeConnectionSecretsToNamespace: description: |- WriteConnectionSecretsToNamespace specifies the namespace in which the @@ -5240,96 +5436,47 @@ spec: type: string required: - compositeTypeRef - - revision type: object - status: - description: |- - CompositionRevisionStatus shows the observed state of the composition - revision. - properties: - conditions: - description: Conditions of the resource. - items: - description: A Condition that may apply to a resource. - properties: - lastTransitionTime: - description: |- - LastTransitionTime is the last time this condition transitioned from one - status to another. - format: date-time - type: string - message: - description: |- - A Message containing details about this condition's last transition from - one status to another, if any. - type: string - reason: - description: A Reason for this condition's last transition from - one status to another. - type: string - status: - description: Status of this condition; is it currently True, - False, or Unknown? - type: string - type: - description: |- - Type of this condition. At most one of each condition type may apply to - a resource at any point in time. - type: string - required: - - lastTransitionTime - - reason - - status - - type - type: object - type: array - x-kubernetes-list-map-keys: - - type - x-kubernetes-list-type: map - type: object - type: object - served: true - storage: false - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1 - ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - creationTimestamp: null - name: environmentconfigs.apiextensions.crossplane.io -spec: - group: apiextensions.crossplane.io - names: - categories: - - crossplane - kind: EnvironmentConfig - listKind: EnvironmentConfigList - plural: environmentconfigs - shortNames: - - envcfg - singular: environmentconfig - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - description: A EnvironmentConfig contains a set of arbitrary, unstructured - values. - properties: - apiVersion: + type: object + served: true + storage: true + subresources: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: environmentconfigs.apiextensions.crossplane.io +spec: + group: apiextensions.crossplane.io + names: + categories: + - crossplane + kind: EnvironmentConfig + listKind: EnvironmentConfigList + plural: environmentconfigs + shortNames: + - envcfg + singular: environmentconfig + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: |- + An EnvironmentConfig contains user-defined unstructured values for + use in a Composition. + + + Read the Crossplane documentation for + [more information about EnvironmentConfigs](https://docs.crossplane.io/latest/concepts/environment-configs). + properties: + apiVersion: description: |- APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and @@ -5357,19 +5504,12 @@ spec: served: true storage: true subresources: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1alpha1 - --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - creationTimestamp: null + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 name: usages.apiextensions.crossplane.io spec: group: apiextensions.crossplane.io @@ -5395,8 +5535,16 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: A Usage defines a deletion blocking relationship between two - resources. + description: |- + A Usage defines a deletion blocking relationship between two resources. + + + Usages prevent accidental deletion of a single resource or deletion of + resources with dependent resources. + + + Read the Crossplane documentation for + [more information about Compositions](https://docs.crossplane.io/latest/concepts/usages). properties: apiVersion: description: |- @@ -5456,6 +5604,10 @@ spec: type: object type: object type: object + x-kubernetes-validations: + - message: either a resource reference or a resource selector should + be set. + rule: has(self.resourceRef) || has(self.resourceSelector) of: description: Of is the resource that is "being used". properties: @@ -5494,6 +5646,10 @@ spec: type: object type: object type: object + x-kubernetes-validations: + - message: either a resource reference or a resource selector should + be set. + rule: has(self.resourceRef) || has(self.resourceSelector) reason: description: Reason is the reason for blocking deletion of the resource. type: string @@ -5505,6 +5661,9 @@ spec: required: - of type: object + x-kubernetes-validations: + - message: either "spec.by" or "spec.reason" must be specified. + rule: has(self.by) || has(self.reason) status: description: UsageStatus defines the observed state of Usage. properties: @@ -5524,6 +5683,13 @@ spec: A Message containing details about this condition's last transition from one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -5555,2022 +5721,23 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1alpha1 - --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - creationTimestamp: null - name: providerconfigs.helm.crossplane.io -spec: - group: helm.crossplane.io - names: - categories: - - crossplane - - provider - - helm - kind: ProviderConfig - listKind: ProviderConfigList - plural: providerconfigs - singular: providerconfig - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - - jsonPath: .spec.credentialsSecretRef.name - name: SECRET-NAME - priority: 1 - type: string - name: v1alpha1 - schema: - openAPIV3Schema: - description: A ProviderConfig configures a Helm 'provider', i.e. a connection - to a particular - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: A ProviderConfigSpec defines the desired state of a Provider. - properties: - credentials: - description: Credentials used to connect to the Kubernetes API. Typically - a kubeconfig file. Use InjectedIdentity for in-cluster config. - properties: - env: - description: Env is a reference to an environment variable that - contains credentials that must be used to connect to the provider. - properties: - name: - description: Name is the name of an environment variable. - type: string - required: - - name - type: object - fs: - description: Fs is a reference to a filesystem location that contains - credentials that must be used to connect to the provider. - properties: - path: - description: Path is a filesystem path. - type: string - required: - - path - type: object - secretRef: - description: A SecretRef is a reference to a secret key that contains - the credentials that must be used to connect to the provider. - properties: - key: - description: The key to select. - type: string - name: - description: Name of the secret. - type: string - namespace: - description: Namespace of the secret. - type: string - required: - - key - - name - - namespace - type: object - source: - description: Source of the provider credentials. - enum: - - None - - Secret - - InjectedIdentity - - Environment - - Filesystem - type: string - required: - - source - type: object - identity: - description: Identity used to authenticate to the Kubernetes API. - The identity credentials can be used to supplement kubeconfig 'credentials', - for example by configuring a bearer token source such as OAuth. - properties: - env: - description: Env is a reference to an environment variable that - contains credentials that must be used to connect to the provider. - properties: - name: - description: Name is the name of an environment variable. - type: string - required: - - name - type: object - fs: - description: Fs is a reference to a filesystem location that contains - credentials that must be used to connect to the provider. - properties: - path: - description: Path is a filesystem path. - type: string - required: - - path - type: object - secretRef: - description: A SecretRef is a reference to a secret key that contains - the credentials that must be used to connect to the provider. - properties: - key: - description: The key to select. - type: string - name: - description: Name of the secret. - type: string - namespace: - description: Namespace of the secret. - type: string - required: - - key - - name - - namespace - type: object - source: - description: Source of the provider credentials. - enum: - - None - - Secret - - InjectedIdentity - - Environment - - Filesystem - type: string - type: - description: Type of identity. - enum: - - GoogleApplicationCredentials - type: string - required: - - source - - type - type: object - required: - - credentials - type: object - status: - description: A ProviderConfigStatus defines the status of a Provider. - properties: - conditions: - description: Conditions of the resource. - items: - description: A Condition that may apply to a resource. - properties: - lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. - format: date-time - type: string - message: - description: A Message containing details about this condition's - last transition from one status to another, if any. - type: string - reason: - description: A Reason for this condition's last transition from - one status to another. - type: string - status: - description: Status of this condition; is it currently True, - False, or Unknown? - type: string - type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. - type: string - required: - - lastTransitionTime - - reason - - status - - type - type: object - type: array - users: - description: Users of this provider configuration. - format: int64 - type: integer - type: object - required: - - spec - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - - jsonPath: .spec.credentialsSecretRef.name - name: SECRET-NAME - priority: 1 - type: string - name: v1beta1 - schema: - openAPIV3Schema: - description: A ProviderConfig configures a Helm 'provider', i.e. a connection - to a particular - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: A ProviderConfigSpec defines the desired state of a Provider. - properties: - credentials: - description: Credentials used to connect to the Kubernetes API. Typically - a kubeconfig file. Use InjectedIdentity for in-cluster config. - properties: - env: - description: Env is a reference to an environment variable that - contains credentials that must be used to connect to the provider. - properties: - name: - description: Name is the name of an environment variable. - type: string - required: - - name - type: object - fs: - description: Fs is a reference to a filesystem location that contains - credentials that must be used to connect to the provider. - properties: - path: - description: Path is a filesystem path. - type: string - required: - - path - type: object - secretRef: - description: A SecretRef is a reference to a secret key that contains - the credentials that must be used to connect to the provider. - properties: - key: - description: The key to select. - type: string - name: - description: Name of the secret. - type: string - namespace: - description: Namespace of the secret. - type: string - required: - - key - - name - - namespace - type: object - source: - description: Source of the provider credentials. - enum: - - None - - Secret - - InjectedIdentity - - Environment - - Filesystem - type: string - required: - - source - type: object - identity: - description: Identity used to authenticate to the Kubernetes API. - The identity credentials can be used to supplement kubeconfig 'credentials', - for example by configuring a bearer token source such as OAuth. - properties: - env: - description: Env is a reference to an environment variable that - contains credentials that must be used to connect to the provider. - properties: - name: - description: Name is the name of an environment variable. - type: string - required: - - name - type: object - fs: - description: Fs is a reference to a filesystem location that contains - credentials that must be used to connect to the provider. - properties: - path: - description: Path is a filesystem path. - type: string - required: - - path - type: object - secretRef: - description: A SecretRef is a reference to a secret key that contains - the credentials that must be used to connect to the provider. - properties: - key: - description: The key to select. - type: string - name: - description: Name of the secret. - type: string - namespace: - description: Namespace of the secret. - type: string - required: - - key - - name - - namespace - type: object - source: - description: Source of the provider credentials. - enum: - - None - - Secret - - InjectedIdentity - - Environment - - Filesystem - type: string - type: - description: Type of identity. - enum: - - GoogleApplicationCredentials - type: string - required: - - source - - type - type: object - required: - - credentials - type: object - status: - description: A ProviderConfigStatus defines the status of a Provider. - properties: - conditions: - description: Conditions of the resource. - items: - description: A Condition that may apply to a resource. - properties: - lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. - format: date-time - type: string - message: - description: A Message containing details about this condition's - last transition from one status to another, if any. - type: string - reason: - description: A Reason for this condition's last transition from - one status to another. - type: string - status: - description: Status of this condition; is it currently True, - False, or Unknown? - type: string - type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. - type: string - required: - - lastTransitionTime - - reason - - status - - type - type: object - type: array - users: - description: Users of this provider configuration. - format: int64 - type: integer - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: - - v1beta1 - ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - creationTimestamp: null - name: configurations.meta.pkg.crossplane.io -spec: - group: meta.pkg.crossplane.io - names: - kind: Configuration - listKind: ConfigurationList - plural: configurations - singular: configuration - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - description: A Configuration is the description of a Crossplane Configuration - package. - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: ConfigurationSpec specifies the configuration of a Configuration. - properties: - crossplane: - description: Semantic version constraints of Crossplane that package - is compatible with. - properties: - version: - description: Semantic version constraints of Crossplane that package - is compatible with. - type: string - required: - - version - type: object - dependsOn: - description: Dependencies on other packages. - items: - description: Dependency is a dependency on another package. One - of Provider or Configuration may be supplied. - properties: - configuration: - description: Configuration is the name of a Configuration package - image. - type: string - function: - description: Function is the name of a Function package image. - type: string - provider: - description: Provider is the name of a Provider package image. - type: string - version: - description: Version is the semantic version constraints of - the dependency image. - type: string - required: - - version - type: object - type: array - type: object - required: - - spec - type: object - served: true - storage: true - - name: v1alpha1 - schema: - openAPIV3Schema: - description: A Configuration is the description of a Crossplane Configuration - package. - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: ConfigurationSpec specifies the configuration of a Configuration. - properties: - crossplane: - description: Semantic version constraints of Crossplane that package - is compatible with. - properties: - version: - description: Semantic version constraints of Crossplane that package - is compatible with. - type: string - required: - - version - type: object - dependsOn: - description: Dependencies on other packages. - items: - description: Dependency is a dependency on another package. One - of Provider or Configuration may be supplied. - properties: - configuration: - description: Configuration is the name of a Configuration package - image. - type: string - function: - description: Function is the name of a Function package image. - type: string - provider: - description: Provider is the name of a Provider package image. - type: string - version: - description: Version is the semantic version constraints of - the dependency image. - type: string - required: - - version - type: object - type: array - type: object - required: - - spec - type: object - served: true - storage: false -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1 - ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - creationTimestamp: null - name: providers.meta.pkg.crossplane.io -spec: - group: meta.pkg.crossplane.io - names: - kind: Provider - listKind: ProviderList - plural: providers - singular: provider - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - description: A Provider is the description of a Crossplane Provider package. - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: ProviderSpec specifies the configuration of a Provider. - properties: - controller: - description: Configuration for the packaged Provider's controller. - properties: - image: - description: Image is the packaged Provider controller image. - type: string - permissionRequests: - description: |- - PermissionRequests for RBAC rules required for this provider's controller - to function. The RBAC manager is responsible for assessing the requested - permissions. - items: - description: |- - PolicyRule holds information that describes a policy rule, but does not contain information - about who the rule applies to or which namespace the rule applies to. - properties: - apiGroups: - description: |- - APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of - the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups. - items: - type: string - type: array - nonResourceURLs: - description: |- - NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path - Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. - Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. - items: - type: string - type: array - resourceNames: - description: ResourceNames is an optional white list of - names that the rule applies to. An empty set means that - everything is allowed. - items: - type: string - type: array - resources: - description: Resources is a list of resources this rule - applies to. '*' represents all resources. - items: - type: string - type: array - verbs: - description: Verbs is a list of Verbs that apply to ALL - the ResourceKinds contained in this rule. '*' represents - all verbs. - items: - type: string - type: array - required: - - verbs - type: object - type: array - type: object - crossplane: - description: Semantic version constraints of Crossplane that package - is compatible with. - properties: - version: - description: Semantic version constraints of Crossplane that package - is compatible with. - type: string - required: - - version - type: object - dependsOn: - description: Dependencies on other packages. - items: - description: Dependency is a dependency on another package. One - of Provider or Configuration may be supplied. - properties: - configuration: - description: Configuration is the name of a Configuration package - image. - type: string - function: - description: Function is the name of a Function package image. - type: string - provider: - description: Provider is the name of a Provider package image. - type: string - version: - description: Version is the semantic version constraints of - the dependency image. - type: string - required: - - version - type: object - type: array - required: - - controller - type: object - required: - - spec - type: object - served: true - storage: true - - name: v1alpha1 - schema: - openAPIV3Schema: - description: A Provider is the description of a Crossplane Provider package. - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: ProviderSpec specifies the configuration of a Provider. - properties: - controller: - description: Configuration for the packaged Provider's controller. - properties: - image: - description: Image is the packaged Provider controller image. - type: string - permissionRequests: - description: |- - PermissionRequests for RBAC rules required for this provider's controller - to function. The RBAC manager is responsible for assessing the requested - permissions. - items: - description: |- - PolicyRule holds information that describes a policy rule, but does not contain information - about who the rule applies to or which namespace the rule applies to. - properties: - apiGroups: - description: |- - APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of - the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups. - items: - type: string - type: array - nonResourceURLs: - description: |- - NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path - Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. - Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. - items: - type: string - type: array - resourceNames: - description: ResourceNames is an optional white list of - names that the rule applies to. An empty set means that - everything is allowed. - items: - type: string - type: array - resources: - description: Resources is a list of resources this rule - applies to. '*' represents all resources. - items: - type: string - type: array - verbs: - description: Verbs is a list of Verbs that apply to ALL - the ResourceKinds contained in this rule. '*' represents - all verbs. - items: - type: string - type: array - required: - - verbs - type: object - type: array - type: object - crossplane: - description: Semantic version constraints of Crossplane that package - is compatible with. - properties: - version: - description: Semantic version constraints of Crossplane that package - is compatible with. - type: string - required: - - version - type: object - dependsOn: - description: Dependencies on other packages. - items: - description: Dependency is a dependency on another package. One - of Provider or Configuration may be supplied. - properties: - configuration: - description: Configuration is the name of a Configuration package - image. - type: string - function: - description: Function is the name of a Function package image. - type: string - provider: - description: Provider is the name of a Provider package image. - type: string - version: - description: Version is the semantic version constraints of - the dependency image. - type: string - required: - - version - type: object - type: array - required: - - controller - type: object - required: - - spec - type: object - served: true - storage: false -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1 - ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - creationTimestamp: null - name: functions.meta.pkg.crossplane.io -spec: - group: meta.pkg.crossplane.io - names: - kind: Function - listKind: FunctionList - plural: functions - singular: function - scope: Namespaced - versions: - - name: v1beta1 - schema: - openAPIV3Schema: - description: A Function is the description of a Crossplane Function package. - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: FunctionSpec specifies the configuration of a Function. - properties: - crossplane: - description: Semantic version constraints of Crossplane that package - is compatible with. - properties: - version: - description: Semantic version constraints of Crossplane that package - is compatible with. - type: string - required: - - version - type: object - dependsOn: - description: Dependencies on other packages. - items: - description: Dependency is a dependency on another package. One - of Provider or Configuration may be supplied. - properties: - configuration: - description: Configuration is the name of a Configuration package - image. - type: string - function: - description: Function is the name of a Function package image. - type: string - provider: - description: Provider is the name of a Provider package image. - type: string - version: - description: Version is the semantic version constraints of - the dependency image. - type: string - required: - - version - type: object - type: array - image: - description: Image is the packaged Function image. - type: string - type: object - required: - - spec - type: object - served: true - storage: true -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1beta1 - ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - creationTimestamp: null - name: nopresources.nop.crossplane.io -spec: - group: nop.crossplane.io - names: - categories: - - crossplane - - managed - - nop - kind: NopResource - listKind: NopResourceList - plural: nopresources - singular: nopresource - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - - jsonPath: .status.conditions[?(@.type=='Synced')].status - name: SYNCED - type: string - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - description: A NopResource is an example API type. - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: A NopResourceSpec defines the desired state of a NopResource. - properties: - deletionPolicy: - default: Delete - description: DeletionPolicy specifies what will happen to the underlying - external when this managed resource is deleted - either "Delete" - or "Orphan" the external resource. - enum: - - Orphan - - Delete - type: string - forProvider: - description: NopResourceParameters are the configurable fields of - a NopResource. - properties: - conditionAfter: - description: 'ConditionAfter can be used to set status conditions - after a specified time. By default a NopResource will only have - a status condition of Type: Synced. It will never have a status - condition of Type: Ready unless one is configured here.' - items: - description: ResourceConditionAfter specifies a condition of - a NopResource that should be set after a certain duration. - properties: - conditionReason: - description: ConditionReason to set - e.g. Available. - type: string - conditionStatus: - description: ConditionStatus to set - e.g. True. - type: string - conditionType: - description: ConditionType to set - e.g. Ready. - type: string - time: - description: Time is the duration after which the condition - should be set. - type: string - required: - - conditionStatus - - conditionType - - time - type: object - type: array - connectionDetails: - description: ConnectionDetails that this NopResource should emit - on each reconcile. - items: - description: ResourceConnectionDetail specifies a connection - detail a NopResource should emit. - properties: - name: - description: Name of the connection detail. - type: string - value: - description: Value of the connection detail. - type: string - required: - - name - - value - type: object - type: array - fields: - description: Fields is an arbitrary object you can patch to and - from. It has no schema, is not validated, and is not used by - the NopResource controller. - type: object - x-kubernetes-preserve-unknown-fields: true - type: object - providerConfigRef: - default: - name: default - description: ProviderConfigReference specifies how the provider that - will be used to create, observe, update, and delete this managed - resource should be configured. - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object - publishConnectionDetailsTo: - description: PublishConnectionDetailsTo specifies the connection secret - config which contains a name, metadata and a reference to secret - store config to which any connection details for this managed resource - should be written. Connection details frequently include the endpoint, - username, and password required to connect to the managed resource. - properties: - configRef: - default: - name: default - description: SecretStoreConfigRef specifies which secret store - config should be used for this ConnectionSecret. - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object - metadata: - description: Metadata is the metadata for connection secret. - properties: - annotations: - additionalProperties: - type: string - description: Annotations are the annotations to be added to - connection secret. - For Kubernetes secrets, this will be - used as "metadata.annotations". - It is up to Secret Store - implementation for others store types. - type: object - labels: - additionalProperties: - type: string - description: Labels are the labels/tags to be added to connection - secret. - For Kubernetes secrets, this will be used as "metadata.labels". - - It is up to Secret Store implementation for others store - types. - type: object - type: - description: Type is the SecretType for the connection secret. - - Only valid for Kubernetes Secret Stores. - type: string - type: object - name: - description: Name is the name of the connection secret. - type: string - required: - - name - type: object - writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace - and name of a Secret to which any connection details for this managed - resource should be written. Connection details frequently include - the endpoint, username, and password required to connect to the - managed resource. This field is planned to be replaced in a future - release in favor of PublishConnectionDetailsTo. Currently, both - could be set independently and connection details would be published - to both without affecting each other. - properties: - name: - description: Name of the secret. - type: string - namespace: - description: Namespace of the secret. - type: string - required: - - name - - namespace - type: object - required: - - forProvider - type: object - status: - description: A NopResourceStatus represents the observed state of a NopResource. - properties: - atProvider: - description: NopResourceObservation are the observable fields of a - NopResource. - properties: - fields: - description: Fields is an arbitrary object you can patch to and - from. It has no schema, is not validated, and is not used by - the NopResource controller. - type: object - x-kubernetes-preserve-unknown-fields: true - type: object - conditions: - description: Conditions of the resource. - items: - description: A Condition that may apply to a resource. - properties: - lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. - format: date-time - type: string - message: - description: A Message containing details about this condition's - last transition from one status to another, if any. - type: string - reason: - description: A Reason for this condition's last transition from - one status to another. - type: string - status: - description: Status of this condition; is it currently True, - False, or Unknown? - type: string - type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. - type: string - required: - - lastTransitionTime - - reason - - status - - type - type: object - type: array - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1alpha1 - ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - creationTimestamp: null - name: configurations.pkg.crossplane.io -spec: - group: pkg.crossplane.io - names: - categories: - - crossplane - - pkg - kind: Configuration - listKind: ConfigurationList - plural: configurations - singular: configuration - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Installed')].status - name: INSTALLED - type: string - - jsonPath: .status.conditions[?(@.type=='Healthy')].status - name: HEALTHY - type: string - - jsonPath: .spec.package - name: PACKAGE - type: string - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - name: v1 - schema: - openAPIV3Schema: - description: Configuration is the CRD type for a request to add a configuration - to Crossplane. - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: |- - ConfigurationSpec specifies details about a request to install a - configuration to Crossplane. - properties: - commonLabels: - additionalProperties: - 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: http://kubernetes.io/docs/user-guide/labels - type: object - ignoreCrossplaneConstraints: - default: false - description: |- - IgnoreCrossplaneConstraints indicates to the package manager whether to - honor Crossplane version constrains specified by the package. - Default is false. - type: boolean - package: - description: Package is the name of the package that is being requested. - type: string - packagePullPolicy: - default: IfNotPresent - description: |- - PackagePullPolicy defines the pull policy for the package. - Default is IfNotPresent. - type: string - packagePullSecrets: - description: |- - PackagePullSecrets are named secrets in the same namespace that can be used - to fetch packages from private registries. - items: - 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 - TODO: Add other useful fields. apiVersion, kind, uid? - type: string - type: object - x-kubernetes-map-type: atomic - type: array - revisionActivationPolicy: - default: Automatic - description: |- - RevisionActivationPolicy specifies how the package controller should - update from one revision to the next. Options are Automatic or Manual. - Default is Automatic. - type: string - revisionHistoryLimit: - default: 1 - description: |- - RevisionHistoryLimit dictates how the package controller cleans up old - inactive package revisions. - Defaults to 1. Can be disabled by explicitly setting to 0. - format: int64 - type: integer - skipDependencyResolution: - default: false - description: |- - SkipDependencyResolution indicates to the package manager whether to skip - resolving dependencies for a package. Setting this value to true may have - unintended consequences. - Default is false. - type: boolean - required: - - package - type: object - status: - description: ConfigurationStatus represents the observed state of a Configuration. - properties: - conditions: - description: Conditions of the resource. - items: - description: A Condition that may apply to a resource. - properties: - lastTransitionTime: - description: |- - LastTransitionTime is the last time this condition transitioned from one - status to another. - format: date-time - type: string - message: - description: |- - A Message containing details about this condition's last transition from - one status to another, if any. - type: string - reason: - description: A Reason for this condition's last transition from - one status to another. - type: string - status: - description: Status of this condition; is it currently True, - False, or Unknown? - type: string - type: - description: |- - Type of this condition. At most one of each condition type may apply to - a resource at any point in time. - type: string - required: - - lastTransitionTime - - reason - - status - - type - type: object - type: array - x-kubernetes-list-map-keys: - - type - x-kubernetes-list-type: map - currentIdentifier: - description: |- - CurrentIdentifier is the most recent package source that was used to - produce a revision. The package manager uses this field to determine - whether to check for package updates for a given source when - packagePullPolicy is set to IfNotPresent. Manually removing this field - will cause the package manager to check that the current revision is - correct for the given package source. - type: string - currentRevision: - description: |- - CurrentRevision is the name of the current package revision. It will - reflect the most up to date revision, whether it has been activated or - not. - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1 - ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - creationTimestamp: null - name: configurationrevisions.pkg.crossplane.io -spec: - group: pkg.crossplane.io - names: - categories: - - crossplane - - pkgrev - kind: ConfigurationRevision - listKind: ConfigurationRevisionList - plural: configurationrevisions - singular: configurationrevision - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Healthy')].status - name: HEALTHY - type: string - - jsonPath: .spec.revision - name: REVISION - type: string - - jsonPath: .spec.image - name: IMAGE - type: string - - jsonPath: .spec.desiredState - name: STATE - type: string - - jsonPath: .status.foundDependencies - name: DEP-FOUND - type: string - - jsonPath: .status.installedDependencies - name: DEP-INSTALLED - type: string - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - name: v1 - schema: - openAPIV3Schema: - description: A ConfigurationRevision that has been added to Crossplane. - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: PackageRevisionSpec specifies the desired state of a PackageRevision. - properties: - commonLabels: - additionalProperties: - 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: http://kubernetes.io/docs/user-guide/labels - type: object - desiredState: - description: DesiredState of the PackageRevision. Can be either Active - or Inactive. - type: string - ignoreCrossplaneConstraints: - default: false - description: |- - IgnoreCrossplaneConstraints indicates to the package manager whether to - honor Crossplane version constrains specified by the package. - Default is false. - type: boolean - image: - description: Package image used by install Pod to extract package - contents. - type: string - packagePullPolicy: - default: IfNotPresent - description: |- - PackagePullPolicy defines the pull policy for the package. It is also - applied to any images pulled for the package, such as a provider's - controller image. - Default is IfNotPresent. - type: string - packagePullSecrets: - description: |- - PackagePullSecrets are named secrets in the same namespace that can be - used to fetch packages from private registries. They are also applied to - any images pulled for the package, such as a provider's controller image. - items: - 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 - TODO: Add other useful fields. apiVersion, kind, uid? - type: string - type: object - x-kubernetes-map-type: atomic - type: array - revision: - description: |- - Revision number. Indicates when the revision will be garbage collected - based on the parent's RevisionHistoryLimit. - format: int64 - type: integer - skipDependencyResolution: - default: false - description: |- - SkipDependencyResolution indicates to the package manager whether to skip - resolving dependencies for a package. Setting this value to true may have - unintended consequences. - Default is false. - type: boolean - required: - - desiredState - - image - - revision - type: object - status: - description: PackageRevisionStatus represents the observed state of a - PackageRevision. - properties: - conditions: - description: Conditions of the resource. - items: - description: A Condition that may apply to a resource. - properties: - lastTransitionTime: - description: |- - LastTransitionTime is the last time this condition transitioned from one - status to another. - format: date-time - type: string - message: - description: |- - A Message containing details about this condition's last transition from - one status to another, if any. - type: string - reason: - description: A Reason for this condition's last transition from - one status to another. - type: string - status: - description: Status of this condition; is it currently True, - False, or Unknown? - type: string - type: - description: |- - Type of this condition. At most one of each condition type may apply to - a resource at any point in time. - type: string - required: - - lastTransitionTime - - reason - - status - - type - type: object - type: array - x-kubernetes-list-map-keys: - - type - x-kubernetes-list-type: map - foundDependencies: - description: Dependency information. - format: int64 - type: integer - installedDependencies: - format: int64 - type: integer - invalidDependencies: - format: int64 - type: integer - objectRefs: - description: References to objects owned by PackageRevision. - items: - description: |- - A TypedReference refers to an object by Name, Kind, and APIVersion. It is - commonly used to reference cluster-scoped objects or objects where the - namespace is already known. - properties: - apiVersion: - description: APIVersion of the referenced object. - type: string - kind: - description: Kind of the referenced object. - type: string - name: - description: Name of the referenced object. - type: string - uid: - description: UID of the referenced object. - type: string - required: - - apiVersion - - kind - - name - type: object - type: array - permissionRequests: - description: |- - PermissionRequests made by this package. The package declares that its - controller needs these permissions to run. The RBAC manager is - responsible for granting them. - items: - description: |- - PolicyRule holds information that describes a policy rule, but does not contain information - about who the rule applies to or which namespace the rule applies to. - properties: - apiGroups: - description: |- - APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of - the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups. - items: - type: string - type: array - nonResourceURLs: - description: |- - NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path - Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. - Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. - items: - type: string - type: array - resourceNames: - description: ResourceNames is an optional white list of names - that the rule applies to. An empty set means that everything - is allowed. - items: - type: string - type: array - resources: - description: Resources is a list of resources this rule applies - to. '*' represents all resources. - items: - type: string - type: array - verbs: - description: Verbs is a list of Verbs that apply to ALL the - ResourceKinds contained in this rule. '*' represents all verbs. - items: - type: string - type: array - required: - - verbs - type: object - type: array - type: object - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1 - ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - creationTimestamp: null - name: providers.pkg.crossplane.io -spec: - group: pkg.crossplane.io - names: - categories: - - crossplane - - pkg - kind: Provider - listKind: ProviderList - plural: providers - singular: provider - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Installed')].status - name: INSTALLED - type: string - - jsonPath: .status.conditions[?(@.type=='Healthy')].status - name: HEALTHY - type: string - - jsonPath: .spec.package - name: PACKAGE - type: string - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - name: v1 - schema: - openAPIV3Schema: - description: Provider is the CRD type for a request to add a provider to Crossplane. - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: |- - ProviderSpec specifies details about a request to install a provider to - Crossplane. - properties: - commonLabels: - additionalProperties: - 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: http://kubernetes.io/docs/user-guide/labels - type: object - controllerConfigRef: - description: |- - ControllerConfigRef references a ControllerConfig resource that will be - used to configure the packaged controller Deployment. - Deprecated: Use RuntimeConfigReference instead. - properties: - name: - description: Name of the ControllerConfig. - type: string - required: - - name - type: object - ignoreCrossplaneConstraints: - default: false - description: |- - IgnoreCrossplaneConstraints indicates to the package manager whether to - honor Crossplane version constrains specified by the package. - Default is false. - type: boolean - package: - description: Package is the name of the package that is being requested. - type: string - packagePullPolicy: - default: IfNotPresent - description: |- - PackagePullPolicy defines the pull policy for the package. - Default is IfNotPresent. - type: string - packagePullSecrets: - description: |- - PackagePullSecrets are named secrets in the same namespace that can be used - to fetch packages from private registries. - items: - 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 - TODO: Add other useful fields. apiVersion, kind, uid? - type: string - type: object - x-kubernetes-map-type: atomic - type: array - revisionActivationPolicy: - default: Automatic - description: |- - RevisionActivationPolicy specifies how the package controller should - update from one revision to the next. Options are Automatic or Manual. - Default is Automatic. - type: string - revisionHistoryLimit: - default: 1 - description: |- - RevisionHistoryLimit dictates how the package controller cleans up old - inactive package revisions. - Defaults to 1. Can be disabled by explicitly setting to 0. - format: int64 - type: integer - runtimeConfigRef: - default: - name: default - description: |- - RuntimeConfigRef references a RuntimeConfig resource that will be used - to configure the package runtime. - properties: - apiVersion: - default: pkg.crossplane.io/v1beta1 - description: API version of the referent. - type: string - kind: - default: DeploymentRuntimeConfig - description: Kind of the referent. - type: string - name: - description: Name of the RuntimeConfig. - type: string - required: - - name - type: object - skipDependencyResolution: - default: false - description: |- - SkipDependencyResolution indicates to the package manager whether to skip - resolving dependencies for a package. Setting this value to true may have - unintended consequences. - Default is false. - type: boolean - required: - - package - type: object - status: - description: ProviderStatus represents the observed state of a Provider. - properties: - conditions: - description: Conditions of the resource. - items: - description: A Condition that may apply to a resource. - properties: - lastTransitionTime: - description: |- - LastTransitionTime is the last time this condition transitioned from one - status to another. - format: date-time - type: string - message: - description: |- - A Message containing details about this condition's last transition from - one status to another, if any. - type: string - reason: - description: A Reason for this condition's last transition from - one status to another. - type: string - status: - description: Status of this condition; is it currently True, - False, or Unknown? - type: string - type: - description: |- - Type of this condition. At most one of each condition type may apply to - a resource at any point in time. - type: string - required: - - lastTransitionTime - - reason - - status - - type - type: object - type: array - x-kubernetes-list-map-keys: - - type - x-kubernetes-list-type: map - currentIdentifier: - description: |- - CurrentIdentifier is the most recent package source that was used to - produce a revision. The package manager uses this field to determine - whether to check for package updates for a given source when - packagePullPolicy is set to IfNotPresent. Manually removing this field - will cause the package manager to check that the current revision is - correct for the given package source. - type: string - currentRevision: - description: |- - CurrentRevision is the name of the current package revision. It will - reflect the most up to date revision, whether it has been activated or - not. - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1 - ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - creationTimestamp: null - name: providerrevisions.pkg.crossplane.io + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: configurationrevisions.pkg.crossplane.io spec: group: pkg.crossplane.io names: categories: - crossplane - pkgrev - kind: ProviderRevision - listKind: ProviderRevisionList - plural: providerrevisions - singular: providerrevision + kind: ConfigurationRevision + listKind: ConfigurationRevisionList + plural: configurationrevisions + singular: configurationrevision scope: Cluster versions: - additionalPrinterColumns: @@ -7598,7 +5765,13 @@ spec: name: v1 schema: openAPIV3Schema: - description: A ProviderRevision that has been added to Crossplane. + description: |- + A ConfigurationRevision represents a revision of a Configuration. Crossplane + creates new revisions when there are changes to a Configuration. + + + Crossplane creates and manages ConfigurationRevision. Don't directly edit + ConfigurationRevisions. properties: apiVersion: description: |- @@ -7618,7 +5791,7 @@ spec: metadata: type: object spec: - description: ProviderRevisionSpec specifies configuration for a ProviderRevision. + description: PackageRevisionSpec specifies the desired state of a PackageRevision. properties: commonLabels: additionalProperties: @@ -7627,19 +5800,7 @@ spec: 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: http://kubernetes.io/docs/user-guide/labels - type: object - controllerConfigRef: - description: |- - ControllerConfigRef references a ControllerConfig resource that will be - used to configure the packaged controller Deployment. - Deprecated: Use RuntimeConfigReference instead. - properties: - name: - description: Name of the ControllerConfig. - type: string - required: - - name + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ type: object desiredState: description: DesiredState of the PackageRevision. Can be either Active @@ -7689,27 +5850,6 @@ spec: based on the parent's RevisionHistoryLimit. format: int64 type: integer - runtimeConfigRef: - default: - name: default - description: |- - RuntimeConfigRef references a RuntimeConfig resource that will be used - to configure the package runtime. - properties: - apiVersion: - default: pkg.crossplane.io/v1beta1 - description: API version of the referent. - type: string - kind: - default: DeploymentRuntimeConfig - description: Kind of the referent. - type: string - name: - description: Name of the RuntimeConfig. - type: string - required: - - name - type: object skipDependencyResolution: default: false description: |- @@ -7718,16 +5858,6 @@ spec: unintended consequences. Default is false. type: boolean - tlsClientSecretName: - description: |- - TLSClientSecretName is the name of the TLS Secret that stores client - certificates of the Provider. - type: string - tlsServerSecretName: - description: |- - TLSServerSecretName is the name of the TLS Secret that stores server - certificates of the Provider. - type: string required: - desiredState - image @@ -7753,6 +5883,13 @@ spec: A Message containing details about this condition's last transition from one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -7866,19 +6003,217 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1 +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: configurations.pkg.crossplane.io +spec: + group: pkg.crossplane.io + names: + categories: + - crossplane + - pkg + kind: Configuration + listKind: ConfigurationList + plural: configurations + singular: configuration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Installed')].status + name: INSTALLED + type: string + - jsonPath: .status.conditions[?(@.type=='Healthy')].status + name: HEALTHY + type: string + - jsonPath: .spec.package + name: PACKAGE + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1 + schema: + openAPIV3Schema: + description: |- + A Configuration installs an OCI compatible Crossplane package, extending + Crossplane with support for new kinds of CompositeResourceDefinitions and + Compositions. + + Read the Crossplane documentation for + [more information about Configuration packages](https://docs.crossplane.io/latest/concepts/packages). + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: |- + ConfigurationSpec specifies details about a request to install a + configuration to Crossplane. + properties: + commonLabels: + additionalProperties: + 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 + ignoreCrossplaneConstraints: + default: false + description: |- + IgnoreCrossplaneConstraints indicates to the package manager whether to + honor Crossplane version constrains specified by the package. + Default is false. + type: boolean + package: + description: Package is the name of the package that is being requested. + type: string + packagePullPolicy: + default: IfNotPresent + description: |- + PackagePullPolicy defines the pull policy for the package. + Default is IfNotPresent. + type: string + packagePullSecrets: + description: |- + PackagePullSecrets are named secrets in the same namespace that can be used + to fetch packages from private registries. + items: + 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 + TODO: Add other useful fields. apiVersion, kind, uid? + type: string + type: object + x-kubernetes-map-type: atomic + type: array + revisionActivationPolicy: + default: Automatic + description: |- + RevisionActivationPolicy specifies how the package controller should + update from one revision to the next. Options are Automatic or Manual. + Default is Automatic. + type: string + revisionHistoryLimit: + default: 1 + description: |- + RevisionHistoryLimit dictates how the package controller cleans up old + inactive package revisions. + Defaults to 1. Can be disabled by explicitly setting to 0. + format: int64 + type: integer + skipDependencyResolution: + default: false + description: |- + SkipDependencyResolution indicates to the package manager whether to skip + resolving dependencies for a package. Setting this value to true may have + unintended consequences. + Default is false. + type: boolean + required: + - package + type: object + status: + description: ConfigurationStatus represents the observed state of a Configuration. + properties: + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + currentIdentifier: + description: |- + CurrentIdentifier is the most recent package source that was used to + produce a revision. The package manager uses this field to determine + whether to check for package updates for a given source when + packagePullPolicy is set to IfNotPresent. Manually removing this field + will cause the package manager to check that the current revision is + correct for the given package source. + type: string + currentRevision: + description: |- + CurrentRevision is the name of the current package revision. It will + reflect the most up to date revision, whether it has been activated or + not. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - creationTimestamp: null + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 name: controllerconfigs.pkg.crossplane.io spec: group: pkg.crossplane.io @@ -7893,14 +6228,22 @@ spec: - jsonPath: .metadata.creationTimestamp name: AGE type: date + deprecated: true + deprecationWarning: ControllerConfig.pkg.crossplane.io/v1alpha1 is deprecated. + Use DeploymentRuntimeConfig from pkg.crossplane.io/v1beta1 instead. name: v1alpha1 schema: openAPIV3Schema: description: |- - ControllerConfig is the CRD type for a packaged controller configuration. - Deprecated: This API is replaced by DeploymentRuntimeConfig, and is scheduled - to be removed in a future release. See the design doc for more details: - https://github.com/crossplane/crossplane/blob/11bbe13ea3604928cc4e24e8d0d18f3f5f7e847c/design/one-pager-package-runtime-config.md + A ControllerConfig applies settings to controllers like Provider pods. + Deprecated: Use the + [DeploymentRuntimeConfig](https://docs.crossplane.io/latest/concepts/providers#runtime-configuration) + instead. + + + Read the + [Package Runtime Configuration](https://github.com/crossplane/crossplane/blob/11bbe13ea3604928cc4e24e8d0d18f3f5f7e847c/design/one-pager-package-runtime-config.md) + design document for more details. properties: apiVersion: description: |- @@ -9030,7 +7373,7 @@ spec: 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: http://kubernetes.io/docs/user-guide/annotations + More info: http:https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ type: object labels: additionalProperties: @@ -9041,7 +7384,7 @@ spec: labels on the pod, not the pod selector. Labels will be merged with internal labels used by crossplane, and labels with a crossplane.io key might be overwritten. - More info: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ type: object type: object nodeName: @@ -9355,7 +7698,7 @@ spec: to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. - More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md + More info: https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/585-runtime-class/README.md This is a beta feature as of Kubernetes v1.14. type: string securityContext: @@ -11332,19 +9675,12 @@ spec: served: true storage: true subresources: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1alpha1 - --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - creationTimestamp: null + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 name: deploymentruntimeconfigs.pkg.crossplane.io spec: group: pkg.crossplane.io @@ -11365,10 +9701,12 @@ spec: schema: openAPIV3Schema: description: |- - A DeploymentRuntimeConfig is used to configure the package runtime when - the package uses a runtime and the package manager is running with - --package-runtime=Deployment (the default). See the following design doc for - more details:https://github.com/crossplane/crossplane/blob/91edeae3fcac96c6c8a1759a723981eea4bb77e4/design/one-pager-package-runtime-config.md#migration-from-controllerconfig + The DeploymentRuntimeConfig provides settings for the Kubernetes Deployment + of a Provider or composition function package. + + + Read the Crossplane documentation for + [more information about DeploymentRuntimeConfigs](https://docs.crossplane.io/latest/concepts/providers/#runtime-configuration). properties: apiVersion: description: |- @@ -11408,7 +9746,7 @@ spec: 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: http://kubernetes.io/docs/user-guide/annotations + More info: http:https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ type: object labels: additionalProperties: @@ -11418,7 +9756,7 @@ spec: (scope and select) objects. Labels will be merged with internal labels used by crossplane, and labels with a crossplane.io key might be overwritten. - More info: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ type: object name: description: Name is the name of the object. @@ -19278,7 +17616,38 @@ spec: 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: http://kubernetes.io/docs/user-guide/annotations + More info: http:https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ + type: object + labels: + additionalProperties: + type: string + description: |- + Map of string keys and values that can be used to organize and categorize + (scope and select) objects. Labels will be merged with internal labels + used by crossplane, and labels with a crossplane.io key might be + overwritten. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ + type: object + name: + description: Name is the name of the object. + type: string + type: object + type: object + serviceTemplate: + description: ServiceTemplate is the template for the Service object. + properties: + metadata: + description: Metadata contains the configurable metadata fields + for the Service. + properties: + annotations: + additionalProperties: + 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: http:https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ type: object labels: additionalProperties: @@ -19288,62 +17657,354 @@ spec: (scope and select) objects. Labels will be merged with internal labels used by crossplane, and labels with a crossplane.io key might be overwritten. - More info: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ type: object name: description: Name is the name of the object. type: string - type: object - type: object - serviceTemplate: - description: ServiceTemplate is the template for the Service object. - properties: - metadata: - description: Metadata contains the configurable metadata fields - for the Service. - properties: - annotations: - additionalProperties: - 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: http://kubernetes.io/docs/user-guide/annotations - type: object - labels: - additionalProperties: - type: string - description: |- - Map of string keys and values that can be used to organize and categorize - (scope and select) objects. Labels will be merged with internal labels - used by crossplane, and labels with a crossplane.io key might be - overwritten. - More info: http://kubernetes.io/docs/user-guide/labels - type: object - name: - description: Name is the name of the object. + type: object + type: object + type: object + type: object + served: true + storage: true + subresources: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: functionrevisions.pkg.crossplane.io +spec: + group: pkg.crossplane.io + names: + categories: + - crossplane + - pkgrev + kind: FunctionRevision + listKind: FunctionRevisionList + plural: functionrevisions + singular: functionrevision + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Healthy')].status + name: HEALTHY + type: string + - jsonPath: .spec.revision + name: REVISION + type: string + - jsonPath: .spec.image + name: IMAGE + type: string + - jsonPath: .spec.desiredState + name: STATE + type: string + - jsonPath: .status.foundDependencies + name: DEP-FOUND + type: string + - jsonPath: .status.installedDependencies + name: DEP-INSTALLED + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: |- + A FunctionRevision represents a revision of a Function. Crossplane + creates new revisions when there are changes to the Function. + + + Crossplane creates and manages FunctionRevisions. Don't directly edit + FunctionRevisions. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: FunctionRevisionSpec specifies configuration for a FunctionRevision. + properties: + commonLabels: + additionalProperties: + 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 + controllerConfigRef: + description: |- + ControllerConfigRef references a ControllerConfig resource that will be + used to configure the packaged controller Deployment. + Deprecated: Use RuntimeConfigReference instead. + properties: + name: + description: Name of the ControllerConfig. + type: string + required: + - name + type: object + desiredState: + description: DesiredState of the PackageRevision. Can be either Active + or Inactive. + type: string + ignoreCrossplaneConstraints: + default: false + description: |- + IgnoreCrossplaneConstraints indicates to the package manager whether to + honor Crossplane version constrains specified by the package. + Default is false. + type: boolean + image: + description: Package image used by install Pod to extract package + contents. + type: string + packagePullPolicy: + default: IfNotPresent + description: |- + PackagePullPolicy defines the pull policy for the package. It is also + applied to any images pulled for the package, such as a provider's + controller image. + Default is IfNotPresent. + type: string + packagePullSecrets: + description: |- + PackagePullSecrets are named secrets in the same namespace that can be + used to fetch packages from private registries. They are also applied to + any images pulled for the package, such as a provider's controller image. + items: + 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 + TODO: Add other useful fields. apiVersion, kind, uid? + type: string + type: object + x-kubernetes-map-type: atomic + type: array + revision: + description: |- + Revision number. Indicates when the revision will be garbage collected + based on the parent's RevisionHistoryLimit. + format: int64 + type: integer + runtimeConfigRef: + default: + name: default + description: |- + RuntimeConfigRef references a RuntimeConfig resource that will be used + to configure the package runtime. + properties: + apiVersion: + default: pkg.crossplane.io/v1beta1 + description: API version of the referent. + type: string + kind: + default: DeploymentRuntimeConfig + description: Kind of the referent. + type: string + name: + description: Name of the RuntimeConfig. + type: string + required: + - name + type: object + skipDependencyResolution: + default: false + description: |- + SkipDependencyResolution indicates to the package manager whether to skip + resolving dependencies for a package. Setting this value to true may have + unintended consequences. + Default is false. + type: boolean + tlsClientSecretName: + description: |- + TLSClientSecretName is the name of the TLS Secret that stores client + certificates of the Provider. + type: string + tlsServerSecretName: + description: |- + TLSServerSecretName is the name of the TLS Secret that stores server + certificates of the Provider. + type: string + required: + - desiredState + - image + - revision + type: object + status: + description: FunctionRevisionStatus represents the observed state of a + FunctionRevision. + properties: + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + endpoint: + description: |- + Endpoint is the gRPC endpoint where Crossplane will send + RunFunctionRequests. + type: string + foundDependencies: + description: Dependency information. + format: int64 + type: integer + installedDependencies: + format: int64 + type: integer + invalidDependencies: + format: int64 + type: integer + objectRefs: + description: References to objects owned by PackageRevision. + items: + description: |- + A TypedReference refers to an object by Name, Kind, and APIVersion. It is + commonly used to reference cluster-scoped objects or objects where the + namespace is already known. + properties: + apiVersion: + description: APIVersion of the referenced object. + type: string + kind: + description: Kind of the referenced object. + type: string + name: + description: Name of the referenced object. + type: string + uid: + description: UID of the referenced object. + type: string + required: + - apiVersion + - kind + - name + type: object + type: array + permissionRequests: + description: |- + PermissionRequests made by this package. The package declares that its + controller needs these permissions to run. The RBAC manager is + responsible for granting them. + items: + description: |- + PolicyRule holds information that describes a policy rule, but does not contain information + about who the rule applies to or which namespace the rule applies to. + properties: + apiGroups: + description: |- + APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of + the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups. + items: + type: string + type: array + nonResourceURLs: + description: |- + NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path + Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. + Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. + items: type: string - type: object - type: object + type: array + resourceNames: + description: ResourceNames is an optional white list of names + that the rule applies to. An empty set means that everything + is allowed. + items: + type: string + type: array + resources: + description: Resources is a list of resources this rule applies + to. '*' represents all resources. + items: + type: string + type: array + verbs: + description: Verbs is a list of Verbs that apply to ALL the + ResourceKinds contained in this rule. '*' represents all verbs. + items: + type: string + type: array + required: + - verbs + type: object + type: array type: object type: object served: true storage: true - subresources: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1beta1 - + subresources: + status: {} --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - creationTimestamp: null + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 name: functions.pkg.crossplane.io spec: group: pkg.crossplane.io @@ -19373,8 +18034,13 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: Function is the CRD type for a request to deploy a long-running - Function. + description: |- + A Function installs an OCI compatible Crossplane package, extending + Crossplane with support for a new kind of composition function. + + + Read the Crossplane documentation for + [more information about Functions](https://docs.crossplane.io/latest/concepts/composition-functions). properties: apiVersion: description: |- @@ -19403,7 +18069,7 @@ spec: 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: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ type: object controllerConfigRef: description: |- @@ -19517,6 +18183,13 @@ spec: A Message containing details about this condition's last transition from one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -19561,30 +18234,123 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1beta1 - --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - creationTimestamp: null - name: functionrevisions.pkg.crossplane.io + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: locks.pkg.crossplane.io +spec: + group: pkg.crossplane.io + names: + kind: Lock + listKind: LockList + plural: locks + singular: lock + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: Lock is the CRD type that tracks package dependencies. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + packages: + items: + description: LockPackage is a package that is in the lock. + properties: + dependencies: + description: |- + Dependencies are the list of dependencies of this package. The order of + the dependencies will dictate the order in which they are resolved. + items: + description: A Dependency is a dependency of a package in the + lock. + properties: + constraints: + description: |- + Constraints is a valid semver range, which will be used to select a valid + dependency version. + type: string + package: + description: Package is the OCI image name without a tag or + digest. + type: string + type: + description: Type is the type of package. Can be either Configuration + or Provider. + type: string + required: + - constraints + - package + - type + type: object + type: array + name: + description: Name corresponds to the name of the package revision + for this package. + type: string + source: + description: Source is the OCI image name without a tag or digest. + type: string + type: + description: Type is the type of package. Can be either Configuration + or Provider. + type: string + version: + description: Version is the tag or digest of the OCI image. + type: string + required: + - dependencies + - name + - source + - type + - version + type: object + type: array + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: providerrevisions.pkg.crossplane.io spec: group: pkg.crossplane.io names: categories: - crossplane - pkgrev - kind: FunctionRevision - listKind: FunctionRevisionList - plural: functionrevisions - singular: functionrevision + kind: ProviderRevision + listKind: ProviderRevisionList + plural: providerrevisions + singular: providerrevision scope: Cluster versions: - additionalPrinterColumns: @@ -19609,10 +18375,16 @@ spec: - jsonPath: .metadata.creationTimestamp name: AGE type: date - name: v1beta1 + name: v1 schema: openAPIV3Schema: - description: A FunctionRevision that has been added to Crossplane. + description: |- + A ProviderRevision represents a revision of a Provider. Crossplane + creates new revisions when there are changes to a Provider. + + + Crossplane creates and manages ProviderRevisions. Don't directly edit + ProviderRevisions. properties: apiVersion: description: |- @@ -19632,7 +18404,7 @@ spec: metadata: type: object spec: - description: FunctionRevisionSpec specifies configuration for a FunctionRevision. + description: ProviderRevisionSpec specifies configuration for a ProviderRevision. properties: commonLabels: additionalProperties: @@ -19641,7 +18413,7 @@ spec: 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: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ type: object controllerConfigRef: description: |- @@ -19748,8 +18520,8 @@ spec: - revision type: object status: - description: FunctionRevisionStatus represents the observed state of a - FunctionRevision. + description: PackageRevisionStatus represents the observed state of a + PackageRevision. properties: conditions: description: Conditions of the resource. @@ -19767,6 +18539,13 @@ spec: A Message containing details about this condition's last transition from one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -19790,11 +18569,6 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map - endpoint: - description: |- - Endpoint is the gRPC endpoint where Crossplane will send - RunFunctionRequests. - type: string foundDependencies: description: Dependency information. format: int64 @@ -19885,37 +18659,48 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1beta1 - --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - creationTimestamp: null - name: locks.pkg.crossplane.io + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: providers.pkg.crossplane.io spec: group: pkg.crossplane.io names: - kind: Lock - listKind: LockList - plural: locks - singular: lock + categories: + - crossplane + - pkg + kind: Provider + listKind: ProviderList + plural: providers + singular: provider scope: Cluster versions: - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Installed')].status + name: INSTALLED + type: string + - jsonPath: .status.conditions[?(@.type=='Healthy')].status + name: HEALTHY + type: string + - jsonPath: .spec.package + name: PACKAGE + type: string - jsonPath: .metadata.creationTimestamp name: AGE type: date - name: v1beta1 + name: v1 schema: openAPIV3Schema: - description: Lock is the CRD type that tracks package dependencies. + description: |- + A Provider installs an OCI compatible Crossplane package, extending + Crossplane with support for new kinds of managed resources. + + + Read the Crossplane documentation for + [more information about Providers](https://docs.crossplane.io/latest/concepts/providers). properties: apiVersion: description: |- @@ -19934,77 +18719,189 @@ spec: type: string metadata: type: object - packages: - items: - description: LockPackage is a package that is in the lock. - properties: - dependencies: - description: |- - Dependencies are the list of dependencies of this package. The order of - the dependencies will dictate the order in which they are resolved. - items: - description: A Dependency is a dependency of a package in the - lock. - properties: - constraints: - description: |- - Constraints is a valid semver range, which will be used to select a valid - dependency version. - type: string - package: - description: Package is the OCI image name without a tag or - digest. - type: string - type: - description: Type is the type of package. Can be either Configuration - or Provider. - type: string - required: - - constraints - - package - - type - type: object - type: array - name: - description: Name corresponds to the name of the package revision - for this package. - type: string - source: - description: Source is the OCI image name without a tag or digest. - type: string - type: - description: Type is the type of package. Can be either Configuration - or Provider. - type: string - version: - description: Version is the tag or digest of the OCI image. + spec: + description: |- + ProviderSpec specifies details about a request to install a provider to + Crossplane. + properties: + commonLabels: + additionalProperties: type: string - required: - - dependencies - - name - - source - - type - - version - type: object - type: array + 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 + controllerConfigRef: + description: |- + ControllerConfigRef references a ControllerConfig resource that will be + used to configure the packaged controller Deployment. + Deprecated: Use RuntimeConfigReference instead. + properties: + name: + description: Name of the ControllerConfig. + type: string + required: + - name + type: object + ignoreCrossplaneConstraints: + default: false + description: |- + IgnoreCrossplaneConstraints indicates to the package manager whether to + honor Crossplane version constrains specified by the package. + Default is false. + type: boolean + package: + description: Package is the name of the package that is being requested. + type: string + packagePullPolicy: + default: IfNotPresent + description: |- + PackagePullPolicy defines the pull policy for the package. + Default is IfNotPresent. + type: string + packagePullSecrets: + description: |- + PackagePullSecrets are named secrets in the same namespace that can be used + to fetch packages from private registries. + items: + 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 + TODO: Add other useful fields. apiVersion, kind, uid? + type: string + type: object + x-kubernetes-map-type: atomic + type: array + revisionActivationPolicy: + default: Automatic + description: |- + RevisionActivationPolicy specifies how the package controller should + update from one revision to the next. Options are Automatic or Manual. + Default is Automatic. + type: string + revisionHistoryLimit: + default: 1 + description: |- + RevisionHistoryLimit dictates how the package controller cleans up old + inactive package revisions. + Defaults to 1. Can be disabled by explicitly setting to 0. + format: int64 + type: integer + runtimeConfigRef: + default: + name: default + description: |- + RuntimeConfigRef references a RuntimeConfig resource that will be used + to configure the package runtime. + properties: + apiVersion: + default: pkg.crossplane.io/v1beta1 + description: API version of the referent. + type: string + kind: + default: DeploymentRuntimeConfig + description: Kind of the referent. + type: string + name: + description: Name of the RuntimeConfig. + type: string + required: + - name + type: object + skipDependencyResolution: + default: false + description: |- + SkipDependencyResolution indicates to the package manager whether to skip + resolving dependencies for a package. Setting this value to true may have + unintended consequences. + Default is false. + type: boolean + required: + - package + type: object + status: + description: ProviderStatus represents the observed state of a Provider. + properties: + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + currentIdentifier: + description: |- + CurrentIdentifier is the most recent package source that was used to + produce a revision. The package manager uses this field to determine + whether to check for package updates for a given source when + packagePullPolicy is set to IfNotPresent. Manually removing this field + will cause the package manager to check that the current revision is + correct for the given package source. + type: string + currentRevision: + description: |- + CurrentRevision is the name of the current package revision. It will + reflect the most up to date revision, whether it has been activated or + not. + type: string + type: object type: object served: true storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1beta1 - --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - creationTimestamp: null + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 name: storeconfigs.secrets.crossplane.io spec: group: secrets.crossplane.io @@ -20031,8 +18928,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: A StoreConfig configures how Crossplane controllers should store - connection details. + description: |- + A StoreConfig configures how Crossplane controllers should store connection + details in an external secret store. properties: apiVersion: description: |- @@ -20170,12 +19068,3 @@ spec: served: true storage: true subresources: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: - - v1alpha1 - ---- diff --git a/crossplane/kcl.mod b/crossplane/kcl.mod index be7f6f81..b7cf4802 100644 --- a/crossplane/kcl.mod +++ b/crossplane/kcl.mod @@ -1,6 +1,6 @@ [package] name = "crossplane" -version = "1.15.3" +version = "1.16.0" description = "`crossplane` is the crossplane spec definition" [dependencies] diff --git a/crossplane/v1beta1/meta_pkg_crossplane_io_v1beta1_function.k b/crossplane/meta/v1beta1/meta_pkg_crossplane_io_v1beta1_function.k similarity index 100% rename from crossplane/v1beta1/meta_pkg_crossplane_io_v1beta1_function.k rename to crossplane/meta/v1beta1/meta_pkg_crossplane_io_v1beta1_function.k diff --git a/crossplane/v1/apiextensions_crossplane_io_v1_composite_resource_definition.k b/crossplane/v1/apiextensions_crossplane_io_v1_composite_resource_definition.k index 2633fda3..387d12b9 100644 --- a/crossplane/v1/apiextensions_crossplane_io_v1_composite_resource_definition.k +++ b/crossplane/v1/apiextensions_crossplane_io_v1_composite_resource_definition.k @@ -6,10 +6,13 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema CompositeResourceDefinition: - """ - A CompositeResourceDefinition defines a new kind of composite infrastructure - resource. The new resource is composed of other composite or managed - infrastructure resources. + r""" + A CompositeResourceDefinition defines the schema for a new custom Kubernetes + API. + + + Read the Crossplane documentation for + [more information about CustomResourceDefinitions](https://docs.crossplane.io/latest/concepts/composite-resource-definitions). Attributes ---------- @@ -38,7 +41,7 @@ schema CompositeResourceDefinition: schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpec: - """ + r""" CompositeResourceDefinitionSpec specifies the desired state of the definition. Attributes @@ -108,7 +111,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpec: schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecClaimNames: - """ + r""" ClaimNames specifies the names of an optional composite resource claim. When claim names are specified Crossplane will create a namespaced 'composite resource claim' CRD that corresponds to the defined composite @@ -157,7 +160,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecClaimNames: schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecConversion: - """ + r""" Conversion defines all conversion settings for the defined Composite resource. Attributes @@ -178,7 +181,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecConversion: schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecConversionWebhook: - """ + r""" webhook describes how to call the conversion webhook. Required when `strategy` is set to `"Webhook"`. Attributes @@ -201,7 +204,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecConversionWebho schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecConversionWebhookClientConfig: - """ + r""" clientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Attributes @@ -253,7 +256,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecConversionWebho schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecConversionWebhookClientConfigService: - """ + r""" service is a reference to the service for this webhook. Either service or url must be specified. @@ -287,7 +290,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecConversionWebho schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecDefaultCompositionRef: - """ + r""" DefaultCompositionRef refers to the Composition resource that will be used in case no composition selector is given. @@ -302,7 +305,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecDefaultComposit schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecEnforcedCompositionRef: - """ + r""" EnforcedCompositionRef refers to the Composition resource that will be used by all composite instances whose schema is defined by this definition. @@ -317,7 +320,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecEnforcedComposi schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecMetadata: - """ + r""" Metadata specifies the desired metadata for the defined composite resource and claim CRD's. Attributes @@ -343,7 +346,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecMetadata: schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecNames: - """ + r""" Names specifies the resource and kind names of the defined composite resource. @@ -386,7 +389,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecNames: schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecVersionsItems0: - """ + r""" CompositeResourceDefinitionVersion describes a version of an XR. Attributes @@ -439,7 +442,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecVersionsItems0: schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecVersionsItems0AdditionalPrinterColumnsItems0: - """ + r""" CustomResourceColumnDefinition specifies a column for server side printing. Attributes @@ -479,7 +482,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecVersionsItems0A schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecVersionsItems0Schema: - """ + r""" Schema describes the schema used for validation, pruning, and defaulting of this version of the defined composite resource. Fields required by all composite resources will be injected into this schema automatically, and @@ -499,7 +502,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionSpecVersionsItems0S schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatus: - """ + r""" CompositeResourceDefinitionStatus shows the observed state of the definition. Attributes @@ -517,7 +520,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatus: schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatusConditionsItems0: - """ + r""" A Condition that may apply to a resource. Attributes @@ -528,6 +531,10 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatusConditionsIte message : str, default is Undefined, optional A Message containing details about this condition's last transition from one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. reason : str, default is Undefined, required A Reason for this condition's last transition from one status to another. status : str, default is Undefined, required @@ -542,6 +549,8 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatusConditionsIte message?: str + observedGeneration?: int + reason: str status: str @@ -550,7 +559,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatusConditionsIte schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatusControllers: - """ + r""" Controllers represents the status of the controllers that power this composite resource definition. @@ -569,7 +578,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatusControllers: schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatusControllersCompositeResourceClaimType: - """ + r""" The CompositeResourceClaimTypeRef is the type of composite resource claim that Crossplane is currently reconciling for this definition. Its version will eventually become consistent with the definition's referenceable @@ -591,7 +600,7 @@ schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatusControllersCo schema ApiextensionsCrossplaneIoV1CompositeResourceDefinitionStatusControllersCompositeResourceType: - """ + r""" The CompositeResourceTypeRef is the type of composite resource that Crossplane is currently reconciling for this definition. Its version will eventually become consistent with the definition's referenceable version. diff --git a/crossplane/v1/apiextensions_crossplane_io_v1_composition.k b/crossplane/v1/apiextensions_crossplane_io_v1_composition.k index e69310ab..97021e50 100644 --- a/crossplane/v1/apiextensions_crossplane_io_v1_composition.k +++ b/crossplane/v1/apiextensions_crossplane_io_v1_composition.k @@ -6,8 +6,13 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema Composition: - """ - A Composition specifies how a composite resource should be composed. + r""" + A Composition defines a collection of managed resources or functions that + Crossplane uses to create and manage new composite resources. + + + Read the Crossplane documentation for + [more information about Compositions](https://docs.crossplane.io/latest/concepts/compositions). Attributes ---------- @@ -32,7 +37,7 @@ schema Composition: schema ApiextensionsCrossplaneIoV1CompositionSpec: - """ + r""" CompositionSpec specifies desired state of a composition. Attributes @@ -115,7 +120,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpec: schema ApiextensionsCrossplaneIoV1CompositionSpecCompositeTypeRef: - """ + r""" CompositeTypeRef specifies the type of composite resource that this composition is compatible with. @@ -134,7 +139,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecCompositeTypeRef: schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironment: - """ + r""" Environment configures the environment in which resources are rendered. @@ -181,7 +186,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironment: schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentEnvironmentConfigsItems0: - """ + r""" EnvironmentSource selects a EnvironmentConfig resource. Attributes @@ -204,7 +209,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentEnvironmentConfigsIt schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentEnvironmentConfigsItems0Ref: - """ + r""" Ref is a named reference to a single EnvironmentConfig. Either Ref or Selector is required. @@ -219,7 +224,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentEnvironmentConfigsIt schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentEnvironmentConfigsItems0Selector: - """ + r""" Selector selects EnvironmentConfig(s) via labels. Attributes @@ -249,7 +254,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentEnvironmentConfigsIt schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentEnvironmentConfigsItems0SelectorMatchLabelsItems0: - """ + r""" An EnvironmentSourceSelectorLabelMatcher acts like a k8s label selector but can draw the label value from a different path. @@ -286,7 +291,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentEnvironmentConfigsIt schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0: - """ + r""" EnvironmentPatch is a patch for a Composition environment. Attributes @@ -326,7 +331,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0: schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Combine: - """ + r""" Combine is the patch configuration for a CombineFromComposite or CombineToComposite patch. @@ -355,7 +360,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Combine schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0CombineString: - """ + r""" String declares that input variables should be combined into a single string, using the relevant settings for formatting purposes. @@ -371,7 +376,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Combine schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0CombineVariablesItems0: - """ + r""" A CombineVariable defines the source of a value that is combined with others to form and patch an output value. Currently, this only supports retrieving values from a field path. @@ -388,7 +393,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Combine schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Policy: - """ + r""" Policy configures the specifics of patching behaviour. Attributes @@ -409,8 +414,8 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Policy: schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0PolicyMergeOptions: - """ - MergeOptions Specifies merge options on a field path + r""" + MergeOptions Specifies merge options on a field path. Attributes ---------- @@ -427,7 +432,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0PolicyM schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0TransformsItems0: - """ + r""" Transform is a unit of process whose input is transformed into an output with the supplied configuration. @@ -462,7 +467,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Transfo schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0TransformsItems0Convert: - """ + r""" Convert is used to cast the input into the given output type. Attributes @@ -489,7 +494,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Transfo schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0TransformsItems0Match: - """ + r""" Match is a more complex version of Map that matches a list of patterns. Attributes @@ -514,7 +519,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Transfo schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0TransformsItems0MatchPatternsItems0: - """ + r""" MatchTransformPattern is a transform that returns the value that matches a pattern. @@ -552,7 +557,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Transfo schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0TransformsItems0Math: - """ + r""" Math is used to transform the input via mathematical operations such as multiplication. @@ -579,7 +584,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Transfo schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0TransformsItems0String: - """ + r""" String is used to transform the input into a string or a different kind of string. Note that the input does not necessarily need to be a string. @@ -621,7 +626,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Transfo schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0TransformsItems0StringJoin: - """ + r""" Join defines parameters to join a slice of values to a string. Attributes @@ -636,7 +641,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Transfo schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0TransformsItems0StringRegexp: - """ + r""" Extract a match from the input using a regular expression. Attributes @@ -655,7 +660,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPatchesItems0Transfo schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPolicy: - """ + r""" Policy represents the Resolve and Resolution policies which apply to all EnvironmentSourceReferences in EnvironmentConfigs list. @@ -680,7 +685,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecEnvironmentPolicy: schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0: - """ + r""" A PatchSet is a set of patches that can be reused from all resources within a Composition. @@ -699,7 +704,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0: schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0: - """ + r""" Patch objects are applied between composite and composed resources. Their behaviour depends on the Type selected. The default Type, FromCompositeFieldPath, copies a value from the composite resource to @@ -746,7 +751,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0: schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Combine: - """ + r""" Combine is the patch configuration for a CombineFromComposite, CombineFromEnvironment, CombineToComposite or CombineToEnvironment patch. @@ -775,7 +780,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Com schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0CombineString: - """ + r""" String declares that input variables should be combined into a single string, using the relevant settings for formatting purposes. @@ -791,7 +796,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Com schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0CombineVariablesItems0: - """ + r""" A CombineVariable defines the source of a value that is combined with others to form and patch an output value. Currently, this only supports retrieving values from a field path. @@ -808,7 +813,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Com schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Policy: - """ + r""" Policy configures the specifics of patching behaviour. Attributes @@ -829,8 +834,8 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Pol schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0PolicyMergeOptions: - """ - MergeOptions Specifies merge options on a field path + r""" + MergeOptions Specifies merge options on a field path. Attributes ---------- @@ -847,7 +852,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Pol schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0TransformsItems0: - """ + r""" Transform is a unit of process whose input is transformed into an output with the supplied configuration. @@ -882,7 +887,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0TransformsItems0Convert: - """ + r""" Convert is used to cast the input into the given output type. Attributes @@ -909,7 +914,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0TransformsItems0Match: - """ + r""" Match is a more complex version of Map that matches a list of patterns. Attributes @@ -934,7 +939,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0TransformsItems0MatchPatternsItems0: - """ + r""" MatchTransformPattern is a transform that returns the value that matches a pattern. @@ -972,7 +977,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0TransformsItems0Math: - """ + r""" Math is used to transform the input via mathematical operations such as multiplication. @@ -999,7 +1004,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0TransformsItems0String: - """ + r""" String is used to transform the input into a string or a different kind of string. Note that the input does not necessarily need to be a string. @@ -1041,7 +1046,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0TransformsItems0StringJoin: - """ + r""" Join defines parameters to join a slice of values to a string. Attributes @@ -1056,7 +1061,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0TransformsItems0StringRegexp: - """ + r""" Extract a match from the input using a regular expression. Attributes @@ -1075,11 +1080,13 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPatchSetsItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0: - """ + r""" A PipelineStep in a Composition Function pipeline. Attributes ---------- + credentials : [ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0CredentialsItems0], default is Undefined, optional + Credentials are optional credentials that the Composition Function needs. functionRef : ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0FunctionRef, default is Undefined, required function ref input : any, default is Undefined, optional @@ -1091,6 +1098,8 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0: """ + credentials?: [ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0CredentialsItems0] + functionRef: ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0FunctionRef input?: any @@ -1098,8 +1107,50 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0: step: str -schema ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0FunctionRef: +schema ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0CredentialsItems0: + r""" + FunctionCredentials are optional credentials that a Composition Function + needs to run. + + Attributes + ---------- + name : str, default is Undefined, required + Name of this set of credentials. + secretRef : ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0CredentialsItems0SecretRef, default is Undefined, optional + secret ref + source : str, default is Undefined, required + Source of the function credentials. """ + + + name: str + + secretRef?: ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0CredentialsItems0SecretRef + + source: "None" | "Secret" + + +schema ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0CredentialsItems0SecretRef: + r""" + A SecretRef is a reference to a secret containing credentials that should + be supplied to the function. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0FunctionRef: + r""" FunctionRef is a reference to the Composition Function this step should execute. @@ -1114,7 +1165,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPipelineItems0FunctionRef: schema ApiextensionsCrossplaneIoV1CompositionSpecPublishConnectionDetailsWithStoreConfigRef: - """ + r""" PublishConnectionDetailsWithStoreConfig specifies the secret store config with which the connection details of composite resources dynamically provisioned using this composition will be published. @@ -1135,7 +1186,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecPublishConnectionDetailsWithSto schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0: - """ + r""" ComposedTemplate is used to provide information about how the composed resource should be processed. @@ -1170,11 +1221,11 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0: patches?: [ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0] - readinessChecks?: [ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0ReadinessChecksItems0] = [{"matchCondition": {"type": "Ready", "status": "True"}, "type": "MatchCondition"}] + readinessChecks?: [ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0ReadinessChecksItems0] = [{"matchCondition": {"status": "True", "type": "Ready"}, "type": "MatchCondition"}] schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0ConnectionDetailsItems0: - """ + r""" ConnectionDetail includes the information about the propagation of the connection information from one secret to another. @@ -1219,7 +1270,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0ConnectionDetail schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0: - """ + r""" Patch objects are applied between composite and composed resources. Their behaviour depends on the Type selected. The default Type, FromCompositeFieldPath, copies a value from the composite resource to @@ -1266,7 +1317,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0: schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Combine: - """ + r""" Combine is the patch configuration for a CombineFromComposite, CombineFromEnvironment, CombineToComposite or CombineToEnvironment patch. @@ -1295,7 +1346,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Com schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0CombineString: - """ + r""" String declares that input variables should be combined into a single string, using the relevant settings for formatting purposes. @@ -1311,7 +1362,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Com schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0CombineVariablesItems0: - """ + r""" A CombineVariable defines the source of a value that is combined with others to form and patch an output value. Currently, this only supports retrieving values from a field path. @@ -1328,7 +1379,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Com schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Policy: - """ + r""" Policy configures the specifics of patching behaviour. Attributes @@ -1349,8 +1400,8 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Pol schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0PolicyMergeOptions: - """ - MergeOptions Specifies merge options on a field path + r""" + MergeOptions Specifies merge options on a field path. Attributes ---------- @@ -1367,7 +1418,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Pol schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0TransformsItems0: - """ + r""" Transform is a unit of process whose input is transformed into an output with the supplied configuration. @@ -1402,7 +1453,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0TransformsItems0Convert: - """ + r""" Convert is used to cast the input into the given output type. Attributes @@ -1429,7 +1480,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0TransformsItems0Match: - """ + r""" Match is a more complex version of Map that matches a list of patterns. Attributes @@ -1454,7 +1505,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0TransformsItems0MatchPatternsItems0: - """ + r""" MatchTransformPattern is a transform that returns the value that matches a pattern. @@ -1492,7 +1543,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0TransformsItems0Math: - """ + r""" Math is used to transform the input via mathematical operations such as multiplication. @@ -1519,7 +1570,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0TransformsItems0String: - """ + r""" String is used to transform the input into a string or a different kind of string. Note that the input does not necessarily need to be a string. @@ -1561,7 +1612,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0TransformsItems0StringJoin: - """ + r""" Join defines parameters to join a slice of values to a string. Attributes @@ -1576,7 +1627,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0TransformsItems0StringRegexp: - """ + r""" Extract a match from the input using a regular expression. Attributes @@ -1595,9 +1646,9 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0PatchesItems0Tra schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0ReadinessChecksItems0: - """ + r""" ReadinessCheck is used to indicate how to tell whether a resource is ready - for consumption + for consumption. Attributes ---------- @@ -1626,7 +1677,7 @@ schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0ReadinessChecksI schema ApiextensionsCrossplaneIoV1CompositionSpecResourcesItems0ReadinessChecksItems0MatchCondition: - """ + r""" MatchCondition specifies the condition you'd like to match if you're using "MatchCondition" type. Attributes diff --git a/crossplane/v1/apiextensions_crossplane_io_v1_composition_revision.k b/crossplane/v1/apiextensions_crossplane_io_v1_composition_revision.k index 41111745..e90119ca 100644 --- a/crossplane/v1/apiextensions_crossplane_io_v1_composition_revision.k +++ b/crossplane/v1/apiextensions_crossplane_io_v1_composition_revision.k @@ -6,9 +6,13 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema CompositionRevision: - """ - A CompositionRevision represents a revision in time of a Composition. - Revisions are created by Crossplane; they should be treated as immutable. + r""" + A CompositionRevision represents a revision of a Composition. Crossplane + creates new revisions when there are changes to the Composition. + + + Crossplane creates and manages CompositionRevisions. Don't directly edit + CompositionRevisions. Attributes ---------- @@ -37,7 +41,7 @@ schema CompositionRevision: schema ApiextensionsCrossplaneIoV1CompositionRevisionSpec: - """ + r""" CompositionRevisionSpec specifies the desired state of the composition revision. @@ -125,7 +129,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpec: schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecCompositeTypeRef: - """ + r""" CompositeTypeRef specifies the type of composite resource that this composition is compatible with. @@ -144,7 +148,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecCompositeTypeRef: schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironment: - """ + r""" Environment configures the environment in which resources are rendered. @@ -191,7 +195,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironment: schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentEnvironmentConfigsItems0: - """ + r""" EnvironmentSource selects a EnvironmentConfig resource. Attributes @@ -214,7 +218,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentEnvironmentC schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentEnvironmentConfigsItems0Ref: - """ + r""" Ref is a named reference to a single EnvironmentConfig. Either Ref or Selector is required. @@ -229,7 +233,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentEnvironmentC schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentEnvironmentConfigsItems0Selector: - """ + r""" Selector selects EnvironmentConfig(s) via labels. Attributes @@ -259,7 +263,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentEnvironmentC schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentEnvironmentConfigsItems0SelectorMatchLabelsItems0: - """ + r""" An EnvironmentSourceSelectorLabelMatcher acts like a k8s label selector but can draw the label value from a different path. @@ -296,7 +300,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentEnvironmentC schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0: - """ + r""" EnvironmentPatch is a patch for a Composition environment. Attributes @@ -336,7 +340,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0Combine: - """ + r""" Combine is the patch configuration for a CombineFromComposite or CombineToComposite patch. @@ -365,7 +369,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0CombineString: - """ + r""" String declares that input variables should be combined into a single string, using the relevant settings for formatting purposes. @@ -381,7 +385,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0CombineVariablesItems0: - """ + r""" A CombineVariable defines the source of a value that is combined with others to form and patch an output value. Currently, this only supports retrieving values from a field path. @@ -398,7 +402,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0Policy: - """ + r""" Policy configures the specifics of patching behaviour. Attributes @@ -419,8 +423,8 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0PolicyMergeOptions: - """ - MergeOptions Specifies merge options on a field path + r""" + MergeOptions Specifies merge options on a field path. Attributes ---------- @@ -437,7 +441,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0TransformsItems0: - """ + r""" Transform is a unit of process whose input is transformed into an output with the supplied configuration. @@ -472,7 +476,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0TransformsItems0Convert: - """ + r""" Convert is used to cast the input into the given output type. Attributes @@ -499,7 +503,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0TransformsItems0Match: - """ + r""" Match is a more complex version of Map that matches a list of patterns. Attributes @@ -524,7 +528,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0TransformsItems0MatchPatternsItems0: - """ + r""" MatchTransformPattern is a transform that returns the value that matches a pattern. @@ -562,7 +566,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0TransformsItems0Math: - """ + r""" Math is used to transform the input via mathematical operations such as multiplication. @@ -589,7 +593,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0TransformsItems0String: - """ + r""" String is used to transform the input into a string or a different kind of string. Note that the input does not necessarily need to be a string. @@ -631,7 +635,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0TransformsItems0StringJoin: - """ + r""" Join defines parameters to join a slice of values to a string. Attributes @@ -646,7 +650,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems0TransformsItems0StringRegexp: - """ + r""" Extract a match from the input using a regular expression. Attributes @@ -665,7 +669,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPatchesItems schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPolicy: - """ + r""" Policy represents the Resolve and Resolution policies which apply to all EnvironmentSourceReferences in EnvironmentConfigs list. @@ -690,7 +694,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecEnvironmentPolicy: schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0: - """ + r""" A PatchSet is a set of patches that can be reused from all resources within a Composition. @@ -709,7 +713,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0: schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0: - """ + r""" Patch objects are applied between composite and composed resources. Their behaviour depends on the Type selected. The default Type, FromCompositeFieldPath, copies a value from the composite resource to @@ -756,7 +760,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0Combine: - """ + r""" Combine is the patch configuration for a CombineFromComposite, CombineFromEnvironment, CombineToComposite or CombineToEnvironment patch. @@ -785,7 +789,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0CombineString: - """ + r""" String declares that input variables should be combined into a single string, using the relevant settings for formatting purposes. @@ -801,7 +805,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0CombineVariablesItems0: - """ + r""" A CombineVariable defines the source of a value that is combined with others to form and patch an output value. Currently, this only supports retrieving values from a field path. @@ -818,7 +822,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0Policy: - """ + r""" Policy configures the specifics of patching behaviour. Attributes @@ -839,8 +843,8 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0PolicyMergeOptions: - """ - MergeOptions Specifies merge options on a field path + r""" + MergeOptions Specifies merge options on a field path. Attributes ---------- @@ -857,7 +861,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0TransformsItems0: - """ + r""" Transform is a unit of process whose input is transformed into an output with the supplied configuration. @@ -892,7 +896,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0TransformsItems0Convert: - """ + r""" Convert is used to cast the input into the given output type. Attributes @@ -919,7 +923,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0TransformsItems0Match: - """ + r""" Match is a more complex version of Map that matches a list of patterns. Attributes @@ -944,7 +948,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0TransformsItems0MatchPatternsItems0: - """ + r""" MatchTransformPattern is a transform that returns the value that matches a pattern. @@ -982,7 +986,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0TransformsItems0Math: - """ + r""" Math is used to transform the input via mathematical operations such as multiplication. @@ -1009,7 +1013,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0TransformsItems0String: - """ + r""" String is used to transform the input into a string or a different kind of string. Note that the input does not necessarily need to be a string. @@ -1051,7 +1055,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0TransformsItems0StringJoin: - """ + r""" Join defines parameters to join a slice of values to a string. Attributes @@ -1066,7 +1070,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesItems0TransformsItems0StringRegexp: - """ + r""" Extract a match from the input using a regular expression. Attributes @@ -1085,11 +1089,13 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPatchSetsItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0: - """ + r""" A PipelineStep in a Composition Function pipeline. Attributes ---------- + credentials : [ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0CredentialsItems0], default is Undefined, optional + Credentials are optional credentials that the Composition Function needs. functionRef : ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0FunctionRef, default is Undefined, required function ref input : any, default is Undefined, optional @@ -1101,6 +1107,8 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0: """ + credentials?: [ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0CredentialsItems0] + functionRef: ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0FunctionRef input?: any @@ -1108,8 +1116,50 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0: step: str -schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0FunctionRef: +schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0CredentialsItems0: + r""" + FunctionCredentials are optional credentials that a Composition Function + needs to run. + + Attributes + ---------- + name : str, default is Undefined, required + Name of this set of credentials. + secretRef : ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0CredentialsItems0SecretRef, default is Undefined, optional + secret ref + source : str, default is Undefined, required + Source of the function credentials. + """ + + + name: str + + secretRef?: ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0CredentialsItems0SecretRef + + source: "None" | "Secret" + + +schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0CredentialsItems0SecretRef: + r""" + A SecretRef is a reference to a secret containing credentials that should + be supplied to the function. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. """ + + + name: str + + namespace: str + + +schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0FunctionRef: + r""" FunctionRef is a reference to the Composition Function this step should execute. @@ -1124,7 +1174,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPipelineItems0FunctionR schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPublishConnectionDetailsWithStoreConfigRef: - """ + r""" PublishConnectionDetailsWithStoreConfig specifies the secret store config with which the connection details of composite resources dynamically provisioned using this composition will be published. @@ -1145,7 +1195,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecPublishConnectionDetail schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0: - """ + r""" ComposedTemplate is used to provide information about how the composed resource should be processed. @@ -1165,7 +1215,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0: Either all or no entries must be named. patches : [ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0], default is Undefined, optional Patches will be applied as overlay to the base resource. - readinessChecks : [ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0ReadinessChecksItems0], default is [{"type": "MatchCondition", "matchCondition": {"type": "Ready", "status": "True"}}], optional + readinessChecks : [ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0ReadinessChecksItems0], default is [{"matchCondition": {"status": "True", "type": "Ready"}, "type": "MatchCondition"}], optional ReadinessChecks allows users to define custom readiness checks. All checks have to return true in order for resource to be considered ready. The default readiness check is to have the "Ready" condition to be "True". @@ -1184,7 +1234,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0: schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0ConnectionDetailsItems0: - """ + r""" ConnectionDetail includes the information about the propagation of the connection information from one secret to another. @@ -1229,7 +1279,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0Connecti schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0: - """ + r""" Patch objects are applied between composite and composed resources. Their behaviour depends on the Type selected. The default Type, FromCompositeFieldPath, copies a value from the composite resource to @@ -1276,7 +1326,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0Combine: - """ + r""" Combine is the patch configuration for a CombineFromComposite, CombineFromEnvironment, CombineToComposite or CombineToEnvironment patch. @@ -1305,7 +1355,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0CombineString: - """ + r""" String declares that input variables should be combined into a single string, using the relevant settings for formatting purposes. @@ -1321,7 +1371,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0CombineVariablesItems0: - """ + r""" A CombineVariable defines the source of a value that is combined with others to form and patch an output value. Currently, this only supports retrieving values from a field path. @@ -1338,7 +1388,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0Policy: - """ + r""" Policy configures the specifics of patching behaviour. Attributes @@ -1359,8 +1409,8 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0PolicyMergeOptions: - """ - MergeOptions Specifies merge options on a field path + r""" + MergeOptions Specifies merge options on a field path. Attributes ---------- @@ -1377,7 +1427,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0TransformsItems0: - """ + r""" Transform is a unit of process whose input is transformed into an output with the supplied configuration. @@ -1412,7 +1462,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0TransformsItems0Convert: - """ + r""" Convert is used to cast the input into the given output type. Attributes @@ -1439,7 +1489,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0TransformsItems0Match: - """ + r""" Match is a more complex version of Map that matches a list of patterns. Attributes @@ -1464,7 +1514,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0TransformsItems0MatchPatternsItems0: - """ + r""" MatchTransformPattern is a transform that returns the value that matches a pattern. @@ -1502,7 +1552,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0TransformsItems0Math: - """ + r""" Math is used to transform the input via mathematical operations such as multiplication. @@ -1529,7 +1579,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0TransformsItems0String: - """ + r""" String is used to transform the input into a string or a different kind of string. Note that the input does not necessarily need to be a string. @@ -1571,7 +1621,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0TransformsItems0StringJoin: - """ + r""" Join defines parameters to join a slice of values to a string. Attributes @@ -1586,7 +1636,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesItems0TransformsItems0StringRegexp: - """ + r""" Extract a match from the input using a regular expression. Attributes @@ -1605,9 +1655,9 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0PatchesI schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0ReadinessChecksItems0: - """ + r""" ReadinessCheck is used to indicate how to tell whether a resource is ready - for consumption + for consumption. Attributes ---------- @@ -1636,7 +1686,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0Readines schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0ReadinessChecksItems0MatchCondition: - """ + r""" MatchCondition specifies the condition you'd like to match if you're using "MatchCondition" type. Attributes @@ -1654,7 +1704,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionSpecResourcesItems0Readines schema ApiextensionsCrossplaneIoV1CompositionRevisionStatus: - """ + r""" CompositionRevisionStatus shows the observed state of the composition revision. @@ -1669,7 +1719,7 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionStatus: schema ApiextensionsCrossplaneIoV1CompositionRevisionStatusConditionsItems0: - """ + r""" A Condition that may apply to a resource. Attributes @@ -1680,6 +1730,10 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionStatusConditionsItems0: message : str, default is Undefined, optional A Message containing details about this condition's last transition from one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. reason : str, default is Undefined, required A Reason for this condition's last transition from one status to another. status : str, default is Undefined, required @@ -1694,6 +1748,8 @@ schema ApiextensionsCrossplaneIoV1CompositionRevisionStatusConditionsItems0: message?: str + observedGeneration?: int + reason: str status: str diff --git a/crossplane/v1/pkg_crossplane_io_v1_configuration.k b/crossplane/v1/pkg_crossplane_io_v1_configuration.k index d5d0f08b..3698db49 100644 --- a/crossplane/v1/pkg_crossplane_io_v1_configuration.k +++ b/crossplane/v1/pkg_crossplane_io_v1_configuration.k @@ -6,8 +6,14 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema Configuration: - """ - Configuration is the CRD type for a request to add a configuration to Crossplane. + r""" + A Configuration installs an OCI compatible Crossplane package, extending + Crossplane with support for new kinds of CompositeResourceDefinitions and + Compositions. + + + Read the Crossplane documentation for + [more information about Configuration packages](https://docs.crossplane.io/latest/concepts/packages). Attributes ---------- @@ -36,7 +42,7 @@ schema Configuration: schema PkgCrossplaneIoV1ConfigurationSpec: - """ + r""" ConfigurationSpec specifies details about a request to install a configuration to Crossplane. @@ -46,7 +52,7 @@ schema PkgCrossplaneIoV1ConfigurationSpec: 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: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ ignoreCrossplaneConstraints : bool, default is Undefined, optional IgnoreCrossplaneConstraints indicates to the package manager whether to honor Crossplane version constrains specified by the package. @@ -93,7 +99,7 @@ schema PkgCrossplaneIoV1ConfigurationSpec: schema PkgCrossplaneIoV1ConfigurationSpecPackagePullSecretsItems0: - """ + r""" LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -110,7 +116,7 @@ schema PkgCrossplaneIoV1ConfigurationSpecPackagePullSecretsItems0: schema PkgCrossplaneIoV1ConfigurationStatus: - """ + r""" ConfigurationStatus represents the observed state of a Configuration. Attributes @@ -139,7 +145,7 @@ schema PkgCrossplaneIoV1ConfigurationStatus: schema PkgCrossplaneIoV1ConfigurationStatusConditionsItems0: - """ + r""" A Condition that may apply to a resource. Attributes @@ -150,6 +156,10 @@ schema PkgCrossplaneIoV1ConfigurationStatusConditionsItems0: message : str, default is Undefined, optional A Message containing details about this condition's last transition from one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. reason : str, default is Undefined, required A Reason for this condition's last transition from one status to another. status : str, default is Undefined, required @@ -164,6 +174,8 @@ schema PkgCrossplaneIoV1ConfigurationStatusConditionsItems0: message?: str + observedGeneration?: int + reason: str status: str diff --git a/crossplane/v1/pkg_crossplane_io_v1_configuration_revision.k b/crossplane/v1/pkg_crossplane_io_v1_configuration_revision.k index d55586f8..bd900f3d 100644 --- a/crossplane/v1/pkg_crossplane_io_v1_configuration_revision.k +++ b/crossplane/v1/pkg_crossplane_io_v1_configuration_revision.k @@ -6,8 +6,13 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema ConfigurationRevision: - """ - A ConfigurationRevision that has been added to Crossplane. + r""" + A ConfigurationRevision represents a revision of a Configuration. Crossplane + creates new revisions when there are changes to a Configuration. + + + Crossplane creates and manages ConfigurationRevision. Don't directly edit + ConfigurationRevisions. Attributes ---------- @@ -36,7 +41,7 @@ schema ConfigurationRevision: schema PkgCrossplaneIoV1ConfigurationRevisionSpec: - """ + r""" PackageRevisionSpec specifies the desired state of a PackageRevision. Attributes @@ -45,7 +50,7 @@ schema PkgCrossplaneIoV1ConfigurationRevisionSpec: 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: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ desiredState : str, default is Undefined, required DesiredState of the PackageRevision. Can be either Active or Inactive. ignoreCrossplaneConstraints : bool, default is Undefined, optional @@ -92,7 +97,7 @@ schema PkgCrossplaneIoV1ConfigurationRevisionSpec: schema PkgCrossplaneIoV1ConfigurationRevisionSpecPackagePullSecretsItems0: - """ + r""" LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -109,7 +114,7 @@ schema PkgCrossplaneIoV1ConfigurationRevisionSpecPackagePullSecretsItems0: schema PkgCrossplaneIoV1ConfigurationRevisionStatus: - """ + r""" PackageRevisionStatus represents the observed state of a PackageRevision. Attributes @@ -145,7 +150,7 @@ schema PkgCrossplaneIoV1ConfigurationRevisionStatus: schema PkgCrossplaneIoV1ConfigurationRevisionStatusConditionsItems0: - """ + r""" A Condition that may apply to a resource. Attributes @@ -156,6 +161,10 @@ schema PkgCrossplaneIoV1ConfigurationRevisionStatusConditionsItems0: message : str, default is Undefined, optional A Message containing details about this condition's last transition from one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. reason : str, default is Undefined, required A Reason for this condition's last transition from one status to another. status : str, default is Undefined, required @@ -170,6 +179,8 @@ schema PkgCrossplaneIoV1ConfigurationRevisionStatusConditionsItems0: message?: str + observedGeneration?: int + reason: str status: str @@ -178,7 +189,7 @@ schema PkgCrossplaneIoV1ConfigurationRevisionStatusConditionsItems0: schema PkgCrossplaneIoV1ConfigurationRevisionStatusObjectRefsItems0: - """ + r""" A TypedReference refers to an object by Name, Kind, and APIVersion. It is commonly used to reference cluster-scoped objects or objects where the namespace is already known. @@ -206,7 +217,7 @@ schema PkgCrossplaneIoV1ConfigurationRevisionStatusObjectRefsItems0: schema PkgCrossplaneIoV1ConfigurationRevisionStatusPermissionRequestsItems0: - """ + r""" PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. diff --git a/crossplane/v1/pkg_crossplane_io_v1_provider.k b/crossplane/v1/pkg_crossplane_io_v1_provider.k index 4a6a0cde..ba10f106 100644 --- a/crossplane/v1/pkg_crossplane_io_v1_provider.k +++ b/crossplane/v1/pkg_crossplane_io_v1_provider.k @@ -6,8 +6,13 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema Provider: - """ - Provider is the CRD type for a request to add a provider to Crossplane. + r""" + A Provider installs an OCI compatible Crossplane package, extending + Crossplane with support for new kinds of managed resources. + + + Read the Crossplane documentation for + [more information about Providers](https://docs.crossplane.io/latest/concepts/providers). Attributes ---------- @@ -36,7 +41,7 @@ schema Provider: schema PkgCrossplaneIoV1ProviderSpec: - """ + r""" ProviderSpec specifies details about a request to install a provider to Crossplane. @@ -46,7 +51,7 @@ schema PkgCrossplaneIoV1ProviderSpec: 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: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ controllerConfigRef : PkgCrossplaneIoV1ProviderSpecControllerConfigRef, default is Undefined, optional controller config ref ignoreCrossplaneConstraints : bool, default is Undefined, optional @@ -101,7 +106,7 @@ schema PkgCrossplaneIoV1ProviderSpec: schema PkgCrossplaneIoV1ProviderSpecControllerConfigRef: - """ + r""" ControllerConfigRef references a ControllerConfig resource that will be used to configure the packaged controller Deployment. Deprecated: Use RuntimeConfigReference instead. @@ -117,7 +122,7 @@ schema PkgCrossplaneIoV1ProviderSpecControllerConfigRef: schema PkgCrossplaneIoV1ProviderSpecPackagePullSecretsItems0: - """ + r""" LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -134,7 +139,7 @@ schema PkgCrossplaneIoV1ProviderSpecPackagePullSecretsItems0: schema PkgCrossplaneIoV1ProviderSpecRuntimeConfigRef: - """ + r""" RuntimeConfigRef references a RuntimeConfig resource that will be used to configure the package runtime. @@ -157,7 +162,7 @@ schema PkgCrossplaneIoV1ProviderSpecRuntimeConfigRef: schema PkgCrossplaneIoV1ProviderStatus: - """ + r""" ProviderStatus represents the observed state of a Provider. Attributes @@ -186,7 +191,7 @@ schema PkgCrossplaneIoV1ProviderStatus: schema PkgCrossplaneIoV1ProviderStatusConditionsItems0: - """ + r""" A Condition that may apply to a resource. Attributes @@ -197,6 +202,10 @@ schema PkgCrossplaneIoV1ProviderStatusConditionsItems0: message : str, default is Undefined, optional A Message containing details about this condition's last transition from one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. reason : str, default is Undefined, required A Reason for this condition's last transition from one status to another. status : str, default is Undefined, required @@ -211,6 +220,8 @@ schema PkgCrossplaneIoV1ProviderStatusConditionsItems0: message?: str + observedGeneration?: int + reason: str status: str diff --git a/crossplane/v1/pkg_crossplane_io_v1_provider_revision.k b/crossplane/v1/pkg_crossplane_io_v1_provider_revision.k index 81df1b53..85b13368 100644 --- a/crossplane/v1/pkg_crossplane_io_v1_provider_revision.k +++ b/crossplane/v1/pkg_crossplane_io_v1_provider_revision.k @@ -6,8 +6,13 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema ProviderRevision: - """ - A ProviderRevision that has been added to Crossplane. + r""" + A ProviderRevision represents a revision of a Provider. Crossplane + creates new revisions when there are changes to a Provider. + + + Crossplane creates and manages ProviderRevisions. Don't directly edit + ProviderRevisions. Attributes ---------- @@ -36,7 +41,7 @@ schema ProviderRevision: schema PkgCrossplaneIoV1ProviderRevisionSpec: - """ + r""" ProviderRevisionSpec specifies configuration for a ProviderRevision. Attributes @@ -45,7 +50,7 @@ schema PkgCrossplaneIoV1ProviderRevisionSpec: 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: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ controllerConfigRef : PkgCrossplaneIoV1ProviderRevisionSpecControllerConfigRef, default is Undefined, optional controller config ref desiredState : str, default is Undefined, required @@ -110,7 +115,7 @@ schema PkgCrossplaneIoV1ProviderRevisionSpec: schema PkgCrossplaneIoV1ProviderRevisionSpecControllerConfigRef: - """ + r""" ControllerConfigRef references a ControllerConfig resource that will be used to configure the packaged controller Deployment. Deprecated: Use RuntimeConfigReference instead. @@ -126,7 +131,7 @@ schema PkgCrossplaneIoV1ProviderRevisionSpecControllerConfigRef: schema PkgCrossplaneIoV1ProviderRevisionSpecPackagePullSecretsItems0: - """ + r""" LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -143,7 +148,7 @@ schema PkgCrossplaneIoV1ProviderRevisionSpecPackagePullSecretsItems0: schema PkgCrossplaneIoV1ProviderRevisionSpecRuntimeConfigRef: - """ + r""" RuntimeConfigRef references a RuntimeConfig resource that will be used to configure the package runtime. @@ -166,7 +171,7 @@ schema PkgCrossplaneIoV1ProviderRevisionSpecRuntimeConfigRef: schema PkgCrossplaneIoV1ProviderRevisionStatus: - """ + r""" PackageRevisionStatus represents the observed state of a PackageRevision. Attributes @@ -202,7 +207,7 @@ schema PkgCrossplaneIoV1ProviderRevisionStatus: schema PkgCrossplaneIoV1ProviderRevisionStatusConditionsItems0: - """ + r""" A Condition that may apply to a resource. Attributes @@ -213,6 +218,10 @@ schema PkgCrossplaneIoV1ProviderRevisionStatusConditionsItems0: message : str, default is Undefined, optional A Message containing details about this condition's last transition from one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. reason : str, default is Undefined, required A Reason for this condition's last transition from one status to another. status : str, default is Undefined, required @@ -227,6 +236,8 @@ schema PkgCrossplaneIoV1ProviderRevisionStatusConditionsItems0: message?: str + observedGeneration?: int + reason: str status: str @@ -235,7 +246,7 @@ schema PkgCrossplaneIoV1ProviderRevisionStatusConditionsItems0: schema PkgCrossplaneIoV1ProviderRevisionStatusObjectRefsItems0: - """ + r""" A TypedReference refers to an object by Name, Kind, and APIVersion. It is commonly used to reference cluster-scoped objects or objects where the namespace is already known. @@ -263,7 +274,7 @@ schema PkgCrossplaneIoV1ProviderRevisionStatusObjectRefsItems0: schema PkgCrossplaneIoV1ProviderRevisionStatusPermissionRequestsItems0: - """ + r""" PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. diff --git a/crossplane/v1alpha1/apiextensions_crossplane_io_v1alpha1_environment_config.k b/crossplane/v1alpha1/apiextensions_crossplane_io_v1alpha1_environment_config.k index 4b8bf42e..396f48b4 100644 --- a/crossplane/v1alpha1/apiextensions_crossplane_io_v1alpha1_environment_config.k +++ b/crossplane/v1alpha1/apiextensions_crossplane_io_v1alpha1_environment_config.k @@ -6,8 +6,13 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema EnvironmentConfig: - """ - A EnvironmentConfig contains a set of arbitrary, unstructured values. + r""" + An EnvironmentConfig contains user-defined unstructured values for + use in a Composition. + + + Read the Crossplane documentation for + [more information about EnvironmentConfigs](https://docs.crossplane.io/latest/concepts/environment-configs). Attributes ---------- diff --git a/crossplane/v1alpha1/apiextensions_crossplane_io_v1alpha1_usage.k b/crossplane/v1alpha1/apiextensions_crossplane_io_v1alpha1_usage.k index e5196ed9..1ef9dc76 100644 --- a/crossplane/v1alpha1/apiextensions_crossplane_io_v1alpha1_usage.k +++ b/crossplane/v1alpha1/apiextensions_crossplane_io_v1alpha1_usage.k @@ -6,9 +6,17 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema Usage: - """ + r""" A Usage defines a deletion blocking relationship between two resources. + + Usages prevent accidental deletion of a single resource or deletion of + resources with dependent resources. + + + Read the Crossplane documentation for + [more information about Compositions](https://docs.crossplane.io/latest/concepts/usages). + Attributes ---------- apiVersion : str, default is "apiextensions.crossplane.io/v1alpha1", required @@ -36,7 +44,7 @@ schema Usage: schema ApiextensionsCrossplaneIoV1alpha1UsageSpec: - """ + r""" UsageSpec defines the desired state of Usage. Attributes @@ -62,7 +70,7 @@ schema ApiextensionsCrossplaneIoV1alpha1UsageSpec: schema ApiextensionsCrossplaneIoV1alpha1UsageSpecBy: - """ + r""" By is the resource that is "using the other resource". Attributes @@ -89,7 +97,7 @@ schema ApiextensionsCrossplaneIoV1alpha1UsageSpecBy: schema ApiextensionsCrossplaneIoV1alpha1UsageSpecByResourceRef: - """ + r""" Reference to the resource. Attributes @@ -103,7 +111,7 @@ schema ApiextensionsCrossplaneIoV1alpha1UsageSpecByResourceRef: schema ApiextensionsCrossplaneIoV1alpha1UsageSpecByResourceSelector: - """ + r""" Selector to the resource. This field will be ignored if ResourceRef is set. @@ -123,7 +131,7 @@ schema ApiextensionsCrossplaneIoV1alpha1UsageSpecByResourceSelector: schema ApiextensionsCrossplaneIoV1alpha1UsageSpecOf: - """ + r""" Of is the resource that is "being used". Attributes @@ -150,7 +158,7 @@ schema ApiextensionsCrossplaneIoV1alpha1UsageSpecOf: schema ApiextensionsCrossplaneIoV1alpha1UsageSpecOfResourceRef: - """ + r""" Reference to the resource. Attributes @@ -164,7 +172,7 @@ schema ApiextensionsCrossplaneIoV1alpha1UsageSpecOfResourceRef: schema ApiextensionsCrossplaneIoV1alpha1UsageSpecOfResourceSelector: - """ + r""" Selector to the resource. This field will be ignored if ResourceRef is set. @@ -184,7 +192,7 @@ schema ApiextensionsCrossplaneIoV1alpha1UsageSpecOfResourceSelector: schema ApiextensionsCrossplaneIoV1alpha1UsageStatus: - """ + r""" UsageStatus defines the observed state of Usage. Attributes @@ -198,7 +206,7 @@ schema ApiextensionsCrossplaneIoV1alpha1UsageStatus: schema ApiextensionsCrossplaneIoV1alpha1UsageStatusConditionsItems0: - """ + r""" A Condition that may apply to a resource. Attributes @@ -209,6 +217,10 @@ schema ApiextensionsCrossplaneIoV1alpha1UsageStatusConditionsItems0: message : str, default is Undefined, optional A Message containing details about this condition's last transition from one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. reason : str, default is Undefined, required A Reason for this condition's last transition from one status to another. status : str, default is Undefined, required @@ -223,6 +235,8 @@ schema ApiextensionsCrossplaneIoV1alpha1UsageStatusConditionsItems0: message?: str + observedGeneration?: int + reason: str status: str diff --git a/crossplane/v1alpha1/helm_crossplane_io_v1alpha1_provider_config.k b/crossplane/v1alpha1/helm_crossplane_io_v1alpha1_provider_config.k index 8e932ec6..4f2ea612 100644 --- a/crossplane/v1alpha1/helm_crossplane_io_v1alpha1_provider_config.k +++ b/crossplane/v1alpha1/helm_crossplane_io_v1alpha1_provider_config.k @@ -6,7 +6,7 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema ProviderConfig: - """ + r""" A ProviderConfig configures a Helm 'provider', i.e. a connection to a particular Attributes @@ -36,7 +36,7 @@ schema ProviderConfig: schema HelmCrossplaneIoV1alpha1ProviderConfigSpec: - """ + r""" A ProviderConfigSpec defines the desired state of a Provider. Attributes @@ -54,8 +54,9 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigSpec: schema HelmCrossplaneIoV1alpha1ProviderConfigSpecCredentials: - """ - Credentials used to connect to the Kubernetes API. Typically a kubeconfig file. Use InjectedIdentity for in-cluster config. + r""" + Credentials used to connect to the Kubernetes API. Typically a + kubeconfig file. Use InjectedIdentity for in-cluster config. Attributes ---------- @@ -80,8 +81,9 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigSpecCredentials: schema HelmCrossplaneIoV1alpha1ProviderConfigSpecCredentialsEnv: - """ - Env is a reference to an environment variable that contains credentials that must be used to connect to the provider. + r""" + Env is a reference to an environment variable that contains credentials + that must be used to connect to the provider. Attributes ---------- @@ -94,8 +96,9 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigSpecCredentialsEnv: schema HelmCrossplaneIoV1alpha1ProviderConfigSpecCredentialsFs: - """ - Fs is a reference to a filesystem location that contains credentials that must be used to connect to the provider. + r""" + Fs is a reference to a filesystem location that contains credentials that + must be used to connect to the provider. Attributes ---------- @@ -108,8 +111,9 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigSpecCredentialsFs: schema HelmCrossplaneIoV1alpha1ProviderConfigSpecCredentialsSecretRef: - """ - A SecretRef is a reference to a secret key that contains the credentials that must be used to connect to the provider. + r""" + A SecretRef is a reference to a secret key that contains the credentials + that must be used to connect to the provider. Attributes ---------- @@ -130,8 +134,10 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigSpecCredentialsSecretRef: schema HelmCrossplaneIoV1alpha1ProviderConfigSpecIdentity: - """ - Identity used to authenticate to the Kubernetes API. The identity credentials can be used to supplement kubeconfig 'credentials', for example by configuring a bearer token source such as OAuth. + r""" + Identity used to authenticate to the Kubernetes API. The identity + credentials can be used to supplement kubeconfig 'credentials', for + example by configuring a bearer token source such as OAuth. Attributes ---------- @@ -160,8 +166,9 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigSpecIdentity: schema HelmCrossplaneIoV1alpha1ProviderConfigSpecIdentityEnv: - """ - Env is a reference to an environment variable that contains credentials that must be used to connect to the provider. + r""" + Env is a reference to an environment variable that contains credentials + that must be used to connect to the provider. Attributes ---------- @@ -174,8 +181,9 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigSpecIdentityEnv: schema HelmCrossplaneIoV1alpha1ProviderConfigSpecIdentityFs: - """ - Fs is a reference to a filesystem location that contains credentials that must be used to connect to the provider. + r""" + Fs is a reference to a filesystem location that contains credentials that + must be used to connect to the provider. Attributes ---------- @@ -188,8 +196,9 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigSpecIdentityFs: schema HelmCrossplaneIoV1alpha1ProviderConfigSpecIdentitySecretRef: - """ - A SecretRef is a reference to a secret key that contains the credentials that must be used to connect to the provider. + r""" + A SecretRef is a reference to a secret key that contains the credentials + that must be used to connect to the provider. Attributes ---------- @@ -210,7 +219,7 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigSpecIdentitySecretRef: schema HelmCrossplaneIoV1alpha1ProviderConfigStatus: - """ + r""" A ProviderConfigStatus defines the status of a Provider. Attributes @@ -228,21 +237,28 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigStatus: schema HelmCrossplaneIoV1alpha1ProviderConfigStatusConditionsItems0: - """ + r""" A Condition that may apply to a resource. Attributes ---------- lastTransitionTime : str, default is Undefined, required - LastTransitionTime is the last time this condition transitioned from one status to another. + LastTransitionTime is the last time this condition transitioned from one + status to another. message : str, default is Undefined, optional - A Message containing details about this condition's last transition from one status to another, if any. + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. reason : str, default is Undefined, required A Reason for this condition's last transition from one status to another. status : str, default is Undefined, required Status of this condition; is it currently True, False, or Unknown? $type : str, default is Undefined, required - Type of this condition. At most one of each condition type may apply to a resource at any point in time. + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. """ @@ -250,6 +266,8 @@ schema HelmCrossplaneIoV1alpha1ProviderConfigStatusConditionsItems0: message?: str + observedGeneration?: int + reason: str status: str diff --git a/crossplane/v1alpha1/helm_crossplane_io_v1alpha1_provider_config_usage.k b/crossplane/v1alpha1/helm_crossplane_io_v1alpha1_provider_config_usage.k new file mode 100644 index 00000000..19fcf805 --- /dev/null +++ b/crossplane/v1alpha1/helm_crossplane_io_v1alpha1_provider_config_usage.k @@ -0,0 +1,105 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema ProviderConfigUsage: + r""" + A ProviderConfigUsage indicates that a resource is using a ProviderConfig. + + Attributes + ---------- + apiVersion : str, default is "helm.crossplane.io/v1alpha1", required + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + kind : str, default is "ProviderConfigUsage", required + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + providerConfigRef : HelmCrossplaneIoV1alpha1ProviderConfigUsageProviderConfigRef, default is Undefined, required + provider config ref + resourceRef : HelmCrossplaneIoV1alpha1ProviderConfigUsageResourceRef, default is Undefined, required + resource ref + """ + + + apiVersion: "helm.crossplane.io/v1alpha1" = "helm.crossplane.io/v1alpha1" + + kind: "ProviderConfigUsage" = "ProviderConfigUsage" + + metadata?: v1.ObjectMeta + + providerConfigRef: HelmCrossplaneIoV1alpha1ProviderConfigUsageProviderConfigRef + + resourceRef: HelmCrossplaneIoV1alpha1ProviderConfigUsageResourceRef + + +schema HelmCrossplaneIoV1alpha1ProviderConfigUsageProviderConfigRef: + r""" + ProviderConfigReference to the provider config being used. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : HelmCrossplaneIoV1alpha1ProviderConfigUsageProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: HelmCrossplaneIoV1alpha1ProviderConfigUsageProviderConfigRefPolicy + + +schema HelmCrossplaneIoV1alpha1ProviderConfigUsageProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema HelmCrossplaneIoV1alpha1ProviderConfigUsageResourceRef: + r""" + ResourceReference to the managed resource using the provider config. + + Attributes + ---------- + apiVersion : str, default is Undefined, required + APIVersion of the referenced object. + kind : str, default is Undefined, required + Kind of the referenced object. + name : str, default is Undefined, required + Name of the referenced object. + uid : str, default is Undefined, optional + UID of the referenced object. + """ + + + apiVersion: str + + kind: str + + name: str + + uid?: str + + diff --git a/crossplane/v1alpha1/helm_crossplane_io_v1alpha1_release.k b/crossplane/v1alpha1/helm_crossplane_io_v1alpha1_release.k new file mode 100644 index 00000000..fed91c1f --- /dev/null +++ b/crossplane/v1alpha1/helm_crossplane_io_v1alpha1_release.k @@ -0,0 +1,666 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema Release: + r""" + A Release is an example API type + + Attributes + ---------- + apiVersion : str, default is "helm.crossplane.io/v1alpha1", required + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + kind : str, default is "Release", required + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : HelmCrossplaneIoV1alpha1ReleaseSpec, default is Undefined, required + spec + status : HelmCrossplaneIoV1alpha1ReleaseStatus, default is Undefined, optional + status + """ + + + apiVersion: "helm.crossplane.io/v1alpha1" = "helm.crossplane.io/v1alpha1" + + kind: "Release" = "Release" + + metadata?: v1.ObjectMeta + + spec: HelmCrossplaneIoV1alpha1ReleaseSpec + + status?: HelmCrossplaneIoV1alpha1ReleaseStatus + + +schema HelmCrossplaneIoV1alpha1ReleaseSpec: + r""" + A ReleaseSpec defines the desired state of a Release. + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : HelmCrossplaneIoV1alpha1ReleaseSpecForProvider, default is Undefined, required + for provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : HelmCrossplaneIoV1alpha1ReleaseSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + rollbackLimit : int, default is Undefined, optional + RollbackRetriesLimit is max number of attempts to retry Helm deployment by rolling back the release. + writeConnectionSecretToRef : HelmCrossplaneIoV1alpha1ReleaseSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: HelmCrossplaneIoV1alpha1ReleaseSpecForProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: HelmCrossplaneIoV1alpha1ReleaseSpecProviderConfigRef + + publishConnectionDetailsTo?: HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsTo + + rollbackLimit?: int + + writeConnectionSecretToRef?: HelmCrossplaneIoV1alpha1ReleaseSpecWriteConnectionSecretToRef + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProvider: + r""" + ReleaseParameters are the configurable fields of a Release. + + Attributes + ---------- + chart : HelmCrossplaneIoV1alpha1ReleaseSpecForProviderChart, default is Undefined, required + chart + namespace : str, default is Undefined, required + namespace + patchesFrom : [HelmCrossplaneIoV1alpha1ReleaseSpecForProviderPatchesFromItems0], default is Undefined, optional + patches from + set : [HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0], default is Undefined, optional + set + values : any, default is Undefined, optional + values + valuesFrom : [HelmCrossplaneIoV1alpha1ReleaseSpecForProviderValuesFromItems0], default is Undefined, optional + values from + wait : bool, default is Undefined, optional + wait + """ + + + chart: HelmCrossplaneIoV1alpha1ReleaseSpecForProviderChart + + namespace: str + + patchesFrom?: [HelmCrossplaneIoV1alpha1ReleaseSpecForProviderPatchesFromItems0] + + set?: [HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0] + + values?: any + + valuesFrom?: [HelmCrossplaneIoV1alpha1ReleaseSpecForProviderValuesFromItems0] + + wait?: bool + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderChart: + r""" + A ChartSpec defines the chart spec for a Release + + Attributes + ---------- + name : str, default is Undefined, required + name + pullSecretRef : HelmCrossplaneIoV1alpha1ReleaseSpecForProviderChartPullSecretRef, default is Undefined, optional + pull secret ref + repository : str, default is Undefined, required + repository + version : str, default is Undefined, required + version + """ + + + name: str + + pullSecretRef?: HelmCrossplaneIoV1alpha1ReleaseSpecForProviderChartPullSecretRef + + repository: str + + version: str + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderChartPullSecretRef: + r""" + A SecretReference is a reference to a secret in an arbitrary namespace. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderPatchesFromItems0: + r""" + ValueFromSource represents source of a value + + Attributes + ---------- + configMapKeyRef : HelmCrossplaneIoV1alpha1ReleaseSpecForProviderPatchesFromItems0ConfigMapKeyRef, default is Undefined, optional + config map key ref + secretKeyRef : HelmCrossplaneIoV1alpha1ReleaseSpecForProviderPatchesFromItems0SecretKeyRef, default is Undefined, optional + secret key ref + """ + + + configMapKeyRef?: HelmCrossplaneIoV1alpha1ReleaseSpecForProviderPatchesFromItems0ConfigMapKeyRef + + secretKeyRef?: HelmCrossplaneIoV1alpha1ReleaseSpecForProviderPatchesFromItems0SecretKeyRef + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderPatchesFromItems0ConfigMapKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderPatchesFromItems0SecretKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0: + r""" + SetVal represents a "set" value override in a Release + + Attributes + ---------- + name : str, default is Undefined, required + name + value : str, default is Undefined, optional + value + valueFrom : HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0ValueFrom, default is Undefined, optional + value from + """ + + + name: str + + value?: str + + valueFrom?: HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0ValueFrom + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0ValueFrom: + r""" + ValueFromSource represents source of a value + + Attributes + ---------- + configMapKeyRef : HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0ValueFromConfigMapKeyRef, default is Undefined, optional + config map key ref + secretKeyRef : HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0ValueFromSecretKeyRef, default is Undefined, optional + secret key ref + """ + + + configMapKeyRef?: HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0ValueFromConfigMapKeyRef + + secretKeyRef?: HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0ValueFromSecretKeyRef + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0ValueFromConfigMapKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderSetItems0ValueFromSecretKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderValuesFromItems0: + r""" + ValueFromSource represents source of a value + + Attributes + ---------- + configMapKeyRef : HelmCrossplaneIoV1alpha1ReleaseSpecForProviderValuesFromItems0ConfigMapKeyRef, default is Undefined, optional + config map key ref + secretKeyRef : HelmCrossplaneIoV1alpha1ReleaseSpecForProviderValuesFromItems0SecretKeyRef, default is Undefined, optional + secret key ref + """ + + + configMapKeyRef?: HelmCrossplaneIoV1alpha1ReleaseSpecForProviderValuesFromItems0ConfigMapKeyRef + + secretKeyRef?: HelmCrossplaneIoV1alpha1ReleaseSpecForProviderValuesFromItems0SecretKeyRef + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderValuesFromItems0ConfigMapKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecForProviderValuesFromItems0SecretKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : HelmCrossplaneIoV1alpha1ReleaseSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: HelmCrossplaneIoV1alpha1ReleaseSpecProviderConfigRefPolicy + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsToConfigRef + + metadata?: HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsToMetadata + + name: str + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsToConfigRefPolicy + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema HelmCrossplaneIoV1alpha1ReleaseSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema HelmCrossplaneIoV1alpha1ReleaseStatus: + r""" + A ReleaseStatus represents the observed state of a Release. + + Attributes + ---------- + atProvider : HelmCrossplaneIoV1alpha1ReleaseStatusAtProvider, default is Undefined, optional + at provider + conditions : [HelmCrossplaneIoV1alpha1ReleaseStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + failed : int, default is Undefined, optional + failed + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + patchesSha : str, default is Undefined, optional + patches sha + synced : bool, default is Undefined, optional + synced + """ + + + atProvider?: HelmCrossplaneIoV1alpha1ReleaseStatusAtProvider + + conditions?: [HelmCrossplaneIoV1alpha1ReleaseStatusConditionsItems0] + + failed?: int + + observedGeneration?: int + + patchesSha?: str + + synced?: bool + + +schema HelmCrossplaneIoV1alpha1ReleaseStatusAtProvider: + r""" + ReleaseObservation are the observable fields of a Release. + + Attributes + ---------- + releaseDescription : str, default is Undefined, optional + release description + revision : int, default is Undefined, optional + revision + state : str, default is Undefined, optional + Status is the status of a release + """ + + + releaseDescription?: str + + revision?: int + + state?: str + + +schema HelmCrossplaneIoV1alpha1ReleaseStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/crossplane/v1alpha1/pkg_crossplane_io_v1alpha1_controller_config.k b/crossplane/v1alpha1/pkg_crossplane_io_v1alpha1_controller_config.k index 22c305c7..0ac544df 100644 --- a/crossplane/v1alpha1/pkg_crossplane_io_v1alpha1_controller_config.k +++ b/crossplane/v1alpha1/pkg_crossplane_io_v1alpha1_controller_config.k @@ -4,15 +4,19 @@ Editing this file might prove futile when you re-run the KCL auto-gen generate c """ import regex import k8s.apimachinery.pkg.apis.meta.v1 -regex_match = regex.match schema ControllerConfig: - """ - ControllerConfig is the CRD type for a packaged controller configuration. - Deprecated: This API is replaced by DeploymentRuntimeConfig, and is scheduled - to be removed in a future release. See the design doc for more details: - https://github.com/crossplane/crossplane/blob/11bbe13ea3604928cc4e24e8d0d18f3f5f7e847c/design/one-pager-package-runtime-config.md + r""" + A ControllerConfig applies settings to controllers like Provider pods. + Deprecated: Use the + [DeploymentRuntimeConfig](https://docs.crossplane.io/latest/concepts/providers#runtime-configuration) + instead. + + + Read the + [Package Runtime Configuration](https://github.com/crossplane/crossplane/blob/11bbe13ea3604928cc4e24e8d0d18f3f5f7e847c/design/one-pager-package-runtime-config.md) + design document for more details. Attributes ---------- @@ -37,7 +41,7 @@ schema ControllerConfig: schema PkgCrossplaneIoV1alpha1ControllerConfigSpec: - """ + r""" ControllerConfigSpec specifies the configuration for a packaged controller. Values provided will override package manager defaults. Labels and annotations are passed to both the controller Deployment and ServiceAccount. @@ -117,7 +121,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpec: to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. - More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md + More info: https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/585-runtime-class/README.md This is a beta feature as of Kubernetes v1.14. securityContext : PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContext, default is Undefined, optional security context @@ -189,7 +193,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpec: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinity: - """ + r""" If specified, the pod's scheduling constraints Attributes @@ -211,7 +215,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinity: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinity: - """ + r""" Describes node affinity scheduling rules for the pod. Attributes @@ -237,7 +241,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinity: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0: - """ + r""" 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). @@ -256,7 +260,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityPreferredD schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0Preference: - """ + r""" A node selector term, associated with the corresponding weight. Attributes @@ -274,7 +278,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityPreferredD schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PreferenceMatchExpressionsItems0: - """ + r""" A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -302,7 +306,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityPreferredD schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PreferenceMatchFieldsItems0: - """ + r""" A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -330,7 +334,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityPreferredD schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution: - """ + r""" 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 @@ -348,7 +352,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityRequiredDu schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItems0: - """ + r""" 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. @@ -368,7 +372,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityRequiredDu schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItems0MatchExpressionsItems0: - """ + r""" A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -396,7 +400,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityRequiredDu schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItems0MatchFieldsItems0: - """ + r""" A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -424,7 +428,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityNodeAffinityRequiredDu schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinity: - """ + r""" Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). Attributes @@ -456,7 +460,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinity: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0: - """ + r""" The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) Attributes @@ -475,7 +479,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDu schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTerm: - """ + r""" Required. A pod affinity term, associated with the corresponding weight. Attributes @@ -532,7 +536,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDu schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermLabelSelector: - """ + r""" A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. @@ -553,7 +557,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDu schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermLabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -580,7 +584,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDu schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermNamespaceSelector: - """ + r""" 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. @@ -604,7 +608,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDu schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermNamespaceSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -631,7 +635,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityPreferredDu schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0: - """ + r""" 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, @@ -693,7 +697,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityRequiredDur schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0LabelSelector: - """ + r""" A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. @@ -714,7 +718,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityRequiredDur schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0LabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -741,7 +745,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityRequiredDur schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0NamespaceSelector: - """ + r""" 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. @@ -765,7 +769,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityRequiredDur schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0NamespaceSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -792,7 +796,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAffinityRequiredDur schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinity: - """ + r""" Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). Attributes @@ -824,7 +828,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinity: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0: - """ + r""" The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) Attributes @@ -843,7 +847,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferr schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTerm: - """ + r""" Required. A pod affinity term, associated with the corresponding weight. Attributes @@ -900,7 +904,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferr schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermLabelSelector: - """ + r""" A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. @@ -921,7 +925,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferr schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermLabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -948,7 +952,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferr schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermNamespaceSelector: - """ + r""" 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. @@ -972,7 +976,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferr schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermNamespaceSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -999,7 +1003,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityPreferr schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0: - """ + r""" 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, @@ -1061,7 +1065,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityRequire schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0LabelSelector: - """ + r""" A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. @@ -1082,7 +1086,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityRequire schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0LabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -1109,7 +1113,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityRequire schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0NamespaceSelector: - """ + r""" 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. @@ -1133,7 +1137,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityRequire schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0NamespaceSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -1160,7 +1164,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecAffinityPodAntiAffinityRequire schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvFromItems0: - """ + r""" EnvFromSource represents the source of a set of ConfigMaps Attributes @@ -1182,7 +1186,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvFromItems0: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvFromItems0ConfigMapRef: - """ + r""" The ConfigMap to select from Attributes @@ -1202,7 +1206,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvFromItems0ConfigMapRef: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvFromItems0SecretRef: - """ + r""" The Secret to select from Attributes @@ -1222,7 +1226,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvFromItems0SecretRef: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0: - """ + r""" EnvVar represents an environment variable present in a Container. Attributes @@ -1252,7 +1256,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0ValueFrom: - """ + r""" Source for the environment variable's value. Cannot be used if value is not empty. Attributes @@ -1278,7 +1282,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0ValueFrom: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0ValueFromConfigMapKeyRef: - """ + r""" Selects a key of a ConfigMap. Attributes @@ -1302,7 +1306,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0ValueFromConfigMapKey schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0ValueFromFieldRef: - """ + r""" Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. @@ -1321,7 +1325,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0ValueFromFieldRef: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0ValueFromResourceFieldRef: - """ + r""" Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. @@ -1344,11 +1348,11 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0ValueFromResourceFiel check: - regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor + regex.match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0ValueFromSecretKeyRef: - """ + r""" Selects a key of a secret in the pod's namespace Attributes @@ -1372,7 +1376,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecEnvItems0ValueFromSecretKeyRef schema PkgCrossplaneIoV1alpha1ControllerConfigSpecImagePullSecretsItems0: - """ + r""" LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -1389,7 +1393,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecImagePullSecretsItems0: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecMetadata: - """ + r""" Metadata that will be added to the provider Pod. Attributes @@ -1398,14 +1402,14 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecMetadata: 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: http://kubernetes.io/docs/user-guide/annotations + More info: http:https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ labels : {str:str}, default is Undefined, optional Map of string keys and values that can be used to organize and categorize (scope and select) objects. This will only affect labels on the pod, not the pod selector. Labels will be merged with internal labels used by crossplane, and labels with a crossplane.io key might be overwritten. - More info: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ """ @@ -1415,7 +1419,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecMetadata: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPodSecurityContext: - """ + r""" PodSecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. @@ -1506,7 +1510,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPodSecurityContext: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPodSecurityContextSeLinuxOptions: - """ + r""" The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in @@ -1537,7 +1541,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPodSecurityContextSeLinuxOptio schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPodSecurityContextSeccompProfile: - """ + r""" The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. @@ -1565,7 +1569,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPodSecurityContextSeccompProfi schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPodSecurityContextSysctlsItems0: - """ + r""" Sysctl defines a kernel parameter to be set Attributes @@ -1583,7 +1587,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPodSecurityContextSysctlsItems schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPodSecurityContextWindowsOptions: - """ + r""" The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. @@ -1620,7 +1624,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPodSecurityContextWindowsOptio schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPortsItems0: - """ + r""" ContainerPort represents a network port in a single container. Attributes @@ -1657,7 +1661,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecPortsItems0: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecResources: - """ + r""" Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ @@ -1693,12 +1697,12 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecResources: check: - all _, limits in limits {regex_match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits - all _, requests in requests {regex_match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests + all _, limits in limits {regex.match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits + all _, requests in requests {regex.match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests schema PkgCrossplaneIoV1alpha1ControllerConfigSpecResourcesClaimsItems0: - """ + r""" ResourceClaim references one entry in PodSpec.ResourceClaims. Attributes @@ -1714,7 +1718,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecResourcesClaimsItems0: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContext: - """ + r""" SecurityContext holds container-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. @@ -1797,7 +1801,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContext: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContextCapabilities: - """ + r""" The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. @@ -1817,7 +1821,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContextCapabilities: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContextSeLinuxOptions: - """ + r""" The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and @@ -1847,7 +1851,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContextSeLinuxOptions: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContextSeccompProfile: - """ + r""" The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. @@ -1877,7 +1881,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContextSeccompProfile: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContextWindowsOptions: - """ + r""" The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. @@ -1914,7 +1918,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecSecurityContextWindowsOptions: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecTolerationsItems0: - """ + r""" The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . @@ -1954,7 +1958,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecTolerationsItems0: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumeMountsItems0: - """ + r""" VolumeMount describes a mounting of a Volume within a container. Attributes @@ -1997,7 +2001,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumeMountsItems0: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0: - """ + r""" Volume represents a named volume in a pod that may be accessed by any container in the pod. Attributes @@ -2129,7 +2133,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0AwsElasticBlockStore: - """ + r""" awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore @@ -2166,7 +2170,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0AwsElasticBlockSt schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0AzureDisk: - """ + r""" azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Attributes @@ -2203,7 +2207,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0AzureDisk: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0AzureFile: - """ + r""" azureFile represents an Azure File Service mount on the host and bind mount to the pod. Attributes @@ -2226,7 +2230,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0AzureFile: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Cephfs: - """ + r""" cephFS represents a Ceph FS mount on the host that shares a pod's lifetime Attributes @@ -2265,7 +2269,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Cephfs: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0CephfsSecretRef: - """ + r""" secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -2282,7 +2286,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0CephfsSecretRef: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Cinder: - """ + r""" cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md @@ -2315,7 +2319,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Cinder: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0CinderSecretRef: - """ + r""" secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. @@ -2332,7 +2336,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0CinderSecretRef: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ConfigMap: - """ + r""" configMap represents a configMap that should populate this volume Attributes @@ -2372,7 +2376,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ConfigMap: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ConfigMapItemsItems0: - """ + r""" Maps a string key to a path within a volume. Attributes @@ -2402,7 +2406,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ConfigMapItemsIte schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Csi: - """ + r""" csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). Attributes @@ -2437,7 +2441,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Csi: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0CsiNodePublishSecretRef: - """ + r""" nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. @@ -2457,7 +2461,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0CsiNodePublishSec schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0DownwardAPI: - """ + r""" downwardAPI represents downward API about the pod that should populate this volume Attributes @@ -2482,7 +2486,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0DownwardAPI: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0DownwardAPIItemsItems0: - """ + r""" DownwardAPIVolumeFile represents information to create the file containing the pod field Attributes @@ -2513,7 +2517,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0DownwardAPIItemsI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0DownwardAPIItemsItems0FieldRef: - """ + r""" Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. Attributes @@ -2531,7 +2535,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0DownwardAPIItemsI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0DownwardAPIItemsItems0ResourceFieldRef: - """ + r""" Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. @@ -2554,11 +2558,11 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0DownwardAPIItemsI check: - regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor + regex.match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EmptyDir: - """ + r""" emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir @@ -2585,11 +2589,11 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EmptyDir: check: - regex_match(str(sizeLimit), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if sizeLimit + regex.match(str(sizeLimit), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if sizeLimit schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Ephemeral: - """ + r""" ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. @@ -2630,7 +2634,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Ephemeral: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeClaimTemplate: - """ + r""" Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the @@ -2671,7 +2675,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeCl schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeClaimTemplateMetadata: - """ + r""" May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. @@ -2703,7 +2707,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeCl schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeClaimTemplateSpec: - """ + r""" The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim @@ -2766,7 +2770,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeCl schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeClaimTemplateSpecDataSource: - """ + r""" dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) @@ -2797,7 +2801,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeCl schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeClaimTemplateSpecDataSourceRef: - """ + r""" dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. @@ -2849,7 +2853,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeCl schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeClaimTemplateSpecResources: - """ + r""" resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the @@ -2875,12 +2879,12 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeCl check: - all _, limits in limits {regex_match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits - all _, requests in requests {regex_match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests + all _, limits in limits {regex.match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits + all _, requests in requests {regex.match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeClaimTemplateSpecSelector: - """ + r""" selector is a label query over volumes to consider for binding. Attributes @@ -2900,7 +2904,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeCl schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -2927,7 +2931,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0EphemeralVolumeCl schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Fc: - """ + r""" fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. Attributes @@ -2962,7 +2966,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Fc: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0FlexVolume: - """ + r""" flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. @@ -2996,7 +3000,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0FlexVolume: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0FlexVolumeSecretRef: - """ + r""" secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object @@ -3016,7 +3020,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0FlexVolumeSecretR schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Flocker: - """ + r""" flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running Attributes @@ -3035,7 +3039,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Flocker: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0GcePersistentDisk: - """ + r""" gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk @@ -3074,7 +3078,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0GcePersistentDisk schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0GitRepo: - """ + r""" gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir @@ -3102,7 +3106,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0GitRepo: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Glusterfs: - """ + r""" glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md @@ -3129,7 +3133,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Glusterfs: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0HostPath: - """ + r""" hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed @@ -3158,7 +3162,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0HostPath: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Iscsi: - """ + r""" iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md @@ -3224,7 +3228,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Iscsi: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0IscsiSecretRef: - """ + r""" secretRef is the CHAP Secret for iSCSI target and initiator authentication Attributes @@ -3240,7 +3244,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0IscsiSecretRef: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Nfs: - """ + r""" nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -3267,7 +3271,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Nfs: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0PersistentVolumeClaim: - """ + r""" persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -3289,7 +3293,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0PersistentVolumeC schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0PhotonPersistentDisk: - """ + r""" photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine Attributes @@ -3309,7 +3313,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0PhotonPersistentD schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0PortworxVolume: - """ + r""" portworxVolume represents a portworx volume attached and mounted on kubelets host machine Attributes @@ -3334,7 +3338,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0PortworxVolume: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Projected: - """ + r""" projected items for all in one resources secrets, configmaps, and downward API Attributes @@ -3357,7 +3361,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Projected: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0: - """ + r""" Projection that may be projected along with other supported volume types Attributes @@ -3387,7 +3391,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0ClusterTrustBundle: - """ + r""" ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file. @@ -3439,7 +3443,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0ClusterTrustBundleLabelSelector: - """ + r""" Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as "match nothing". If set but empty, interpreted as "match @@ -3462,7 +3466,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0ClusterTrustBundleLabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -3489,7 +3493,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0ConfigMap: - """ + r""" configMap information about the configMap data to project Attributes @@ -3519,7 +3523,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0ConfigMapItemsItems0: - """ + r""" Maps a string key to a path within a volume. Attributes @@ -3549,7 +3553,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0DownwardAPI: - """ + r""" downwardAPI information about the downwardAPI data to project Attributes @@ -3563,7 +3567,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0DownwardAPIItemsItems0: - """ + r""" DownwardAPIVolumeFile represents information to create the file containing the pod field Attributes @@ -3594,7 +3598,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0DownwardAPIItemsItems0FieldRef: - """ + r""" Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. Attributes @@ -3612,7 +3616,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0DownwardAPIItemsItems0ResourceFieldRef: - """ + r""" Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. @@ -3635,11 +3639,11 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI check: - regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor + regex.match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0Secret: - """ + r""" secret information about the secret data to project Attributes @@ -3669,7 +3673,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0SecretItemsItems0: - """ + r""" Maps a string key to a path within a volume. Attributes @@ -3699,7 +3703,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesItems0ServiceAccountToken: - """ + r""" serviceAccountToken is information about the serviceAccountToken data to project Attributes @@ -3730,7 +3734,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ProjectedSourcesI schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Quobyte: - """ + r""" quobyte represents a Quobyte mount on the host that shares a pod's lifetime Attributes @@ -3770,7 +3774,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Quobyte: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Rbd: - """ + r""" rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md @@ -3827,7 +3831,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Rbd: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0RbdSecretRef: - """ + r""" secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. @@ -3846,7 +3850,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0RbdSecretRef: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ScaleIO: - """ + r""" scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Attributes @@ -3902,7 +3906,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ScaleIO: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ScaleIOSecretRef: - """ + r""" secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. @@ -3919,7 +3923,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0ScaleIOSecretRef: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Secret: - """ + r""" secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret @@ -3959,7 +3963,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Secret: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0SecretItemsItems0: - """ + r""" Maps a string key to a path within a volume. Attributes @@ -3989,7 +3993,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0SecretItemsItems0 schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Storageos: - """ + r""" storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Attributes @@ -4028,7 +4032,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0Storageos: schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0StorageosSecretRef: - """ + r""" secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. @@ -4045,7 +4049,7 @@ schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0StorageosSecretRe schema PkgCrossplaneIoV1alpha1ControllerConfigSpecVolumesItems0VsphereVolume: - """ + r""" vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine Attributes diff --git a/crossplane/v1alpha1/secrets_crossplane_io_v1alpha1_store_config.k b/crossplane/v1alpha1/secrets_crossplane_io_v1alpha1_store_config.k index 3cdd31a0..409a34dc 100644 --- a/crossplane/v1alpha1/secrets_crossplane_io_v1alpha1_store_config.k +++ b/crossplane/v1alpha1/secrets_crossplane_io_v1alpha1_store_config.k @@ -6,8 +6,9 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema StoreConfig: - """ - A StoreConfig configures how Crossplane controllers should store connection details. + r""" + A StoreConfig configures how Crossplane controllers should store connection + details in an external secret store. Attributes ---------- @@ -32,7 +33,7 @@ schema StoreConfig: schema SecretsCrossplaneIoV1alpha1StoreConfigSpec: - """ + r""" A StoreConfigSpec defines the desired state of a StoreConfig. Attributes @@ -64,7 +65,7 @@ schema SecretsCrossplaneIoV1alpha1StoreConfigSpec: schema SecretsCrossplaneIoV1alpha1StoreConfigSpecKubernetes: - """ + r""" Kubernetes configures a Kubernetes secret store. If the "type" is "Kubernetes" but no config provided, in cluster config will be used. @@ -80,7 +81,7 @@ schema SecretsCrossplaneIoV1alpha1StoreConfigSpecKubernetes: schema SecretsCrossplaneIoV1alpha1StoreConfigSpecKubernetesAuth: - """ + r""" Credentials used to connect to the Kubernetes API. Attributes @@ -106,7 +107,7 @@ schema SecretsCrossplaneIoV1alpha1StoreConfigSpecKubernetesAuth: schema SecretsCrossplaneIoV1alpha1StoreConfigSpecKubernetesAuthEnv: - """ + r""" Env is a reference to an environment variable that contains credentials that must be used to connect to the provider. @@ -121,7 +122,7 @@ schema SecretsCrossplaneIoV1alpha1StoreConfigSpecKubernetesAuthEnv: schema SecretsCrossplaneIoV1alpha1StoreConfigSpecKubernetesAuthFs: - """ + r""" Fs is a reference to a filesystem location that contains credentials that must be used to connect to the provider. @@ -136,7 +137,7 @@ schema SecretsCrossplaneIoV1alpha1StoreConfigSpecKubernetesAuthFs: schema SecretsCrossplaneIoV1alpha1StoreConfigSpecKubernetesAuthSecretRef: - """ + r""" A SecretRef is a reference to a secret key that contains the credentials that must be used to connect to the provider. @@ -159,7 +160,7 @@ schema SecretsCrossplaneIoV1alpha1StoreConfigSpecKubernetesAuthSecretRef: schema SecretsCrossplaneIoV1alpha1StoreConfigSpecPlugin: - """ + r""" Plugin configures External secret store as a plugin. Attributes @@ -177,7 +178,7 @@ schema SecretsCrossplaneIoV1alpha1StoreConfigSpecPlugin: schema SecretsCrossplaneIoV1alpha1StoreConfigSpecPluginConfigRef: - """ + r""" ConfigRef contains store config reference info. Attributes diff --git a/crossplane/v1beta1/helm_crossplane_io_v1beta1_provider_config.k b/crossplane/v1beta1/helm_crossplane_io_v1beta1_provider_config.k new file mode 100644 index 00000000..ecf42408 --- /dev/null +++ b/crossplane/v1beta1/helm_crossplane_io_v1beta1_provider_config.k @@ -0,0 +1,277 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema ProviderConfig: + r""" + A ProviderConfig configures a Helm 'provider', i.e. a connection to a particular + + Attributes + ---------- + apiVersion : str, default is "helm.crossplane.io/v1beta1", required + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + kind : str, default is "ProviderConfig", required + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : HelmCrossplaneIoV1beta1ProviderConfigSpec, default is Undefined, required + spec + status : HelmCrossplaneIoV1beta1ProviderConfigStatus, default is Undefined, optional + status + """ + + + apiVersion: "helm.crossplane.io/v1beta1" = "helm.crossplane.io/v1beta1" + + kind: "ProviderConfig" = "ProviderConfig" + + metadata?: v1.ObjectMeta + + spec: HelmCrossplaneIoV1beta1ProviderConfigSpec + + status?: HelmCrossplaneIoV1beta1ProviderConfigStatus + + +schema HelmCrossplaneIoV1beta1ProviderConfigSpec: + r""" + A ProviderConfigSpec defines the desired state of a ProviderConfig. + + Attributes + ---------- + credentials : HelmCrossplaneIoV1beta1ProviderConfigSpecCredentials, default is Undefined, required + credentials + identity : HelmCrossplaneIoV1beta1ProviderConfigSpecIdentity, default is Undefined, optional + identity + """ + + + credentials: HelmCrossplaneIoV1beta1ProviderConfigSpecCredentials + + identity?: HelmCrossplaneIoV1beta1ProviderConfigSpecIdentity + + +schema HelmCrossplaneIoV1beta1ProviderConfigSpecCredentials: + r""" + Credentials used to connect to the Kubernetes API. Typically a + kubeconfig file. Use InjectedIdentity for in-cluster config. + + Attributes + ---------- + env : HelmCrossplaneIoV1beta1ProviderConfigSpecCredentialsEnv, default is Undefined, optional + env + fs : HelmCrossplaneIoV1beta1ProviderConfigSpecCredentialsFs, default is Undefined, optional + fs + secretRef : HelmCrossplaneIoV1beta1ProviderConfigSpecCredentialsSecretRef, default is Undefined, optional + secret ref + source : str, default is Undefined, required + Source of the provider credentials. + """ + + + env?: HelmCrossplaneIoV1beta1ProviderConfigSpecCredentialsEnv + + fs?: HelmCrossplaneIoV1beta1ProviderConfigSpecCredentialsFs + + secretRef?: HelmCrossplaneIoV1beta1ProviderConfigSpecCredentialsSecretRef + + source: "None" | "Secret" | "InjectedIdentity" | "Environment" | "Filesystem" + + +schema HelmCrossplaneIoV1beta1ProviderConfigSpecCredentialsEnv: + r""" + Env is a reference to an environment variable that contains credentials + that must be used to connect to the provider. + + Attributes + ---------- + name : str, default is Undefined, required + Name is the name of an environment variable. + """ + + + name: str + + +schema HelmCrossplaneIoV1beta1ProviderConfigSpecCredentialsFs: + r""" + Fs is a reference to a filesystem location that contains credentials that + must be used to connect to the provider. + + Attributes + ---------- + path : str, default is Undefined, required + Path is a filesystem path. + """ + + + path: str + + +schema HelmCrossplaneIoV1beta1ProviderConfigSpecCredentialsSecretRef: + r""" + A SecretRef is a reference to a secret key that contains the credentials + that must be used to connect to the provider. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema HelmCrossplaneIoV1beta1ProviderConfigSpecIdentity: + r""" + Identity used to authenticate to the Kubernetes API. The identity + credentials can be used to supplement kubeconfig 'credentials', for + example by configuring a bearer token source such as OAuth. + + Attributes + ---------- + env : HelmCrossplaneIoV1beta1ProviderConfigSpecIdentityEnv, default is Undefined, optional + env + fs : HelmCrossplaneIoV1beta1ProviderConfigSpecIdentityFs, default is Undefined, optional + fs + secretRef : HelmCrossplaneIoV1beta1ProviderConfigSpecIdentitySecretRef, default is Undefined, optional + secret ref + source : str, default is Undefined, required + Source of the provider credentials. + $type : str, default is Undefined, required + Type of identity. + """ + + + env?: HelmCrossplaneIoV1beta1ProviderConfigSpecIdentityEnv + + fs?: HelmCrossplaneIoV1beta1ProviderConfigSpecIdentityFs + + secretRef?: HelmCrossplaneIoV1beta1ProviderConfigSpecIdentitySecretRef + + source: "None" | "Secret" | "InjectedIdentity" | "Environment" | "Filesystem" + + $type: "GoogleApplicationCredentials" | "AzureServicePrincipalCredentials" | "AzureWorkloadIdentityCredentials" | "UpboundTokens" + + +schema HelmCrossplaneIoV1beta1ProviderConfigSpecIdentityEnv: + r""" + Env is a reference to an environment variable that contains credentials + that must be used to connect to the provider. + + Attributes + ---------- + name : str, default is Undefined, required + Name is the name of an environment variable. + """ + + + name: str + + +schema HelmCrossplaneIoV1beta1ProviderConfigSpecIdentityFs: + r""" + Fs is a reference to a filesystem location that contains credentials that + must be used to connect to the provider. + + Attributes + ---------- + path : str, default is Undefined, required + Path is a filesystem path. + """ + + + path: str + + +schema HelmCrossplaneIoV1beta1ProviderConfigSpecIdentitySecretRef: + r""" + A SecretRef is a reference to a secret key that contains the credentials + that must be used to connect to the provider. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema HelmCrossplaneIoV1beta1ProviderConfigStatus: + r""" + A ProviderConfigStatus defines the status of a Provider. + + Attributes + ---------- + conditions : [HelmCrossplaneIoV1beta1ProviderConfigStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + users : int, default is Undefined, optional + Users of this provider configuration. + """ + + + conditions?: [HelmCrossplaneIoV1beta1ProviderConfigStatusConditionsItems0] + + users?: int + + +schema HelmCrossplaneIoV1beta1ProviderConfigStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/crossplane/v1beta1/helm_crossplane_io_v1beta1_release.k b/crossplane/v1beta1/helm_crossplane_io_v1beta1_release.k new file mode 100644 index 00000000..0aeba664 --- /dev/null +++ b/crossplane/v1beta1/helm_crossplane_io_v1beta1_release.k @@ -0,0 +1,749 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema Release: + r""" + A Release is an example API type + + Attributes + ---------- + apiVersion : str, default is "helm.crossplane.io/v1beta1", required + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + kind : str, default is "Release", required + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : HelmCrossplaneIoV1beta1ReleaseSpec, default is Undefined, required + spec + status : HelmCrossplaneIoV1beta1ReleaseStatus, default is Undefined, optional + status + """ + + + apiVersion: "helm.crossplane.io/v1beta1" = "helm.crossplane.io/v1beta1" + + kind: "Release" = "Release" + + metadata?: v1.ObjectMeta + + spec: HelmCrossplaneIoV1beta1ReleaseSpec + + status?: HelmCrossplaneIoV1beta1ReleaseStatus + + +schema HelmCrossplaneIoV1beta1ReleaseSpec: + r""" + A ReleaseSpec defines the desired state of a Release. + + Attributes + ---------- + connectionDetails : [HelmCrossplaneIoV1beta1ReleaseSpecConnectionDetailsItems0], default is Undefined, optional + connection details + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : HelmCrossplaneIoV1beta1ReleaseSpecForProvider, default is Undefined, required + for provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : HelmCrossplaneIoV1beta1ReleaseSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + rollbackLimit : int, default is Undefined, optional + RollbackRetriesLimit is max number of attempts to retry Helm deployment by rolling back the release. + writeConnectionSecretToRef : HelmCrossplaneIoV1beta1ReleaseSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + connectionDetails?: [HelmCrossplaneIoV1beta1ReleaseSpecConnectionDetailsItems0] + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: HelmCrossplaneIoV1beta1ReleaseSpecForProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: HelmCrossplaneIoV1beta1ReleaseSpecProviderConfigRef + + publishConnectionDetailsTo?: HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsTo + + rollbackLimit?: int + + writeConnectionSecretToRef?: HelmCrossplaneIoV1beta1ReleaseSpecWriteConnectionSecretToRef + + +schema HelmCrossplaneIoV1beta1ReleaseSpecConnectionDetailsItems0: + r""" + ConnectionDetail todo + + Attributes + ---------- + apiVersion : str, default is Undefined, optional + API version of the referent. + fieldPath : str, default is Undefined, optional + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + TODO: this design is not final and this field is subject to change in the future. + kind : str, default is Undefined, optional + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + name : str, default is Undefined, optional + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + namespace : str, default is Undefined, optional + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + resourceVersion : str, default is Undefined, optional + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + skipPartOfReleaseCheck : bool, default is Undefined, optional + SkipPartOfReleaseCheck skips check for meta.helm.sh/release-name annotation. + toConnectionSecretKey : str, default is Undefined, optional + to connection secret key + uid : str, default is Undefined, optional + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + """ + + + apiVersion?: str + + fieldPath?: str + + kind?: str + + name?: str + + namespace?: str + + resourceVersion?: str + + skipPartOfReleaseCheck?: bool + + toConnectionSecretKey?: str + + uid?: str + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProvider: + r""" + ReleaseParameters are the configurable fields of a Release. + + Attributes + ---------- + chart : HelmCrossplaneIoV1beta1ReleaseSpecForProviderChart, default is Undefined, required + chart + insecureSkipTLSVerify : bool, default is Undefined, optional + InsecureSkipTLSVerify skips tls certificate checks for the chart download + namespace : str, default is Undefined, required + Namespace to install the release into. + patchesFrom : [HelmCrossplaneIoV1beta1ReleaseSpecForProviderPatchesFromItems0], default is Undefined, optional + PatchesFrom describe patches to be applied to the rendered manifests. + set : [HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0], default is Undefined, optional + set + skipCRDs : bool, default is Undefined, optional + SkipCRDs skips installation of CRDs for the release. + skipCreateNamespace : bool, default is Undefined, optional + SkipCreateNamespace won't create the namespace for the release. This requires the namespace to already exist. + values : any, default is Undefined, optional + values + valuesFrom : [HelmCrossplaneIoV1beta1ReleaseSpecForProviderValuesFromItems0], default is Undefined, optional + values from + wait : bool, default is Undefined, optional + Wait for the release to become ready. + waitTimeout : str, default is Undefined, optional + WaitTimeout is the duration Helm will wait for the release to become + ready. Only applies if wait is also set. Defaults to 5m. + """ + + + chart: HelmCrossplaneIoV1beta1ReleaseSpecForProviderChart + + insecureSkipTLSVerify?: bool + + namespace: str + + patchesFrom?: [HelmCrossplaneIoV1beta1ReleaseSpecForProviderPatchesFromItems0] + + set?: [HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0] + + skipCRDs?: bool + + skipCreateNamespace?: bool + + values?: any + + valuesFrom?: [HelmCrossplaneIoV1beta1ReleaseSpecForProviderValuesFromItems0] + + wait?: bool + + waitTimeout?: str + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderChart: + r""" + A ChartSpec defines the chart spec for a Release + + Attributes + ---------- + name : str, default is Undefined, optional + Name of Helm chart, required if ChartSpec.URL not set + pullSecretRef : HelmCrossplaneIoV1beta1ReleaseSpecForProviderChartPullSecretRef, default is Undefined, optional + pull secret ref + repository : str, default is Undefined, optional + Repository: Helm repository URL, required if ChartSpec.URL not set + url : str, default is Undefined, optional + URL to chart package (typically .tgz), optional and overrides others fields in the spec + version : str, default is Undefined, optional + Version of Helm chart, late initialized with latest version if not set + """ + + + name?: str + + pullSecretRef?: HelmCrossplaneIoV1beta1ReleaseSpecForProviderChartPullSecretRef + + repository?: str + + url?: str + + version?: str + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderChartPullSecretRef: + r""" + PullSecretRef is reference to the secret containing credentials to helm repository + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderPatchesFromItems0: + r""" + ValueFromSource represents source of a value + + Attributes + ---------- + configMapKeyRef : HelmCrossplaneIoV1beta1ReleaseSpecForProviderPatchesFromItems0ConfigMapKeyRef, default is Undefined, optional + config map key ref + secretKeyRef : HelmCrossplaneIoV1beta1ReleaseSpecForProviderPatchesFromItems0SecretKeyRef, default is Undefined, optional + secret key ref + """ + + + configMapKeyRef?: HelmCrossplaneIoV1beta1ReleaseSpecForProviderPatchesFromItems0ConfigMapKeyRef + + secretKeyRef?: HelmCrossplaneIoV1beta1ReleaseSpecForProviderPatchesFromItems0SecretKeyRef + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderPatchesFromItems0ConfigMapKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderPatchesFromItems0SecretKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0: + r""" + SetVal represents a "set" value override in a Release + + Attributes + ---------- + name : str, default is Undefined, required + name + value : str, default is Undefined, optional + value + valueFrom : HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0ValueFrom, default is Undefined, optional + value from + """ + + + name: str + + value?: str + + valueFrom?: HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0ValueFrom + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0ValueFrom: + r""" + ValueFromSource represents source of a value + + Attributes + ---------- + configMapKeyRef : HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0ValueFromConfigMapKeyRef, default is Undefined, optional + config map key ref + secretKeyRef : HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0ValueFromSecretKeyRef, default is Undefined, optional + secret key ref + """ + + + configMapKeyRef?: HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0ValueFromConfigMapKeyRef + + secretKeyRef?: HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0ValueFromSecretKeyRef + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0ValueFromConfigMapKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderSetItems0ValueFromSecretKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderValuesFromItems0: + r""" + ValueFromSource represents source of a value + + Attributes + ---------- + configMapKeyRef : HelmCrossplaneIoV1beta1ReleaseSpecForProviderValuesFromItems0ConfigMapKeyRef, default is Undefined, optional + config map key ref + secretKeyRef : HelmCrossplaneIoV1beta1ReleaseSpecForProviderValuesFromItems0SecretKeyRef, default is Undefined, optional + secret key ref + """ + + + configMapKeyRef?: HelmCrossplaneIoV1beta1ReleaseSpecForProviderValuesFromItems0ConfigMapKeyRef + + secretKeyRef?: HelmCrossplaneIoV1beta1ReleaseSpecForProviderValuesFromItems0SecretKeyRef + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderValuesFromItems0ConfigMapKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1beta1ReleaseSpecForProviderValuesFromItems0SecretKeyRef: + r""" + DataKeySelector defines required spec to access a key of a configmap or secret + + Attributes + ---------- + key : str, default is Undefined, optional + key + name : str, default is Undefined, required + name + namespace : str, default is Undefined, required + namespace + optional : bool, default is Undefined, optional + optional + """ + + + key?: str + + name: str + + namespace: str + + optional?: bool + + +schema HelmCrossplaneIoV1beta1ReleaseSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : HelmCrossplaneIoV1beta1ReleaseSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: HelmCrossplaneIoV1beta1ReleaseSpecProviderConfigRefPolicy + + +schema HelmCrossplaneIoV1beta1ReleaseSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsToConfigRef + + metadata?: HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsToMetadata + + name: str + + +schema HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsToConfigRefPolicy + + +schema HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema HelmCrossplaneIoV1beta1ReleaseSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema HelmCrossplaneIoV1beta1ReleaseSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema HelmCrossplaneIoV1beta1ReleaseStatus: + r""" + A ReleaseStatus represents the observed state of a Release. + + Attributes + ---------- + atProvider : HelmCrossplaneIoV1beta1ReleaseStatusAtProvider, default is Undefined, optional + at provider + conditions : [HelmCrossplaneIoV1beta1ReleaseStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + failed : int, default is Undefined, optional + failed + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + patchesSha : str, default is Undefined, optional + patches sha + synced : bool, default is Undefined, optional + synced + """ + + + atProvider?: HelmCrossplaneIoV1beta1ReleaseStatusAtProvider + + conditions?: [HelmCrossplaneIoV1beta1ReleaseStatusConditionsItems0] + + failed?: int + + observedGeneration?: int + + patchesSha?: str + + synced?: bool + + +schema HelmCrossplaneIoV1beta1ReleaseStatusAtProvider: + r""" + ReleaseObservation are the observable fields of a Release. + + Attributes + ---------- + releaseDescription : str, default is Undefined, optional + release description + revision : int, default is Undefined, optional + revision + state : str, default is Undefined, optional + Status is the status of a release + """ + + + releaseDescription?: str + + revision?: int + + state?: str + + +schema HelmCrossplaneIoV1beta1ReleaseStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/crossplane/v1beta1/pkg_crossplane_io_v1beta1_deployment_runtime_config.k b/crossplane/v1beta1/pkg_crossplane_io_v1beta1_deployment_runtime_config.k index 8ffaa9bb..bb6d8e37 100644 --- a/crossplane/v1beta1/pkg_crossplane_io_v1beta1_deployment_runtime_config.k +++ b/crossplane/v1beta1/pkg_crossplane_io_v1beta1_deployment_runtime_config.k @@ -4,15 +4,17 @@ Editing this file might prove futile when you re-run the KCL auto-gen generate c """ import regex import k8s.apimachinery.pkg.apis.meta.v1 -regex_match = regex.match +_regex_match = regex.match schema DeploymentRuntimeConfig: - """ - A DeploymentRuntimeConfig is used to configure the package runtime when - the package uses a runtime and the package manager is running with - --package-runtime=Deployment (the default). See the following design doc for - more details:https://github.com/crossplane/crossplane/blob/91edeae3fcac96c6c8a1759a723981eea4bb77e4/design/one-pager-package-runtime-config.md#migration-from-controllerconfig + r""" + The DeploymentRuntimeConfig provides settings for the Kubernetes Deployment + of a Provider or composition function package. + + + Read the Crossplane documentation for + [more information about DeploymentRuntimeConfigs](https://docs.crossplane.io/latest/concepts/providers/#runtime-configuration). Attributes ---------- @@ -37,7 +39,7 @@ schema DeploymentRuntimeConfig: schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpec: - """ + r""" DeploymentRuntimeConfigSpec specifies the configuration for a packaged controller. Values provided will override package manager defaults. Labels and annotations are passed to both the controller Deployment and ServiceAccount. @@ -61,7 +63,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpec: schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplate: - """ + r""" DeploymentTemplate is the template for the Deployment object. Attributes @@ -79,7 +81,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplate: schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateMetadata: - """ + r""" Metadata contains the configurable metadata fields for the Deployment. Attributes @@ -88,13 +90,13 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateMetada 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: http://kubernetes.io/docs/user-guide/annotations + More info: http:https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ labels : {str:str}, default is Undefined, optional Map of string keys and values that can be used to organize and categorize (scope and select) objects. Labels will be merged with internal labels used by crossplane, and labels with a crossplane.io key might be overwritten. - More info: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ name : str, default is Undefined, optional Name is the name of the object. """ @@ -108,7 +110,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateMetada schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpec: - """ + r""" Spec contains the configurable spec fields for the Deployment object. Attributes @@ -159,7 +161,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpec: schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecSelector: - """ + r""" Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. @@ -181,7 +183,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecSe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -208,7 +210,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecSe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecStrategy: - """ + r""" The deployment strategy to use to replace existing pods with new ones. Attributes @@ -226,7 +228,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecSt schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecStrategyRollingUpdate: - """ + r""" Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. --- @@ -267,7 +269,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecSt schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplate: - """ + r""" Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always". @@ -286,7 +288,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateMetadata: - """ + r""" Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata @@ -317,7 +319,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpec: - """ + r""" Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -598,11 +600,11 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - all _, overhead in overhead {regex_match(str(overhead), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if overhead } if overhead + all _, overhead in overhead {_regex_match(str(overhead), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if overhead } if overhead schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinity: - """ + r""" If specified, the pod's scheduling constraints Attributes @@ -624,7 +626,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityNodeAffinity: - """ + r""" Describes node affinity scheduling rules for the pod. Attributes @@ -650,7 +652,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0: - """ + r""" 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). @@ -669,7 +671,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0Preference: - """ + r""" A node selector term, associated with the corresponding weight. Attributes @@ -687,7 +689,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PreferenceMatchExpressionsItems0: - """ + r""" A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -715,7 +717,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PreferenceMatchFieldsItems0: - """ + r""" A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -743,7 +745,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution: - """ + r""" 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 @@ -761,7 +763,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItems0: - """ + r""" 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. @@ -781,7 +783,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItems0MatchExpressionsItems0: - """ + r""" A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -809,7 +811,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItems0MatchFieldsItems0: - """ + r""" A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -837,7 +839,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinity: - """ + r""" Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). Attributes @@ -869,7 +871,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0: - """ + r""" The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) Attributes @@ -888,7 +890,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTerm: - """ + r""" Required. A pod affinity term, associated with the corresponding weight. Attributes @@ -945,7 +947,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermLabelSelector: - """ + r""" A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. @@ -966,7 +968,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermLabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -993,7 +995,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermNamespaceSelector: - """ + r""" 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. @@ -1017,7 +1019,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermNamespaceSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -1044,7 +1046,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0: - """ + r""" 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, @@ -1106,7 +1108,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0LabelSelector: - """ + r""" A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. @@ -1127,7 +1129,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0LabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -1154,7 +1156,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0NamespaceSelector: - """ + r""" 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. @@ -1178,7 +1180,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0NamespaceSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -1205,7 +1207,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinity: - """ + r""" Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). Attributes @@ -1237,7 +1239,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0: - """ + r""" The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) Attributes @@ -1256,7 +1258,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTerm: - """ + r""" Required. A pod affinity term, associated with the corresponding weight. Attributes @@ -1313,7 +1315,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermLabelSelector: - """ + r""" A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. @@ -1334,7 +1336,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermLabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -1361,7 +1363,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermNamespaceSelector: - """ + r""" 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. @@ -1385,7 +1387,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItems0PodAffinityTermNamespaceSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -1412,7 +1414,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0: - """ + r""" 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, @@ -1474,7 +1476,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0LabelSelector: - """ + r""" A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. @@ -1495,7 +1497,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0LabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -1522,7 +1524,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0NamespaceSelector: - """ + r""" 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. @@ -1546,7 +1548,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItems0NamespaceSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -1573,7 +1575,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0: - """ + r""" A single application container that you want to run within a pod. Attributes @@ -1753,7 +1755,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0EnvFromItems0: - """ + r""" EnvFromSource represents the source of a set of ConfigMaps Attributes @@ -1775,7 +1777,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0EnvFromItems0ConfigMapRef: - """ + r""" The ConfigMap to select from Attributes @@ -1795,7 +1797,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0EnvFromItems0SecretRef: - """ + r""" The Secret to select from Attributes @@ -1815,7 +1817,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0EnvItems0: - """ + r""" EnvVar represents an environment variable present in a Container. Attributes @@ -1845,7 +1847,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0EnvItems0ValueFrom: - """ + r""" Source for the environment variable's value. Cannot be used if value is not empty. Attributes @@ -1871,7 +1873,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0EnvItems0ValueFromConfigMapKeyRef: - """ + r""" Selects a key of a ConfigMap. Attributes @@ -1895,7 +1897,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0EnvItems0ValueFromFieldRef: - """ + r""" Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. @@ -1914,7 +1916,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0EnvItems0ValueFromResourceFieldRef: - """ + r""" Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. @@ -1937,11 +1939,11 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor + _regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0EnvItems0ValueFromSecretKeyRef: - """ + r""" Selects a key of a secret in the pod's namespace Attributes @@ -1965,7 +1967,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0Lifecycle: - """ + r""" Actions that the management system should take in response to container lifecycle events. Cannot be updated. @@ -1984,7 +1986,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePostStart: - """ + r""" PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. @@ -2013,7 +2015,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePostStartExec: - """ + r""" Exec specifies the action to take. Attributes @@ -2031,7 +2033,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePostStartHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -2065,7 +2067,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePostStartHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -2084,7 +2086,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePostStartSleep: - """ + r""" Sleep represents the duration that the container should sleep before being terminated. Attributes @@ -2098,7 +2100,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePostStartTCPSocket: - """ + r""" Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. @@ -2120,7 +2122,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePreStop: - """ + r""" PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the @@ -2154,7 +2156,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePreStopExec: - """ + r""" Exec specifies the action to take. Attributes @@ -2172,7 +2174,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePreStopHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -2206,7 +2208,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePreStopHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -2225,7 +2227,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePreStopSleep: - """ + r""" Sleep represents the duration that the container should sleep before being terminated. Attributes @@ -2239,7 +2241,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LifecyclePreStopTCPSocket: - """ + r""" Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. @@ -2261,7 +2263,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LivenessProbe: - """ + r""" Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. @@ -2329,7 +2331,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LivenessProbeExec: - """ + r""" Exec specifies the action to take. Attributes @@ -2347,7 +2349,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LivenessProbeGrpc: - """ + r""" GRPC specifies an action involving a GRPC port. Attributes @@ -2369,7 +2371,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LivenessProbeHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -2403,7 +2405,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LivenessProbeHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -2422,7 +2424,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0LivenessProbeTCPSocket: - """ + r""" TCPSocket specifies an action involving a TCP port. Attributes @@ -2442,7 +2444,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0PortsItems0: - """ + r""" ContainerPort represents a network port in a single container. Attributes @@ -2479,7 +2481,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0ReadinessProbe: - """ + r""" Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. @@ -2547,7 +2549,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0ReadinessProbeExec: - """ + r""" Exec specifies the action to take. Attributes @@ -2565,7 +2567,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0ReadinessProbeGrpc: - """ + r""" GRPC specifies an action involving a GRPC port. Attributes @@ -2587,7 +2589,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0ReadinessProbeHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -2621,7 +2623,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0ReadinessProbeHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -2640,7 +2642,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0ReadinessProbeTCPSocket: - """ + r""" TCPSocket specifies an action involving a TCP port. Attributes @@ -2660,7 +2662,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0ResizePolicyItems0: - """ + r""" ContainerResizePolicy represents resource resize policy for the container. Attributes @@ -2680,7 +2682,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0Resources: - """ + r""" Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -2716,12 +2718,12 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - all _, limits in limits {regex_match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits - all _, requests in requests {regex_match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests + all _, limits in limits {_regex_match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits + all _, requests in requests {_regex_match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0ResourcesClaimsItems0: - """ + r""" ResourceClaim references one entry in PodSpec.ResourceClaims. Attributes @@ -2737,7 +2739,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0SecurityContext: - """ + r""" SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ @@ -2821,7 +2823,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0SecurityContextCapabilities: - """ + r""" The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. @@ -2841,7 +2843,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0SecurityContextSeLinuxOptions: - """ + r""" The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and @@ -2871,7 +2873,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0SecurityContextSeccompProfile: - """ + r""" The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. @@ -2901,7 +2903,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0SecurityContextWindowsOptions: - """ + r""" The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. @@ -2938,7 +2940,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0StartupProbe: - """ + r""" StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. @@ -3009,7 +3011,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0StartupProbeExec: - """ + r""" Exec specifies the action to take. Attributes @@ -3027,7 +3029,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0StartupProbeGrpc: - """ + r""" GRPC specifies an action involving a GRPC port. Attributes @@ -3049,7 +3051,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0StartupProbeHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -3083,7 +3085,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0StartupProbeHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -3102,7 +3104,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0StartupProbeTCPSocket: - """ + r""" TCPSocket specifies an action involving a TCP port. Attributes @@ -3122,7 +3124,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0VolumeDevicesItems0: - """ + r""" volumeDevice describes a mapping of a raw block device within a container. Attributes @@ -3140,7 +3142,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecContainersItems0VolumeMountsItems0: - """ + r""" VolumeMount describes a mounting of a Volume within a container. Attributes @@ -3183,7 +3185,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecDNSConfig: - """ + r""" Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. @@ -3214,7 +3216,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecDNSConfigOptionsItems0: - """ + r""" PodDNSConfigOption defines DNS resolver options of a pod. Attributes @@ -3232,7 +3234,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0: - """ + r""" An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is @@ -3410,7 +3412,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0EnvFromItems0: - """ + r""" EnvFromSource represents the source of a set of ConfigMaps Attributes @@ -3432,7 +3434,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0EnvFromItems0ConfigMapRef: - """ + r""" The ConfigMap to select from Attributes @@ -3452,7 +3454,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0EnvFromItems0SecretRef: - """ + r""" The Secret to select from Attributes @@ -3472,7 +3474,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0EnvItems0: - """ + r""" EnvVar represents an environment variable present in a Container. Attributes @@ -3502,7 +3504,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0EnvItems0ValueFrom: - """ + r""" Source for the environment variable's value. Cannot be used if value is not empty. Attributes @@ -3528,7 +3530,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0EnvItems0ValueFromConfigMapKeyRef: - """ + r""" Selects a key of a ConfigMap. Attributes @@ -3552,7 +3554,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0EnvItems0ValueFromFieldRef: - """ + r""" Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. @@ -3571,7 +3573,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0EnvItems0ValueFromResourceFieldRef: - """ + r""" Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. @@ -3594,11 +3596,11 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor + _regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0EnvItems0ValueFromSecretKeyRef: - """ + r""" Selects a key of a secret in the pod's namespace Attributes @@ -3622,7 +3624,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0Lifecycle: - """ + r""" Lifecycle is not allowed for ephemeral containers. Attributes @@ -3640,7 +3642,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePostStart: - """ + r""" PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. @@ -3669,7 +3671,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePostStartExec: - """ + r""" Exec specifies the action to take. Attributes @@ -3687,7 +3689,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePostStartHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -3721,7 +3723,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePostStartHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -3740,7 +3742,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePostStartSleep: - """ + r""" Sleep represents the duration that the container should sleep before being terminated. Attributes @@ -3754,7 +3756,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePostStartTCPSocket: - """ + r""" Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. @@ -3776,7 +3778,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePreStop: - """ + r""" PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the @@ -3810,7 +3812,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePreStopExec: - """ + r""" Exec specifies the action to take. Attributes @@ -3828,7 +3830,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePreStopHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -3862,7 +3864,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePreStopHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -3881,7 +3883,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePreStopSleep: - """ + r""" Sleep represents the duration that the container should sleep before being terminated. Attributes @@ -3895,7 +3897,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LifecyclePreStopTCPSocket: - """ + r""" Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. @@ -3917,7 +3919,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LivenessProbe: - """ + r""" Probes are not allowed for ephemeral containers. Attributes @@ -3982,7 +3984,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LivenessProbeExec: - """ + r""" Exec specifies the action to take. Attributes @@ -4000,7 +4002,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LivenessProbeGrpc: - """ + r""" GRPC specifies an action involving a GRPC port. Attributes @@ -4022,7 +4024,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LivenessProbeHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -4056,7 +4058,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LivenessProbeHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -4075,7 +4077,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0LivenessProbeTCPSocket: - """ + r""" TCPSocket specifies an action involving a TCP port. Attributes @@ -4095,7 +4097,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0PortsItems0: - """ + r""" ContainerPort represents a network port in a single container. Attributes @@ -4132,7 +4134,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0ReadinessProbe: - """ + r""" Probes are not allowed for ephemeral containers. Attributes @@ -4197,7 +4199,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0ReadinessProbeExec: - """ + r""" Exec specifies the action to take. Attributes @@ -4215,7 +4217,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0ReadinessProbeGrpc: - """ + r""" GRPC specifies an action involving a GRPC port. Attributes @@ -4237,7 +4239,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0ReadinessProbeHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -4271,7 +4273,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0ReadinessProbeHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -4290,7 +4292,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0ReadinessProbeTCPSocket: - """ + r""" TCPSocket specifies an action involving a TCP port. Attributes @@ -4310,7 +4312,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0ResizePolicyItems0: - """ + r""" ContainerResizePolicy represents resource resize policy for the container. Attributes @@ -4330,7 +4332,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0Resources: - """ + r""" Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. @@ -4365,12 +4367,12 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - all _, limits in limits {regex_match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits - all _, requests in requests {regex_match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests + all _, limits in limits {_regex_match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits + all _, requests in requests {_regex_match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0ResourcesClaimsItems0: - """ + r""" ResourceClaim references one entry in PodSpec.ResourceClaims. Attributes @@ -4386,7 +4388,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0SecurityContext: - """ + r""" Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. @@ -4469,7 +4471,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0SecurityContextCapabilities: - """ + r""" The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. @@ -4489,7 +4491,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0SecurityContextSeLinuxOptions: - """ + r""" The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and @@ -4519,7 +4521,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0SecurityContextSeccompProfile: - """ + r""" The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. @@ -4549,7 +4551,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0SecurityContextWindowsOptions: - """ + r""" The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. @@ -4586,7 +4588,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0StartupProbe: - """ + r""" Probes are not allowed for ephemeral containers. Attributes @@ -4651,7 +4653,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0StartupProbeExec: - """ + r""" Exec specifies the action to take. Attributes @@ -4669,7 +4671,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0StartupProbeGrpc: - """ + r""" GRPC specifies an action involving a GRPC port. Attributes @@ -4691,7 +4693,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0StartupProbeHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -4725,7 +4727,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0StartupProbeHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -4744,7 +4746,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0StartupProbeTCPSocket: - """ + r""" TCPSocket specifies an action involving a TCP port. Attributes @@ -4764,7 +4766,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0VolumeDevicesItems0: - """ + r""" volumeDevice describes a mapping of a raw block device within a container. Attributes @@ -4782,7 +4784,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecEphemeralContainersItems0VolumeMountsItems0: - """ + r""" VolumeMount describes a mounting of a Volume within a container. Attributes @@ -4825,7 +4827,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecHostAliasesItems0: - """ + r""" HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. @@ -4844,7 +4846,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecImagePullSecretsItems0: - """ + r""" LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -4861,7 +4863,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0: - """ + r""" A single application container that you want to run within a pod. Attributes @@ -5041,7 +5043,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0EnvFromItems0: - """ + r""" EnvFromSource represents the source of a set of ConfigMaps Attributes @@ -5063,7 +5065,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0EnvFromItems0ConfigMapRef: - """ + r""" The ConfigMap to select from Attributes @@ -5083,7 +5085,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0EnvFromItems0SecretRef: - """ + r""" The Secret to select from Attributes @@ -5103,7 +5105,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0EnvItems0: - """ + r""" EnvVar represents an environment variable present in a Container. Attributes @@ -5133,7 +5135,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0EnvItems0ValueFrom: - """ + r""" Source for the environment variable's value. Cannot be used if value is not empty. Attributes @@ -5159,7 +5161,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0EnvItems0ValueFromConfigMapKeyRef: - """ + r""" Selects a key of a ConfigMap. Attributes @@ -5183,7 +5185,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0EnvItems0ValueFromFieldRef: - """ + r""" Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. @@ -5202,7 +5204,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0EnvItems0ValueFromResourceFieldRef: - """ + r""" Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. @@ -5225,11 +5227,11 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor + _regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0EnvItems0ValueFromSecretKeyRef: - """ + r""" Selects a key of a secret in the pod's namespace Attributes @@ -5253,7 +5255,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0Lifecycle: - """ + r""" Actions that the management system should take in response to container lifecycle events. Cannot be updated. @@ -5272,7 +5274,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePostStart: - """ + r""" PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. @@ -5301,7 +5303,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePostStartExec: - """ + r""" Exec specifies the action to take. Attributes @@ -5319,7 +5321,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePostStartHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -5353,7 +5355,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePostStartHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -5372,7 +5374,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePostStartSleep: - """ + r""" Sleep represents the duration that the container should sleep before being terminated. Attributes @@ -5386,7 +5388,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePostStartTCPSocket: - """ + r""" Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. @@ -5408,7 +5410,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePreStop: - """ + r""" PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the @@ -5442,7 +5444,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePreStopExec: - """ + r""" Exec specifies the action to take. Attributes @@ -5460,7 +5462,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePreStopHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -5494,7 +5496,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePreStopHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -5513,7 +5515,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePreStopSleep: - """ + r""" Sleep represents the duration that the container should sleep before being terminated. Attributes @@ -5527,7 +5529,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LifecyclePreStopTCPSocket: - """ + r""" Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. @@ -5549,7 +5551,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LivenessProbe: - """ + r""" Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. @@ -5617,7 +5619,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LivenessProbeExec: - """ + r""" Exec specifies the action to take. Attributes @@ -5635,7 +5637,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LivenessProbeGrpc: - """ + r""" GRPC specifies an action involving a GRPC port. Attributes @@ -5657,7 +5659,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LivenessProbeHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -5691,7 +5693,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LivenessProbeHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -5710,7 +5712,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0LivenessProbeTCPSocket: - """ + r""" TCPSocket specifies an action involving a TCP port. Attributes @@ -5730,7 +5732,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0PortsItems0: - """ + r""" ContainerPort represents a network port in a single container. Attributes @@ -5767,7 +5769,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0ReadinessProbe: - """ + r""" Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. @@ -5835,7 +5837,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0ReadinessProbeExec: - """ + r""" Exec specifies the action to take. Attributes @@ -5853,7 +5855,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0ReadinessProbeGrpc: - """ + r""" GRPC specifies an action involving a GRPC port. Attributes @@ -5875,7 +5877,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0ReadinessProbeHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -5909,7 +5911,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0ReadinessProbeHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -5928,7 +5930,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0ReadinessProbeTCPSocket: - """ + r""" TCPSocket specifies an action involving a TCP port. Attributes @@ -5948,7 +5950,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0ResizePolicyItems0: - """ + r""" ContainerResizePolicy represents resource resize policy for the container. Attributes @@ -5968,7 +5970,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0Resources: - """ + r""" Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -6004,12 +6006,12 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - all _, limits in limits {regex_match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits - all _, requests in requests {regex_match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests + all _, limits in limits {_regex_match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits + all _, requests in requests {_regex_match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0ResourcesClaimsItems0: - """ + r""" ResourceClaim references one entry in PodSpec.ResourceClaims. Attributes @@ -6025,7 +6027,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0SecurityContext: - """ + r""" SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ @@ -6109,7 +6111,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0SecurityContextCapabilities: - """ + r""" The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. @@ -6129,7 +6131,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0SecurityContextSeLinuxOptions: - """ + r""" The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and @@ -6159,7 +6161,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0SecurityContextSeccompProfile: - """ + r""" The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. @@ -6189,7 +6191,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0SecurityContextWindowsOptions: - """ + r""" The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. @@ -6226,7 +6228,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0StartupProbe: - """ + r""" StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. @@ -6297,7 +6299,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0StartupProbeExec: - """ + r""" Exec specifies the action to take. Attributes @@ -6315,7 +6317,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0StartupProbeGrpc: - """ + r""" GRPC specifies an action involving a GRPC port. Attributes @@ -6337,7 +6339,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0StartupProbeHTTPGet: - """ + r""" HTTPGet specifies the http request to perform. Attributes @@ -6371,7 +6373,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0StartupProbeHTTPGetHTTPHeadersItems0: - """ + r""" HTTPHeader describes a custom header to be used in HTTP probes Attributes @@ -6390,7 +6392,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0StartupProbeTCPSocket: - """ + r""" TCPSocket specifies an action involving a TCP port. Attributes @@ -6410,7 +6412,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0VolumeDevicesItems0: - """ + r""" volumeDevice describes a mapping of a raw block device within a container. Attributes @@ -6428,7 +6430,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecInitContainersItems0VolumeMountsItems0: - """ + r""" VolumeMount describes a mounting of a Volume within a container. Attributes @@ -6471,7 +6473,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecOs: - """ + r""" Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set. @@ -6517,7 +6519,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecReadinessGatesItems0: - """ + r""" PodReadinessGate contains the reference to a pod condition Attributes @@ -6531,7 +6533,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecResourceClaimsItems0: - """ + r""" PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. @@ -6552,7 +6554,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecResourceClaimsItems0Source: - """ + r""" Source describes where to find the ResourceClaim. Attributes @@ -6584,7 +6586,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecSchedulingGatesItems0: - """ + r""" PodSchedulingGate is associated to a Pod to guard its scheduling. Attributes @@ -6599,7 +6601,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecSecurityContext: - """ + r""" SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. @@ -6690,7 +6692,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecSecurityContextSeLinuxOptions: - """ + r""" The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in @@ -6721,7 +6723,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecSecurityContextSeccompProfile: - """ + r""" The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. @@ -6749,7 +6751,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecSecurityContextSysctlsItems0: - """ + r""" Sysctl defines a kernel parameter to be set Attributes @@ -6767,7 +6769,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecSecurityContextWindowsOptions: - """ + r""" The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. @@ -6804,7 +6806,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecTolerationsItems0: - """ + r""" The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . @@ -6844,7 +6846,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecTopologySpreadConstraintsItems0: - """ + r""" TopologySpreadConstraint specifies how to spread matching pods among the given topology. Attributes @@ -6975,7 +6977,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecTopologySpreadConstraintsItems0LabelSelector: - """ + r""" LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. @@ -6997,7 +6999,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecTopologySpreadConstraintsItems0LabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -7024,7 +7026,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0: - """ + r""" Volume represents a named volume in a pod that may be accessed by any container in the pod. Attributes @@ -7156,7 +7158,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0AwsElasticBlockStore: - """ + r""" awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore @@ -7193,7 +7195,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0AzureDisk: - """ + r""" azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Attributes @@ -7230,7 +7232,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0AzureFile: - """ + r""" azureFile represents an Azure File Service mount on the host and bind mount to the pod. Attributes @@ -7253,7 +7255,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Cephfs: - """ + r""" cephFS represents a Ceph FS mount on the host that shares a pod's lifetime Attributes @@ -7292,7 +7294,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0CephfsSecretRef: - """ + r""" secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -7309,7 +7311,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Cinder: - """ + r""" cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md @@ -7342,7 +7344,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0CinderSecretRef: - """ + r""" secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. @@ -7359,7 +7361,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ConfigMap: - """ + r""" configMap represents a configMap that should populate this volume Attributes @@ -7399,7 +7401,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ConfigMapItemsItems0: - """ + r""" Maps a string key to a path within a volume. Attributes @@ -7429,7 +7431,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Csi: - """ + r""" csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). Attributes @@ -7464,7 +7466,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0CsiNodePublishSecretRef: - """ + r""" nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. @@ -7484,7 +7486,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0DownwardAPI: - """ + r""" downwardAPI represents downward API about the pod that should populate this volume Attributes @@ -7509,7 +7511,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0DownwardAPIItemsItems0: - """ + r""" DownwardAPIVolumeFile represents information to create the file containing the pod field Attributes @@ -7540,7 +7542,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0DownwardAPIItemsItems0FieldRef: - """ + r""" Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. Attributes @@ -7558,7 +7560,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0DownwardAPIItemsItems0ResourceFieldRef: - """ + r""" Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. @@ -7581,11 +7583,11 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor + _regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0EmptyDir: - """ + r""" emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir @@ -7612,11 +7614,11 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - regex_match(str(sizeLimit), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if sizeLimit + _regex_match(str(sizeLimit), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if sizeLimit schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Ephemeral: - """ + r""" ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. @@ -7657,7 +7659,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0EphemeralVolumeClaimTemplate: - """ + r""" Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the @@ -7698,7 +7700,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0EphemeralVolumeClaimTemplateMetadata: - """ + r""" May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. @@ -7730,7 +7732,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0EphemeralVolumeClaimTemplateSpec: - """ + r""" The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim @@ -7793,7 +7795,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0EphemeralVolumeClaimTemplateSpecDataSource: - """ + r""" dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) @@ -7824,7 +7826,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0EphemeralVolumeClaimTemplateSpecDataSourceRef: - """ + r""" dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. @@ -7876,7 +7878,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0EphemeralVolumeClaimTemplateSpecResources: - """ + r""" resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the @@ -7902,12 +7904,12 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - all _, limits in limits {regex_match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits - all _, requests in requests {regex_match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests + all _, limits in limits {_regex_match(str(limits), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if limits } if limits + all _, requests in requests {_regex_match(str(requests), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if requests } if requests schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0EphemeralVolumeClaimTemplateSpecSelector: - """ + r""" selector is a label query over volumes to consider for binding. Attributes @@ -7927,7 +7929,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0EphemeralVolumeClaimTemplateSpecSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -7954,7 +7956,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Fc: - """ + r""" fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. Attributes @@ -7989,7 +7991,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0FlexVolume: - """ + r""" flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. @@ -8023,7 +8025,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0FlexVolumeSecretRef: - """ + r""" secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object @@ -8043,7 +8045,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Flocker: - """ + r""" flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running Attributes @@ -8062,7 +8064,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0GcePersistentDisk: - """ + r""" gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk @@ -8101,7 +8103,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0GitRepo: - """ + r""" gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir @@ -8129,7 +8131,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Glusterfs: - """ + r""" glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md @@ -8156,7 +8158,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0HostPath: - """ + r""" hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed @@ -8185,7 +8187,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Iscsi: - """ + r""" iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md @@ -8251,7 +8253,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0IscsiSecretRef: - """ + r""" secretRef is the CHAP Secret for iSCSI target and initiator authentication Attributes @@ -8267,7 +8269,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Nfs: - """ + r""" nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -8294,7 +8296,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0PersistentVolumeClaim: - """ + r""" persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -8316,7 +8318,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0PhotonPersistentDisk: - """ + r""" photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine Attributes @@ -8336,7 +8338,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0PortworxVolume: - """ + r""" portworxVolume represents a portworx volume attached and mounted on kubelets host machine Attributes @@ -8361,7 +8363,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Projected: - """ + r""" projected items for all in one resources secrets, configmaps, and downward API Attributes @@ -8384,7 +8386,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0: - """ + r""" Projection that may be projected along with other supported volume types Attributes @@ -8414,7 +8416,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0ClusterTrustBundle: - """ + r""" ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file. @@ -8466,7 +8468,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0ClusterTrustBundleLabelSelector: - """ + r""" Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as "match nothing". If set but empty, interpreted as "match @@ -8489,7 +8491,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0ClusterTrustBundleLabelSelectorMatchExpressionsItems0: - """ + r""" A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -8516,7 +8518,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0ConfigMap: - """ + r""" configMap information about the configMap data to project Attributes @@ -8546,7 +8548,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0ConfigMapItemsItems0: - """ + r""" Maps a string key to a path within a volume. Attributes @@ -8576,7 +8578,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0DownwardAPI: - """ + r""" downwardAPI information about the downwardAPI data to project Attributes @@ -8590,7 +8592,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0DownwardAPIItemsItems0: - """ + r""" DownwardAPIVolumeFile represents information to create the file containing the pod field Attributes @@ -8621,7 +8623,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0DownwardAPIItemsItems0FieldRef: - """ + r""" Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. Attributes @@ -8639,7 +8641,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0DownwardAPIItemsItems0ResourceFieldRef: - """ + r""" Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. @@ -8662,11 +8664,11 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe check: - regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor + _regex_match(str(divisor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if divisor schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0Secret: - """ + r""" secret information about the secret data to project Attributes @@ -8696,7 +8698,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0SecretItemsItems0: - """ + r""" Maps a string key to a path within a volume. Attributes @@ -8726,7 +8728,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ProjectedSourcesItems0ServiceAccountToken: - """ + r""" serviceAccountToken is information about the serviceAccountToken data to project Attributes @@ -8757,7 +8759,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Quobyte: - """ + r""" quobyte represents a Quobyte mount on the host that shares a pod's lifetime Attributes @@ -8797,7 +8799,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Rbd: - """ + r""" rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md @@ -8854,7 +8856,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0RbdSecretRef: - """ + r""" secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. @@ -8873,7 +8875,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ScaleIO: - """ + r""" scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Attributes @@ -8929,7 +8931,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0ScaleIOSecretRef: - """ + r""" secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. @@ -8946,7 +8948,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Secret: - """ + r""" secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret @@ -8986,7 +8988,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0SecretItemsItems0: - """ + r""" Maps a string key to a path within a volume. Attributes @@ -9016,7 +9018,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0Storageos: - """ + r""" storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Attributes @@ -9055,7 +9057,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0StorageosSecretRef: - """ + r""" secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. @@ -9072,7 +9074,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTemplateSpecVolumesItems0VsphereVolume: - """ + r""" vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine Attributes @@ -9100,7 +9102,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecDeploymentTemplateSpecTe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecServiceAccountTemplate: - """ + r""" ServiceAccountTemplate is the template for the ServiceAccount object. Attributes @@ -9114,7 +9116,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecServiceAccountTemplate: schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecServiceAccountTemplateMetadata: - """ + r""" Metadata contains the configurable metadata fields for the ServiceAccount. Attributes @@ -9123,13 +9125,13 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecServiceAccountTemplateMe 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: http://kubernetes.io/docs/user-guide/annotations + More info: http:https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ labels : {str:str}, default is Undefined, optional Map of string keys and values that can be used to organize and categorize (scope and select) objects. Labels will be merged with internal labels used by crossplane, and labels with a crossplane.io key might be overwritten. - More info: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ name : str, default is Undefined, optional Name is the name of the object. """ @@ -9143,7 +9145,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecServiceAccountTemplateMe schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecServiceTemplate: - """ + r""" ServiceTemplate is the template for the Service object. Attributes @@ -9157,7 +9159,7 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecServiceTemplate: schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecServiceTemplateMetadata: - """ + r""" Metadata contains the configurable metadata fields for the Service. Attributes @@ -9166,13 +9168,13 @@ schema PkgCrossplaneIoV1beta1DeploymentRuntimeConfigSpecServiceTemplateMetadata: 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: http://kubernetes.io/docs/user-guide/annotations + More info: http:https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ labels : {str:str}, default is Undefined, optional Map of string keys and values that can be used to organize and categorize (scope and select) objects. Labels will be merged with internal labels used by crossplane, and labels with a crossplane.io key might be overwritten. - More info: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ name : str, default is Undefined, optional Name is the name of the object. """ diff --git a/crossplane/v1beta1/pkg_crossplane_io_v1beta1_function.k b/crossplane/v1beta1/pkg_crossplane_io_v1beta1_function.k index e7a16ee6..d0ae4c1b 100644 --- a/crossplane/v1beta1/pkg_crossplane_io_v1beta1_function.k +++ b/crossplane/v1beta1/pkg_crossplane_io_v1beta1_function.k @@ -6,8 +6,13 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema Function: - """ - Function is the CRD type for a request to deploy a long-running Function. + r""" + A Function installs an OCI compatible Crossplane package, extending + Crossplane with support for a new kind of composition function. + + + Read the Crossplane documentation for + [more information about Functions](https://docs.crossplane.io/latest/concepts/composition-functions). Attributes ---------- @@ -36,7 +41,7 @@ schema Function: schema PkgCrossplaneIoV1beta1FunctionSpec: - """ + r""" FunctionSpec specifies the configuration of a Function. Attributes @@ -45,7 +50,7 @@ schema PkgCrossplaneIoV1beta1FunctionSpec: 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: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ controllerConfigRef : PkgCrossplaneIoV1beta1FunctionSpecControllerConfigRef, default is Undefined, optional controller config ref ignoreCrossplaneConstraints : bool, default is Undefined, optional @@ -100,7 +105,7 @@ schema PkgCrossplaneIoV1beta1FunctionSpec: schema PkgCrossplaneIoV1beta1FunctionSpecControllerConfigRef: - """ + r""" ControllerConfigRef references a ControllerConfig resource that will be used to configure the packaged controller Deployment. Deprecated: Use RuntimeConfigReference instead. @@ -116,7 +121,7 @@ schema PkgCrossplaneIoV1beta1FunctionSpecControllerConfigRef: schema PkgCrossplaneIoV1beta1FunctionSpecPackagePullSecretsItems0: - """ + r""" LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -133,7 +138,7 @@ schema PkgCrossplaneIoV1beta1FunctionSpecPackagePullSecretsItems0: schema PkgCrossplaneIoV1beta1FunctionSpecRuntimeConfigRef: - """ + r""" RuntimeConfigRef references a RuntimeConfig resource that will be used to configure the package runtime. @@ -156,7 +161,7 @@ schema PkgCrossplaneIoV1beta1FunctionSpecRuntimeConfigRef: schema PkgCrossplaneIoV1beta1FunctionStatus: - """ + r""" FunctionStatus represents the observed state of a Function. Attributes @@ -185,7 +190,7 @@ schema PkgCrossplaneIoV1beta1FunctionStatus: schema PkgCrossplaneIoV1beta1FunctionStatusConditionsItems0: - """ + r""" A Condition that may apply to a resource. Attributes @@ -196,6 +201,10 @@ schema PkgCrossplaneIoV1beta1FunctionStatusConditionsItems0: message : str, default is Undefined, optional A Message containing details about this condition's last transition from one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. reason : str, default is Undefined, required A Reason for this condition's last transition from one status to another. status : str, default is Undefined, required @@ -210,6 +219,8 @@ schema PkgCrossplaneIoV1beta1FunctionStatusConditionsItems0: message?: str + observedGeneration?: int + reason: str status: str diff --git a/crossplane/v1beta1/pkg_crossplane_io_v1beta1_function_revision.k b/crossplane/v1beta1/pkg_crossplane_io_v1beta1_function_revision.k index cdbfdb59..23ff0d47 100644 --- a/crossplane/v1beta1/pkg_crossplane_io_v1beta1_function_revision.k +++ b/crossplane/v1beta1/pkg_crossplane_io_v1beta1_function_revision.k @@ -6,8 +6,13 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema FunctionRevision: - """ - A FunctionRevision that has been added to Crossplane. + r""" + A FunctionRevision represents a revision of a Function. Crossplane + creates new revisions when there are changes to the Function. + + + Crossplane creates and manages FunctionRevisions. Don't directly edit + FunctionRevisions. Attributes ---------- @@ -36,7 +41,7 @@ schema FunctionRevision: schema PkgCrossplaneIoV1beta1FunctionRevisionSpec: - """ + r""" FunctionRevisionSpec specifies configuration for a FunctionRevision. Attributes @@ -45,7 +50,7 @@ schema PkgCrossplaneIoV1beta1FunctionRevisionSpec: 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: http://kubernetes.io/docs/user-guide/labels + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ controllerConfigRef : PkgCrossplaneIoV1beta1FunctionRevisionSpecControllerConfigRef, default is Undefined, optional controller config ref desiredState : str, default is Undefined, required @@ -110,7 +115,7 @@ schema PkgCrossplaneIoV1beta1FunctionRevisionSpec: schema PkgCrossplaneIoV1beta1FunctionRevisionSpecControllerConfigRef: - """ + r""" ControllerConfigRef references a ControllerConfig resource that will be used to configure the packaged controller Deployment. Deprecated: Use RuntimeConfigReference instead. @@ -126,7 +131,7 @@ schema PkgCrossplaneIoV1beta1FunctionRevisionSpecControllerConfigRef: schema PkgCrossplaneIoV1beta1FunctionRevisionSpecPackagePullSecretsItems0: - """ + r""" LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -143,7 +148,7 @@ schema PkgCrossplaneIoV1beta1FunctionRevisionSpecPackagePullSecretsItems0: schema PkgCrossplaneIoV1beta1FunctionRevisionSpecRuntimeConfigRef: - """ + r""" RuntimeConfigRef references a RuntimeConfig resource that will be used to configure the package runtime. @@ -166,7 +171,7 @@ schema PkgCrossplaneIoV1beta1FunctionRevisionSpecRuntimeConfigRef: schema PkgCrossplaneIoV1beta1FunctionRevisionStatus: - """ + r""" FunctionRevisionStatus represents the observed state of a FunctionRevision. Attributes @@ -207,7 +212,7 @@ schema PkgCrossplaneIoV1beta1FunctionRevisionStatus: schema PkgCrossplaneIoV1beta1FunctionRevisionStatusConditionsItems0: - """ + r""" A Condition that may apply to a resource. Attributes @@ -218,6 +223,10 @@ schema PkgCrossplaneIoV1beta1FunctionRevisionStatusConditionsItems0: message : str, default is Undefined, optional A Message containing details about this condition's last transition from one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. reason : str, default is Undefined, required A Reason for this condition's last transition from one status to another. status : str, default is Undefined, required @@ -232,6 +241,8 @@ schema PkgCrossplaneIoV1beta1FunctionRevisionStatusConditionsItems0: message?: str + observedGeneration?: int + reason: str status: str @@ -240,7 +251,7 @@ schema PkgCrossplaneIoV1beta1FunctionRevisionStatusConditionsItems0: schema PkgCrossplaneIoV1beta1FunctionRevisionStatusObjectRefsItems0: - """ + r""" A TypedReference refers to an object by Name, Kind, and APIVersion. It is commonly used to reference cluster-scoped objects or objects where the namespace is already known. @@ -268,7 +279,7 @@ schema PkgCrossplaneIoV1beta1FunctionRevisionStatusObjectRefsItems0: schema PkgCrossplaneIoV1beta1FunctionRevisionStatusPermissionRequestsItems0: - """ + r""" PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. diff --git a/crossplane/v1beta1/pkg_crossplane_io_v1beta1_lock.k b/crossplane/v1beta1/pkg_crossplane_io_v1beta1_lock.k index 1dc600dd..48c90ad4 100644 --- a/crossplane/v1beta1/pkg_crossplane_io_v1beta1_lock.k +++ b/crossplane/v1beta1/pkg_crossplane_io_v1beta1_lock.k @@ -6,7 +6,7 @@ import k8s.apimachinery.pkg.apis.meta.v1 schema Lock: - """ + r""" Lock is the CRD type that tracks package dependencies. Attributes @@ -32,7 +32,7 @@ schema Lock: schema PkgCrossplaneIoV1beta1LockPackagesItems0: - """ + r""" LockPackage is a package that is in the lock. Attributes @@ -63,7 +63,7 @@ schema PkgCrossplaneIoV1beta1LockPackagesItems0: schema PkgCrossplaneIoV1beta1LockPackagesItems0DependenciesItems0: - """ + r""" A Dependency is a dependency of a package in the lock. Attributes