-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7dc75c8
commit 83d9295
Showing
14 changed files
with
62 additions
and
15 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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
16 changes: 16 additions & 0 deletions
16
charts/metal3/0.2.0/charts/ironic/templates/secret-tls.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,16 @@ | ||
{{- if and .Values.global.enable_ironic .Values.global.enable_tls | ||
(ne .Values.tlscerts.crt "") | ||
(ne .Values.tlscerts.key "") | ||
(ne .Values.tlscerts.cacert "") -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: ironic-cacert | ||
labels: | ||
{{- include "ironic.labels" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
tls.crt: {{ .Values.tlscerts.crt | toString | b64enc }} | ||
tls.key: {{ .Values.tlscerts.key | toString | b64enc }} | ||
ca.crt: {{ .Values.tlscerts.cacert | toString | b64enc }} | ||
{{- 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
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,16 @@ | ||
{{- if and .Values.global.enable_ironic .Values.global.enable_tls | ||
(ne .Values.tlscerts.crt "") | ||
(ne .Values.tlscerts.key "") | ||
(ne .Values.tlscerts.cacert "") -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: ironic-cacert | ||
labels: | ||
{{- include "ironic.labels" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
tls.crt: {{ .Values.tlscerts.crt | toString | b64enc }} | ||
tls.key: {{ .Values.tlscerts.key | toString | b64enc }} | ||
ca.crt: {{ .Values.tlscerts.cacert | toString | b64enc }} | ||
{{- 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