API reference

ClaimDefinition

chrysopoeia.helmetica.io/v1, namespaced

ClaimDefinition is the Schema for the bundlesources API.

Spec

Path Type Default Description

spec.crdNames

object

CRDNames is the .spec.names field of the generated [apiextv1.CustomResourceDefinition]. If not set takes the name from the chart’s metadata or falls back to the default Instance kind. Please note that changing this field generates a new CRD and does not update the existing one. The old CRD will be left in the cluster and must be removed manually.

spec.crdNames.categories

[]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 kubectl get all.

spec.crdNames.kind (required)

string

kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the kind attribute in API calls.

spec.crdNames.listKind

string

listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".

spec.crdNames.plural (required)

string

plural is the plural name of the resource to serve. The custom resources are served under /apis/<group>/<version>/…​/<plural>. Must match the name of the CustomResourceDefinition (in the form <names.plural>.<group>). Must be all lowercase.

spec.crdNames.shortNames

[]string

shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like kubectl get <shortname>. It must be all lowercase.

spec.crdNames.singular

string

singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased kind.

spec.instancePermissions

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.

spec.instancePermissions.additionalClusterRules

[]object

AdditionalClusterRules holds additional cluster scoped rules that should be granted on top of the default permissions.

spec.instancePermissions.additionalClusterRules[].apiGroups

[]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.

spec.instancePermissions.additionalClusterRules[].nonResourceURLs

[]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.

spec.instancePermissions.additionalClusterRules[].resourceNames

[]string

resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.

spec.instancePermissions.additionalClusterRules[].resources

[]string

resources is a list of resources this rule applies to. '*' represents all resources.

spec.instancePermissions.additionalClusterRules[].verbs (required)

[]string

verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.

spec.instancePermissions.additionalRules

[]object

AdditionalRules holds additional rules that should be granted on top of the default permissions.

spec.instancePermissions.additionalRules[].apiGroups

[]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.

spec.instancePermissions.additionalRules[].nonResourceURLs

[]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.

spec.instancePermissions.additionalRules[].resourceNames

[]string

resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.

spec.instancePermissions.additionalRules[].resources

[]string

resources is a list of resources this rule applies to. '*' represents all resources.

spec.instancePermissions.additionalRules[].verbs (required)

[]string

verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.

spec.manages

[]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".
Validation: max items 1

spec.manages[].dependencyGroup

object

DependencyGroup references a DependencyGroup.

spec.manages[].dependencyGroup.as

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.

spec.manages[].dependencyGroup.name (required)

string

Name of the DependencyGroup.
Validation: min length 1

spec.provides

[]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.
Validation: as must not be set on provides, the CRDs of a group are the same for every consumer

spec.provides[].dependencyGroup

object

DependencyGroup references a DependencyGroup.

spec.provides[].dependencyGroup.as

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.

spec.provides[].dependencyGroup.name (required)

string

Name of the DependencyGroup.
Validation: min length 1

spec.reference (required)

object

Reference is a reference to the source of the bundle.

spec.reference.apiVersion

enum: source.toolkit.fluxcd.io/v1

APIVersion of the referent.

spec.reference.kind (required)

enum: OCIRepository

Kind of the referent.

spec.reference.name (required)

string

Name of the referent.
Validation: min length 1

spec.requires

[]object

Requires lists the DependencyGroups that instances of this source consume.

spec.requires[].dependencyGroup

object

DependencyGroup references a DependencyGroup.

spec.requires[].dependencyGroup.as

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.

spec.requires[].dependencyGroup.name (required)

string

Name of the DependencyGroup.
Validation: min length 1

spec.versionDiscovery

object

VersionDiscovery defines how to discover the version of the source.

spec.versionDiscovery.reference (required)

object

Reference is a reference to the discovery source of the version.

spec.versionDiscovery.reference.apiVersion

enum: image.toolkit.fluxcd.io/v1

APIVersion of the referent.

spec.versionDiscovery.reference.kind (required)

enum: ImageRepository

Kind of the referent.

spec.versionDiscovery.reference.name (required)

string

Name of the referent.
Validation: min length 1

Status

Path Type Default Description

status.appliedReferenceGeneration

integer

AppliedReferenceGeneration is the last applied generation of the referenced source.

status.appliedReferenceRevision

string

AppliedReferenceRevision is the last applied revision of the referenced source.

status.conditions

[]object

Conditions holds the conditions for the ClaimDefinition.

status.conditions[].lastTransitionTime (required)

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.

status.conditions[].message (required)

