infra/k8s/operators/postgres-operator/kustomization.yaml

19 lines
699 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: postgres-operator
resources:
- namespace.yaml
- github.com/zalando/postgres-operator/manifests?ref=v1.12.2
- secrets.yaml
configMapGenerator:
- name: postgres-operator
behavior: merge
literals:
- cluster_name_label=k8s.home.finn.io
- db_hosted_zone=k8s.home.finn.io
- enable_password_rotation=true
- logical_backup_cronjob_environment_secret=backups-secret
- logical_backup_s3_bucket=k8s-db-backups
- logical_backup_s3_endpoint=storage.home.finn.io
- logical_backup_s3_region=us-sea-1
- custom_pod_annotations=prometheus.io/scrape:true,prometheus.io/port:8008