API reference
ClaimDefinition
chrysopoeia.helmetica.io/v1, namespaced
ClaimDefinition is the Schema for the bundlesources API.
Spec
| Path | Type | Default | Description |
|---|---|---|---|
|
object |
CRDNames is the |
|
|
[]string |
categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like |
|
|
string |
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the |
|
|
string |
listKind is the serialized kind of the list for this resource. Defaults to "`kind`List". |
|
|
string |
plural is the plural name of the resource to serve. The custom resources are served under |
|
|
[]string |
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like |
|
|
string |
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased |
|
|
object |
InstancePermissions defines what permissions are required to deploy the Helm chart. The default permissions is equal to binding the "admin" aggregate role in the namespace. |
|
|
[]object |
AdditionalClusterRules holds additional cluster scoped rules that should be granted on top of the default permissions. |
|
|
[]string |
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. |
|
|
[]string |
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. |
|
|
[]string |
resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. |
|
|
[]string |
resources is a list of resources this rule applies to. '*' represents all resources. |
|
|
[]string |
verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs. |
|
|
[]object |
AdditionalRules holds additional rules that should be granted on top of the default permissions. |
|
|
[]string |
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. |
|
|
[]string |
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. |
|
|
[]string |
resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. |
|
|
[]string |
resources is a list of resources this rule applies to. '*' represents all resources. |
|
|
[]string |
verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs. |
|
|
[]object |
Manages declares that this source deploys the operator managing the CRDs of a DependencyGroup. The instance of a managing source is the provider consumers are wired to: it is harnessed to the group’s scope and granted access to the namespaces that require the group. A single group can be managed: the harness proxy scopes a cluster-scoped list to one label, and a label selector cannot express "carries either label". |
|
|
object |
DependencyGroup references a DependencyGroup. |
|
|
string |
As overrides the name the scope label is built from, so that a second deployment of the same operator can serve a separate set of consumers. Both the managing operator and its consumers have to set the same alias to end up in the same scope. |
|
|
string |
Name of the DependencyGroup. |
|
|
[]object |
Provides lists the DependencyGroups whose CRDs the chart of this source ships. It grants the chart write access to those CRDs and lets Helm install them; it says nothing about who operates them, that is Manages. Exactly one source may provide a group, otherwise two charts install the same CRDs over each other. An operator that bundles its CRDs provides and manages the group, while an operator whose CRDs come in a chart of their own only manages it. |
|
|
object |
DependencyGroup references a DependencyGroup. |
|
|
string |
As overrides the name the scope label is built from, so that a second deployment of the same operator can serve a separate set of consumers. Both the managing operator and its consumers have to set the same alias to end up in the same scope. |
|
|
string |
Name of the DependencyGroup. |
|
|
object |
Reference is a reference to the source of the bundle. |
|
|
enum: source.toolkit.fluxcd.io/v1 |
APIVersion of the referent. |
|
|
enum: OCIRepository |
Kind of the referent. |
|
|
string |
Name of the referent. |
|
|
[]object |
Requires lists the DependencyGroups that instances of this source consume. |
|
|
object |
DependencyGroup references a DependencyGroup. |
|
|
string |
As overrides the name the scope label is built from, so that a second deployment of the same operator can serve a separate set of consumers. Both the managing operator and its consumers have to set the same alias to end up in the same scope. |
|
|
string |
Name of the DependencyGroup. |
|
|
object |
VersionDiscovery defines how to discover the version of the source. |
|
|
object |
Reference is a reference to the discovery source of the version. |
|
|
enum: image.toolkit.fluxcd.io/v1 |
APIVersion of the referent. |
|
|
enum: ImageRepository |
Kind of the referent. |
|
|
string |
Name of the referent. |
Status
| Path | Type | Default | Description |
|---|---|---|---|
|
integer |
AppliedReferenceGeneration is the last applied generation of the referenced source. |
|
|
string |
AppliedReferenceRevision is the last applied revision of the referenced source. |
|
|
[]object |
Conditions holds the conditions for the ClaimDefinition. |
|
|
string |
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
|
|
string |
message is a human readable message indicating details about the transition. This may be an empty string. |
|
|
integer |
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. |
|
|
string |
reason contains a programmatic identifier indicating the reason for the condition’s last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. |
|
|
enum: True, False, Unknown |
status of the condition, one of True, False, Unknown. |
|
|
string |
type of condition in CamelCase or in foo.example.com/CamelCase. |
ClaimRevision
chrysopoeia.helmetica.io/v1, namespaced
ClaimRevision is the Schema for the bundlesources API.
Spec
| Path | Type | Default | Description |
|---|---|---|---|
|
string |
ApprovedAt is the timestamp when the revision was approved. The newest approved revision is the one that will be used for deployment. The revision |
|
|
string |
OCIUrl is the OCI repository URL where the service bundle is stored. |
|
|
object (free-form) |
Values is the values of the Helm chart. |
|
|
string |
Version is the version of the Helm chart. |
DependencyGroup
chrysopoeia.helmetica.io/v1, cluster
DependencyGroup is the Schema for the dependencygroups API. It bundles the CustomResourceDefinitions of a service so that charts can depend on the group instead of on individual CRDs, and ties them to the harness of the managing operator.
Spec
| Path | Type | Default | Description |
|---|---|---|---|
|
[]object |
ClusterRules grants any service account in the 'manages' namespace the given permissions on the cluster level. |
|
|
[]string |
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. |
|
|
[]string |
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. |
|
|
[]string |
resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. |
|
|
[]string |
resources is a list of resources this rule applies to. '*' represents all resources. |
|
|
[]string |
verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs. |
|
|
[]object |
CRDs are the CustomResourceDefinitions that belong to this group. A CRD must not belong to more than one group, groups claiming an already claimed CRD are rejected. The CRDs do not have to exist yet. |
|
|
string |
Name is the fully qualified name of the CRD, as written in its |
|
|
object |
HarnessRef references the harness of the operator managing the CRDs of this group. |
|
|
enum: OperatorHarness |
Kind of the referent. |
|
|
string |
Name of the referent. |
|
|
[]object |
LocalRules grants the service accounts in the 'manages' namespace namespace local permissions |
|
|
[]string |
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. |
|
|
[]string |
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. |
|
|
[]string |
resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. |
|
|
[]string |
resources is a list of resources this rule applies to. '*' represents all resources. |
|
|
[]string |
verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs. |
|
|
[]object |
Rules grants any service account in the 'manages' namespace the given permissions in the 'requires' namespaces. |
|
|
[]string |
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. |
|
|
[]string |
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. |
|
|
[]string |
resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. |
|
|
[]string |
resources is a list of resources this rule applies to. '*' represents all resources. |
|
|
[]string |
verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs. |
Status
| Path | Type | Default | Description |
|---|---|---|---|
|
[]object |
Conditions holds the conditions for the DependencyGroup. The Accepted condition carries the reason a group was rejected. |
|
|
string |
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
|
|
string |
message is a human readable message indicating details about the transition. This may be an empty string. |
|
|
integer |
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. |
|
|
string |
reason contains a programmatic identifier indicating the reason for the condition’s last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. |
|
|
enum: True, False, Unknown |
status of the condition, one of True, False, Unknown. |
|
|
string |
type of condition in CamelCase or in foo.example.com/CamelCase. |
|
|
enum: Accepted, Rejected |
State is Accepted if the group holds the claim on all of its CRDs, and Rejected otherwise. Only accepted groups may be referenced by a ClaimDefinition. |
OperatorHarness
chrysopoeia.helmetica.io/v1, cluster
OperatorHarness is the Schema for the operatorharnesses API.
It harnesses an operator that would otherwise require cluster-wide permissions by scoping its
access to resources carrying the label in .spec.scopeToLabel.
Spec
| Path | Type | Default | Description |
|---|---|---|---|
|
object |
Operator describes the harnessed operator’s workload. |
|
|
boolean |
InjectProxyConfiguration defines if the harnessed operator should have the harness proxy injected. If enabled, the harness copies the proxy’s CA certificate to Namespace and registers a mutating webhook that points the operator’s pods at the harness proxy instead of the Kubernetes API server. |
|
|
string |
Namespace is the namespace the harnessed operator runs in. |
|
|
[]string |
ServiceAccounts are the service accounts, in Namespace, the harnessed operator’s pods run as. Only pods running as one of these service accounts are harnessed. If empty, every pod in Namespace is harnessed, which is what a namespace holding a single operator wants: the service account is named by the operator’s chart and does not have to be known up front. |
|
|
string |
ScopeToLabel is the label that needs to be present on a resource for the harnessed operator to manage it. It is used to scope cluster-wide permissions: if the harnessed operator does a cluster-scoped list or watch through the harness proxy, it only sees resources carrying this label. |
Status
| Path | Type | Default | Description |
|---|---|---|---|
|
[]object |
Conditions holds the conditions for the OperatorHarness. |
|
|
string |
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
|
|
string |
message is a human readable message indicating details about the transition. This may be an empty string. |
|
|
integer |
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. |
|
|
string |
reason contains a programmatic identifier indicating the reason for the condition’s last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. |
|
|
enum: True, False, Unknown |
status of the condition, one of True, False, Unknown. |
|
|
string |
type of condition in CamelCase or in foo.example.com/CamelCase. |