Skip to content

Commit

Permalink
Publish Helm chart version 0.6.0; App version: 1.189.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Stan committed Oct 23, 2020
1 parent 9703189 commit 4474d9a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This project provides a Kubernetes [admission controller mutating webhook](https

## Requirements

- Kubernetes 1.17+ OR OpenShift 4.5
- Kubernetes 1.16+ OR OpenShift 4.5+
- `kubectl` 1.16+
- Helm 3.2+ (in the setup instructions, we use the new `--create-namespace` flag for maximum comfort)

Expand Down Expand Up @@ -59,7 +59,7 @@ helm upgrade --namespace instana-autotrace-webhook instana-autotrace-webhook \
A future version of the Helm chart will deliver native modules for other supported Node.js versions.
- Environment variables applicable only for Node.js and .NET Core will show up in processes running in other runtimes.
There is no known side-effect of this, don't get spooked :-)
- Only `amd64` Kubernetes nodes are currently supported.
- Only amd64 Kubernetes nodes are currently supported.

## Configuration

Expand Down
9 changes: 9 additions & 0 deletions incubator/instana-autotrace-webhook/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ helm.sh/chart: {{ include "instana-autotrace-webhook.chart" . }}
{{- end }}
{{- end }}

{{- define "admission-controller-api-versions" }}
{{- if .Capabilities.APIVersions.Has "admissionregistration.k8s.io/v1" }}
- v1
{{- end }}
{{- if .Capabilities.APIVersions.Has "admissionregistration.k8s.io/v1beta1" }}
- v1beta1
{{- end }}
{{- end }}

{{- define "is_openshift" }}
{{- .Capabilities.APIVersions.Has "apps.openshift.io/v1" }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ webhooks:
path: /validate
port: 443
caBundle: {{ $ca.Cert | b64enc }}
admissionReviewVersions: ['{{ include "k8s-admission-controller-api-version" . }}']
admissionReviewVersions: {{ include "admission-controller-api-versions" . | indent 4}}
sideEffects: NoneOnDryRun
timeoutSeconds: 5
4 changes: 2 additions & 2 deletions incubator/instana-autotrace-webhook/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ webhook:
ssl:
insecure: false
caBundle:
image: containers.instana.io/instana/release/agent/instana-autotrace-webhook@sha256:726acedd2f0fd4fab9d2a01eda99010186e88f66828bc73c3517ce730884c343
image: containers.instana.io/instana/release/agent/instana-autotrace-webhook@sha256:89e41dd0383bbd705e133f636d25ac32d43ea2fd4e0578e66dc0ea2bb2d53895
imagePullPolicy: Always
imagePullCredentials:
registry: containers.instana.io
Expand All @@ -22,7 +22,7 @@ autotrace:
opt_in: false
failurePolicy: Ignore # We do not want to cause any trouble in scheduling; for local testing, use 'Fail'
instrumentation:
image: instana/instrumentation@sha256:0a506a6a352bfe75e3eebc8b1ed203508cfc7bd1678e7ae49c87b5509fecc2b5
image: instana/instrumentation@sha256:97367f3c6862efeebdb71377da9f7eb76118ddaf10251f3a304d5df3d23b0f6b
imagePullPolicy: Always
kong:
enabled: true
Expand Down

0 comments on commit 4474d9a

Please sign in to comment.