You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or by using [kustomize](https://github.com/kubernetes-sigs/kustomize) directly\
58
+
`kustomize build deploy/ | apply -f -`
54
59
55
60
## CRs
56
61
57
62
### Postgres
63
+
58
64
```yaml
59
65
apiVersion: db.movetokube.com/v1alpha1
60
66
kind: Postgres
@@ -77,6 +83,7 @@ This creates a database called `test-db` and a role `test-db-group` that is set
77
83
Reader and writer roles are also created. These roles have read and write permissions to all tables in the schemas created by the operator, if any.
78
84
79
85
### PostgresUser
86
+
80
87
```yaml
81
88
apiVersion: db.movetokube.com/v1alpha1
82
89
kind: PostgresUser
@@ -116,15 +123,20 @@ With the help of annotations it is possible to create annotation-based copies of
116
123
For more information and an example, see [kubernetes-replicator#pull-based-replication](https://github.com/mittwald/kubernetes-replicator#pull-based-replication)
117
124
118
125
### Contribution
126
+
119
127
You can contribute to this project by opening a PR to merge to `master`, or one of the `vX.X.X` branches.
128
+
120
129
#### Branching
130
+
121
131
`master`branch contains the latest source code with all the features. `vX.X.X` contains code for the specific major versions.
122
132
i.e. `v0.4.x` contains the latest code for 0.4 version of the operator. See compatibility matrix below.
123
-
133
+
124
134
#### Tests
135
+
125
136
Please write tests and fix any broken tests before you open a PR. Tests should cover at least 80% of your code.
126
137
127
138
### Compatibility
139
+
128
140
Postgres operator uses Operator SDK, which uses kubernetes client. Kubernetes client compatibility with Kubernetes cluster
129
141
can be found [here](https://github.com/kubernetes/client-go/blob/master/README.md#compatibility-matrix)
130
142
@@ -134,5 +146,4 @@ Postgres operator compatibility with Operator SDK version is in the table below
0 commit comments