- Add erlangCookie field to ExternalSecret from 1Password - Add external-dns target annotation to ingress (10.1.71.80) - Completes CouchDB deployment configuration
37 lines
912 B
YAML
37 lines
912 B
YAML
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: couchdb-credentials
|
|
namespace: couchdb
|
|
labels:
|
|
app.kubernetes.io/name: couchdb
|
|
app.kubernetes.io/part-of: mk-labs
|
|
spec:
|
|
refreshInterval: 1h
|
|
secretStoreRef:
|
|
kind: ClusterSecretStore
|
|
name: onepassword-connect
|
|
target:
|
|
name: couchdb-admin
|
|
creationPolicy: Owner
|
|
template:
|
|
engineVersion: v2
|
|
data:
|
|
adminUsername: "admin"
|
|
adminPassword: "{{ .adminPassword }}"
|
|
cookieAuthSecret: "{{ .cookieAuthSecret }}"
|
|
erlangCookie: "{{ .erlangCookie }}"
|
|
data:
|
|
- secretKey: adminPassword
|
|
remoteRef:
|
|
key: couchdb
|
|
property: admin-password
|
|
- secretKey: cookieAuthSecret
|
|
remoteRef:
|
|
key: couchdb
|
|
property: cookie-auth-secret
|
|
- secretKey: erlangCookie
|
|
remoteRef:
|
|
key: couchdb
|
|
property: erlang-cookie
|