Skip to content

Instantly share code, notes, and snippets.

@ioggstream
Created January 12, 2023 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ioggstream/c50103abd2ef8cdc577642c7a0ed5396 to your computer and use it in GitHub Desktop.
Save ioggstream/c50103abd2ef8cdc577642c7a0ed5396 to your computer and use it in GitHub Desktop.
Super SAST on devspaces
version: v2beta1
name: docker-compose
# This is a list of `deployments` that DevSpace can create for this project
deployments:
super-sast:
helm:
# Under `values` we can define the values for this Helm chart used during `helm install/upgrade`
# You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"]
values:
containers:
- env:
- name: M2_HOME
value: /code
- name: USER
value: nobody
- name: HOME
value: /code
image: ghcr.io/par-tec/super-sast
name: super-sast-container
workingDir: /code
volumeMounts:
- containerPath: /code
volume:
name: volume-1
readOnly: false
volumes:
- emptyDir: {}
name: volume-1
# This is a list of `dev` containers that are based on the containers created by your deployments
dev:
super-sast:
labelSelector:
app.kubernetes.io/component: super-sast
command:
- ""
# Sync files between the local filesystem and the development container
sync:
- path: .:/code
startContainer: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment