Skip to content

Commit

Permalink
Merge pull request #4 from draios/no_ssl_verify
Browse files Browse the repository at this point in the history
Add support for turning off SSL validation for On-Prem
  • Loading branch information
philrz authored Mar 15, 2017
2 parents d83d503 + bba770b commit a306f25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Configurable parameters in `kubewatcher.yaml`:

* `SDC_ADMIN_TOKEN` - The Sysdig Cloud API Token of an admin user in your environment. This is needed because only admin users are capable of creating and configuring Teams.
* `SDC_URL` (optional) - The URL you use to access Sysdig Cloud. The default is set for SaaS users, but will need to be changed if you have an [on-premise install](https://support.sysdigcloud.com/hc/en-us/articles/206519903-On-Premises-Installation-Guide).
* `SDC_SSL_VERIFY` - Whether SSL cert verification will be attempted when Kubewatcher connects to `SDC_URL`. SaaS users should leave at its default of `"true"`, while [on-premise installs](https://support.sysdigcloud.com/hc/en-us/articles/206519903-On-Premises-Installation-Guide) will typically need to set this to `"false"`.
* `TEAM_PREFIX` (optional) - A string that will be prepended to the names of Teams and Notification Channels automatically created by Kubewatcher. This will make them easier to identify in the Sysdig Cloud UI.

From inside the pod where it runs, Kubewatcher will automatically attempt to contact the Kubernetes API server at the DNS name `kubernetes` using the credential and certificate bundle as described in the docs [here](https://kubernetes.io/docs/user-guide/accessing-the-cluster/#accessing-the-api-from-a-pod).
Expand Down
4 changes: 3 additions & 1 deletion kubewatcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ spec:
spec:
containers:
- name: kubewatcher
image: sysdig/kubewatcher:0.1.0
image: sysdig/kubewatcher:0.1.1
env:
- name: SDC_ADMIN_TOKEN
value: abcdef01-2345-6789-abcd-ef0123456789
- name: SDC_URL
value:
- name: SDC_SSL_VERIFY
value: "true"
- name: KUBE_URL
value:
- name: TEAM_PREFIX
Expand Down

0 comments on commit a306f25

Please sign in to comment.