Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/dgraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ When ACLs are used, the backup cronjob will log in to the Alpha node using a spe
When a simple Auth Token is used, the backup cronjob script will submit an auth token when requesting a backup.

* Alpha
* Alpha will need to be configured with environment variable `DGRAPH_ALPHA_AUTH_TOKEN` or configuration with `auth_token` set.
* Alpha will need to be configured with environment variable `DGRAPH_ALPHA_TOKEN` or configuration with `auth_token` set.
* Backups
* `backups.admin.auth_token` - this will need to have the same value configured in Alpha

Expand Down
4 changes: 2 additions & 2 deletions charts/dgraph/templates/backups/cronjob-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ spec:
- name: tls-volume
mountPath: /dgraph/tls
{{- end }}
{{- if .Values.alpha.acl.enabled }}
{{- if or .Values.alpha.acl.enabled .Values.backups.admin.auth_token }}
- name: backup-secret-volume
mountPath: /backup_secrets
{{- end }}
Expand Down Expand Up @@ -126,7 +126,7 @@ spec:
secret:
secretName: {{ template "dgraph.alpha.fullname" . }}-tls-secret
{{- end }}
{{- if or (.Values.alpha.acl.enabled) (.Values.backups.admin.auth_token) }}
{{- if or .Values.alpha.acl.enabled .Values.backups.admin.auth_token }}
- name: backup-secret-volume
secret:
secretName: {{ template "dgraph.backups.fullname" . }}-secret
Expand Down
2 changes: 1 addition & 1 deletion charts/dgraph/templates/backups/cronjob-inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ spec:
- name: tls-volume
mountPath: /dgraph/tls
{{- end }}
{{- if .Values.alpha.acl.enabled }}
{{- if or .Values.alpha.acl.enabled .Values.backups.admin.auth_token }}
- name: backup-secret-volume
mountPath: /backup_secrets
{{- end }}
Expand Down