Documentation
¶
Overview ¶
Package features provides sample mutations for the secret primitive example.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseCredentialsMutation ¶
BaseCredentialsMutation writes the application's core credentials into the Secret. It is always enabled.
NOTE: Real controllers must never hard-code credentials. Source them from external secret stores, environment variables, or operator CR fields.
func MetricsTokenMutation ¶
MetricsTokenMutation adds a Prometheus remote-write auth token to the Secret. It is enabled when enableMetrics is true.
func TracingTokenMutation ¶
TracingTokenMutation adds an OpenTelemetry tracing auth token to the Secret. It is enabled when enableTracing is true.
func VersionLabelMutation ¶
VersionLabelMutation sets the app.kubernetes.io/version label on the Secret. It is always enabled.
Types ¶
This section is empty.