mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 09:26:54 +00:00
* Add permission command to generate ClusterRole and ClusterRoleBinding Signed-off-by: Mohdcode <mohdkamaal2019@gmail.com> * Add permission command to generate ClusterRole and ClusterRoleBinding Signed-off-by: Mohdcode <mohdkamaal2019@gmail.com> * Update command_test.go Signed-off-by: Mohd Kamaal <102820439+Mohdcode@users.noreply.github.com> --------- Signed-off-by: Mohdcode <mohdkamaal2019@gmail.com> Signed-off-by: Mohd Kamaal <102820439+Mohdcode@users.noreply.github.com> Co-authored-by: Jim Bugwadia <jim@nirmata.com>
23 lines
380 B
Go
23 lines
380 B
Go
package templates
|
|
|
|
import (
|
|
_ "embed"
|
|
)
|
|
|
|
//go:embed test.yaml
|
|
var TestTemplate string
|
|
|
|
//go:embed values.yaml
|
|
var ValuesTemplate string
|
|
|
|
//go:embed user-info.yaml
|
|
var UserInfoTemplate string
|
|
|
|
//go:embed exception.yaml
|
|
var ExceptionTemplate string
|
|
|
|
//go:embed metrics-config.yaml
|
|
var MetricsConfigTemplate string
|
|
|
|
//go:embed aggregated-role.yaml
|
|
var AggregatedRoleTemplate string
|