apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: stalwart-elasticsearch-config namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: stalwart-elasticsearch-config {{- include "custom.labels" . | nindent 4 }} spec: secretStoreRef: kind: ClusterSecretStore name: openbao data: - secretKey: username remoteRef: key: /cl01tl/stalwart/elasticsearch property: username - secretKey: password remoteRef: key: /cl01tl/stalwart/elasticsearch property: password - secretKey: roles remoteRef: key: /cl01tl/stalwart/elasticsearch property: roles