-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'sebastian/prod-2981-set-up-catalog-pipeline' of github.…
…com:pluralsh/scaffolds into sebastian/prod-2981-set-up-catalog-pipeline
- Loading branch information
Showing
12 changed files
with
92 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Gatekeeper | ||
|
||
This is a baseline, prod-ready OPA Gatekeeper installation using Plural. Besides Gatekeeper installation, it includes a policy bundle and set of constraints. | ||
|
||
You might want to slightly tweak the default setup for a few reasons: | ||
|
||
- only want to set up policy enforcement on a subset of your fleet (it's fleet-wide by default) | ||
- prefer to choose a different policy bundle | ||
- tweaking namespace names, crd names, etc. for your organization's preferences | ||
|
||
## Contributing | ||
|
||
If there are any features or documentation you'd like to add to this setup, please feel free to contribute back at https://github.com/pluralsh/scaffolds. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: GlobalService | ||
metadata: | ||
name: gatekeeper-constraints | ||
spec: | ||
template: | ||
name: gatekeeper-constraints | ||
namespace: policy | ||
git: | ||
folder: resources/policy/constraints | ||
ref: main | ||
repositoryRef: | ||
kind: GitRepository | ||
name: bootstrap |
15 changes: 15 additions & 0 deletions
15
catalogs/security/gatekeeper/gatekeeper-policy-bundle.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: GlobalService | ||
metadata: | ||
name: gatekeeper-policy-bundle | ||
namespace: apps | ||
spec: | ||
template: | ||
name: gatekeeper-policy-bundle | ||
namespace: policy | ||
git: | ||
folder: resources/policy/bundles/{{ context.bundle }} | ||
ref: main | ||
repositoryRef: | ||
kind: GitRepository | ||
name: bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: GlobalService | ||
metadata: | ||
name: gatekeeper | ||
namespace: apps | ||
spec: | ||
template: | ||
name: gatekeeper | ||
namespace: policy | ||
helm: | ||
url: https://open-policy-agent.github.io/gatekeeper/charts | ||
version: 3.15.1 | ||
chart: gatekeeper |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
69 changes: 0 additions & 69 deletions
69
catalogs/security/opa-gatekeeper/servicedeployments.yaml.liquid
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
catalogs/security/trivy-operator/servicedeployment.yaml.liquid
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: GlobalService | ||
metadata: | ||
name: trivy-operator | ||
namespace: apps | ||
spec: | ||
template: | ||
name: trivy-operator | ||
namespace: trivy-system | ||
helm: | ||
url: https://aquasecurity.github.io/helm-charts/ | ||
chart: trivy-operator | ||
version: 'x.x.x' | ||
values: | ||
trivy: | ||
additionalVulnerabilityReportFields: Description,Links,CVSS,Target |
32 changes: 15 additions & 17 deletions
32
setup/catalogs/security/opa-gatekeeper.yaml → setup/catalogs/security/gatekeeper.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters