Skip to content

Commit

Permalink
kommnader-thanos: add flag for the creation of the federated addon (#227
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Hector Fernandez committed Nov 1, 2019
1 parent e192f70 commit 94d1681
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/kommander-thanos/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ appVersion: "1.0"
description: Kommander Thanos
name: kommander-thanos
home: https://github.com/mesosphere/charts
version: 0.1.2
version: 0.1.3
maintainers:
- name: branden
5 changes: 4 additions & 1 deletion stable/kommander-thanos/templates/federated-addon.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{{- if .Values.federate.addons }}
---
apiVersion: types.kubefed.io/v1beta1
kind: FederatedAddon
metadata:
Expand All @@ -15,7 +17,7 @@ spec:
labels:
kubeaddons.mesosphere.io/name: {{ include "kommander-thanos.short-name-prefix" . }}-proxy
spec:
namespace: {{ .Values.federate.systemNamespace.name }}
namespace: {{ .Values.federate.systemNamespace.name }}
chartReference:
chart: mtls-proxy
repo: https://mesosphere.github.io/charts/stable
Expand All @@ -29,3 +31,4 @@ spec:
service:
type: LoadBalancer
port: 443
{{ end }}
1 change: 1 addition & 0 deletions stable/kommander-thanos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
thanosAddress: ""

federate:
addons: true
systemNamespace:
name: kommander-system

Expand Down

0 comments on commit 94d1681

Please sign in to comment.