Skip to content

Commit

Permalink
joern support added
Browse files Browse the repository at this point in the history
  • Loading branch information
shivam-rawat-akto committed Dec 23, 2024
1 parent 873eebb commit ea8e6da
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
19 changes: 19 additions & 0 deletions charts/source-code-analyser/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,25 @@ spec:

name: code-analysis-lsp-service

- env:
- name: CPG_SERVER_PORT
value: {{ quote .Values.source_code_analyser.codePropertyGraphJoern.env.port }}
image: {{ .Values.source_code_analyser.codePropertyGraphJoern.image.repository }}:{{ .Values.source_code_analyser.codePropertyGraphJoern.image.tag
| default .Chart.AppVersion }}
volumeMounts:
- name: source-code
mountPath: /data
args:
- joern
- --server
- --server-host
- 127.0.0.1
- --server-port
- {{ .Values.source_code_analyser.codePropertyGraphJoern.env.port | quote }}

name: code-property-graph-joern


- name: eclipse-jdtls
image: hotavneesh/eclipse-jdtls:latest
volumeMounts:
Expand Down
13 changes: 13 additions & 0 deletions charts/source-code-analyser/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,16 @@ source_code_analyser:
limits:
cpu: 2
memory: "8Gi"
codePropertyGraphJoern:
env:
port: 8082
image:
repository: ghcr.io/joernio/joern
tag: master
resources:
requests:
cpu: 1
memory: "6Gi"
limits:
cpu: 2
memory: "8Gi"

0 comments on commit ea8e6da

Please sign in to comment.