47 lines
972 B
YAML
47 lines
972 B
YAML
{{- if not .Values.useCertManager }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: s3gw-ingress-tls
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{ include "s3gw.labels" . | indent 4 }}
|
|
type: kubernetes.io/tls
|
|
data:
|
|
tls.crt: |
|
|
{{ .Values.tls.publicDomain.crt }}
|
|
tls.key: |
|
|
{{ .Values.tls.publicDomain.key }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: s3gw-cluster-ip-tls
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{ include "s3gw.labels" . | indent 4 }}
|
|
type: kubernetes.io/tls
|
|
data:
|
|
tls.crt: |
|
|
{{ .Values.tls.privateDomain.crt }}
|
|
tls.key: |
|
|
{{ .Values.tls.privateDomain.key }}
|
|
{{- if .Values.ui.enabled }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: s3gw-ui-ingress-tls
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{ include "s3gw.labels" . | indent 4 }}
|
|
type: kubernetes.io/tls
|
|
data:
|
|
tls.crt: |
|
|
{{ .Values.tls.ui.publicDomain.crt }}
|
|
tls.key: |
|
|
{{ .Values.tls.ui.publicDomain.key }}
|
|
{{- end }}
|
|
{{- end }}
|