Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mlflow-kubeserve
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Frank Sauerburger
mlflow-kubeserve
Commits
f111acb8
Verified
Commit
f111acb8
authored
2 years ago
by
Frank Sauerburger
Browse files
Options
Downloads
Patches
Plain Diff
Add PVC, Deployment and Job permissions
parent
af9a0e4c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/rbac/role.yaml
+36
-0
36 additions, 0 deletions
config/rbac/role.yaml
controllers/modeldeployment_controller.go
+3
-0
3 additions, 0 deletions
controllers/modeldeployment_controller.go
with
39 additions
and
0 deletions
config/rbac/role.yaml
+
36
−
0
View file @
f111acb8
...
...
@@ -5,6 +5,42 @@ metadata:
creationTimestamp
:
null
name
:
manager-role
rules
:
-
apiGroups
:
-
apps
resources
:
-
deployments
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
batch
resources
:
-
jobs
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
"
"
resources
:
-
persistentvolumeclaims
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
kubeserve.sauerburger.dev
resources
:
...
...
This diff is collapsed.
Click to expand it.
controllers/modeldeployment_controller.go
+
3
−
0
View file @
f111acb8
...
...
@@ -43,6 +43,9 @@ type ModelDeploymentReconciler struct {
//+kubebuilder:rbac:groups=kubeserve.sauerburger.dev,resources=modeldeployments,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=kubeserve.sauerburger.dev,resources=modeldeployments/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=kubeserve.sauerburger.dev,resources=modeldeployments/finalizers,verbs=update
//+kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=batch,resources=jobs,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=core,resources=persistentvolumeclaims,verbs=get;list;watch;create;update;patch;delete
// Reconcile is part of the main kubernetes reconciliation loop which aims to
// move the current state of the cluster closer to the desired state.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment