-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding proxy user tls cert and key files upport. (#25)
impl #22 Signed-off-by: Vincent Du <[email protected]>
- Loading branch information
1 parent
c5d650f
commit fc2207f
Showing
4 changed files
with
95 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{- if and (.Values.proxy.tls) (.Values.proxy.tls.enabled) }} | ||
|
||
{{- if and (.Values.proxy.tls.crt) (.Values.proxy.tls.key) }} | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ .Values.proxy.tls.secretName }} | ||
data: | ||
tls.crt: {{ .Values.proxy.tls.crt }} | ||
tls.key: {{ .Values.proxy.tls.key }} | ||
type: kubernetes.io/tls | ||
{{- end }} | ||
|
||
{{- 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