Automated Manifest Update #2760

Merged
alexlebens merged 1 commits from auto/update-manifests into manifests 2025-12-20 20:27:04 +00:00
5 changed files with 34 additions and 12 deletions

View File

@@ -1,14 +1,14 @@
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: vault-backup-script name: talos-prune-script
namespace: talos namespace: talos
labels: labels:
app.kubernetes.io/name: vault-backup-script app.kubernetes.io/name: talos-prune-script
app.kubernetes.io/instance: talos app.kubernetes.io/instance: talos
app.kubernetes.io/part-of: talos app.kubernetes.io/part-of: talos
data: data:
backup.sh: | prune.sh: |
export DATE_RANGE=$(date -d @$(( $(date +%s) - ${DATE_RANGE_SECONDS} )) +%Y-%m-%dT%H:%M:%SZ); export DATE_RANGE=$(date -d @$(( $(date +%s) - ${DATE_RANGE_SECONDS} )) +%Y-%m-%dT%H:%M:%SZ);
export FILE_MATCH="${BUCKET}/cl01tl/etcd/cl01tl-${DATE_RANGE}.snap.age" export FILE_MATCH="${BUCKET}/cl01tl/etcd/cl01tl-${DATE_RANGE}.snap.age"

View File

@@ -73,7 +73,7 @@ spec:
name: talos-etcd-backup-external-secret name: talos-etcd-backup-external-secret
- name: USE_PATH_STYLE - name: USE_PATH_STYLE
value: "false" value: "false"
image: ghcr.io/siderolabs/talos-backup:v0.1.0-beta.3@sha256:05c86663b251a407551dc948097e32e163a345818117eb52c573b0447bd0c7a7 image: ghcr.io/siderolabs/talos-backup:v0.1.0-beta.3-5-g07d09ec@sha256:96054af026b6255ec14d198f2f10ad6c813b335a2e21a76804365c053dd4ba7b
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: external name: external
securityContext: securityContext:
@@ -87,6 +87,10 @@ spec:
seccompProfile: seccompProfile:
type: RuntimeDefault type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /var/run/secrets/talos.dev
mountPropagation: None
name: secret
readOnly: true
- mountPath: /.talos - mountPath: /.talos
name: talos-external name: talos-external
- mountPath: /tmp - mountPath: /tmp
@@ -121,7 +125,7 @@ spec:
key: AGE_X25519_PUBLIC_KEY key: AGE_X25519_PUBLIC_KEY
name: talos-etcd-backup-local-secret name: talos-etcd-backup-local-secret
- name: USE_PATH_STYLE - name: USE_PATH_STYLE
value: "false" value: "true"
image: ghcr.io/siderolabs/talos-backup:v0.1.0-beta.3@sha256:05c86663b251a407551dc948097e32e163a345818117eb52c573b0447bd0c7a7 image: ghcr.io/siderolabs/talos-backup:v0.1.0-beta.3@sha256:05c86663b251a407551dc948097e32e163a345818117eb52c573b0447bd0c7a7
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: local name: local
@@ -136,6 +140,10 @@ spec:
seccompProfile: seccompProfile:
type: RuntimeDefault type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /var/run/secrets/talos.dev
mountPropagation: None
name: secret
readOnly: true
- mountPath: /.talos - mountPath: /.talos
name: talos-local name: talos-local
- mountPath: /tmp - mountPath: /tmp
@@ -170,7 +178,7 @@ spec:
key: AGE_X25519_PUBLIC_KEY key: AGE_X25519_PUBLIC_KEY
name: talos-etcd-backup-remote-secret name: talos-etcd-backup-remote-secret
- name: USE_PATH_STYLE - name: USE_PATH_STYLE
value: "false" value: "true"
image: ghcr.io/siderolabs/talos-backup:v0.1.0-beta.3@sha256:05c86663b251a407551dc948097e32e163a345818117eb52c573b0447bd0c7a7 image: ghcr.io/siderolabs/talos-backup:v0.1.0-beta.3@sha256:05c86663b251a407551dc948097e32e163a345818117eb52c573b0447bd0c7a7
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: remote name: remote
@@ -185,6 +193,10 @@ spec:
seccompProfile: seccompProfile:
type: RuntimeDefault type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /var/run/secrets/talos.dev
mountPropagation: None
name: secret
readOnly: true
- mountPath: /.talos - mountPath: /.talos
name: talos-remote name: talos-remote
- mountPath: /tmp - mountPath: /tmp
@@ -208,6 +220,10 @@ spec:
image: d3fk/s3cmd:latest@sha256:ed348a0fae5723d2e62636c175baf4dfaf732a790179ca675d1f24f863d0d68f image: d3fk/s3cmd:latest@sha256:ed348a0fae5723d2e62636c175baf4dfaf732a790179ca675d1f24f863d0d68f
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: s3-prune-external name: s3-prune-external
volumeMounts:
- mountPath: /scripts/prune.sh
name: prune-script
subPath: backup.sh
- args: - args:
- -ec - -ec
- /scripts/prune.sh - /scripts/prune.sh
@@ -226,6 +242,10 @@ spec:
image: d3fk/s3cmd:latest@sha256:ed348a0fae5723d2e62636c175baf4dfaf732a790179ca675d1f24f863d0d68f image: d3fk/s3cmd:latest@sha256:ed348a0fae5723d2e62636c175baf4dfaf732a790179ca675d1f24f863d0d68f
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: s3-prune-local name: s3-prune-local
volumeMounts:
- mountPath: /scripts/prune.sh
name: prune-script
subPath: backup.sh
- args: - args:
- -ec - -ec
- /scripts/prune.sh - /scripts/prune.sh
@@ -244,7 +264,15 @@ spec:
image: d3fk/s3cmd:latest@sha256:ed348a0fae5723d2e62636c175baf4dfaf732a790179ca675d1f24f863d0d68f image: d3fk/s3cmd:latest@sha256:ed348a0fae5723d2e62636c175baf4dfaf732a790179ca675d1f24f863d0d68f
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: s3-prune-remote name: s3-prune-remote
volumeMounts:
- mountPath: /scripts/prune.sh
name: prune-script
subPath: backup.sh
volumes: volumes:
- configMap:
defaultMode: 493
name: talos-prune-script
name: prune-script
- name: s3cmd-config-external - name: s3cmd-config-external
secret: secret:
secretName: talos-etcd-backup-external-secret secretName: talos-etcd-backup-external-secret

