postgres: add netmaker

This commit is contained in:
2025-10-22 22:14:56 -04:00
parent ee6d634a1b
commit 82a246b0ec
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
apiVersion: postgresql.cnpg.io/v1
kind: Database
metadata:
name: netmaker
spec:
name: netmaker
owner: netmaker
cluster:
name: weyma-pgsql

View 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