Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sayedppqq committed Nov 28, 2024
1 parent 0d20054 commit 9473e28
Show file tree
Hide file tree
Showing 13 changed files with 1,598 additions and 4 deletions.
19 changes: 19 additions & 0 deletions docs/examples/ferretdb/monitoring/builtin-prom-fr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: kubedb.com/v1alpha2
kind: FerretDB
metadata:
name: builtin-prom-fr
namespace: demo
spec:
version: "1.18.0"
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
backend:
externallyManaged: false
deletionPolicy: WipeOut
replicas: 2
monitor:
agent: prometheus.io/builtin
2 changes: 1 addition & 1 deletion docs/examples/ferretdb/monitoring/coreos-prom-fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: coreos-prom-fr
namespace: demo
spec:
version: "1.23.0"
version: "1.18.0"
storage:
accessModes:
- ReadWriteOnce
Expand Down
16 changes: 16 additions & 0 deletions docs/examples/ferretdb/reconfigure-tls/ferretdb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: kubedb.com/v1alpha2
kind: FerretDB
metadata:
name: ferretdb
namespace: demo
spec:
version: "1.23.0"
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
backend:
externallyManaged: false
replicas: 2
16 changes: 16 additions & 0 deletions docs/examples/ferretdb/reconfigure-tls/frops-add-tls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: ops.kubedb.com/v1alpha1
kind: FerretDBOpsRequest
metadata:
name: frops-add-tls
namespace: demo
spec:
type: ReconfigureTLS
databaseRef:
name: ferretdb
tls:
issuerRef:
name: ferretdb-ca-issuer
kind: Issuer
apiGroup: "cert-manager.io"
timeout: 5m
apply: IfReady
11 changes: 11 additions & 0 deletions docs/examples/ferretdb/reconfigure-tls/frops-rotate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: ops.kubedb.com/v1alpha1
kind: FerretDBOpsRequest
metadata:
name: frops-rotate
namespace: demo
spec:
type: ReconfigureTLS
databaseRef:
name: ferretdb
tls:
rotateCertificates: true
8 changes: 8 additions & 0 deletions docs/examples/ferretdb/reconfigure-tls/issuer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: ferretdb-ca-issuer
namespace: demo
spec:
ca:
secretName: ferretdb-ca
Loading

0 comments on commit 9473e28

Please sign in to comment.