Skip to content

Commit

Permalink
add all bucket envs to parquet cron
Browse files Browse the repository at this point in the history
  • Loading branch information
dacbd committed Dec 16, 2024
1 parent 666ae6d commit 75da4f2
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion charts/operator-wandb/charts/parquet/templates/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,22 @@ spec:
value: "true"
- name: GORILLA_GLUE_EXECUTE_TASK_NAME
value: "EXPORTHISTORYTOPARQUET"

- name: BUCKET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: "{{ (include "wandb.bucket" . | fromYaml).secretName }}"
key: "{{ (include "wandb.bucket" . | fromYaml).accessKeyName }}"
optional: true
- name: BUCKET_SECRET_KEY
valueFrom:
secretKeyRef:
name: "{{ (include "wandb.bucket" . | fromYaml).secretName }}"
key: "{{ (include "wandb.bucket" . | fromYaml).secretKeyName }}"
optional: true
- name: BUCKET_PATH
value: "{{ (include "wandb.bucket" . | fromYaml).path }}"
- name: BUCKET
value: "{{ (include "wandb.bucket" . | fromYaml).url }}"
- name: MYSQL_PORT
value: "{{ include "wandb.mysql.port" . }}"
- name: MYSQL_HOST
Expand Down

0 comments on commit 75da4f2

Please sign in to comment.