diff --git a/modules/kubernetes/opa-gatekeeper/variables.tf b/modules/kubernetes/opa-gatekeeper/variables.tf index 88e21e0ec..1345a6632 100644 --- a/modules/kubernetes/opa-gatekeeper/variables.tf +++ b/modules/kubernetes/opa-gatekeeper/variables.tf @@ -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"