Compare commits
1 Commits
main
...
d51e723179
| Author | SHA1 | Date | |
|---|---|---|---|
|
d51e723179
|
@@ -1,16 +0,0 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: lldap-db
|
||||
spec:
|
||||
bootstrap:
|
||||
recovery:
|
||||
source: source
|
||||
externalClusters:
|
||||
- name: source
|
||||
plugin:
|
||||
name: barman-cloud.cloudnative-pg.io
|
||||
parameters:
|
||||
barmanObjectName: garage-store
|
||||
serverName: lldap-db
|
||||
plugins: []
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: db
|
||||
name: lldap-db
|
||||
namespace: lldap
|
||||
# TODO: Add labels?
|
||||
spec:
|
||||
|
||||
@@ -56,7 +56,7 @@ spec:
|
||||
- name: LLDAP_DATABASE_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: db-app
|
||||
name: lldap-db-app
|
||||
key: uri
|
||||
- name: TZ
|
||||
value: CET
|
||||
|
||||
@@ -9,9 +9,3 @@ resources:
|
||||
- http-route.yaml
|
||||
- secret-s3-garage.yaml
|
||||
- object-store.yaml
|
||||
|
||||
# Uncomment to restore database from backup
|
||||
# patches:
|
||||
# - path: cluster-restore.yaml
|
||||
# target:
|
||||
# kind: Cluster
|
||||
|
||||
@@ -5,7 +5,8 @@ metadata:
|
||||
namespace: lldap
|
||||
spec:
|
||||
configuration:
|
||||
destinationPath: s3://cnpg-backup/lldap
|
||||
destinationPath: s3://cnpg-backup/
|
||||
endpointURL: http://192.168.1.1:3900
|
||||
s3Credentials:
|
||||
accessKeyId:
|
||||
name: s3-garage
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: db
|
||||
name: lldap-db
|
||||
spec:
|
||||
instances: 2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: db
|
||||
name: lldap-db
|
||||
spec:
|
||||
instances: 1
|
||||
|
||||
@@ -10,9 +10,6 @@ patches:
|
||||
- path: cluster.yaml
|
||||
target:
|
||||
kind: Cluster
|
||||
- path: object-store.yaml
|
||||
target:
|
||||
kind: ObjectStore
|
||||
- path: http-route.yaml
|
||||
target:
|
||||
kind: HTTPRoute
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
apiVersion: barmancloud.cnpg.io/v1
|
||||
kind: ObjectStore
|
||||
metadata:
|
||||
name: garage-store
|
||||
namespace: lldap
|
||||
spec:
|
||||
configuration:
|
||||
endpointURL: http://192.168.1.1:3900
|
||||
Reference in New Issue
Block a user