View File

@@ -7,8 +7,6 @@ metadata:
app.kubernetes.io/name: talos-etcd-backup-external-secret app.kubernetes.io/name: talos-etcd-backup-external-secret
app.kubernetes.io/instance: talos app.kubernetes.io/instance: talos
app.kubernetes.io/part-of: talos app.kubernetes.io/part-of: talos
annotations:
kubernetes.io/service-account.name: talos-backup-secrets
spec: spec:
secretStoreRef: secretStoreRef:
kind: ClusterSecretStore kind: ClusterSecretStore

View File

@@ -7,8 +7,6 @@ metadata:
app.kubernetes.io/name: talos-etcd-backup-local-secret app.kubernetes.io/name: talos-etcd-backup-local-secret
app.kubernetes.io/instance: talos app.kubernetes.io/instance: talos
app.kubernetes.io/part-of: talos app.kubernetes.io/part-of: talos
annotations:
kubernetes.io/service-account.name: talos-backup-secrets
spec: spec:
secretStoreRef: secretStoreRef:
kind: ClusterSecretStore kind: ClusterSecretStore

View File

@@ -7,8 +7,6 @@ metadata:
app.kubernetes.io/name: talos-etcd-backup-remote-secret app.kubernetes.io/name: talos-etcd-backup-remote-secret
app.kubernetes.io/instance: talos app.kubernetes.io/instance: talos
app.kubernetes.io/part-of: talos app.kubernetes.io/part-of: talos
annotations:
kubernetes.io/service-account.name: talos-backup-secrets
spec: spec:
secretStoreRef: secretStoreRef:
kind: ClusterSecretStore kind: ClusterSecretStore