mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-09 01:21:12 +02:00
#2 Add kubernetes-credentials-provider plugin to OperatorPlugins
This commit is contained in:
@@ -44,7 +44,11 @@ func NewRole(meta metav1.ObjectMeta) *v1.Role {
|
||||
Resources: []string{"pods/log"},
|
||||
Verbs: []string{getVerb, listVerb, watchVerb},
|
||||
},
|
||||
//TODO get secrets ???
|
||||
{
|
||||
APIGroups: []string{""},
|
||||
Resources: []string{"secrets"},
|
||||
Verbs: []string{getVerb, listVerb, watchVerb},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -121,6 +121,11 @@ var BasePluginsMap = map[string][]Plugin{
|
||||
Must(New("configuration-as-code:1.7")).String(): {
|
||||
Must(New("configuration-as-code-support:1.7")),
|
||||
},
|
||||
Must(New("kubernetes-credentials-provider:0.12.1")).String(): {
|
||||
Must(New(credentialsPlugin)),
|
||||
Must(New(structsPlugin)),
|
||||
Must(New(variantPlugin)),
|
||||
},
|
||||
}
|
||||
|
||||
// BasePlugins returns map of plugins to install by operator
|
||||
|
||||
Reference in New Issue
Block a user