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:
Raj Chaudhuri committed 2024-03-01 18:05:19 +05:30
1 parent 962bb57b60
commit c1d3107418
79 files changed
+222 -194

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"net"
"github.com/weaveworks/weave/common"
"github.com/rajch/weave/common"
)
// Using 32-bit integer to represent IPv4 address
+6 -6
View File
@@ -12,11 +12,11 @@ import (
"github.com/sirupsen/logrus"
"github.com/vishvananda/netlink"
"github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/common/chains"
"github.com/weaveworks/weave/common/odp"
"github.com/weaveworks/weave/net/address"
"github.com/weaveworks/weave/net/ipset"
"github.com/rajch/weave/common"
"github.com/rajch/weave/common/chains"
"github.com/rajch/weave/common/odp"
"github.com/rajch/weave/net/address"
"github.com/rajch/weave/net/ipset"
)
/* This code implements three possible configurations to connect
@@ -48,7 +48,7 @@ the "datapath" device, via "router/fastdp.go:fastDatapathBridge"
"weave" is an Open vSwitch datapath, and capture/injection are as in
BridgedFastdp. Not used by default due to missing conntrack support in
datapath of old kernel versions (https://github.com/weaveworks/weave/issues/1577).
datapath of old kernel versions (https://github.com/rajch/weave/issues/1577).
*/
const (
+1 -1
View File
@@ -21,7 +21,7 @@ func ensureInterface(ifaceName string) (*net.Interface, error) {
ch := make(chan netlink.LinkUpdate)
// NB: We do not supply (and eventually close) a 'done' channel
// here since that can cause incorrect file descriptor
// re-usage. See https://github.com/weaveworks/weave/issues/2120
// re-usage. See https://github.com/rajch/weave/issues/2120
if err := netlink.LinkSubscribe(ch, nil); err != nil {
return nil, err
}
+1 -1
View File
@@ -53,7 +53,7 @@ type ipset struct {
// List of users per ipset entry. User is either a namespace or a pod.
// There might be multiple users for the same ipset & entry pair because
// events from k8s API server might be out of order causing duplicate IPs:
// https://github.com/weaveworks/weave/issues/2792.
// https://github.com/rajch/weave/issues/2792.
users map[entryKey]map[UID]struct{}
}
+1 -1
View File
@@ -6,8 +6,8 @@ import (
"net"
"os"
"github.com/rajch/weave/db"
"github.com/weaveworks/mesh"
"github.com/weaveworks/weave/db"
)
func getOldStyleSystemUUID() ([]byte, error) {