Skip to content

Commit

Permalink
fix(cnpg): adjust database settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Jan 7, 2025
1 parent d426882 commit b2f9292
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ spec:
# https://cloudnative-pg.io/documentation/current/database_import/#the-monolith-type
# bootstrap:
# initdb:
# secret:
# name: postgres-superuser
# import:
# type: monolith
# databases:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ kind: Secret
type: kubernetes.io/basic-auth
metadata:
name: postgres-superuser
labels:
cnpg.io/reload: ""
stringData:
username: ENC[AES256_GCM,data:OZJ54UhyxFc=,iv:AHoqU80QX6Jl2x308+KCN9geRH7iABx/44u6JO+Kmww=,tag:Rjr1/NeOaVEPg7Fe2BhLdQ==,type:str]
password: ENC[AES256_GCM,data:a6hD3D4OT6Qj++xGNOKnh5ORNw4DEF7n+TRK7Lml7xA=,iv:6trQJL7nbNrrl7KJ4kcKCJ7RzWfE52b4WaqsmCJSGFE=,tag:x91aWG3iZt9pDPS7JPq5dQ==,type:str]
Expand All @@ -22,8 +24,8 @@ sops:
L3IvQ0NLWWQ5UmVNTTV4OHMxR0RaNVEKK3cldYMM7mPGfj+tImVOXmJdrnX8rGvT
qNgsAFtlMaX9gr6TxRdJGTt/RQoYnesdGzemAvsFClYtJ97EYZq8OA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-08-17T21:25:19Z"
mac: ENC[AES256_GCM,data:IqjKsHTKpErQxyRClIiDCLwymp1O64iOmpzEOzbZFNftbHBKmck5qbQ5v/Avn+m6ZSq7MSg1coRtjCQuRSq9pXTqtKzgNMPiqxeBSrRfE1T0PKYPmSuE4F1FsFQbXL7to7GxW/sLHeN41PROnS78gmzQTobPMkDVWXD86qwna5A=,iv:7DYbggBDUujMvpsiWzN1IysSMDzeQA5uE8dHmp1XCZA=,tag:rhERjenMkAot0dpruGpfnw==,type:str]
lastmodified: "2025-01-07T22:25:26Z"
mac: ENC[AES256_GCM,data:zaqRANhyfgl2vakneHhXQldjuEuvpBRqdRWJRYAzTLLmPl4pxtL2E4/QK4Rc8I3+9YqqzpBwKelFTpRCBoMLSwbqVHQMbXCrR8dTwZg5YuZIakbU5qCt4MJJP3KE+iOjpLvZ3XOYYccOnNY0Z+t11yH8fT0HYbquXshaa7D6ebo=,iv:JVs7ZkB810bVFI1JnsJag6SLQ/zKC7dimZ72qUGQMao=,tag:mQtdwIWc9lDjggQHQMXW+g==,type:str]
pgp: []
encrypted_regex: ^(data|stringData)$
version: 3.8.1
version: 3.9.3
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ metadata:
spec:
credentials:
usernameSecretRef:
name: harbor-database
name: harbor-postgres
key: INIT_POSTGRES_USER
passwordSecretRef:
name: harbor-database
name: harbor-postgres
key: INIT_POSTGRES_PASS
databaseName: registry
databaseServerRef:
Expand Down

0 comments on commit b2f9292

Please sign in to comment.