Skip to content

Commit

Permalink
Add env var for vuln DB path and license key
Browse files Browse the repository at this point in the history
  • Loading branch information
pboushy committed Jan 16, 2025
1 parent 9f6e4a8 commit cda967e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/fleet/templates/cron-vulnprocessing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ spec:
cpu: {{ .Values.vulnProcessing.resources.requests.cpu }}
memory: {{ .Values.vulnProcessing.resources.requests.memory }}
env:
## BEGIN FLEET SECTION
- name: FLEET_VULNERABILITIES_DATABASES_PATH
value: /tmp/vuln # /tmp might not work on all cloud providers by default
# - name: FLEET_SERVER_ADDRESS
# value: "0.0.0.0:{{ .Values.fleet.listenPort }}"
# - name: FLEET_AUTH_BCRYPT_COST
Expand Down Expand Up @@ -76,6 +79,13 @@ spec:
# - name: FLEET_SERVER_KEY
# value: "/secrets/tls/{{ .Values.fleet.tls.keySecretKey }}"
# {{- end }}
{{- if .Values.fleet.license.secretName }}
- name: FLEET_LICENSE_KEY
valueFrom:
secretKeyRef:
key: {{ .Values.fleet.license.licenseKey }}
name: {{ .Values.fleet.license.secretName }}
{{- end }}
## END FLEET SECTION
## BEGIN MYSQL SECTION
- name: FLEET_MYSQL_ADDRESS
Expand Down

0 comments on commit cda967e

Please sign in to comment.