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.
| Condition | What it tells you |
|---|---|
Ready | Reports whether the installation has a valid entitlement, including a still-valid entitlement after a failed renewal. |
Renewing | Reports 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 reason | What to check |
|---|---|
False / ActivationPending | Check license server connectivity and installation credentials. If the message requests DNS verification, publish the TXT record in status.dnsName and status.dnsValue. |
True / Active | The installation has a valid entitlement. Check status.renewAfter and status.expiresAt. |
Renewing
| Status and reason | What to check |
|---|---|
False / RenewalFailed | Read the condition message. A previous entitlement can remain active until status.expiresAt. |
True / Renewed | Activation or the renewal check completed successfully. Inspect status.renewAfter for the next renewal. |
Condition field meanings
| Field | What to look for |
|---|---|
type | Names the check. Use it to select the condition you want to inspect. |
status | Reports whether the named condition holds. Read the reason to see why. |
reason | A short identifier for this outcome. Use it when comparing observations or filtering results. |
message | When present, gives details about this object, such as the name of a dependency. |
observedGeneration | Compare with metadata.generation to see which version of the spec the controller checked. |
lastTransitionTime | Records the time of the last transition for this condition. |
How to read status fields
| Field | What it tells you |
|---|---|
status.activationId | Identifier assigned to this activation. Use it when investigating an activation or renewal with the license service. |
status.challengeId | Identifies the license service verification challenge. Use it to match the DNS record to the active challenge. |
status.dnsName | Name of the DNS TXT record requested by the license service for this activation challenge. |
status.dnsValue | Value required in the DNS challenge record. Use the value from the current challenge when completing activation. |
status.expiresAt | Time the current entitlement expires. Check it when activation or renewal is delayed. |
status.installationId | License installation identity. Compare it when checking that an activation belongs to this installation. |
status.renewAfter | Time 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.
| Field | Type | Required | Default | Schema constraints and descriptions |
|---|---|---|---|---|
status | object | no | — | maxProperties 1024 · nullable true |
status.activationId | string | no | — | Identifier assigned to this activation. Use it when investigating an activation or renewal with the license service. · maxLength 2048 · nullable true |
status.challengeId | string | no | — | Identifies the license service verification challenge. Use it to match the DNS record to the active challenge. · maxLength 2048 · nullable true |
status.conditions | array | no | [] | 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[].lastTransitionTime | string | yes | — | maxLength 2048 |
status.conditions[].message | string | yes | — | maxLength 1024 |
status.conditions[].observedGeneration | integer | yes | — | format "int64" |
status.conditions[].reason | string | yes | — | maxLength 128 |
status.conditions[].status | string | yes | — | enum ["True","False","Unknown"] · maxLength 2048 |
status.conditions[].type | string | yes | — | maxLength 2048 |
status.dnsName | string | no | — | Name of the DNS TXT record requested by the license service for this activation challenge. · maxLength 253 · nullable true |
status.dnsValue | string | no | — | Value required in the DNS challenge record. Use the value from the current challenge when completing activation. · maxLength 2048 · nullable true |
status.expiresAt | string | no | — | Time the current entitlement expires. Check it when activation or renewal is delayed. · maxLength 2048 · nullable true |
status.installationId | string | no | — | License installation identity. Compare it when checking that an activation belongs to this installation. · maxLength 2048 · nullable true |
status.renewAfter | string | no | — | 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.
| Field | When to use it |
|---|---|
spec.credentialSecretRef.name | Kubernetes 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.
| Field | When to use it |
|---|---|
spec.entitlementSecretRef.name | Kubernetes 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.
| Field | When to use it |
|---|---|
spec.identitySecretRef.name | Kubernetes 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.
| Field | Type | Required | Default | Schema constraints and descriptions |
|---|---|---|---|---|
spec | object | yes | — | 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.credentialSecretRef | object | yes | — | Locates the installation credential used to activate the license. Reference the Secret provisioned for this installation. · maxProperties 1024 |
spec.credentialSecretRef.name | string | yes | — | Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253 |
spec.entitlementSecretRef | object | yes | — | 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.name | string | yes | — | Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253 |
spec.identitySecretRef | object | yes | — | Locates the installation's signing identity. Preserve this reference so the installation can prove the same identity during renewal. · maxProperties 1024 |
spec.identitySecretRef.name | string | yes | — | Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253 |
spec.serverUrl | string | yes | — | 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.