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:
parent
e2051e0212
commit
5c8c36b370
2 changed files with 2 additions and 2 deletions
pkg
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue