Configuration

chrysopoeia controller

The manifests in config/ start it with --leader-elect and set POD_NAMESPACE from the pod’s namespace.

Flag Default Description

--controller-namespace

$POD_NAMESPACE, else default

The namespace the controller runs in. Only ClaimDefinitions in this namespace are reconciled.

--image-reflector-controller-hostname

image-reflector-controller-tags.image-reflector-system.svc

The host serving the tags the Flux image-reflector-controller discovered.

--source-controller-hostname-override

Overrides the host the Flux source-controller’s artifacts are fetched from. Useful against a local source-controller.

--metrics-bind-address

:8080

The address the metrics endpoint binds to.

--metrics-secure

true

Serve the metrics endpoint via HTTPS. --metrics-secure=false uses HTTP.

--metrics-cert-path

The directory that contains the metrics server certificate. Empty generates a self-signed one.

--metrics-cert-name

tls.crt

The name of the metrics server certificate file.

--metrics-cert-key

tls.key

The name of the metrics server key file.

--health-probe-bind-address

:8081

The address the health and readiness probes bind to.

--leader-elect

false

Enable leader election, so only one controller manager is active.

--webhook-cert-path

The directory that contains the webhook certificate.

--webhook-cert-name

tls.crt

The name of the webhook certificate file.

--webhook-cert-key

tls.key

The name of the webhook key file.

--webhook-ca-name

ca.crt

The CA certificate file in the webhook certificate directory, used as caBundle in the webhook configurations generated for OperatorHarnesses.

--webhook-service-name

chrysopoeia-webhook-service

The service fronting the webhook server, used in the generated webhook configurations.

--webhook-service-namespace

the controller namespace

The namespace of that service.

--webhook-service-port

443

The port of that service.

--harness-proxy-host

chrysopoeia-proxy.chrysopoeia-proxy-system.svc

The host harnessed operators are pointed at instead of the Kubernetes API server.

--harness-proxy-port

8443

The port harnessed operators are pointed at.

--harness-proxy-ca-secret-namespace

chrysopoeia-proxy-system

The namespace of the secret holding the harness proxy’s serving certificate.

--harness-proxy-ca-secret-name

proxy-serving-cert

The secret holding the harness proxy’s serving certificate. Its ca.crt is copied to the namespaces of harnessed operators.

chrysopoeia proxy

Flag Default Description

--addr

:8080

The address the proxy listens on.

--secure

true

Serve HTTPS.

--cert-path

The directory that contains the serving certificate.

--cert-name

tls.crt

The name of the certificate file.

--cert-key

tls.key

The name of the key file.

--inject-label

all

Whether the proxy adds the scope label on create and update requests. One of all, cluster-scoped, none.

--inject-label-max-request-body-size-bytes

5242880

The largest request body the proxy rewrites to add the label.

Both commands take the --zap-* flags of controller-runtime for the log output, for example --zap-log-level=debug.