Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
Enable alternative tillerNamespace to be specified when deploying (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab authored and prydonius committed Oct 9, 2017
1 parent f984ede commit 9307358
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
9 changes: 9 additions & 0 deletions deployment/monocular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ The command removes all the Kubernetes components associated with the chart and

See the [values](values.yaml) for the full list of configurable values.


### Pointing to a different namespace

If tiller is not running in default namespace `kube-system`, you can provide the correct namespace with the following:

```console
$ helm install monocular/monocular --set api.config.tillerNamespace=YOUR_NAMESPACE
```

### Disabling Helm releases (deployment) management

If you want to run Monocular without giving the option to install and manage charts in your cluster, similar to [KubeApps](https://kubeapps.com) you can configure `api.config.releasesEnabled`:
Expand Down
4 changes: 3 additions & 1 deletion deployment/monocular/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ Visit https://github.com/kubernetes-helm/monocular for more information.
{{ if .Values.api.config.releasesEnabled -}}
**IMPORTANT**: Releases are enabled, which will allow anybody with access to the running instance to create, list and delete any Helm release existing in your cluster.
This feature is aimed for internal, behind the firewall deployments of Monocular, please plan accordingly. To disable this, re-install Monocular setting api.config.releasesEnabled=false.
{{ end }}
{{ end }}

Monocular expects tiller-deploy to be found in namespace {{ .Values.api.config.tillerNamespace }}
1 change: 1 addition & 0 deletions deployment/monocular/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ api:
- "x-xsrf-token"
# Enable Helm deployment integration
releasesEnabled: true
tillerNamespace: kube-system
# Cache refresh interval in sec.
cacheRefreshInterval: 3600
ui:
Expand Down

0 comments on commit 9307358

Please sign in to comment.