Skip to content

Commit

Permalink
Fix schema issues
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Oct 12, 2022
1 parent adbef39 commit 6fe9b28
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 12 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,15 @@ jobs:
echo "install kubedb-crds chart"
helm repo add appscode https://charts.appscode.com/stable/
helm repo update
helm install kubedb-crds appscode/kubedb-crds
helm install kmodules-crds appscode/kmodules-crds
# helm install kubedb-crds appscode/kubedb-crds
# helm install kmodules-crds appscode/kmodules-crds
kubectl create -f https://github.com/cert-manager/cert-manager/releases/download/v1.9.1/cert-manager.crds.yaml
kubectl create -f https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.60.1/stripped-down-crds.yaml
kubectl create -f https://github.com/kmodules/custom-resources/raw/release-1.25/crds/appcatalog.appscode.com_appbindings.yaml
kubectl create -f https://github.com/kmodules/custom-resources/raw/release-1.25/crds/metrics.appscode.com_metricsconfigurations.yaml
kubectl create -f https://github.com/stashed/installer/raw/master/crds/stash-crds.yaml
kubectl create -f https://github.com/kubevault/installer/raw/master/crds/kubevault-crds.yaml
kubectl create -f https://github.com/kubedb/installer/raw/master/crds/kubedb-crds.yaml
- name: Check codespan schema
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kubedb.com/v1alpha2
kind: Elasticsearch
metadata:
name: searchguard-7.9.3
name: searchguard-793
namespace: demo
spec:
version: searchguard-7.9.3
Expand Down
5 changes: 4 additions & 1 deletion docs/examples/monitoring/coreos-operator/demo-0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ subjects:
name: prometheus-operator
namespace: demo
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: prometheus-operator
Expand All @@ -87,6 +87,9 @@ metadata:
operator: prometheus
spec:
replicas: 1
selector:
matchLabels:
operator: prometheus
template:
metadata:
labels:
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/pgbouncer/monitoring/coreos-prom-server.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: prometheus
Expand All @@ -23,7 +23,7 @@ metadata:
name: prometheus
namespace: monitoring
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: prometheus
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/percona-xtradb/initialization/using-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fi
Version: 5.7
Status:
Observed Generation: 2
Phase: Running
Phase: Ready
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Expand Down Expand Up @@ -175,7 +175,7 @@ px-init-script ClusterIP 10.97.113.212 <none> 3306/TCP 6m47s
px-init-script-gvr ClusterIP None <none> 3306/TCP 6m47s
```
KubeDB operator sets the `.status.phase` to `Running` once the database is successfully created. Run the following command to see the modified PerconaXtraDB object:
KubeDB operator sets the `.status.phase` to `Ready` once the database is successfully created. Run the following command to see the modified PerconaXtraDB object:
```bash
$ kubectl get px -n demo px-init-script -o yaml
Expand Down Expand Up @@ -238,7 +238,7 @@ spec:
version: "8.0.26"
status:
observedGeneration: 2
phase: Running
phase: Ready
```
## Connect with PerconaXtraDB database
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/percona-xtradb/quickstart/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fi
Version: 5.7
Status:
Observed Generation: 2
Phase: Running
Phase: Ready
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Expand Down Expand Up @@ -177,7 +177,7 @@ demo-quickstart ClusterIP 10.96.88.71 <none> 3306/TCP 19m
demo-quickstart-gvr ClusterIP None <none> 3306/TCP 19m
```

KubeDB operator sets the `.status.phase` to `"Running"` once the database is successfully created. Run the following command to see the modified `PerconaXtraDB` object:
KubeDB operator sets the `.status.phase` to `"Ready"` once the database is successfully created. Run the following command to see the modified `PerconaXtraDB` object:

```bash
$ kubectl get px -n demo demo-quickstart -o yaml
Expand Down Expand Up @@ -233,7 +233,7 @@ spec:
version: "8.0.26"
status:
observedGeneration: 2
phase: Running
phase: Ready
```

## Connect with PerconaXtraDB database
Expand Down

0 comments on commit 6fe9b28

Please sign in to comment.