crossplane
311 строк · 13.2 Кб
1apiVersion: apiextensions.k8s.io/v12kind: CustomResourceDefinition3metadata:4annotations:5controller-gen.kubebuilder.io/version: v0.14.06name: providerrevisions.pkg.crossplane.io7spec:8group: pkg.crossplane.io9names:10categories:11- crossplane12- pkgrev13kind: ProviderRevision14listKind: ProviderRevisionList15plural: providerrevisions16singular: providerrevision17scope: Cluster18versions:19- additionalPrinterColumns:20- jsonPath: .status.conditions[?(@.type=='Healthy')].status21name: HEALTHY22type: string23- jsonPath: .spec.revision24name: REVISION25type: string26- jsonPath: .spec.image27name: IMAGE28type: string29- jsonPath: .spec.desiredState30name: STATE31type: string32- jsonPath: .status.foundDependencies33name: DEP-FOUND34type: string35- jsonPath: .status.installedDependencies36name: DEP-INSTALLED37type: string38- jsonPath: .metadata.creationTimestamp39name: AGE40type: date41name: v142schema:43openAPIV3Schema:44description: A ProviderRevision that has been added to Crossplane.45properties:46apiVersion:47description: |-48APIVersion defines the versioned schema of this representation of an object.
49Servers should convert recognized schemas to the latest internal value, and50may reject unrecognized values.
51More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources52type: string53kind:54description: |-55Kind is a string value representing the REST resource this object represents.
56Servers may infer this from the endpoint the client submits requests to.
57Cannot be updated.
58In CamelCase.
59More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds60type: string61metadata:62type: object63spec:64description: ProviderRevisionSpec specifies configuration for a ProviderRevision.65properties:66commonLabels:67additionalProperties:68type: string69description: |-70Map of string keys and values that can be used to organize and categorize
71(scope and select) objects. May match selectors of replication controllers
72and services.
73More info: http://kubernetes.io/docs/user-guide/labels74type: object75controllerConfigRef:76description: |-77ControllerConfigRef references a ControllerConfig resource that will be
78used to configure the packaged controller Deployment.
79Deprecated: Use RuntimeConfigReference instead.80properties:81name:82description: Name of the ControllerConfig.83type: string84required:85- name86type: object87desiredState:88description: DesiredState of the PackageRevision. Can be either Active89or Inactive.
90type: string91ignoreCrossplaneConstraints:92default: false93description: |-94IgnoreCrossplaneConstraints indicates to the package manager whether to
95honor Crossplane version constrains specified by the package.
96Default is false.
97type: boolean98image:99description: Package image used by install Pod to extract package100contents.
101type: string102packagePullPolicy:103default: IfNotPresent104description: |-105PackagePullPolicy defines the pull policy for the package. It is also
106applied to any images pulled for the package, such as a provider's107controller image.
108Default is IfNotPresent.
109type: string110packagePullSecrets:111description: |-112PackagePullSecrets are named secrets in the same namespace that can be
113used to fetch packages from private registries. They are also applied to
114any images pulled for the package, such as a provider's controller image.115items:116description: |-117LocalObjectReference contains enough information to let you locate the
118referenced object inside the same namespace.
119properties:120name:121description: |-122Name of the referent.
123More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names124TODO: Add other useful fields. apiVersion, kind, uid?125type: string126type: object127x-kubernetes-map-type: atomic128type: array129revision:130description: |-131Revision number. Indicates when the revision will be garbage collected
132based on the parent's RevisionHistoryLimit.
133format: int64134type: integer135runtimeConfigRef:136default:137name: default138description: |-139RuntimeConfigRef references a RuntimeConfig resource that will be used
140to configure the package runtime.
141properties:142apiVersion:143default: pkg.crossplane.io/v1beta1144description: API version of the referent.145type: string146kind:147default: DeploymentRuntimeConfig148description: Kind of the referent.149type: string150name:151description: Name of the RuntimeConfig.152type: string153required:154- name155type: object156skipDependencyResolution:157default: false158description: |-159SkipDependencyResolution indicates to the package manager whether to skip
160resolving dependencies for a package. Setting this value to true may have
161unintended consequences.
162Default is false.
163type: boolean164tlsClientSecretName:165description: |-166TLSClientSecretName is the name of the TLS Secret that stores client
167certificates of the Provider.
168type: string169tlsServerSecretName:170description: |-171TLSServerSecretName is the name of the TLS Secret that stores server
172certificates of the Provider.
173type: string174required:175- desiredState176- image177- revision178type: object179status:180description: PackageRevisionStatus represents the observed state of a181PackageRevision.
182properties:183conditions:184description: Conditions of the resource.185items:186description: A Condition that may apply to a resource.187properties:188lastTransitionTime:189description: |-190LastTransitionTime is the last time this condition transitioned from one
191status to another.
192format: date-time193type: string194message:195description: |-196A Message containing details about this condition's last transition from
197one status to another, if any.198type: string199reason:200description: A Reason for this condition's last transition from201one status to another.
202type: string203status:204description: Status of this condition; is it currently True,205False, or Unknown?206type: string207type:208description: |-209Type of this condition. At most one of each condition type may apply to
210a resource at any point in time.
211type: string212required:213- lastTransitionTime214- reason215- status216- type217type: object218type: array219x-kubernetes-list-map-keys:220- type221x-kubernetes-list-type: map222foundDependencies:223description: Dependency information.224format: int64225type: integer226installedDependencies:227format: int64228type: integer229invalidDependencies:230format: int64231type: integer232objectRefs:233description: References to objects owned by PackageRevision.234items:235description: |-236A TypedReference refers to an object by Name, Kind, and APIVersion. It is237commonly used to reference cluster-scoped objects or objects where the238namespace is already known.
239properties:240apiVersion:241description: APIVersion of the referenced object.242type: string243kind:244description: Kind of the referenced object.245type: string246name:247description: Name of the referenced object.248type: string249uid:250description: UID of the referenced object.251type: string252required:253- apiVersion254- kind255- name256type: object257type: array258permissionRequests:259description: |-260PermissionRequests made by this package. The package declares that its
261controller needs these permissions to run. The RBAC manager is
262responsible for granting them.
263items:264description: |-265PolicyRule holds information that describes a policy rule, but does not contain information266about who the rule applies to or which namespace the rule applies to.
267properties:268apiGroups:269description: |-270APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of271the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.272items:273type: string274type: array275nonResourceURLs:276description: |-277NonResourceURLs 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 path278Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.279Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.280items:281type: string282type: array283resourceNames:284description: ResourceNames is an optional white list of names285that the rule applies to. An empty set means that everything
286is allowed.
287items:288type: string289type: array290resources:291description: Resources is a list of resources this rule applies292to. '*' represents all resources.293items:294type: string295type: array296verbs:297description: Verbs is a list of Verbs that apply to ALL the298ResourceKinds contained in this rule. '*' represents all verbs.299items:300type: string301type: array302required:303- verbs304type: object305type: array306type: object307type: object308served: true309storage: true310subresources:311status: {}312