Skip to content

Commit

Permalink
Add redis back
Browse files Browse the repository at this point in the history
  • Loading branch information
ramit-wandb committed Jan 25, 2024
1 parent 3d0ec21 commit 9a4d572
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions charts/operator-wandb/charts/parquet/templates/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,23 @@ spec:
- name: MYSQL
value: "mysql://$(MYSQL_USER):$(MYSQL_PASSWORD)@$(MYSQL_HOST):$(MYSQL_PORT)/$(MYSQL_DATABASE)"

{{- if ne (include "wandb.redis.password" .) "" }}
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "wandb.redis.passwordSecret" . }}
key: REDIS_PASSWORD
{{- end }}
- name: REDIS_PORT
value: "{{ include "wandb.redis.port" . }}"
- name: REDIS_HOST
value: "{{ include "wandb.redis.host" . }}"
- name: REDIS
value: "{{ include "parquet.redis" . | trim }}"

- name: GORILLA_SETTINGS_CACHE
value: "{{ include "parquet.redis" . | trim }}"

- name: WEAVE_SERVICE
value: "{{ .Release.Name }}-weave:9994"
- name: PARQUET_HOST
Expand Down
4 changes: 2 additions & 2 deletions charts/operator-wandb/charts/parquet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ extraCors: []
common: {}
deployment: {}
cronJob:
enabled: false
schedule: "11 * * * *"
enabled: true
schedule: "* * * * *"
serviceAccount: {}
clusterRole: {}

Expand Down

0 comments on commit 9a4d572

Please sign in to comment.