From fc568f9c3bbd804b67a8a0cb178edf48820406a1 Mon Sep 17 00:00:00 2001 From: Michael Trip Date: Fri, 4 Oct 2024 10:38:38 +0200 Subject: [PATCH] chore: updated cronjob.sample.yaml with new vars added the USE_PATH_STYLE var and explained that this must be set to false if you use minio. serviceAccountTokens are not created automatically anymore Signed-off-by: Noel Georgi --- cronjob.sample.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/cronjob.sample.yaml b/cronjob.sample.yaml index 13f5706..fc2f7e1 100644 --- a/cronjob.sample.yaml +++ b/cronjob.sample.yaml @@ -34,6 +34,10 @@ spec: value: "important/backups" - name: AGE_X25519_PUBLIC_KEY value: "age1khpnnl86pzx96ttyjmldptsl5yn2v9jgmmzcjcufvk00ttkph9zs0ytgec" + # USE_PATH_STYLE is optional; set this to false if you have another s3 like endpoint such as minio. + # If not, the S3 will resolve to a hostname based on https://$BUCKET_NAME.$CUSTOM_S3_ENDPOINT/ + - name: USE_PATH_STYLE + value: "false" securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -66,4 +70,11 @@ metadata: spec: roles: - os:etcd:backup ---- \ No newline at end of file +--- +apiVersion: v1 +kind: Secret +metadata: + name: talos-backup-secrets + annotations: + kubernetes.io/service-account.name: talos-backup-secrets +---