mirror of https://github.com/knative/func.git
chore: linkage assignable socatImage (#1266)
var can be set at build (link) time as opposed to const Signed-off-by: Matej Vasek <mvasek@redhat.com> Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
parent
dfff8aa00a
commit
15368599cd
|
|
@ -23,9 +23,7 @@ import (
|
||||||
"k8s.io/client-go/tools/remotecommand"
|
"k8s.io/client-go/tools/remotecommand"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
var socatImage = "quay.io/boson/alpine-socat:1.7.4.3-r1-non-root"
|
||||||
socatImage = "quay.io/boson/alpine-socat:1.7.4.3-r1-non-root"
|
|
||||||
)
|
|
||||||
|
|
||||||
// NewInClusterDialer creates context dialer that will dial TCP connections via POD running in k8s cluster.
|
// NewInClusterDialer creates context dialer that will dial TCP connections via POD running in k8s cluster.
|
||||||
// This is useful when accessing k8s services that are not exposed outside cluster (e.g. openshift image registry).
|
// This is useful when accessing k8s services that are not exposed outside cluster (e.g. openshift image registry).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue