This service uses viper to resolve configuration through environment variables.
The default configuration and resolution logic can be found in internal/config/env.go
.
Updating Configuration
If you need to add or remove items to configuration, ensure you are doing so in the following locations:
Item |
Location |
Description |
---|
env.go |
internal/config/env.go |
Contains default configuration logic |
Makefile |
Makefile |
Contains commands for running the cli and api. |
configmap.yaml or secret.yaml |
build/chart/templates/[configmap|secret] |
Contains configuration and secrets for Helm Chart |
values.yaml (including dev.yaml and prod.yaml ) |
build/chart/... |
Contains values for Helm Chart configuration |
.env |
. |
Contains local overrides for secret or dynamic configuration values |