Skip to content

Commit

Permalink
service lb -> akrobateo (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakolehm authored and jnummelin committed May 24, 2019
1 parent cd8b6d1 commit 2a47ca3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/controller/service/service_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ import (
"sigs.k8s.io/controller-runtime/pkg/source"
)

var log = logf.Log.WithName("service-lb-controller")
var log = logf.Log.WithName("akrobateo-controller")

var (
trueVal = true
)

const (
svcNameLabel = "servicelb.kontena.io/svcname"
svcHashAnnotation = "servicelb.kontena.io/svchash"
svcNameLabel = "akrobateo.kontena.io/svcname"
svcHashAnnotation = "akrobateo.kontena.io/svchash"
)

// Add creates a new Service Controller and adds it to the Manager. The Manager will set fields on the Controller
Expand Down Expand Up @@ -163,7 +163,7 @@ func (r *ReconcileService) Reconcile(request reconcile.Request) (reconcile.Resul
}

func getDSName(svc *corev1.Service) string {
return fmt.Sprintf("service-lb-%s", svc.Name)
return fmt.Sprintf("akrobateo-%s", svc.Name)
}

func newDaemonSetForService(svc *corev1.Service) *appsv1.DaemonSet {
Expand Down

0 comments on commit 2a47ca3

Please sign in to comment.