33Here be dragons
44
55References:
6- - https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/
76
8- Follow https://sdk.operatorframework.io/docs/installation/ to install the operator-sdk
7+ - < https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/ >
8+
9+ Follow < https://sdk.operatorframework.io/docs/installation/ > to install the operator-sdk
910
1011## Deploy the operator
1112
@@ -18,6 +19,7 @@ kubectl create -f config/samples/gitops_v1alpha1_pattern.yaml
1819```
1920
2021### Check the status
22+
2123```
2224kubectl get -f config/samples/gitops_v1alpha1_pattern.yaml -o yaml
2325oc get applications -A -w
@@ -46,6 +48,7 @@ Removing the top-level application ensures that Argo won't try to put back anyth
4648
4749Note that when installing via UI the namespace will be ` openshift-operators `
4850and not ` patterns-operator-system `
51+
4952```
5053oc logs -npatterns-operator-system `oc get -npatterns-operator-system pods -o name --field-selector status.phase=Running | grep patterns` -c manager -f
5154```
@@ -129,7 +132,7 @@ before running `make catalog-install`.
129132Assuming the previous version was ` 0.0.1 ` , start by defining the version,
130133creating the 3 images, and pushing them to quay:
131134
132- ```
135+ ``` sh
133136export USER=replace-me # Replace user
134137export VERSION=0.0.2 # Replace version
135138IMAGE_TAG_BASE=quay.io/$USER /patterns-operator CHANNELS=fast make docker-build docker-push bundle bundle-build bundle-push catalog-build catalog-push
@@ -156,6 +159,7 @@ Operator*. Install the operator from the source *Test Patterns Operator*.
156159As a first step, make sure you have already cloned the community-operators-prod
157160via
` git clone [email protected] :$USER/community-operators-prod.git ` and that it
158161is up-to-date:
162+
159163```
160164# First make sure community-operators-prod is uptodate
161165cd community-operators-prod
0 commit comments