string

message is a human readable message indicating details about the transition. This may be an empty string.
Validation: max length 32768

status.conditions[].observedGeneration

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.
Validation: minimum 0

status.conditions[].reason (required)

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.
Validation: min length 1; max length 1024; pattern ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$

status.conditions[].status (required)

enum: True, False, Unknown

status of the condition, one of True, False, Unknown.

status.conditions[].type (required)

string

type of condition in CamelCase or in foo.example.com/CamelCase.
Validation: max length 316; pattern ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$

ClaimRevision

chrysopoeia.helmetica.io/v1, namespaced

ClaimRevision is the Schema for the bundlesources API.

Spec

Path Type Default Description

spec.approvedAt

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

spec.ociUrl (required)

string

OCIUrl is the OCI repository URL where the service bundle is stored.
Validation: min length 1

spec.values

object (free-form)

Values is the values of the Helm chart.

spec.version (required)

string

Version is the version of the Helm chart.
Validation: min length 1

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

spec.clusterRules

[]object

ClusterRules grants any service account in the 'manages' namespace the given permissions on the cluster level.

spec.clusterRules[].apiGroups

[]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.

spec.clusterRules[].nonResourceURLs

[]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.

spec.clusterRules[].resourceNames

[]string

resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.

spec.clusterRules[].resources

[]string

resources is a list of resources this rule applies to. '*' represents all resources.

spec.clusterRules[].verbs (required)

[]string

verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.

spec.crds (required)

[]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.
Validation: min items 1

spec.crds[].name (required)

string

Name is the fully qualified name of the CRD, as written in its .metadata.name.
Validation: min length 1

spec.harnessRef

object

HarnessRef references the harness of the operator managing the CRDs of this group.

spec.harnessRef.kind (required)

enum: OperatorHarness

Kind of the referent.

spec.harnessRef.name (required)

string

Name of the referent.
Validation: min length 1

spec.localRules

[]object

LocalRules grants the service accounts in the 'manages' namespace namespace local permissions

spec.localRules[].apiGroups

[]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.

spec.localRules[].nonResourceURLs

[]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.

spec.localRules[].resourceNames

[]string

resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.

spec.localRules[].resources

[]string

resources is a list of resources this rule applies to. '*' represents all resources.

spec.localRules[].verbs (required)

[]string

verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.

spec.rules

[]object

Rules grants any service account in the 'manages' namespace the given permissions in the 'requires' namespaces.

spec.rules[].apiGroups

[]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.

spec.rules[].nonResourceURLs

[]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.

spec.rules[].resourceNames

[]string

resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.

spec.rules[].resources

[]string

resources is a list of resources this rule applies to. '*' represents all resources.

spec.rules[].verbs (required)

[]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

status.conditions

[]object

Conditions holds the conditions for the DependencyGroup. The Accepted condition carries the reason a group was rejected.

status.conditions[].lastTransitionTime (required)

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.

status.conditions[].message (required)

string

message is a human readable message indicating details about the transition. This may be an empty string.
Validation: max length 32768

status.conditions[].observedGeneration

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.
Validation: minimum 0

status.conditions[].reason (required)

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.
Validation: min length 1; max length 1024; pattern ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$

status.conditions[].status (required)

enum: True, False, Unknown

status of the condition, one of True, False, Unknown.

status.conditions[].type (required)

string

type of condition in CamelCase or in foo.example.com/CamelCase.
Validation: max length 316; pattern ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$

status.state

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

spec.operator (required)

object

Operator describes the harnessed operator’s workload.

spec.operator.injectProxyConfiguration

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.

spec.operator.namespace (required)

string

Namespace is the namespace the harnessed operator runs in.
Validation: min length 1

spec.operator.serviceAccounts

[]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.

spec.scopeToLabel (required)

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.
Validation: min length 1

Status

Path Type Default Description

status.conditions

[]object

Conditions holds the conditions for the OperatorHarness.

status.conditions[].lastTransitionTime (required)

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.

status.conditions[].message (required)

string

message is a human readable message indicating details about the transition. This may be an empty string.
Validation: max length 32768

status.conditions[].observedGeneration

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.
Validation: minimum 0

status.conditions[].reason (required)

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.
Validation: min length 1; max length 1024; pattern ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$

status.conditions[].status (required)

enum: True, False, Unknown

status of the condition, one of True, False, Unknown.

status.conditions[].type (required)

string

type of condition in CamelCase or in foo.example.com/CamelCase.
Validation: max length 316; pattern ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$