forked from helm/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stable/magic-namespace] Add TLS capabilities to Tiller deployment (h…
…elm#12061) * [stable/magic-namespace] Add TLS capabilities to Tiller deployment Also: * Fix Tiller container name * Make additional service accounts optional Signed-off-by: Ash Caire <[email protected]> * Changes based on review Signed-off-by: Ash Caire <[email protected]> * Restore tiller container name change Signed-off-by: Ash Caire <[email protected]> * Remove service account change Signed-off-by: Ash Caire <[email protected]> * Remove certPath Signed-off-by: Ash Caire <[email protected]>
- Loading branch information
1 parent
8f7b120
commit 375a520
Showing
6 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if (and (.Values.tiller.tls.enabled) (not .Values.tiller.tls.secretName)) }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ template "magic-namespace.tillerTlsSecret" . }} | ||
{{- if hasKey .Values "namespace" }} | ||
namespace: {{ .Values.namespace }} | ||
{{- end }} | ||
labels: | ||
app: {{ template "magic-namespace.chart" . }} | ||
chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
heritage: {{ .Release.Service }} | ||
release: {{ .Release.Name }} | ||
type: Opaque | ||
data: | ||
ca.crt: {{ required "You need to populate .Values.tiller.tls.ca with a Base64 encoded CA" .Values.tiller.tls.ca }} | ||
tls.crt: {{ required "You need to populate .Values.tiller.tls.cert with a Base64 encoded cert" .Values.tiller.tls.cert }} | ||
tls.key: {{ required "You need to populate .Values.tiller.tls.key with a Base64 encoded key" .Values.tiller.tls.key}} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters