Skip to main content

LicenseActivation

Tracks the installation’s license activation using credentials and identity from Secrets in its administrative namespace.

platform.prokrust.ai/v1beta1 · Namespaced · licenseactivations

Controller status​

Conditions​

Controller checks for this resource. Read the type, status, reason, and observed generation to diagnose the current state.

ConditionWhat it tells you
ReadyReports whether the installation has a valid entitlement, including a still-valid entitlement after a failed renewal.
RenewingReports whether the last activation or renewal check succeeded, including a check before renewal is due.

Installation entitlement active

The activation or renewal check succeeded.

status:
conditions:
- type: Ready
status: "True"
reason: Active
message: Installation entitlement active
observedGeneration: 1
- type: Renewing
status: "True"
reason: Renewed
message: Installation entitlement active
observedGeneration: 1

Inspect status.renewAfter and status.expiresAt. The controller clears the DNS challenge fields after successful activation.

LicenseActivation condition results and reasons

Ready​

Status and reasonWhat to check
False / ActivationPendingCheck license server connectivity and installation credentials. If the message requests DNS verification, publish the TXT record in status.dnsName and status.dnsValue.
True / ActiveThe installation has a valid entitlement. Check status.renewAfter and status.expiresAt.

Renewing​

Status and reasonWhat to check
False / RenewalFailedRead the condition message. A previous entitlement can remain active until status.expiresAt.
True / RenewedActivation or the renewal check completed successfully. Inspect status.renewAfter for the next renewal.
Condition field meanings
FieldWhat to look for
typeNames the check. Use it to select the condition you want to inspect.
statusReports whether the named condition holds. Read the reason to see why.
reasonA short identifier for this outcome. Use it when comparing observations or filtering results.
messageWhen present, gives details about this object, such as the name of a dependency.
observedGenerationCompare with metadata.generation to see which version of the spec the controller checked.
lastTransitionTimeRecords the time of the last transition for this condition.
How to read status fields
FieldWhat it tells you
status.activationIdIdentifier assigned to this activation. Use it when investigating an activation or renewal with the license service.
status.challengeIdIdentifies the license service verification challenge. Use it to match the DNS record to the active challenge.
status.dnsNameName of the DNS TXT record requested by the license service for this activation challenge.
status.dnsValueValue required in the DNS challenge record. Use the value from the current challenge when completing activation.
status.expiresAtTime the current entitlement expires. Check it when activation or renewal is delayed.
status.installationIdLicense installation identity. Compare it when checking that an activation belongs to this installation.
status.renewAfterTime when the activation becomes due for renewal. Use it with the expiry time to monitor renewal.
Kubernetes schema for status

Required applies when the parent is present. A dash in the default column means the CRD declares no default.

FieldTypeRequiredDefaultSchema constraints and descriptions
statusobjectno—maxProperties 1024 · nullable true
status.activationIdstringno—Identifier assigned to this activation. Use it when investigating an activation or renewal with the license service. · maxLength 2048 · nullable true
status.challengeIdstringno—Identifies the license service verification challenge. Use it to match the DNS record to the active challenge. · maxLength 2048 · nullable true
status.conditionsarrayno[]Controller checks for this resource. Read the type, status, reason, and observed generation to diagnose the current state. · maxItems 8
status.conditions[]object——maxProperties 1024
status.conditions[].lastTransitionTimestringyes—maxLength 2048
status.conditions[].messagestringyes—maxLength 1024
status.conditions[].observedGenerationintegeryes—format "int64"
status.conditions[].reasonstringyes—maxLength 128
status.conditions[].statusstringyes—enum ["True","False","Unknown"] · maxLength 2048
status.conditions[].typestringyes—maxLength 2048
status.dnsNamestringno—Name of the DNS TXT record requested by the license service for this activation challenge. · maxLength 253 · nullable true
status.dnsValuestringno—Value required in the DNS challenge record. Use the value from the current challenge when completing activation. · maxLength 2048 · nullable true
status.expiresAtstringno—Time the current entitlement expires. Check it when activation or renewal is delayed. · maxLength 2048 · nullable true
status.installationIdstringno—License installation identity. Compare it when checking that an activation belongs to this installation. · maxLength 2048 · nullable true
status.renewAfterstringno—Time when the activation becomes due for renewal. Use it with the expiry time to monitor renewal. · maxLength 2048 · nullable true

Specification​

Exactly one activation named default per installation namespace. Secret references are local to that namespace; private key material never belongs in spec or status.

This resource requires credentialSecretRef, entitlementSecretRef, identitySecretRef, serverUrl.

credentialSecretRef​

Locates the installation credential used to activate the license. Reference the Secret provisioned for this installation.

FieldWhen to use it
spec.credentialSecretRef.nameKubernetes name of the referenced object in the same namespace. Use its metadata.name.

entitlementSecretRef​

Selects where the controller stores the signed entitlement returned by the license service. The installation uses it to authorize licensed work.

FieldWhen to use it
spec.entitlementSecretRef.nameKubernetes name of the referenced object in the same namespace. Use its metadata.name.

identitySecretRef​

Locates the installation's signing identity. Preserve this reference so the installation can prove the same identity during renewal.

FieldWhen to use it
spec.identitySecretRef.nameKubernetes name of the referenced object in the same namespace. Use its metadata.name.

serverUrl​

HTTPS URL of the license service for activation and renewal. Use the endpoint provisioned for this installation.

Kubernetes schema for spec

Required applies when the parent is present. A dash in the default column means the CRD declares no default.

FieldTypeRequiredDefaultSchema constraints and descriptions
specobjectyes—Exactly one activation named default per installation namespace. Secret references are local to that namespace; private key material never belongs in spec or status. · maxProperties 1024
spec.credentialSecretRefobjectyes—Locates the installation credential used to activate the license. Reference the Secret provisioned for this installation. · maxProperties 1024
spec.credentialSecretRef.namestringyes—Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253
spec.entitlementSecretRefobjectyes—Selects where the controller stores the signed entitlement returned by the license service. The installation uses it to authorize licensed work. · maxProperties 1024
spec.entitlementSecretRef.namestringyes—Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253
spec.identitySecretRefobjectyes—Locates the installation's signing identity. Preserve this reference so the installation can prove the same identity during renewal. · maxProperties 1024
spec.identitySecretRef.namestringyes—Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253
spec.serverUrlstringyes—HTTPS URL of the license service for activation and renewal. Use the endpoint provisioned for this installation. · maxLength 16384 · self.startsWith('https://')

The validation schema matches prokrust-crds 0.23.0-rc.1.