Changed module name, edited default manifests in prog/weave-kube
* Module name changed to `github.com/rajch/weave` * Added environment variable `CHECKPOINT_DISABLE=1` to default manifests, to bypass weaveworks telemetry
This commit is contained in:
1 parent
962bb57b60
commit
c1d3107418
79 files changed
+222
-194
No files matched your search
@@ -8,7 +8,7 @@ import (
|
||||
"k8s.io/client-go/kubernetes/fake"
|
||||
"k8s.io/client-go/testing"
|
||||
|
||||
weavetracker "github.com/weaveworks/weave/testing/kubernetes/testing"
|
||||
weavetracker "github.com/rajch/weave/testing/kubernetes/testing"
|
||||
)
|
||||
|
||||
var scheme = runtime.NewScheme()
|
||||
|
||||
@@ -24,8 +24,8 @@ import (
|
||||
"k8s.io/client-go/rest"
|
||||
"k8s.io/client-go/tools/cache"
|
||||
|
||||
weaveapi "github.com/weaveworks/weave/api"
|
||||
"github.com/weaveworks/weave/common"
|
||||
weaveapi "github.com/rajch/weave/api"
|
||||
"github.com/rajch/weave/common"
|
||||
)
|
||||
|
||||
type nodeInfo struct {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
"k8s.io/client-go/kubernetes"
|
||||
|
||||
"github.com/weaveworks/weave/common"
|
||||
"github.com/rajch/weave/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -151,6 +151,8 @@ items:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: spec.nodeName
|
||||
- name: CHECKPOINT_DISABLE
|
||||
value: "1"
|
||||
image: 'rajchaudhuri/weave-kube:latest'
|
||||
imagePullPolicy: Always
|
||||
readinessProbe:
|
||||
|
||||
@@ -148,6 +148,8 @@ items:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: spec.nodeName
|
||||
- name: CHECKPOINT_DISABLE
|
||||
value: "1"
|
||||
image: 'rajchaudhuri/weave-kube:latest'
|
||||
imagePullPolicy: Always
|
||||
readinessProbe:
|
||||
|
||||
@@ -151,6 +151,8 @@ items:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: spec.nodeName
|
||||
- name: CHECKPOINT_DISABLE
|
||||
value: "1"
|
||||
image: 'rajchaudhuri/weave-kube:latest'
|
||||
imagePullPolicy: Always
|
||||
readinessProbe:
|
||||
|
||||
@@ -19,13 +19,13 @@ import (
|
||||
"k8s.io/client-go/rest"
|
||||
"k8s.io/client-go/tools/cache"
|
||||
|
||||
"github.com/weaveworks/weave/common"
|
||||
"github.com/weaveworks/weave/common/chains"
|
||||
"github.com/weaveworks/weave/net"
|
||||
"github.com/weaveworks/weave/net/ipset"
|
||||
"github.com/weaveworks/weave/npc"
|
||||
"github.com/weaveworks/weave/npc/metrics"
|
||||
"github.com/weaveworks/weave/npc/ulogd"
|
||||
"github.com/rajch/weave/common"
|
||||
"github.com/rajch/weave/common/chains"
|
||||
"github.com/rajch/weave/net"
|
||||
"github.com/rajch/weave/net/ipset"
|
||||
"github.com/rajch/weave/npc"
|
||||
"github.com/rajch/weave/npc/metrics"
|
||||
"github.com/rajch/weave/npc/ulogd"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
weave "github.com/rajch/weave/router"
|
||||
checkpoint "github.com/weaveworks/go-checkpoint"
|
||||
weave "github.com/weaveworks/weave/router"
|
||||
)
|
||||
|
||||
var checker *checkpoint.Checker
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
"github.com/weaveworks/weave/ipam"
|
||||
"github.com/rajch/weave/ipam"
|
||||
)
|
||||
|
||||
// TODO: move these definitions somewhere more shareable
|
||||
|
||||
+7
-7
@@ -12,14 +12,14 @@ import (
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/weaveworks/mesh"
|
||||
|
||||
"github.com/rajch/weave/common"
|
||||
"github.com/rajch/weave/ipam"
|
||||
"github.com/rajch/weave/nameserver"
|
||||
"github.com/rajch/weave/net/address"
|
||||
"github.com/rajch/weave/plugin"
|
||||
"github.com/rajch/weave/proxy"
|
||||
weave "github.com/rajch/weave/router"
|
||||
"github.com/weaveworks/go-checkpoint"
|
||||
"github.com/weaveworks/weave/common"
|
||||
"github.com/weaveworks/weave/ipam"
|
||||
"github.com/weaveworks/weave/nameserver"
|
||||
"github.com/weaveworks/weave/net/address"
|
||||
"github.com/weaveworks/weave/plugin"
|
||||
"github.com/weaveworks/weave/proxy"
|
||||
weave "github.com/weaveworks/weave/router"
|
||||
)
|
||||
|
||||
var allConnectionStates = []string{"established", "pending", "retrying", "failed", "connecting"}
|
||||
|
||||
+12
-12
@@ -18,18 +18,18 @@ import (
|
||||
"github.com/weaveworks/common/signals"
|
||||
"github.com/weaveworks/mesh"
|
||||
|
||||
"github.com/weaveworks/weave/common"
|
||||
"github.com/weaveworks/weave/common/docker"
|
||||
"github.com/weaveworks/weave/db"
|
||||
"github.com/weaveworks/weave/ipam"
|
||||
"github.com/weaveworks/weave/ipam/tracker"
|
||||
"github.com/weaveworks/weave/nameserver"
|
||||
weavenet "github.com/weaveworks/weave/net"
|
||||
"github.com/weaveworks/weave/net/address"
|
||||
"github.com/weaveworks/weave/net/ipset"
|
||||
"github.com/weaveworks/weave/plugin"
|
||||
weaveproxy "github.com/weaveworks/weave/proxy"
|
||||
weave "github.com/weaveworks/weave/router"
|
||||
"github.com/rajch/weave/common"
|
||||
"github.com/rajch/weave/common/docker"
|
||||
"github.com/rajch/weave/db"
|
||||
"github.com/rajch/weave/ipam"
|
||||
"github.com/rajch/weave/ipam/tracker"
|
||||
"github.com/rajch/weave/nameserver"
|
||||
weavenet "github.com/rajch/weave/net"
|
||||
"github.com/rajch/weave/net/address"
|
||||
"github.com/rajch/weave/net/ipset"
|
||||
"github.com/rajch/weave/plugin"
|
||||
weaveproxy "github.com/rajch/weave/proxy"
|
||||
weave "github.com/rajch/weave/router"
|
||||
)
|
||||
|
||||
var version = "unreleased"
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"testing"
|
||||
|
||||
weavetest "github.com/weaveworks/weave/testing"
|
||||
weavetest "github.com/rajch/weave/testing"
|
||||
)
|
||||
|
||||
func TestMain(t *testing.T) {
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
|
||||
"github.com/weaveworks/weave/ipam"
|
||||
"github.com/weaveworks/weave/nameserver"
|
||||
"github.com/weaveworks/weave/net/address"
|
||||
weave "github.com/weaveworks/weave/router"
|
||||
"github.com/rajch/weave/ipam"
|
||||
"github.com/rajch/weave/nameserver"
|
||||
"github.com/rajch/weave/net/address"
|
||||
weave "github.com/rajch/weave/router"
|
||||
)
|
||||
|
||||
func metricsHandler(router *weave.NetworkRouter, allocator *ipam.Allocator, ns *nameserver.Nameserver, dnsserver *nameserver.DNSServer) http.Handler {
|
||||
|
||||
@@ -6,14 +6,14 @@ import (
|
||||
|
||||
docker "github.com/fsouza/go-dockerclient"
|
||||
|
||||
"github.com/rajch/weave/api"
|
||||
"github.com/rajch/weave/common"
|
||||
weavedocker "github.com/rajch/weave/common/docker"
|
||||
"github.com/rajch/weave/ipam"
|
||||
"github.com/rajch/weave/nameserver"
|
||||
weavenet "github.com/rajch/weave/net"
|
||||
"github.com/rajch/weave/net/address"
|
||||
"github.com/weaveworks/mesh"
|
||||
"github.com/weaveworks/weave/api"
|
||||
"github.com/weaveworks/weave/common"
|
||||
weavedocker "github.com/weaveworks/weave/common/docker"
|
||||
"github.com/weaveworks/weave/ipam"
|
||||
"github.com/weaveworks/weave/nameserver"
|
||||
weavenet "github.com/weaveworks/weave/net"
|
||||
"github.com/weaveworks/weave/net/address"
|
||||
)
|
||||
|
||||
func a(cidr *net.IPNet) address.CIDR {
|
||||
|
||||
@@ -3,9 +3,9 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/fsouza/go-dockerclient"
|
||||
docker "github.com/fsouza/go-dockerclient"
|
||||
|
||||
weavenet "github.com/weaveworks/weave/net"
|
||||
weavenet "github.com/rajch/weave/net"
|
||||
)
|
||||
|
||||
func containerAddrs(args []string) error {
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
|
||||
"github.com/vishvananda/netns"
|
||||
|
||||
weavenet "github.com/weaveworks/weave/net"
|
||||
"github.com/weaveworks/weave/proxy"
|
||||
weavenet "github.com/rajch/weave/net"
|
||||
"github.com/rajch/weave/proxy"
|
||||
)
|
||||
|
||||
func attach(args []string) error {
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
weavenet "github.com/weaveworks/weave/net"
|
||||
weavenet "github.com/rajch/weave/net"
|
||||
)
|
||||
|
||||
func detectBridgeType(args []string) error {
|
||||
|
||||
@@ -7,10 +7,10 @@ import (
|
||||
"github.com/containernetworking/cni/pkg/version"
|
||||
|
||||
bv "github.com/containernetworking/plugins/pkg/utils/buildversion"
|
||||
weaveapi "github.com/weaveworks/weave/api"
|
||||
"github.com/weaveworks/weave/common"
|
||||
ipamplugin "github.com/weaveworks/weave/plugin/ipam"
|
||||
netplugin "github.com/weaveworks/weave/plugin/net"
|
||||
weaveapi "github.com/rajch/weave/api"
|
||||
"github.com/rajch/weave/common"
|
||||
ipamplugin "github.com/rajch/weave/plugin/ipam"
|
||||
netplugin "github.com/rajch/weave/plugin/net"
|
||||
)
|
||||
|
||||
func cniNet(args []string) error {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/weaveworks/weave/common/odp"
|
||||
"github.com/rajch/weave/common/odp"
|
||||
)
|
||||
|
||||
func createDatapath(args []string) error {
|
||||
|
||||
@@ -4,7 +4,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/weaveworks/weave/db"
|
||||
"github.com/rajch/weave/db"
|
||||
)
|
||||
|
||||
const dbFlagPrefix = "flag:"
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/weaveworks/weave/common"
|
||||
"github.com/rajch/weave/common"
|
||||
)
|
||||
|
||||
func dockerTLSArgs(args []string) error {
|
||||
|
||||
@@ -4,7 +4,7 @@ package main
|
||||
import (
|
||||
"net"
|
||||
|
||||
weavenet "github.com/weaveworks/weave/net"
|
||||
weavenet "github.com/rajch/weave/net"
|
||||
)
|
||||
|
||||
func netcheck(args []string) error {
|
||||
|
||||
@@ -3,8 +3,8 @@ package main
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"github.com/weaveworks/weave/common"
|
||||
weavenet "github.com/weaveworks/weave/net"
|
||||
"github.com/rajch/weave/common"
|
||||
weavenet "github.com/rajch/weave/net"
|
||||
)
|
||||
|
||||
func processAddrs(args []string) error {
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
weavenet "github.com/weaveworks/weave/net"
|
||||
weavenet "github.com/rajch/weave/net"
|
||||
)
|
||||
|
||||
func uniqueID(args []string) error {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
//go:build iface && !mcast
|
||||
// +build iface,!mcast
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
weavenet "github.com/weaveworks/weave/net"
|
||||
weavenet "github.com/rajch/weave/net"
|
||||
)
|
||||
|
||||
func checkNetwork() error {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
//go:build iface && mcast
|
||||
// +build iface,mcast
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
weavenet "github.com/weaveworks/weave/net"
|
||||
weavenet "github.com/rajch/weave/net"
|
||||
)
|
||||
|
||||
func checkNetwork() error {
|
||||
|
||||
Reference in new issue
Block a user