Skip to content

Commit

Permalink
feat: custom ES
Browse files Browse the repository at this point in the history
  • Loading branch information
cterence committed Aug 30, 2024
1 parent ac29589 commit 2a09691
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions k8s-apps/velero-ui/templates/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@ spec:
target:
name: backblaze-credentials
creationPolicy: Owner
# template:
# engineVersion: v2
# data:
# config: |
# [default]
# aws_access_key_id = "{{"{{ .access_key }}"}}"
# aws_secret_access_key = "{{"{{ .secret_key }}"}}"
template:
engineVersion: v2
data:
AWS_ACCESS_KEY_ID: {{ printf "{{ .access_key }}" }}
AWS_SECRET_ACCESS_KEY: {{ printf "{{ .secret_key }}" }}
SECURITY_TOKEN_KEY: {{ randAlphaNum 32 | b64enc | quote }}
data:
- secretKey: AWS_ACCESS_KEY_ID
- secretKey: access_key
remoteRef:
key: velero_backblaze_access_key_id
- secretKey: AWS_SECRET_ACCESS_KEY
- secretKey: secret_key
remoteRef:
key: velero_backblaze_secret_access_key

0 comments on commit 2a09691

Please sign in to comment.