Skip to main content

Module meta

Module meta 

Source
Expand description

One module for every label, annotation and Secret key the operator uses. Every label, annotation and Secret key the RADIUS operator reads or writes.

Keeping them in one module prevents drift between the builders that write them and the observers that read them. None of these values may carry credential material: token ids and public-input digests only.

Constantsยง

ANNOTATION_INPUTS_DIGEST
Digest of the public certificate and CA bytes; rolls pods on TLS renewal.
ANNOTATION_ROTATE_TOKEN
CR annotation that requests a manual token rotation.
ANNOTATION_ROTATION_REQUEST
Value of the CR rotate annotation recorded on the config Secret.
ANNOTATION_TOKEN_ID
Kanidm token id the pod template (and its config Secret) was rendered with.
COMPONENT
Value of LABEL_NAME and the container name.
LABEL_MANAGED_BY
Standard managed-by label placed on every generated object.
LABEL_NAME
Standard name label; value is COMPONENT.
LABEL_UID
Immutable UID of the owning KanidmRadiusServer; part of the pod selector.
MANAGED_BY
Value of LABEL_MANAGED_BY.
SECRET_KEY_CONFIG
Config Secret key holding the rendered radius.toml.
SECRET_KEY_TOKEN
Config Secret key holding the Kanidm bearer token.