From 6857e5d1d6b6a4aee7365b6a6905973a82d01a34 Mon Sep 17 00:00:00 2001 From: Michael Trip Date: Fri, 4 Oct 2024 10:57:56 +0200 Subject: [PATCH] added secret creation to cronjob sample serviceAccountTokens are not created automatically anymore --- cronjob.sample.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cronjob.sample.yaml b/cronjob.sample.yaml index 9884153..fc2f7e1 100644 --- a/cronjob.sample.yaml +++ b/cronjob.sample.yaml @@ -70,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 +---