-
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.
- Loading branch information
1 parent
7199384
commit 9b5508e
Showing
5 changed files
with
49 additions
and
9 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,7 @@ | ||
# OPA Gatekeeper | ||
|
||
This is a baseline, prod-ready OPA Gatekeeper installation using Plural. | ||
|
||
## 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,8 @@ | ||
apiVersion: source.toolkit.fluxcd.io/v1beta2 | ||
kind: HelmRepository | ||
metadata: | ||
name: opa-gatekeeper | ||
namespace: apps | ||
spec: | ||
interval: 5m0s | ||
url: https://open-policy-agent.github.io/gatekeeper/charts |
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,33 @@ | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: PrAutomation | ||
metadata: | ||
name: opa-gatekeeper | ||
spec: | ||
name: opa-gatekeeper | ||
icon: https://www.openpolicyagent.org/img/logos/opa-no-text-color.png | ||
documentation: | | ||
Sets up an OPA Gatekeeper policy controller | ||
creates: | ||
git: | ||
ref: sebastian/prod-2981-set-up-catalog-pipeline # TODO set to main | ||
folder: catalogs/security/opa-gatekeeper | ||
templates: | ||
- source: README.md | ||
destination: documentation/opa-gatekeeper/README.md | ||
external: true | ||
- source: helmrepository.yaml | ||
destination: "bootstrap/apps/opa-gatekeeper/{{ context.cluster }}/helmrepository.yaml" | ||
external: true | ||
repositoryRef: | ||
name: scaffolds | ||
catalogRef: | ||
name: security | ||
scmConnectionRef: | ||
name: plural # you'll need to add this ScmConnection manually before this is functional | ||
title: "OPA Gatekeeper setup ({{ context.cluster }})" | ||
message: "Sets up OPA Gatekeeper on {{ context.cluster }} cluster." | ||
identifier: pluralsh/plrl-dev-aws # FIXME | ||
configuration: | ||
- name: cluster | ||
type: STRING | ||
documentation: the cluster you want to deploy to |
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