-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dependency and add demo for consul2istio
Signed-off-by: chentanjun <tanjunchen20@gmail.com>
- Loading branch information
1 parent
4e4ed84
commit 0668ea5
Showing
20 changed files
with
614 additions
and
1,191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
.idea/ | ||
out/ | ||
**/.DS_Store | ||
debug | ||
out | ||
.idea | ||
tmp | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,8 @@ | ||
FROM ubuntu:bionic | ||
# Base image for debug builds. | ||
# Built manually uploaded as "istionightly/base_debug" | ||
FROM alpine:3.17 | ||
|
||
# Do not add more stuff to this list that isn't small or critically useful. | ||
# If you occasionally need something on the container do | ||
# sudo apt-get update && apt-get whichever | ||
|
||
# hadolint ignore=DL3005,DL3008 | ||
|
||
ENV consulAddress="127.0.0.1:8500" | ||
|
||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y \ | ||
ca-certificates \ | ||
curl \ | ||
iptables \ | ||
iproute2 \ | ||
iputils-ping \ | ||
knot-dnsutils \ | ||
netcat \ | ||
tcpdump \ | ||
conntrack \ | ||
bsdmainutils \ | ||
net-tools \ | ||
lsof \ | ||
linux-tools-generic \ | ||
sudo \ | ||
&& update-ca-certificates \ | ||
&& apt-get upgrade -y \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/log/*log /var/lib/apt/lists/* /var/log/apt/* /var/lib/dpkg/*-old /var/cache/debconf/*-old | ||
RUN apk update && \ | ||
apk add curl | ||
|
||
COPY consul2istio /usr/local/bin/ | ||
ENTRYPOINT /usr/local/bin/consul2istio -consulAddress=$consulAddress | ||
|
||
ENTRYPOINT /usr/local/bin/consul2istio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,95 @@ | ||
module github.com/aeraki-framework/consul2istio | ||
|
||
go 1.14 | ||
go 1.19 | ||
|
||
// https://github.com/containerd/containerd/issues/5781 | ||
exclude k8s.io/kubernetes v1.13.0 | ||
|
||
// Client-go does not handle different versions of mergo due to some breaking changes - use the matching version | ||
replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.5 | ||
|
||
require ( | ||
github.com/hashicorp/consul/api v1.8.1 | ||
google.golang.org/protobuf v1.28.1 | ||
istio.io/api v0.0.0-20230518153929-d0aebaa77ab8 | ||
istio.io/client-go v1.16.4-0.20230518154329-f75cb9ff8e52 | ||
istio.io/istio v0.0.0-20230519000352-ae8d5164776c | ||
istio.io/pkg v0.0.0-20221107183613-574f8d141535 | ||
k8s.io/apimachinery v0.25.2 | ||
sigs.k8s.io/controller-runtime v0.13.0 | ||
) | ||
|
||
require ( | ||
github.com/gogo/protobuf v1.3.1 | ||
github.com/hashicorp/consul/api v1.6.0 | ||
golang.org/x/tools v0.0.0-20201009162240-fcf82128ed91 // indirect | ||
istio.io/api v0.0.0-20200905155905-4e0c8da420a4 | ||
istio.io/client-go v0.0.0-20200812230733-f5504d568313 | ||
istio.io/istio v0.0.0-20200908094756-cc8ad211d14c | ||
istio.io/pkg v0.0.0-20200831193257-fe7110296cbc | ||
k8s.io/apimachinery v0.19.0 | ||
sigs.k8s.io/controller-runtime v0.6.1 | ||
cloud.google.com/go v0.105.0 // indirect | ||
cloud.google.com/go/compute v1.14.0 // indirect | ||
cloud.google.com/go/compute/metadata v0.2.3 // indirect | ||
cloud.google.com/go/logging v1.6.1 // indirect | ||
cloud.google.com/go/longrunning v0.3.0 // indirect | ||
github.com/PuerkitoBio/purell v1.1.1 // indirect | ||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect | ||
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/emicklei/go-restful/v3 v3.8.0 // indirect | ||
github.com/fatih/color v1.13.0 // indirect | ||
github.com/go-logr/logr v1.2.3 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.5 // indirect | ||
github.com/go-openapi/jsonreference v0.19.6 // indirect | ||
github.com/go-openapi/swag v0.21.1 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/google/gnostic v0.5.7-v3refs // indirect | ||
github.com/google/go-cmp v0.5.9 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/googleapis/enterprise-certificate-proxy v0.2.0 // indirect | ||
github.com/googleapis/gax-go/v2 v2.7.0 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-cleanhttp v0.5.1 // indirect | ||
github.com/hashicorp/go-hclog v0.12.0 // indirect | ||
github.com/hashicorp/go-immutable-radix v1.0.0 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/go-rootcerts v1.0.2 // indirect | ||
github.com/hashicorp/golang-lru v0.5.4 // indirect | ||
github.com/hashicorp/serf v0.9.5 // indirect | ||
github.com/imdario/mergo v0.3.12 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/mailru/easyjson v0.7.7 // indirect | ||
github.com/mattn/go-colorable v0.1.12 // indirect | ||
github.com/mattn/go-isatty v0.0.16 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/natefinch/lumberjack v2.0.0+incompatible // indirect | ||
github.com/spf13/cobra v1.5.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
go.opencensus.io v0.24.0 // indirect | ||
go.uber.org/atomic v1.10.0 // indirect | ||
go.uber.org/multierr v1.8.0 // indirect | ||
go.uber.org/zap v1.22.0 // indirect | ||
golang.org/x/net v0.7.0 // indirect | ||
golang.org/x/oauth2 v0.3.0 // indirect | ||
golang.org/x/sync v0.1.0 // indirect | ||
golang.org/x/sys v0.5.0 // indirect | ||
golang.org/x/term v0.5.0 // indirect | ||
golang.org/x/text v0.7.0 // indirect | ||
golang.org/x/time v0.3.0 // indirect | ||
google.golang.org/api v0.103.0 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd // indirect | ||
google.golang.org/grpc v1.50.1 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
k8s.io/api v0.25.2 // indirect | ||
k8s.io/client-go v0.25.2 // indirect | ||
k8s.io/klog/v2 v2.80.1 // indirect | ||
k8s.io/kube-openapi v0.0.0-20220803164354-a70c9af30aea // indirect | ||
k8s.io/utils v0.0.0-20220823124924-e9cbc92d1a73 // indirect | ||
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect | ||
sigs.k8s.io/yaml v1.3.0 // indirect | ||
) |
Oops, something went wrong.