mirror of
https://github.com/truenas/charts.git
synced 2026-05-12 11:36:10 +08:00
11 lines
341 B
YAML
11 lines
341 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "nginx.secretName" . }}
|
|
type: Opaque
|
|
data:
|
|
{{ if eq (include "nginx.certAvailable" .) "true" }}
|
|
certPublicKey: {{ (include "nginx.cert.publicKey" .) | toString | b64enc | quote }}
|
|
certPrivateKey: {{ (include "nginx.cert.privateKey" .) | toString | b64enc | quote }}
|
|
{{ end }}
|