Skip to content

Commit 7f01f12

Browse files
committed
updated typo and formatting error
1 parent b1211d1 commit 7f01f12

File tree

2 files changed

+27
-29
lines changed

2 files changed

+27
-29
lines changed

installers/kubectl/postgres-operator-ocp311.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ spec:
175175
restartPolicy: Never
176176
containers:
177177
- name: pgo-deploy
178-
image: registry.developers.crunchydata.com/crunchydata/pgo-deployer:ubi8-
178+
image: registry.developers.crunchydata.com/crunchydata/pgo-deployer:ubi8-4.7.9
179179
imagePullPolicy: IfNotPresent
180180
env:
181181
- name: DEPLOY_ACTION

pkg/apis/crunchydata.com/v1/doc.go

+26-28
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Crunchy PostgreSQL Operator API
33
44
The Crunchy PostgreSQL Operator API defines HTTP(S) interactions with the Crunchy PostgreSQL Operator.
55
6+
67
## Direct API Calls
78
89
The API can also be accessed by interacting directly with the API server. This
@@ -14,6 +15,7 @@ that includes the content type and the `--insecure` flag. These flags will be
1415
the same for all of your interactions with the API server and can be seen in the
1516
following examples.
1617
18+
1719
###### Get API Server Version
1820
1921
The most basic example of this interaction is getting the version of the API
@@ -50,15 +52,15 @@ cluster.
5052
```
5153
curl --cacert $PGO_CA_CERT --key $PGO_CLIENT_KEY --cert $PGO_CA_CERT -u \
5254
admin:examplepassword -H "Content-Type:application/json" --insecure -X \
53-
54-
POST --data \
55-
'{"ClientVersion":"4.7.9",
56-
"Namespace":"pgouser1",
57-
"Name":"mycluster",
58-
55+
POST --data \
56+
'{"ClientVersion":"4.7.9",
57+
"Namespace":"pgouser1",
58+
"Name":"mycluster",
5959
$PGO_APISERVER_URL/clusters
6060
```
6161
62+
63+
6264
###### Show and Delete Cluster
6365
The last two examples show you how to `show` and `delete` a cluster. Notice
6466
how instead of passing `"Name":"mycluster"` you pass `"Clustername":"mycluster"
@@ -69,39 +71,35 @@ show all of the clusters that are in the given namespace.
6971
```
7072
curl --cacert $PGO_CA_CERT --key $PGO_CLIENT_KEY --cert $PGO_CA_CERT -u \
7173
admin:examplepassword -H "Content-Type:application/json" --insecure -X \
72-
73-
POST --data \
74-
'{"ClientVersion":"4.7.9",
75-
"Namespace":"pgouser1",
76-
"Clustername":"mycluster"}' \
77-
74+
POST --data \
75+
'{"ClientVersion":"4.7.9",
76+
"Namespace":"pgouser1",
77+
"Clustername":"mycluster"}' \
7878
$PGO_APISERVER_URL/showclusters
7979
```
8080
8181
```
8282
curl --cacert $PGO_CA_CERT --key $PGO_CLIENT_KEY --cert $PGO_CA_CERT -u \
8383
admin:examplepassword -H "Content-Type:application/json" --insecure -X \
84-
85-
POST --data \
86-
'{"ClientVersion":"4.7.9",
87-
"Namespace":"pgouser1",
88-
"Clustername":"mycluster"}' \
89-
84+
POST --data \
85+
'{"ClientVersion":"9",
86+
"Namespace":"pgouser1",
87+
"Clustername":"mycluster"}' \
9088
$PGO_APISERVER_URL/clustersdelete
9189
```
9290
93-
Schemes: http, https
94-
BasePath: /
95-
Version: 4.7.9
96-
License: Apache 2.0 http://www.apache.org/licenses/LICENSE-2.0
97-
Contact: Crunchy Data<[email protected]> https://www.crunchydata.com/
91+
Schemes: http, https
92+
BasePath: /
93+
Version: 4.7.9
94+
License: Apache 2.0 http://www.apache.org/licenses/LICENSE-2.0
95+
Contact: Crunchy Data<[email protected]> https://www.crunchydata.com/
9896
9997
100-
Consumes:
101-
- application/json
98+
Consumes:
99+
- application/json
102100
103-
Produces:
104-
- application/json
101+
Produces:
102+
- application/json
105103
106104
swagger:meta
107105
*/
@@ -122,4 +120,4 @@ package v1
122120
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
123121
See the License for the specific language governing permissions and
124122
limitations under the License.
125-
*/
123+
*/

0 commit comments

Comments
 (0)