You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
ifproxyIface, ok:=pr.connectedProxies.Load(proxyUUID); ok {
39
39
proxy:=proxyIface.(*envoy.Proxy)
40
40
log.Warn().Msgf("Pod with label %s: %s found in proxy registry; releasing certificate for proxy %s", constants.EnvoyUniqueIDLabelName, proxyUUID, proxy.Identity)
Copy file name to clipboardExpand all lines: pkg/k8s/client.go
+10-22
Original file line number
Diff line number
Diff line change
@@ -30,20 +30,6 @@ import (
30
30
"github.com/openservicemesh/osm/pkg/service"
31
31
)
32
32
33
-
var (
34
-
// ErrMoreThanOnePodForUUID is an error for when OSM finds more than one pod for a given xDS certificate. There should always be exactly one Pod for a given xDS certificate.
35
-
ErrMoreThanOnePodForUUID=errors.New("found more than one pod for xDS uuid")
36
-
37
-
// ErrDidNotFindPodForUUID is an error for when OSM cannot not find a pod for the given xDS certificate.
38
-
ErrDidNotFindPodForUUID=errors.New("did not find pod for uuid")
39
-
40
-
// ErrServiceAccountDoesNotMatchProxy is an error for when the service account of a Pod does not match the xDS certificate.
41
-
ErrServiceAccountDoesNotMatchProxy=errors.New("service account does not match proxy")
42
-
43
-
// ErrNamespaceDoesNotMatchProxy is an error for when the namespace of the Pod does not match the xDS certificate.
44
-
ErrNamespaceDoesNotMatchProxy=errors.New("namespace does not match proxy")
45
-
)
46
-
47
33
// NewKubernetesController returns a new kubernetes.Controller which means to provide access to locally-cached k8s resources
0 commit comments