1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/cmd/cli/kubectl-kyverno/commands/create/templates/templates.go
Mohd Kamaal 733063bb24
Add permission command to generate ClusterRole and ClusterRoleBinding (#11211)
* 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>
2024-10-10 14:03:16 +00:00

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