Skip to content

Commit 8d8891b

Browse files
Enabling OPA GateKeeper | Shifted to Helm for installing OPA GateKeeper
1 parent 3f635d0 commit 8d8891b

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

kubernetes/manifests/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ resources:
1313
- kube-prometheus-stack.application.yaml
1414
- kubescape.application.yaml
1515
- microservices.application.yaml
16-
# - opa-gatekeeper
16+
- opa-gatekeeper.application.yaml
1717
- strimzi.application.yaml

kubernetes/manifests/opa-gatekeeper.application.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ spec:
2121
automated:
2222
prune: true
2323
selfHeal: true
24+
syncOptions:
25+
- CreateNamespace=true
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resources:
1+
helmCharts:
22
## Kubernetes allows decoupling policy decisions from the inner workings of the API Server by
33
## means of Admission Controller Webhooks, which are executed whenever a resource is created,
44
## updated or deleted. OPA Gatekeeper is a validating and mutating webhook that enforces CRD-based
@@ -7,4 +7,10 @@ resources:
77
## resources are currently violating any given policy. Finally, Gatekeeper's engine is designed to
88
## be portable, allowing admins to detect and reject non-compliant commits to an IAC system's
99
## source-of-truth.
10-
- https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
10+
- repo: https://open-policy-agent.github.io/gatekeeper/charts
11+
name: gatekeeper
12+
releaseName: gatekeeper
13+
namespace: gatekeeper
14+
version: 3.15.0
15+
valuesInline:
16+
replicas: 1

0 commit comments

Comments
 (0)