#2 Add kubernetes-credentials-provider plugin to OperatorPlugins

This commit is contained in:
Tomasz Sęk
2019-03-12 17:26:03 +01:00
parent 9177fbe802
commit c170acac1d
3 changed files with 66 additions and 1 deletions
@@ -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