Skip to content

Commit

Permalink
Use upstream image as default and use bucket name from secret for STO…
Browse files Browse the repository at this point in the history
…RAGE_CONTAINER
  • Loading branch information
amold1 committed Mar 28, 2024
1 parent 07a734a commit 1799ebe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions templates/addons/etcd-backup-restore/etcd-backup-restore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ data:
"sseCustomerKey": "$${AWS_SSE_CUSTOMER_KEY}"
}
EOF
cat /data/credentials-file
volumeMounts:
- name: data-volume
mountPath: /data
Expand Down Expand Up @@ -94,7 +93,7 @@ data:
- --cacert=/etc/kubernetes/pki/etcd/ca.crt
- --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt
- --key=/etc/kubernetes/pki/etcd/healthcheck-client.key
image: ${ETCDBR_IMAGE}
image: ${ETCDBR_IMAGE:-europe-docker.pkg.dev/gardener-project/releases/gardener/etcdbrctl:v0.28.0}
securityContext:
allowPrivilegeEscalation: false
runAsUser: 0
Expand All @@ -114,7 +113,10 @@ data:
- name: AWS_APPLICATION_CREDENTIALS_JSON
value: /home/.aws/credentials-file
- name: STORAGE_CONTAINER
value: ${CLUSTER_NAME}-etcd-backup
valueFrom:
secretKeyRef:
name: etcd-backup
key: "bucket_name"
volumeMounts:
- mountPath: /etc/kubernetes/pki
name: k8s-certs
Expand Down

0 comments on commit 1799ebe

Please sign in to comment.