Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/enj/example-operator

A simple operator written using the standard Kubernetes tooling and openshift/library-go
https://github.com/enj/example-operator

controller kubernetes openshift operator

Last synced: 2 days ago
JSON representation

A simple operator written using the standard Kubernetes tooling and openshift/library-go

Awesome Lists containing this project

README

        

# Example Operator

```shell
cd "${GOPATH}/src/github.com/enj/example-operator"

oc new-project example-operator

oc create -f manifests/00-crd.yaml
oc create -f install/cr.yaml

make
export PATH="_output/local/bin/linux/amd64:${PATH}"
example operator --kubeconfig admin.kubeconfig --config install/config.yaml --v=4

oc get exampleoperator example-operator-resource -o yaml
oc get secret example-operator-resource -o yaml
```