provider-dogfacts

module
v0.0.0-...-317cacf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2022 License: Apache-2.0

README

provider-dogfacts

provider-dogfacts is a minimal Crossplane Provider that is meant to be used as a template for implementing new Providers. It comes with the following features that are meant to be refactored:

  • A ProviderConfig type that only points to a credentials Secret.
  • A DogFact resource type that serves as an example managed resource.
  • A managed resource controller that reconciles DogFact objects and simply prints their configuration in its Observe method.

Developing

  1. Use this repository as a template to create a new one.
  2. Find-and-replace provider-dogfacts with your provider's name.
  3. Run make to initialize the "build" Make submodule we use for CI/CD.
  4. Run make reviewable to run code generation, linters, and tests.
  5. Replace DogFact with your own managed resource implementation(s).

Refer to Crossplane's CONTRIBUTING.md file for more information on how the Crossplane community prefers to work. The Provider Development guide may also be of use.

Directories

Path Synopsis
Package apis contains Kubernetes API for the Template provider.
Package apis contains Kubernetes API for the Template provider.
sample
Package sample contains group Sample API versions
Package sample contains group Sample API versions
sample/v1alpha1
Package v1alpha1 contains the v1alpha1 group Sample resources of the Template provider.
Package v1alpha1 contains the v1alpha1 group Sample resources of the Template provider.
v1alpha1
Package v1alpha1 contains the core resources of the Template provider.
Package v1alpha1 contains the core resources of the Template provider.
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL