mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Add Role / ClusterRole resourceNames to ConfigMap nameref resolver
While it is possible to use a kustomizeconfig.yml for this, with a custom namereference, this functionality should probably be built-in. This is similar to previous PRs, like this one: https://github.com/kubernetes-sigs/kustomize/pull/592
This commit is contained in:
@@ -121,6 +121,10 @@ nameReference:
|
||||
kind: CronJob
|
||||
- path: spec/configSource/configMap
|
||||
kind: Node
|
||||
- path: rules/resourceNames
|
||||
kind: Role
|
||||
- path: rules/resourceNames
|
||||
kind: ClusterRole
|
||||
|
||||
- kind: Secret
|
||||
version: v1
|
||||
|
||||
Reference in New Issue
Block a user