MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / ReadConfigMap

Method ReadConfigMap

internal/configuration/configuration.go:227–229  ·  view source on GitHub ↗

ReadConfigMap reads the configuration from the environment and the passed in data map

(data map[string]string)

Source from the content-addressed store, hash-verified

225
226// ReadConfigMap reads the configuration from the environment and the passed in data map
227func (config *Data) ReadConfigMap(data map[string]string) {
228 configparser.ReadConfigMap(config, newDefaultConfig(), data)
229}
230
231// IsAnnotationInherited checks if an annotation with a certain name should
232// be inherited from the Cluster specification to the generated objects

Callers 2

NewConfigurationFunction · 0.80
loadConfigurationFunction · 0.80

Calls 2

ReadConfigMapFunction · 0.92
newDefaultConfigFunction · 0.85

Tested by

no test coverage detected