1
0
Fork 0
home-stack-kustomize/kustomize/overlays/prod-cluster/kustomization.yaml

22 lines
615 B
YAML

bases:
- ../../namespaces/kube-system
- ../../namespaces/operators
- ../../bases/longhorn
# allow "kubectl apply -l managed-by=cluster --prune ..."
commonLabels:
managed-by: kustomize-cluster
transformers:
- transformers/placeholders.yaml
- transformers/ssm-secrets.yaml
secretGenerator:
- name: s3-backupstore-credentials
type: Opaque
namespace: longhorn-system
behavior: replace
literals:
- AWS_ACCESS_KEY_ID=${ssm:/k3s/prod/longhorn/s3_access_key_id}
- AWS_SECRET_ACCESS_KEY=${ssm:/k3s/prod/longhorn/s3_secret_access_key}
- AWS_ENDPOINTS=https://s3.badjware.dev