Skip to content

krateoplatformops/github-provider

Repository files navigation

Github Provider

This is a Krateo Provider that creates and initialize a GitHub repository.

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:
$ helm repo add krateo https://charts.krateo.io
$ helm repo update krateo
$ helm install github-provider krateo/github-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