provider-gps-dummy

module
v0.1.6 Latest Latest
Warning

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

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

README

provider-gps-dummy

provider-gps-dummy is a dummy Crossplane provider providing fake GPS data for a vessel with a given IMO.

Usage

# install
kubectl crossplane install provider luebken/provider-gps-dummy:v0.1.4

# configure 
kubectl apply -f examples/provider/config.yaml

# example
kubectl create -f examples/sample/vesselgpstype-9259501.yaml

Developing

# generate CRDs
make generate
# install CRDs
kubectl apply -f package/crds/
# check
kubectl get crds | grep gps
# Run the Provider Controller locally:
make run

Delete Examples

# delete
kubectl delete -f examples/sample/vesselgpstype-9259501.yaml
# force delete
kubectl patch vesselgpstypes.sample.gps.crossplane.io vessel-imo-9259501 -p '{"metadata":{"finalizers": []}}' --type=merge

Relase

Prerequisite
  • Set env.DOCKER_USR & env.DOCKER_PSW
  • Set env.AWS to dummy
Cut

Notes

TODOs

  • Fix: Delete of MRs
  • rename provider from luebken-provider-gps-dummy to crossplane-provider-gps-dummy
  • Delete storeconfig

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