1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 03:38:43 +00:00

*: suffix statefulset governing services with "operated"

This commit is contained in:
Frederic Branczyk 2017-01-18 10:58:55 +01:00
parent e2051e0212
commit 5c8c36b370
No known key found for this signature in database
GPG key ID: CA14788B1E48B256
2 changed files with 2 additions and 2 deletions
pkg
alertmanager
prometheus

View file

@ -83,7 +83,7 @@ func makeStatefulSet(am *v1alpha1.Alertmanager, old *v1beta1.StatefulSet) *v1bet
func makeStatefulSetService(p *v1alpha1.Alertmanager) *v1.Service {
svc := &v1.Service{
ObjectMeta: v1.ObjectMeta{
Name: "alertmanager",
Name: "alertmanager-operated",
},
Spec: v1.ServiceSpec{
ClusterIP: "None",

View file

@ -112,7 +112,7 @@ func makeEmptyRules(name string) *v1.ConfigMap {
func makeStatefulSetService(p *v1alpha1.Prometheus) *v1.Service {
svc := &v1.Service{
ObjectMeta: v1.ObjectMeta{
Name: "prometheus",
Name: "prometheus-operated",
},
Spec: v1.ServiceSpec{
ClusterIP: "None",