rancher-partner-charts/charts/aquarist-labs/s3gw/templates/cosi-driver-secret.yaml

17 lines
459 B
YAML

{{- if .Values.cosi.enabled }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ include "s3gw-cosi.driverSecretName" . }}
labels:
{{ include "s3gw.labels" . | indent 4 }}
namespace: {{ .Release.Namespace }}
type: Opaque
stringData:
DRIVERNAME: {{ include "s3gw-cosi.driverName" . }}
ENDPOINT: {{ include "s3gw-cosi.endpoint" . }}
ACCESSKEY: {{ include "s3gw.defaultAccessKey" . }}
SECRETKEY: {{ include "s3gw.defaultSecretKey" . }}
{{- end }}