-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TLS support for backup-restore server
Signed-off-by: Shreyas Rao <[email protected]>
- Loading branch information
1 parent
d183b99
commit 1255967
Showing
12 changed files
with
495 additions
and
68 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
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,14 @@ | ||
{{- if .Values.backupRestoreTLS }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ .Release.Name }}-etcdbr-ca | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: etcd | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
type: Opaque | ||
data: | ||
ca.crt: {{ .Values.backupRestoreTLS.caBundle | b64enc }} | ||
{{- end }} |
15 changes: 15 additions & 0 deletions
15
chart/etcd-backup-restore/templates/etcdbr-tls-secret.yaml
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,15 @@ | ||
{{- if .Values.backupRestoreTLS }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ .Release.Name }}-etcdbr-tls | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: etcd | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
type: kubernetes.io/tls | ||
data: | ||
tls.crt: {{ .Values.backupRestoreTLS.crt | b64enc }} | ||
tls.key: {{ .Values.backupRestoreTLS.key | b64enc }} | ||
{{- end }} |
Oops, something went wrong.