File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 17
17
18
18
1 . Specify ` Cluster URL ` .
19
19
20
- 1 . Optionally specify ` Namespace ` . If not provided, GoCD agents will be
21
- launched in the default Kubernetes namespace. Note: If you have multiple
20
+ 1 . Optionally specify ` Namespace ` . If not provided, the plugin will launch GoCD
21
+ agent pods in the default Kubernetes namespace. Note: If you have multiple
22
22
GoCD servers with cluster profiles pointing to the same Kubernetes cluster,
23
23
make sure that the namespace used by each GoCD server is different.
24
24
Otherwise, the plugin of one GoCD server will end up terminating pods
29
29
30
30
| Resource | Actions |
31
31
| -------------- | ----------- |
32
- | nodes | list, get |
32
+ | nodes | list |
33
33
| events | list |
34
- | namespace | list, get |
35
34
| pods, pods/log | * |
36
35
37
36
If the plugin is using a non-default namespace, then the pods and pods/log permissions
38
37
can be limited to that namespace (using a role + role binding), and the plugin
39
- will still work. All other permissions need to be attached at the cluster
38
+ will still work. Nodes list and events list need to be attached at the cluster
40
39
level (using a cluster role + cluster role binding) regardless of the
41
40
namespace chosen.
42
41
You can’t perform that action at this time.
0 commit comments