-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
When using spiffe-helper as a sidecar container, configuring it via environment variables provides greater flexibility and simplifies deployment.
The preliminary consensuated solution is to use the cleanenv library with support for JSON+YAML configuration formats.
To maintain backward compatibility:
--configshould be added for the new configuration format.--legacy-configshould be used for HCL legacy configuration.
Behavior:
- When using --config, environment variables should override configurations in the new configuration files.
- When using --legacy-config, environment variables should only affect the HCL configuration file.
Deprecation Plan:
- Display deprecation warning messages for HCL configuration files in upcoming releases, until the next major version.
- Completely remove HCL configuration support in next major version.
For more context, see the Slack thread.
For a comparison of options, see pros and cons.
Metadata
Metadata
Assignees
Labels
No labels