[Jenkins Kubernetes Plugin] How to restrict/choose kubernetes Cloud access from jenkinsfile

24 views
Skip to first unread message

Nadir Mouhoubi

unread,
Mar 5, 2019, 1:00:33 PM3/5/19
to Jenkins Users
Hello everyone,

We designed a kubernetes Cluster to launch dynamic Jenkins Agents  and everything works fine. This cluster is mutualised for several projets that do there build using a cloud defined at Jenkins Administration level.

Recently, we added a projet that uses the same Jenkins cloud and its corresponding Kubernetes namespace. 

My question is : how can I isolate this project data from other projects? for example, how can I protect namespace volumes to be usable by one agent and not another? 

Thanks for your help.

Nadir.


Carlos Sanchez

unread,
Mar 5, 2019, 1:42:20 PM3/5/19
to Jenkins Users
plus maybe some RBAC on the Kubernetes side to prevent service account from doing things you don't want them to do

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ff5fd4c7-269d-4ffb-970f-d1d6c8013d7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages