Skip to content

Commit

Permalink
Correct XGBoostJob CRD group name and add singular name (#1313)
Browse files Browse the repository at this point in the history
* Correct XGBoostJob CRD group name and add singular name

* Fx

Signed-off-by: terrytangyuan <[email protected]>
  • Loading branch information
terrytangyuan authored Jun 23, 2020
1 parent d56e17c commit e15922e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion xgboost-job/xgboost-operator/base/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rules:
- patch
- delete
- apiGroups:
- xgboostjob.kubeflow.org
- kubeflow.org
resources:
- xgboostjobs
- xgboostjobs/status
Expand Down
5 changes: 3 additions & 2 deletions xgboost-job/xgboost-operator/base/crd.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: xgboostjobs.xgboostjob.kubeflow.org
name: xgboostjobs.kubeflow.org
spec:
group: xgboostjob.kubeflow.org
group: kubeflow.org
names:
kind: XGBoostJob
singular: xgboostjob
plural: xgboostjobs
scope: Namespaced
validation:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
kind: Deployment
- group: core
kind: ServiceAccount
- group: xgboostjob.kubeflow.org
- group: kubeflow.org
kind: XGBoostJob
descriptor:
type: xgboostjob
Expand Down

0 comments on commit e15922e

Please sign in to comment.