Skip to content

Krateo Provider that handle patches between different resources.

Notifications You must be signed in to change notification settings

krateoplatformops/patch-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Patch Provider

This is a Krateo Provider that handle patches between different resources.

Getting Started

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.

Running on the cluster

  1. 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 
  1. Install Instances of Custom Resources:
$ kubectl apply -f samples/

Test It Out

  1. Start a local cluster using KIND:
$ make kind-up
  1. Run your provider (this will run in the foreground, so switch to a new terminal if you want to leave it running):
$ make dev

Modifying the API definitions

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