From 733b3c0337fa6f79b802111a4546f6c03842660c Mon Sep 17 00:00:00 2001 From: Robin Opletal <49439044+fourstepper@users.noreply.github.com> Date: Wed, 20 Dec 2023 15:09:19 +0100 Subject: [PATCH] fix(project): adjust dev env README, fix crd kustomization (#43) Signed-off-by: Robin Opletal --- README.md | 8 +++++++- config/crd/kustomization.yaml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60ad749..139271c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,13 @@ See the [design document](DESIGN.md) for more details on what `osko` aims to do. make install ``` -3. Run your controller (this will run in the foreground, so switch to a new terminal if you want to leave it running): +3. We also depend on Prometheus Operator CRDs (`monitoring.coreos.com` API group). Let's install that to our local cluster now: + +```sh +helm install prometheus-operator-crds prometheus-community/prometheus-operator-crds +``` + +4. Run your controller (this will run in the foreground, so switch to a new terminal if you want to leave it running): ```sh make run diff --git a/config/crd/kustomization.yaml b/config/crd/kustomization.yaml index 74b152a..5d78ca9 100644 --- a/config/crd/kustomization.yaml +++ b/config/crd/kustomization.yaml @@ -9,7 +9,7 @@ resources: - bases/openslo.com_alertconditions.yaml - bases/openslo.com_alertnotificationtargets.yaml - bases/openslo.com_services.yaml -- bases/osko.openslo_mimirrules.yaml +- bases/osko.dev_mimirrules.yaml #+kubebuilder:scaffold:crdkustomizeresource patches: []