-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
4,175 additions
and
0 deletions.
There are no files selected for viewing
329 changes: 329 additions & 0 deletions
329
apiextensions.crossplane.io/compositeresourcedefinition_v1.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
675 changes: 675 additions & 0 deletions
675
apiextensions.crossplane.io/compositionrevision_v1alpha1.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
{ | ||
"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": { | ||
"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", | ||
"additionalProperties": false | ||
}, | ||
"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", | ||
"additionalProperties": false | ||
}, | ||
"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", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"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", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,243 @@ | ||
{ | ||
"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": { | ||
"controllerConfigRef": { | ||
"description": "ControllerConfigRef references a ControllerConfig resource that will be used to configure the packaged controller Deployment.", | ||
"properties": { | ||
"name": { | ||
"description": "Name of the ControllerConfig.", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"name" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"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", | ||
"additionalProperties": false | ||
}, | ||
"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" | ||
}, | ||
"webhookTLSSecretName": { | ||
"description": "WebhookTLSSecretName is the name of the TLS Secret that will be used by the provider to serve a TLS-enabled webhook server. The certificate will be injected to webhook configurations as well as CRD conversion webhook strategy if needed. If it's not given, provider will not have a certificate mounted to its filesystem, webhook configurations won't be deployed and if there is a CRD with webhook conversion strategy, the installation will fail.", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"desiredState", | ||
"image", | ||
"revision" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"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", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"controllerRef": { | ||
"description": "ControllerRef references the controller (e.g. Deployment), if any, that is responsible for reconciling the objects this package revision installed.", | ||
"properties": { | ||
"name": { | ||
"description": "Name of the controller.", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"name" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"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", | ||
"additionalProperties": false | ||
}, | ||
"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.", | ||
"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", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object" | ||
} |
Oops, something went wrong.