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
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+16-42
Original file line number
Diff line number
Diff line change
@@ -126,59 +126,33 @@ For production environments, it is recommended to use the [Operator Lifecycle Ma
126
126
127
127
### Setup OLM
128
128
129
-
When using Kubernetes, install OLM following the [official instructions](https://github.com/operator-framework/operator-lifecycle-manager/blob/master/doc/install/install.md). At the moment of this writing, it involves the following:
129
+
When using Kubernetes, install OLM following the [official instructions](https://sdk.operatorframework.io/docs/olm-integration/). At the moment of this writing, it involves the following:
When using OpenShift, the OLM is already installed.
140
136
141
137
### Create the bundle and related images
142
138
143
-
The following commands will generate a bundle under `bundle/` and build an image with its contents. It will then generate and publish an index image with the [Operator Package Manager (OPM)](https://github.com/operator-framework/operator-registry/blob/master/docs/design/opm-tooling.md#opm)
139
+
The following commands will generate a bundle under `bundle/`, build an image with its contents, build and publish the operator image.
BUNDLE_IMG=docker.io/${USER}/opentelemetry-operator-bundle:latest IMG=docker.io/${USER}/opentelemetry-operator:latest make bundle container container-push bundle-build bundle-push
151
143
```
152
144
153
145
### Install the operator
154
146
155
-
To install our operator, create a `CatalogSource` for our index image, wait for OLM to synchronize and finally create a `Subscription`. Make sure to replace `${USER}` with your username and `${VERSION}` with the version used in the previous step. The namespace for both should be `operators` on Kubernetes, while `openshift-operators` should be used for OpenShift.
operator-sdk run bundle docker.io/${USER}/opentelemetry-operator-bundle:latest
149
+
```
150
+
151
+
### Uninstall the operator
152
+
153
+
The operator can be uninstalled by deleting `subscriptions.operators.coreos.com` and `clusterserviceversion.operators.coreos.com` objects from the current namespace.
0 commit comments