Charm configuration¶
The charm declares one application-specific option:
hostnameType: string
Default:
gopkg.inValue passed to the workload as
APP_HOSTNAME. It controls the hostname rendered in package links andgo-importmetadata.
To change it and verify the result, follow How to configure hostname.
Running juju config gopkg-k8s also lists the options that the Go
framework extension adds when the charm is packed: app-port,
app-secret-key, app-secret-key-id, metrics-port, and
metrics-path. The observability options are described in
Integrations, and
charmcraft.yaml > config > options documents the
extension’s full set.
Ingress routing is configured on the nginx-ingress-integrator charm, not
on gopkg-k8s. See How to configure ingress for the settings this
deployment uses and the NGINX ingress integrator configuration reference for every
option.