Skip to content

Commit

Permalink
chore: updated cronjob.sample.yaml with new vars
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
MichaelTrip authored and frezbo committed Oct 10, 2024
1 parent 0de1b3d commit fc568f9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion cronjob.sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -66,4 +70,11 @@ metadata:
spec:
roles:
- os:etcd:backup
---
---
apiVersion: v1
kind: Secret
metadata:
name: talos-backup-secrets
annotations:
kubernetes.io/service-account.name: talos-backup-secrets
---

0 comments on commit fc568f9

Please sign in to comment.