longhorn/longhornbackups/templates/longhorn-secret.yaml
2023-04-07 10:29:21 +02:00

24 lines
841 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: minio-sos-secret
namespace: longhorn-system
type: Opaque
data:
AWS_ACCESS_KEY_ID: {{ required ".Values.data.awsAccessKey entry is required!" .Values.data.awsAccessKey }}
AWS_SECRET_ACCESS_KEY: {{ required ".Values.data.awsSecretAccessKey entry is required!" .Values.data.awsSecretAccessKey }}
AWS_ENDPOINTS: {{ required ".Values.data.awsEndpoint entry is required!" .Values.data.awsEndpoint }}
#AWS_CERT: your base64 encoded custom CA certificate goes here
#apiVersion: v1
#kind: Secret
#metadata:
# name: minio-sos-secret
# namespace: longhorn-system
#type: Opaque
#data:
# AWS_ACCESS_KEY_ID: bG9uZ2hvcm4tYmFja3Vwcy11c2Vy
# AWS_SECRET_ACCESS_KEY: UGE1NXcwcmQ=
# AWS_ENDPOINTS: aHR0cDovLzEwLjEwLjEwLjk0OjkwMDA=
# #AWS_CERT: your base64 encoded custom CA certificate goes here