Skip to content

Commit

Permalink
Merge pull request #25 from Gl4di4torRr/remove-hard-coded-service
Browse files Browse the repository at this point in the history
remove cluster local
  • Loading branch information
etsauer authored Mar 15, 2019
2 parents 8bd1fdd + 673a532 commit f84ba24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stub/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (h *Handler) handleService(service *corev1.Service) error {

h.notify(message)

host := service.ObjectMeta.Name + "." + service.ObjectMeta.Namespace + ".svc.cluster.local"
host := service.ObjectMeta.Name + "." + service.ObjectMeta.Namespace + ".svc"

// Retreive cert from provider
keyPair, err := h.getCert(host)
Expand Down

0 comments on commit f84ba24

Please sign in to comment.