-
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
8 changed files
with
144 additions
and
7 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 @@ | ||
# Dagster | ||
|
||
This is a baseline, prod-ready Dagster 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: dagster | ||
namespace: apps | ||
spec: | ||
interval: 5m0s | ||
url: https://dagster-io.github.io/helm |
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
69 changes: 69 additions & 0 deletions
69
catalogs/security/opa-gatekeeper/servicedeployments.yaml.liquid
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,69 @@ | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: ServiceDeployment | ||
metadata: | ||
name: opa-gatekeeper-{{ context.cluster }} | ||
namespace: apps | ||
spec: | ||
namespace: policy | ||
git: | ||
folder: helm/opa-gatekeeper | ||
ref: main | ||
repositoryRef: | ||
kind: GitRepository | ||
name: infra | ||
namespace: infra | ||
helm: | ||
version: 3.15.1 | ||
chart: gatekeeper | ||
repository: | ||
name: gatekeeper | ||
namespace: apps | ||
configuration: | ||
cluster: {{ context.cluster }} | ||
clusterRef: | ||
kind: Cluster | ||
name: {{ context.cluster }} | ||
namespace: infra | ||
--- | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: ServiceDeployment | ||
metadata: | ||
name: opa-constraints-{{ context.cluster }} | ||
namespace: apps | ||
spec: | ||
namespace: policy | ||
templated: false | ||
git: | ||
folder: resources/policy/constraints | ||
ref: main | ||
repositoryRef: | ||
kind: GitRepository | ||
name: bootstrap | ||
namespace: infra | ||
clusterRef: | ||
kind: Cluster | ||
name: {{ context.cluster }} | ||
namespace: infra | ||
--- | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: ServiceDeployment | ||
metadata: | ||
name: policy-bundle-{{ context.cluster }} | ||
namespace: apps | ||
spec: | ||
name: policy-bundle | ||
namespace: policy | ||
templated: false | ||
git: | ||
folder: resources/policy/bundles/{{ context.bundle }} | ||
ref: main | ||
kustomize: | ||
path: '.' | ||
repositoryRef: | ||
kind: GitRepository | ||
name: bootstrap | ||
namespace: infra | ||
clusterRef: | ||
kind: Cluster | ||
name: {{ context.cluster }} | ||
namespace: infra |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: PrAutomation | ||
metadata: | ||
name: dagster | ||
spec: | ||
name: dagster | ||
icon: https://dagster.io/images/brand/logos/dagster-primary-mark.png | ||
documentation: | | ||
Sets up Dagster instance for given cloud | ||
creates: | ||
git: | ||
ref: sebastian/prod-2981-set-up-catalog-pipeline # TODO set to main | ||
folder: catalogs/data/dagster | ||
templates: | ||
- source: README.md | ||
destination: documentation/dagster/README.md | ||
external: true | ||
- source: helmrepository.yaml | ||
destination: "bootstrap/apps/dagster/{{ context.cluster }}/helmrepository.yaml" | ||
external: true | ||
repositoryRef: | ||
name: scaffolds | ||
catalogRef: | ||
name: data | ||
scmConnectionRef: | ||
name: plural # you'll need to add this ScmConnection manually before this is functional | ||
title: "Dagster setup ({{ context.cluster }})" | ||
message: | | ||
Sets up Dagster on {{ context.cluster }} cluster. | ||
identifier: pluralsh/plrl-dev-aws # FIXME | ||
configuration: | ||
- name: cluster | ||
type: STRING | ||
documentation: the cluster you want to deploy to | ||
- name: cloud | ||
type: ENUM | ||
documentation: the cloud you can deploy Dagster to | ||
values: | ||
- aws | ||
|
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