Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
Go to file
Zahari Dichev a2363f4051
Fix `splitStringListToPorts` port range object rendering (#4688)
The splitStringListToPorts helm function is currently incorrectly formating a list of ports as an array of Port objects that look ike {"port" : 555}. The config map protobuf representation however expects that the ignoreOutboundPorts and ignoreInboundPorts fields are are list of PortRange objects ({"portRange" : 555}).

This was causing the injector to return an empty string when trying to parse a PortRange object resulting in the ports not getting set correctly when injecting workloads. Note that this is happening only with helm installations as this is when we are actually using a helm template for outputting the config map.

To fix that the splitStringListToPorts helm function is changed to format the objects as the json representation of PortRange and is renamed to splitStringListToPortRanges

Fix: #4679

Signed-off-by: Zahari Dichev zaharidichev@gmail.com
2020-07-09 14:23:12 +03:00
.github Re-enable custom domain integration test (#4722) 2020-07-07 16:27:46 -05:00
bin Fix spelling mistakes using codespell (#4700) 2020-07-07 17:07:22 -05:00
charts Fix `splitStringListToPorts` port range object rendering (#4688) 2020-07-09 14:23:12 +03:00
cli Fix `splitStringListToPorts` port range object rendering (#4688) 2020-07-09 14:23:12 +03:00
cni-plugin Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
controller Do not treat evicted pods as failed in healthchecks (#4732) 2020-07-09 14:22:27 +03:00
grafana Fix spelling mistakes using codespell (#4700) 2020-07-07 17:07:22 -05:00
pkg Do not treat evicted pods as failed in healthchecks (#4732) 2020-07-09 14:22:27 +03:00
proto Fix spelling mistakes using codespell (#4700) 2020-07-07 17:07:22 -05:00
proxy-identity Improve shellscript portability by using /bin/env (#4628) 2020-06-19 15:49:29 -04:00
test Fix spelling mistakes using codespell (#4700) 2020-07-07 17:07:22 -05:00
testutil conformance validation: Refactor install test helpers (#4681) 2020-06-29 14:29:41 -07:00
web Fix spelling mistakes using codespell (#4700) 2020-07-07 17:07:22 -05:00
.dockerignore Clean up .dockerignore and .gitignore (#4656) 2020-06-23 16:39:17 -07:00
.editorconfig Add protobuf files to .editorconfig (#1042) 2018-05-30 15:09:38 -07:00
.gcp.json.enc Add docker builds and integration tests to CI (#1303) 2018-07-11 14:01:42 -07:00
.gitattributes remove the duplicate word (#3385) 2019-09-04 20:13:55 -07:00
.gitignore Clean up .dockerignore and .gitignore (#4656) 2020-06-23 16:39:17 -07:00
.golangci.yml Upgrade golangci-lint to v1.23.8 (#4181) 2020-03-18 09:13:19 -05:00
.markdownlint.yaml Lint all markdown files in CI (#4402) 2020-05-19 23:03:50 -07:00
.proxy-version proxy: v2.103.0 (#4703) 2020-07-02 11:27:30 -07:00
ADOPTERS.md Update ADOPTERS.md (#4731) 2020-07-08 21:53:44 -07:00
BUILD.md Update CI and docs to reference `main` branch (#4662) 2020-06-24 12:39:22 -07:00
CHANGES.md Release edge-20.7.1 (#4698) 2020-07-03 08:42:58 -07:00
CODE_OF_CONDUCT.md Lint all markdown files (#4403) 2020-05-19 09:59:26 -07:00
CONTRIBUTING.md Update CI and docs to reference `main` branch (#4662) 2020-06-24 12:39:22 -07:00
DCO Add contributing doc and DCO file (#88) 2017-12-22 14:54:27 -08:00
Dockerfile-base Use buster for base and web images too (#4567) 2020-06-15 10:49:26 -07:00
Dockerfile-debug Use buster for base and web images too (#4567) 2020-06-15 10:49:26 -07:00
Dockerfile-go-deps Upgrade to go 1.14.2 (#4278) 2020-04-20 17:14:51 -07:00
Dockerfile-proxy feat: add log format annotation and helm value (#4620) 2020-07-02 10:08:52 -05:00
GOVERNANCE.md Lint all markdown files (#4403) 2020-05-19 09:59:26 -07:00
LICENSE Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00
MAINTAINERS.md Lint all markdown files (#4403) 2020-05-19 09:59:26 -07:00
README.md polish README (#4686) 2020-06-29 10:52:00 -07:00
SECURITY.md Lint all markdown files (#4403) 2020-05-19 09:59:26 -07:00
SECURITY_AUDIT.pdf Add security audit (#3008) 2019-06-28 16:04:41 -07:00
TEST.md Fix spelling mistakes using codespell (#4700) 2020-07-07 17:07:22 -05:00
go.mod Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
go.sum Update proxy-api version to v0.1.13 (#4614) 2020-06-24 12:52:59 -07:00
tools.go Upgrade to client-go 0.17.4 and smi-sdk-go 0.3.0 (#4221) 2020-04-01 10:07:23 -07:00

README.md

Linkerd

Linkerd

GitHub Actions Status GitHub license Go Report Card Slack Status

🎈 Welcome to Linkerd! 👋

Linkerd is an ultralight, security-first service mesh for Kubernetes. Linkerd adds critical security, observability, and reliability features to your Kubernetes stack with no code change required.

Linkerd is a Cloud Native Computing Foundation (CNCF) project.

Repo layout

This is the primary repo for the Linkerd 2.x line of development.

The complete list of Linkerd repos is:

Quickstart and documentation

You can run Linkerd on any modern Kubernetes cluster in a matter of seconds. See the Linkerd Getting Started Guide for how.

For more comprehensive documentation, start with the Linkerd docs. (The doc source code is available in the website repo.)

Working in this repo

BUILD.md includes general information on how to work in this repo.

We ❤️ pull requests! See CONTRIBUTING.md for info on contributing changes.

Get involved

Community meetings

We host regular online meetings for contributors, adopters, maintainers, and anyone else interested to connect in a synchronous fashion. These meetings usually take place the last Wednesday of the month at 9am Pacific / 4pm UTC.

We're a friendly group, so please feel free to join us!

Code of conduct

This project is for everyone. We ask that our users and contributors take a few minutes to review our code of conduct.

Security

Security Audit

A third party security audit was performed by Cure53. You can see the full report here.

License

Copyright 2020 the Linkerd Authors. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.