Skip to content

Commit

Permalink
Change to dryrun instead of remove
Browse files Browse the repository at this point in the history
  • Loading branch information
simongottschlag committed Dec 13, 2020
1 parent d430f70 commit 36fb5a0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/kubernetes/opa-gatekeeper/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,19 @@ variable "default_constraints" {
}
parameters = {}
},
{
kind = "K8sRequiredProbes"
name = "required-probes"
enforcement_action = "dryrun"
match = {
kinds = []
namespaces = []
}
parameters = {
probes = ["readinessProbe"]
probeTypes = ["tcpSocket", "httpGet", "exec"]
}
},
{
kind = "K8sPodPriorityClass"
name = "pod-priority-class"
Expand Down

0 comments on commit 36fb5a0

Please sign in to comment.