--- # gitea-db — password used by the Gitea pod to connect to Postgres apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: name: gitea-db namespace: git spec: refreshInterval: 1h secretStoreRef: name: vault kind: ClusterSecretStore target: name: gitea-db creationPolicy: Owner data: - secretKey: password remoteRef: key: secret/data/gitea property: db_password