Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
521cd53
WIP: CNI Plugin (#2071)
codeman9 Jan 30, 2019
4989fe6
Add support for timeouts in service profiles (#2149)
adleong Jan 31, 2019
83311c5
Added flags to allow further configuration of destination cni bin and…
codeman9 Jan 31, 2019
e22fb79
Introduce go generate to embed static templates (#2189)
kleimkuhler Feb 5, 2019
1e5add4
Introduce Discovery API and endpoints command (#2195)
siggy Feb 7, 2019
2bd583a
Improve ServiceProfile validation in linkerd check (#2218)
siggy Feb 7, 2019
f1b8788
Read service profiles from client or server namespace instead of cont…
adleong Feb 7, 2019
e3257d8
Introduce golangci-lint tooling, fixes (#2239)
siggy Feb 13, 2019
0676876
Upgrade Spinner to fix race condition (#2265)
alpeb Feb 14, 2019
842c817
Generate CLI docs for usage by the website (#2296)
grampelberg Feb 15, 2019
f94c4f4
Bump base Docker images (#2241)
siggy Feb 22, 2019
f4c3710
Enable `unused` linter (#2357)
siggy Feb 23, 2019
6a517ee
lint: Enable goconst (#2365)
siggy Feb 25, 2019
34e8d80
Authorization-aware control-plane components (#2349)
siggy Feb 26, 2019
b7e4075
Wire up stats for Jobs (#2416)
Pothulapati Mar 2, 2019
6147d1c
Injection consolidation (#2334)
alpeb Mar 5, 2019
6bd867c
Bump Prometheus client to v0.9.2 (#2388)
siggy Mar 5, 2019
3790eca
add preStop and change sleep command; update yaml spacing (#2441)
codeman9 Mar 6, 2019
457073b
Remove `--tls=optional` and `linkerd-ca` (#2515)
olix0r Mar 19, 2019
4c48834
Introduce the Identity controller implementation (#2521)
olix0r Mar 19, 2019
5731ae7
config: Store install parameters with global config (#2577)
olix0r Mar 29, 2019
9e8e8a2
Add validation webhook for service profiles (#2623)
alpeb Apr 5, 2019
0b571e5
Switch UUID implementation (#2667)
olix0r Apr 8, 2019
8530bfd
Don't use spinner in cli when run without a tty (#2716)
siggy Apr 18, 2019
2d3d2ce
Consolidate k8s APIs (#2747)
siggy Apr 25, 2019
4319997
Introduce k8s apiextensions support (#2759)
siggy Apr 29, 2019
12188e6
lower the log level of the linkerd-cni output (#2787)
codeman9 May 7, 2019
3783c2e
Split proxy-init into separate repo (#2824)
alpeb Jun 3, 2019
c12353f
Refactor destination service (#2786)
adleong Jun 4, 2019
257a7c9
Add support for TrafficSplits (#2897)
adleong Jun 11, 2019
ff0e79a
Add traffic splitting to destination profiles (#2931)
adleong Jun 28, 2019
68cc5d1
Add prometheus metrics for watchers (#3022)
adleong Jul 8, 2019
39d5d65
Introduce Go modules support (#2481)
siggy Jul 25, 2019
539993b
Introduce `linkerd --as` flag for impersonation (#3173)
siggy Jul 31, 2019
9953280
Check in gen deps (#3245)
adleong Aug 14, 2019
2515936
Add a flag to install-cni command to configure iptables wait flag (#3…
cpretzer Aug 15, 2019
584521e
Update CNI integration tests (#3273)
alpeb Aug 16, 2019
c569b5e
Merge the CLI 'installValues' type with Helm 'Values' type (#3291)
ihcsim Aug 21, 2019
bf45fa8
Require go 1.12.9 for controller builds (#3297)
olix0r Aug 21, 2019
8208771
Remove broken thrift dependency (#3370)
siggy Sep 3, 2019
203adad
Decrease proxy and web Docker image sizes (#3384)
siggy Sep 5, 2019
26b523e
Bump proxy-init to 1.2.0 (#3397)
siggy Sep 9, 2019
4e69218
Update to client-go v12.0.0, forked stern (#3387)
siggy Sep 10, 2019
eaf7460
Trace Control Plane components using OC (#3461)
Pothulapati Sep 26, 2019
d99102f
Update base docker image to debian latest stable: buster (#3438)
cpretzer Sep 26, 2019
ce20854
Revert "Trace Control Plane components using OC (#3461)" (#3484)
adleong Sep 26, 2019
1cda082
Revert upgrade to buster based on CNI test failure after merge (#3486)
cpretzer Sep 26, 2019
a3b846a
Add TapEvent headers and trailers to the tap protobuf (#3410)
kleimkuhler Sep 29, 2019
6079f11
Switch from using golangci fmt to using goimports (#3555)
adleong Oct 16, 2019
ede337d
Trace Control plane Components with OC (#3495)
Pothulapati Oct 18, 2019
32fa6b5
Add APIService fake clientset support (#3569)
siggy Oct 21, 2019
7ea870e
Cert manager support (#3600)
zaharidichev Oct 24, 2019
a1684d3
Upgrade go to 1.13.4 (#3702)
alpeb Nov 13, 2019
ba85523
Removed calico logutils dependency, incompatible with go 1.13 (#3763)
alpeb Nov 29, 2019
36cd541
Move CNI template to helm (#3581)
zaharidichev Dec 10, 2019
47e7684
Upgrade prometheus to v1.2.1 (#3541)
daxmc99 Dec 11, 2019
1c455a6
Cache StatSummary responses in dashboard web server (#3769)
tegioz Dec 17, 2019
9c70a34
Enable mixed configuration of skip-[inbound|outbound]-ports (#3766)
javaducky Dec 20, 2019
c44fd50
Remove empty fields from generated configs (#3886)
mayankshah1607 Jan 13, 2020
267c616
Add `as-group` CLI flag (#3952)
mayankshah1607 Jan 22, 2020
4406d02
Fix CNI config parsing (#3953)
zaharidichev Jan 23, 2020
1ced025
Use correct go module file syntax (#4021)
daxmc99 Feb 7, 2020
9799bc7
Update linkerd/stern to fix go.mod parsing (#4173)
kleimkuhler Mar 17, 2020
dd8c7b3
Bump proxy-init to v1.3.2 (#4170)
alpeb Mar 17, 2020
b44156a
Set auth override (#4160)
zaharidichev Mar 25, 2020
27f5cd4
Upgrade to client-go 0.17.4 and smi-sdk-go 0.3.0 (#4221)
adleong Apr 1, 2020
6055f1c
Upgrade to go 1.14.2 (#4278)
adleong Apr 21, 2020
f2a6c15
Refactor CNI integration tests to use annotations functions (#4363)
alpeb May 14, 2020
10ec3b5
install-cni.sh: Fix shellcheck issues (#4405)
joakimr-axis May 20, 2020
beb45fb
Add --close-wait-timeout inject flag (#4409)
adleong May 21, 2020
963d4aa
Fix quotes in shellscripts (#4406)
joakimr-axis Jun 2, 2020
49eb94c
Use buster for base and web images too (#4567)
joakimr-axis Jun 15, 2020
a94a124
Improve shellscript portability by using /bin/env (#4628)
joakimr-axis Jun 19, 2020
8f0edf1
Add support for Helm configuration of per-component proxy resources r…
cypherfox Jun 24, 2020
bc82be4
Update proxy-api version to v0.1.13 (#4614)
olix0r Jun 24, 2020
db514bd
Upgrade generated protobuf files to v1.4.2 (#4673)
alpeb Jun 26, 2020
ee2846f
add fish shell completion (#4751)
WLun001 Jul 20, 2020
31893fe
Migrate CI to docker buildx and other improvements (#4765)
alpeb Jul 22, 2020
cf35a3d
CI: Remove Base image (#4782)
aliariff Jul 23, 2020
7154b7e
Build ARM docker images (#4794)
aliariff Aug 5, 2020
1118069
Push docker images to ghcr.io instead of gcr.io (#4953)
alpeb Sep 10, 2020
37c11c4
CNI: Use skip ports configuration in CNI (#4974)
Pothulapati Sep 23, 2020
ffff5c3
Bump k8s client-go to v0.19.2 (#5002)
Pothulapati Sep 28, 2020
55fce6a
Updated debian image tags (#5249)
agniveshadhikari Nov 18, 2020
92e3604
Update debian base images to buster-20210208-slim (#5750)
olix0r Feb 16, 2021
de8b988
Update Go to 1.14.15 (#5751)
olix0r Feb 16, 2021
e95e896
docker: Access container images via cr.l5d.io (#5756)
olix0r Feb 17, 2021
cd8f617
cni: add ConfigureFirewall error propagation (#5811)
frankgu968 Feb 24, 2021
69b7498
update go.mod and docker images to go 1.16.2 (#5890)
Mar 15, 2021
5070d4a
fix: issues affecting code quality (#5827)
withshubh Mar 15, 2021
ef4587c
Update Go to 1.16.4 (#6170)
olix0r May 24, 2021
791c37a
Enable readOnlyFileSystem for cni plugin chart (#6469)
ubergesundheit Jul 21, 2021
d3b9e1a
Upgrade CNI to v0.8.1 (#7270)
alpeb Nov 12, 2021
24d5798
build(deps): bump github.com/containernetworking/cni from 0.8.1 to 1.…
dependabot[bot] Nov 29, 2021
33d0350
build: upgrade to Go 1.17 (#7371)
Juneezee Nov 30, 2021
8da2967
bin/shellcheck-all: Add filename/shebang check (#7541)
joakimr-axis Jan 12, 2022
1b3090f
Fix CNI integration test (#7660)
alpeb Jan 21, 2022
e0f6604
go: Enable `errorlint` checking (#7885)
olix0r Feb 17, 2022
10993a4
Add `gosec` and `errcheck` lints (#7954)
kleimkuhler Mar 3, 2022
cba6d52
Update debian to bullseye (#8287)
olix0r Apr 19, 2022
9f2f05b
Introduce file watch to CNI installer (#8299)
mateiidavid May 4, 2022
5ade155
Shellscript housekeeping (#8549)
joakimr-axis May 26, 2022
5ad5ce1
Update Go to the latest 1.17 release (#8603)
olix0r Jun 3, 2022
2241002
Fix CNI plugin event processing (#8778)
mateiidavid Jun 30, 2022
314797d
Bump proxy-init version to v1.6.1 (#8913)
mateiidavid Jul 18, 2022
f56322b
Update Go to 1.18 (#9019)
olix0r Jul 27, 2022
85af7cc
Allow running Linkerd CNI plugin stand-alone (#8864)
ErmakovDmitriy Aug 4, 2022
b45f787
Remove old .conf file from CNI directory when we convert .conf file t…
stevej Oct 6, 2022
9aabbe1
Replace usage of io/ioutil package (#9613)
alpeb Oct 13, 2022
9f16837
Merge branch 'stevej/merge-cni-plugin' into stevej/cni-plugin-target
Nov 22, 2022
d2b109b
adds cni module to go.mod
Nov 22, 2022
d80369f
adds cni module to go.mod
Nov 22, 2022
4982d7c
Merge branch 'main' into stevej/cni-plugin-target
Dec 14, 2022
ce45030
fix merge conflict
Dec 14, 2022
049e1c6
This branch is fixups for the cni-plugin branch (#140)
Dec 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ on:
jobs:
lint:
runs-on: ubuntu-20.04
container: ghcr.io/linkerd/dev:v38-go
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- uses: golangci/golangci-lint-action@0ad9a0988b3973e851ab0a07adf248ec2e100376
- run: just go-lint --verbose --timeout=10m

fmt:
runs-on: ubuntu-20.04
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ FROM --platform=$BUILDPLATFORM ghcr.io/linkerd/dev:v38-go as go
WORKDIR /build
COPY --link go.mod go.sum .
COPY --link ./proxy-init ./proxy-init
COPY --link ./internal ./internal
RUN go mod download
ARG TARGETARCH
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH GO111MODULE=on \
Expand Down
23 changes: 23 additions & 0 deletions cni-plugin/deployment/linkerd-cni.conf.default
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "linkerd-cni",
"type": "linkerd-cni",
"log_level": "info",
"policy": {
"type": "k8s",
"k8s_api_root": "https://__KUBERNETES_SERVICE_HOST__:__KUBERNETES_SERVICE_PORT__",
"k8s_auth_token": "__SERVICEACCOUNT_TOKEN__"
},
"kubernetes": {
"kubeconfig": "__KUBECONFIG_FILEPATH__"
},
"linkerd": {
"incoming-proxy-port": 4143,
"outgoing-proxy-port": 4140,
"proxy-uid": 2102,
"ports-to-redirect": [],
"inbound-ports-to-ignore": [],
"outbound-ports-to-ignore": [],
"simulate": false,
"use-wait-flag": false
}
}
13 changes: 13 additions & 0 deletions cni-plugin/deployment/scripts/filter.jq
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if has("type") then
.plugins = [.]
| del(.plugins[0].cniVersion)
| to_entries
| map(select(.key=="plugins"))
| from_entries
| .plugins += [$CNI_TMP_CONF_DATA]
| .name = "k8s-pod-network"
| .cniVersion = "0.3.0"
else
del(.plugins[]? | select(.type == "linkerd-cni"))
| .plugins += [$CNI_TMP_CONF_DATA]
end
Loading