diff --git a/catalogs/security/trivy/README.md b/catalogs/security/trivy/README.md index 75950f34..e425f611 100644 --- a/catalogs/security/trivy/README.md +++ b/catalogs/security/trivy/README.md @@ -4,4 +4,4 @@ This is a baseline, prod ready Trivy 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 \ No newline at end of file +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. \ No newline at end of file diff --git a/setup/catalogs/security/trivy.yaml b/setup/catalogs/security/trivy.yaml new file mode 100644 index 00000000..e63c7f76 --- /dev/null +++ b/setup/catalogs/security/trivy.yaml @@ -0,0 +1,58 @@ +apiVersion: deployments.plural.sh/v1alpha1 +kind: PrAutomation +metadata: + name: trivy +spec: + name: trivy + icon: https://trivy.dev/latest/imgs/logo.png + documentation: | + Sets up an Trivy security scanner + creates: + git: + ref: main + folder: catalogs/security/trivy + templates: +# - source: stack.yaml.liquid +# destination: "bootstrap/apps/airbyte/{{ context.cluster }}/stack.yaml" +# external: true +# - source: servicedeployment.yaml.liquid +# destination: "bootstrap/apps/airbyte/{{ context.cluster }}/servicedeployment.yaml" +# external: true + - source: README.md + destination: documentation/trivy/README.md + external: true +# - source: helm/values.yaml.liquid +# destination: helm/airbyte/{{ context.cluster }}.yaml.liquid +# external: true +# - source: terraform +# destination: terraform/apps/airbyte +# external: true + repositoryRef: + name: scaffolds + catalogRef: + name: security + scmConnectionRef: + name: plural # you'll need to add this ScmConnection manually before this is functional + title: "Setting up Trivy on cluster {{ context.cluster }} for {{ context.cloud }}" + message: | + Set up Trivy on {{ context.cluster }} ({{ context.cloud }}) + + Will set up an Trivy deployment +# configuration: +# - name: cluster +# type: STRING +# documentation: the cluster you want to deploy to +# - name: cloud +# type: ENUM +# documentation: the cloud you can deploy airbyte to +# values: +# - aws +# - name: bucket +# type: STRING +# documentation: the name of the S3/GCS/Azure Blob bucket you'll use for airbyte logs. This must be globally unique +# - name: hostname +# type: STRING +# documentation: the DNS name you'll host airbyte under +# - name: region +# type: STRING +# documentation: the cloud region you're going to use for this instance