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: 4 months ago
JSON representation
A simple operator written using the standard Kubernetes tooling and openshift/library-go
- Host: GitHub
- URL: https://github.com/enj/example-operator
- Owner: enj
- License: apache-2.0
- Created: 2018-10-12T21:11:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-21T03:14:44.000Z (over 6 years ago)
- Last Synced: 2025-01-19T21:43:01.473Z (6 months ago)
- Topics: controller, kubernetes, openshift, operator
- Language: Shell
- Homepage:
- Size: 30 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.yamlmake
export PATH="_output/local/bin/linux/amd64:${PATH}"
example operator --kubeconfig admin.kubeconfig --config install/config.yaml --v=4oc get exampleoperator example-operator-resource -o yaml
oc get secret example-operator-resource -o yaml
```