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_NAMEand 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.