- Openshift Pipelines
Meteor represents a repository that is built and deployed by this Operator.
apiVersion: meteor.operate-first.cloud/v1alpha1
kind: Meteor
metadata:
name: demo
spec:
url: github.com/aicoe-aiops/meteor-demo
ref: main
ttl: 100000 # Time to live in seconds, defaults to 24h
To debug/run the operator locally, while it's still connected to a cluster and listens to events from this cluster use these steps.
Prerequisites: dlv
and VSCode
Install dlv
via go get -u github.com/go-delve/delve/cmd/dlv
- Log in to your cluster via
oc login
- Install CRDs via
make install
- Start VSCode debugging session by selecting
Meteor Operator
profile
- Log in to your cluster via
oc login
- Run
make install run ENABLE_WEBHOOKS=false
Run following commands. Operator will be deployed to aicoe-meteor
namespace
podman login ...
make docker-build
podman tag controller:latest quay.io/<your_account>/meteor-operator:latest
podman push quay.io/<your_account>/meteor-operator:latest
make deploy
kustomize build config/dev | oc apply -f -
- Webhooks are currently disabled due to certificate issues