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
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
metadata:
|
metadata:
|
||||||
name: db
|
name: lldap-db
|
||||||
namespace: lldap
|
namespace: lldap
|
||||||
# TODO: Add labels?
|
# TODO: Add labels?
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ spec:
|
|||||||
- name: LLDAP_DATABASE_URL
|
- name: LLDAP_DATABASE_URL
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: db-app
|
name: lldap-db-app
|
||||||
key: uri
|
key: uri
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: CET
|
value: CET
|
||||||
|
|||||||
@@ -9,9 +9,3 @@ resources:
|
|||||||
- http-route.yaml
|
- http-route.yaml
|
||||||
- secret-s3-garage.yaml
|
- secret-s3-garage.yaml
|
||||||
- object-store.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
|
namespace: lldap
|
||||||
spec:
|
spec:
|
||||||
configuration:
|
configuration:
|
||||||
destinationPath: s3://cnpg-backup/lldap
|
destinationPath: s3://cnpg-backup/
|
||||||
|
endpointURL: http://192.168.1.1:3900
|
||||||
s3Credentials:
|
s3Credentials:
|
||||||
accessKeyId:
|
accessKeyId:
|
||||||
name: s3-garage
|
name: s3-garage
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: postgresql.cnpg.io/v1
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
metadata:
|
metadata:
|
||||||
name: db
|
name: lldap-db
|
||||||
spec:
|
spec:
|
||||||
instances: 2
|
instances: 2
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: postgresql.cnpg.io/v1
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
metadata:
|
metadata:
|
||||||
name: db
|
name: lldap-db
|
||||||
spec:
|
spec:
|
||||||
instances: 1
|
instances: 1
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ patches:
|
|||||||
- path: cluster.yaml
|
- path: cluster.yaml
|
||||||
target:
|
target:
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
- path: object-store.yaml
|
|
||||||
target:
|
|
||||||
kind: ObjectStore
|
|
||||||
- path: http-route.yaml
|
- path: http-route.yaml
|
||||||
target:
|
target:
|
||||||
kind: HTTPRoute
|
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