Skip to content

Commit

Permalink
support openshift DeploymentConfig & Route in enforcer webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobi Kadosh committed Jun 15, 2023
1 parent 070985b commit 9e4a56b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cbcontainers/state/components/enforcer_mutating_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ func (obj *EnforcerMutatingWebhookK8sObject) getResourcesList() []string {
"cronjobs",
"ingresses",
"customresourcedefinitions",
"deploymentconfigs",
"routes",
}
}

Expand Down
2 changes: 2 additions & 0 deletions cbcontainers/state/components/enforcer_validating_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ func (obj *EnforcerValidatingWebhookK8sObject) getResourcesList() []string {
"cronjobs",
"ingresses",
"customresourcedefinitions",
"deploymentconfigs",
"routes",
}
}

Expand Down

0 comments on commit 9e4a56b

Please sign in to comment.