Skip to content

Commit

Permalink
fix: token key
Browse files Browse the repository at this point in the history
  • Loading branch information
cterence committed Aug 30, 2024
1 parent ccda7ed commit 789cb67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion k8s-apps/velero-ui/templates/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ spec:
data:
AWS_ACCESS_KEY_ID: "{{ `{{ .access_key }}` }}"
AWS_SECRET_ACCESS_KEY: "{{ `{{ .secret_key }}` }}"
SECURITY_TOKEN_KEY: {{ mod (randNumeric 4 | atoi) 16 | printf "%x" | quote }}
SECURITY_TOKEN_KEY: "{{ `{{ .token_key }}` }}"
data:
- secretKey: access_key
remoteRef:
key: velero_backblaze_access_key_id
- secretKey: secret_key
remoteRef:
key: velero_backblaze_secret_access_key
- secretKey: token_key
remoteRef:
key: velero_ui_security_token_key

0 comments on commit 789cb67

Please sign in to comment.