linkerd2/jaeger/charts/linkerd-jaeger
Takumi Sue 77add64860
Remove extra three dashes from helm templates (#5628)
(Background information)
In our company we are checking the sops-encrypted Linkerd manifest into GitHub repository,
and I came across the following problem.

---

Three dashes mean the start of the YAML document (or the end of the
directive).
https://yaml.org/spec/1.2/spec.html#id2800132

If there are only comments between `---`, the document is empty.
Assume the file which include an empty document at the top of itself.

```yaml
---
# foo
---
apiVersion: v1
kind: Namespace
metadata:
  name: foo
---
# bar
---
apiVersion: v1
kind: Namespace
metadata:
  name: bar
```

When we encrypt and decrypt it with [sops](https://github.com/mozilla/sops), the empty document will be
converted to `{}`.

```yaml
{}
---
apiVersion: v1
kind: Namespace
metadata:
    name: foo
---
apiVersion: v1
kind: Namespace
metadata:
    name: bar
```

It is invalid as k8s manifest ([apiVersion not set, kind not set]).

```
error validating data: [apiVersion not set, kind not set]
```

---

I'm afraid that it's sops's problem (at least partly), but anyhow this modification is enough harmless I think.
Thank you.

Signed-off-by: Takumi Sue <u630868b@alumni.osaka-u.ac.jp>
2021-02-01 10:51:34 -05:00
..
templates Remove extra three dashes from helm templates (#5628) 2021-02-01 10:51:34 -05:00
.helmignore Rename extension charts to linkerd-* (#5552) 2021-01-26 16:20:49 -08:00
Chart.yaml Rename extension charts to linkerd-* (#5552) 2021-01-26 16:20:49 -08:00
README.md Rename extension charts to linkerd-* (#5552) 2021-01-26 16:20:49 -08:00
README.md.gotmpl Rename extension charts to linkerd-* (#5552) 2021-01-26 16:20:49 -08:00
requirements.lock Rename extension charts to linkerd-* (#5552) 2021-01-26 16:20:49 -08:00
requirements.yaml Rename extension charts to linkerd-* (#5552) 2021-01-26 16:20:49 -08:00
values.yaml Rename extension charts to linkerd-* (#5552) 2021-01-26 16:20:49 -08:00

README.md

linkerd-jaeger

The Linkerd-Jaeger extension adds distributed tracing to Linkerd using OpenCensus and Jaeger.

Version: 0.1.0

AppVersion: edge-XX.X.X

Homepage: https://linkerd.io

Quickstart and documentation

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

For more comprehensive documentation, start with the Linkerd docs.

Prerequisite: Linkerd Core Control-Plane

Before installing the Linkerd Jaeger extension, The core control-plane has to be installed first by following the Linkerd Install Guide.

Adding Linkerd's Helm repository

# To add the repo for Linkerd2 stable releases:
helm repo add linkerd https://helm.linkerd.io/stable
# To add the repo for Linkerd2 edge releases:
helm repo add linkerd-edge https://helm.linkerd.io/edge

The following instructions use the linkerd repo. For installing an edge release, just replace with linkerd-edge.

Installing the Jaeger Extension Chart

helm install linkerd/linkerd-jaeger

Get involved

Requirements

Kubernetes: >=1.13.0-0

Repository Name Version
file://../../../charts/partials partials 0.1.0

Values

Key Type Default Description
collector.image.name string "omnition/opencensus-collector"
collector.image.pullPolicy string "Always"
collector.image.version string "0.1.11"
collector.jaegerAddr string nil address of the jaeger backend to send traces to
jaeger.image.name string "jaegertracing/all-in-one"
jaeger.image.pullPolicy string "Always"
jaeger.image.version string "1.19.2"
linkerdVersion string "linkerdVersionValue"
namespace string "linkerd-jaeger"
webhook.caBundle string "" if empty, Helm will auto-generate this field, unless externalSecret is set to true.
webhook.collectorSvcAccount string "collector" service account associated with the collector instance
webhook.collectorSvcAddr string "collector.linkerd-jaeger:55678" collector service address for the proxies to send trace data. Points by default to the the linkerd-jaeger collector
webhook.crtPEM string "" if empty, Helm will auto-generate these fields
webhook.externalSecret bool false
webhook.failurePolicy string "Ignore"
webhook.image.name string "ghcr.io/linkerd/jaeger-webhook"
webhook.image.pullPolicy string "IfNotPresent"
webhook.image.version string "linkerdVersionValue"
webhook.keyPEM string ""
webhook.logLevel string "info"
webhook.namespaceSelector string nil
webhook.objectSelector string nil

Autogenerated from chart metadata using helm-docs v1.4.0