Skip to content

Config reference

This is the reference documentation for configs on the Nais platform.

Console

Visit Nais Console to find and manage your team's configs.

Workloads

Use a config in your workload by referencing them in your nais.yaml manifest.

The config can be made available as environment variables or files.

Environment Variables

spec:
  envFrom:
    - configmap: <config-name>

See also:

📚 Application reference

📚 NaisJob reference

Files

spec:
  filesFrom:
    - configmap: <config-name>
      mountPath: /var/run/configmaps/<config-name>

See also:

📚 Application reference

📚 NaisJob reference