mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-13 19:28:55 +00:00
fix: add image extractor for ReplicationController (#5497)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
c2549898c9
commit
bf303f78ad
1 changed files with 8 additions and 7 deletions
|
@ -21,13 +21,14 @@ var (
|
|||
podControllerExtractors = BuildStandardExtractors("spec", "template", "spec")
|
||||
cronjobControllerExtractors = BuildStandardExtractors("spec", "jobTemplate", "spec", "template", "spec")
|
||||
registeredExtractors = map[string][]imageExtractor{
|
||||
"Pod": podExtractors,
|
||||
"DaemonSet": podControllerExtractors,
|
||||
"Deployment": podControllerExtractors,
|
||||
"ReplicaSet": podControllerExtractors,
|
||||
"StatefulSet": podControllerExtractors,
|
||||
"CronJob": cronjobControllerExtractors,
|
||||
"Job": podControllerExtractors,
|
||||
"Pod": podExtractors,
|
||||
"DaemonSet": podControllerExtractors,
|
||||
"Deployment": podControllerExtractors,
|
||||
"ReplicaSet": podControllerExtractors,
|
||||
"ReplicationController": podControllerExtractors,
|
||||
"StatefulSet": podControllerExtractors,
|
||||
"CronJob": cronjobControllerExtractors,
|
||||
"Job": podControllerExtractors,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue