Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OLM-2834: Create the Operator CRD and Controller #79

Merged
merged 3 commits into from
Dec 13, 2022

Conversation

tmshort
Copy link
Contributor

@tmshort tmshort commented Dec 13, 2022

Create the initial controller via kubebuilder 3.8.0/go 1.19.3

https://issues.redhat.com/browse/OLM-2834

Closes #68

Content created via:

kubebuilder init --domain operatorframework.io --repo github.com/operator-framework/operator-controller --plugins=go/v4-alpha
kubebuilder create api --group operators --version v1alpha1 --kind Operator
make manifests

No editing of any sort was done.

Tests on KIND:

make docker-build docker-push IMG=quay.io/tshort/operator-controller:20221113
make deploy IMG=quay.io/tshort/operator-controller:20221113
kubectl apply -f config/samples/operators_v1alpha1_operator.yaml

CRD(s) and resources were created.

`kubebuilder init --domain operatorframework.io --repo github.com/operator-framework/operator-controller --plugins=go/v4-alpha`

Signed-off-by: Todd Short <tshort@redhat.com>
`kubebuilder create api --group operators --version v1alpha1 --kind Operator`

Signed-off-by: Todd Short <tshort@redhat.com>
Signed-off-by: Todd Short <tshort@redhat.com>
@awgreene
Copy link
Member

/approve

@awgreene awgreene added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 13, 2022
@dtfranz
Copy link
Contributor

dtfranz commented Dec 13, 2022

/approve

@awgreene awgreene merged commit f29fb01 into operator-framework:main Dec 13, 2022
@tmshort
Copy link
Contributor Author

tmshort commented Dec 13, 2022

It seems as though this repo needs additional configuration to support the /approve comments and auto-merging.

@tmshort tmshort deleted the OLM-2834 branch December 13, 2022 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create operator-controller using kubebuilder
3 participants