postgres: add netmaker
This commit is contained in:
9
postgres/config/databases/netmaker.yaml
Normal file
9
postgres/config/databases/netmaker.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Database
|
||||
metadata:
|
||||
name: netmaker
|
||||
spec:
|
||||
name: netmaker
|
||||
owner: netmaker
|
||||
cluster:
|
||||
name: weyma-pgsql
|
||||
25
postgres/config/netmaker_auth.yaml
Normal file
25
postgres/config/netmaker_auth.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: netmaker-auth
|
||||
spec:
|
||||
data:
|
||||
- remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: cloudnativepg
|
||||
metadataPolicy: None
|
||||
property: netmaker_pw
|
||||
secretKey: password
|
||||
refreshInterval: 1h
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: weyma-vault
|
||||
target:
|
||||
template:
|
||||
data:
|
||||
username: netmaker
|
||||
password: "{{ .password }}"
|
||||
creationPolicy: Owner
|
||||
deletionPolicy: Retain
|
||||
name: netmaker-auth
|
||||
Reference in New Issue
Block a user