This is a Krateo Provider that handle patches between different resources.
You’ll need a Kubernetes cluster to run against.
You can use KIND to get a local cluster for testing, or run against a remote cluster.
- Install the provider:
https://github.com/krateoplatformops/patch-provider-helm-chart
$ helm repo add krateo https://charts.krateo.io
$ helm repo update krateo
$ helm install patch-provider krateo/patch-provider
- Install Instances of Custom Resources:
$ kubectl apply -f samples/
- Start a local cluster using KIND:
$ make kind-up
- Run your provider (this will run in the foreground, so switch to a new terminal if you want to leave it running):
$ make dev
If you are editing the API definitions, generate the CRDs using:
$ make generate
NOTE: Run make help
for more information on all potential make
targets