Go Configuration: Difference between revisions
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Go Engineering#Subjects|Go Engineering]] | * [[Go Engineering#Subjects|Go Engineering]] | ||
* [[Kubernetes_Cluster_Configuration_Concepts#Overview|Kubernetes Cluster Configuration Concepts]] | |||
=TODO= | |||
<font color=darkkhaki> | |||
* Configuration in Go https://sergey.kamardin.org/articles/configuration-in-go/ | |||
* Link to [[Kubernetes_Cluster_Configuration_Concepts#Configuration_Patterns|Kubernetes Cluster Configuration Concepts | Configuration Patterns]] | |||
</font> | |||
=Overview= | =Overview= | ||
Line 7: | Line 15: | ||
Environment variables and configuration files are useful '''in addition''' to flags. | Environment variables and configuration files are useful '''in addition''' to flags. | ||
Explicit command line flags always take precedence over environment variables and configuration files. |
Latest revision as of 20:12, 14 May 2024
Internal
TODO
- Configuration in Go https://sergey.kamardin.org/articles/configuration-in-go/
- Link to Kubernetes Cluster Configuration Concepts | Configuration Patterns
Overview
In-line help-supported flags are the best way to configure your program, rather than environment variables.
Environment variables and configuration files are useful in addition to flags.
Explicit command line flags always take precedence over environment variables and configuration files.