1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 11:48:53 +00:00

pkg/prometheus: do not prefix config secret name as it breaks some upgrade scenarios

This commit is contained in:
paulfantom 2019-09-24 13:22:49 +02:00
parent eb1a6cefe6
commit 50ba40891f
No known key found for this signature in database
GPG key ID: 12AE0185401674E7

View file

@ -908,7 +908,7 @@ func makeStatefulSetSpec(p monitoringv1.Prometheus, c *Config, ruleConfigMapName
}
func configSecretName(name string) string {
return fmt.Sprintf("%s-config", prefixedName(name))
return prefixedName(name)
}
func tlsAssetsSecretName(name string) string {