We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c5bca commit 890a8dcCopy full SHA for 890a8dc
pkg/watcherapi/deployment.go
@@ -1,8 +1,6 @@
1
package watcherapi
2
3
import (
4
- "fmt"
5
-
6
"github.com/openstack-k8s-operators/lib-common/modules/common/env"
7
appsv1 "k8s.io/api/apps/v1"
8
corev1 "k8s.io/api/core/v1"
@@ -69,7 +67,7 @@ func Deployment(
69
67
70
68
deployment := &appsv1.Deployment{
71
ObjectMeta: metav1.ObjectMeta{
72
- Name: fmt.Sprintf("%s-api", instance.Name),
+ Name: instance.Name,
73
Namespace: instance.Namespace,
74
Labels: labels,
75
},
0 commit comments