-
Notifications
You must be signed in to change notification settings - Fork 7
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
Bootstrap project using kubebuilder 3.1.0 #1
Conversation
Are these inter-operable with kubebuilder? |
Commands used to bootstrap: kubebuilder init --domain="service.binding" --repo="github.com/kubernetes-sigs/service-binding" --owner="The Kubernetes Authors" --project-name="service-binding-operator" kubebuilder edit --multigroup=true kubebuilder create api --crd-version="v1" --group="" --version="v1alpha2" --kind="ServiceBinding" --resource --controller kubebuilder create api --crd-version="v1" --group="" --version="v1alpha2" --kind ClusterApplicationResourceMapping --resource --controller make generate
I have bootstrapped the project using kubebuilder. Force pushed the commit as the old commit is obsolete. |
PROJECT
Outdated
version: v1alpha2 | ||
- api: | ||
crdVersion: v1 | ||
namespaced: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not be namespaced
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. 295e16d
@@ -0,0 +1,24 @@ | |||
# permissions for end users to edit clusterapplicationresourcemappings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this file used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The RBAC-related files are auto-generated by kubebuilder. Probably helpful for those who are packing this project (say Helm charts).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok. I was a bit surprised to not see it listed in the kustomization.yaml file, even if commented
@@ -0,0 +1,20 @@ | |||
# permissions for end users to view clusterapplicationresourcemappings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this file used?
@@ -0,0 +1,24 @@ | |||
# permissions for end users to edit servicebindings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this file used?
@@ -0,0 +1,20 @@ | |||
# permissions for end users to view servicebindings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this file used?
Commands used to bootstrap: