Skip to content

Commit

Permalink
fix: launch right command in Helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio committed May 24, 2024
1 parent 82dd8c4 commit c8a6a04
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions charts/publiccode-crawler/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,9 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}

command:
- /bin/bash
- publiccode-crawler
args:
- -c
- ln -sf /secrets-store/k8s-secrets-publiccode-crawler-domains-yml domains.yml && ./start.sh

volumeMounts:
- mountPath: /secrets-store
name: secrets-store
- crawl

resources:
{{- toYaml .Values.resources | indent 14 }}
Expand All @@ -55,11 +50,3 @@ spec:
key: github-token

restartPolicy: Never

volumes:
- name: secrets-store
csi:
driver: secrets-store.csi.k8s.io
readOnly: true
volumeAttributes:
secretProviderClass: {{ template "publiccode-crawler.fullname" . }}

0 comments on commit c8a6a04

Please sign in to comment.