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
* Have a Kubernetes cluster ready for development. We recommend `minikube` or `kind`.
26
27
28
+
27
29
### Local run
28
30
29
31
Build the manifests, install the CRD and run the operator as a local process:
@@ -44,12 +46,6 @@ In general, it's just easier to deploy the manager in a Kubernetes cluster inste
44
46
make cert-manager
45
47
```
46
48
47
-
Once it's ready, the following can be used to build and deploy a manager, along with the required webhook configuration:
48
-
49
-
```bash
50
-
make bundle container container-push deploy
51
-
```
52
-
53
49
By default, it will generate an image following the format `quay.io/${USER}/opentelemetry-operator:${VERSION}`. You can set the following env vars in front of the `make` command to override parts or the entirety of the image:
54
50
55
51
*`IMG_PREFIX`, to override the registry, namespace and image name (`quay.io`)
@@ -58,6 +54,20 @@ By default, it will generate an image following the format `quay.io/${USER}/open
58
54
*`VERSION`, to override only the version part
59
55
*`IMG`, to override the entire image specification
60
56
57
+
Ensure the secret [regcred](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) has been created to enable opentelemetry-operator-controller-manager deployment to pull images from your private `quay.io` registry.
Alternatively, you could create your repository with [Public Visibility](https://docs.projectquay.io/use_quay.html#creating-an-image-repository-via-the-ui).
64
+
65
+
Once it's ready, the following can be used to build and deploy a manager, along with the required webhook configuration:
66
+
67
+
```bash
68
+
make bundle container container-push deploy
69
+
```
70
+
61
71
Your operator will be available in the `opentelemetry-operator-system` namespace.
0 commit comments