Skip to content

Commit

Permalink
Use KUBERNETES_SERVICE_HOST environment variable (helm#13676)
Browse files Browse the repository at this point in the history
Instead of hardcoding or relying in DNS, use this method.

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
  • Loading branch information
Néstor Salceda authored and goshlanguage committed May 17, 2019
1 parent 6360cfb commit 94a658e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion stable/falco/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@
This file documents all notable changes to Sysdig Falco Helm Chart. The release
numbering uses [semantic versioning](http://semver.org).

## v0.7.4

### Minor Changes

* Use the KUBERNETES_SERVICE_HOST environment variable to connect to Kubernetes
API instead of using a fixed name

## v0.7.3

### Minor Changes

* Remove the toJson pipeline when storing Google Credentials. It makes strange
stuff with double quotes and does not allow to use base64 encoded credentials
stuff with double quotes and does not allow to use base64 encoded credentials

## v0.7.2

Expand Down
2 changes: 1 addition & 1 deletion stable/falco/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: falco
version: 0.7.3
version: 0.7.4
appVersion: 0.14.0
description: Sysdig Falco
keywords:
Expand Down
2 changes: 1 addition & 1 deletion stable/falco/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- -K
- /var/run/secrets/kubernetes.io/serviceaccount/token
- -k
- https://kubernetes.default
- "https://$(KUBERNETES_SERVICE_HOST)"
- -pk
{{- if .Values.extraArgs }}
{{ toYaml .Values.extraArgs | indent 12 }}
Expand Down

0 comments on commit 94a658e

Please sign in to comment.