chore: Update manifests after change
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: vault-backup-script
|
||||
name: talos-prune-script
|
||||
namespace: talos
|
||||
labels:
|
||||
app.kubernetes.io/name: vault-backup-script
|
||||
app.kubernetes.io/name: talos-prune-script
|
||||
app.kubernetes.io/instance: talos
|
||||
app.kubernetes.io/part-of: talos
|
||||
data:
|
||||
backup.sh: |
|
||||
prune.sh: |
|
||||
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"
|
||||
|
||||
@@ -73,7 +73,7 @@ spec:
|
||||
name: talos-etcd-backup-external-secret
|
||||
- name: USE_PATH_STYLE
|
||||
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
|
||||
name: external
|
||||
securityContext:
|
||||
@@ -87,6 +87,10 @@ spec:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/secrets/talos.dev
|
||||
mountPropagation: None
|
||||
name: secret
|
||||
readOnly: true
|
||||
- mountPath: /.talos
|
||||
name: talos-external
|
||||
- mountPath: /tmp
|
||||
@@ -121,7 +125,7 @@ spec:
|
||||
key: AGE_X25519_PUBLIC_KEY
|
||||
name: talos-etcd-backup-local-secret
|
||||
- name: USE_PATH_STYLE
|
||||
value: "false"
|
||||
value: "true"
|
||||
image: ghcr.io/siderolabs/talos-backup:v0.1.0-beta.3@sha256:05c86663b251a407551dc948097e32e163a345818117eb52c573b0447bd0c7a7
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: local
|
||||
@@ -136,6 +140,10 @@ spec:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/secrets/talos.dev
|
||||
mountPropagation: None
|
||||
name: secret
|
||||
readOnly: true
|
||||
- mountPath: /.talos
|
||||
name: talos-local
|
||||
- mountPath: /tmp
|
||||
@@ -170,7 +178,7 @@ spec:
|
||||
key: AGE_X25519_PUBLIC_KEY
|
||||
name: talos-etcd-backup-remote-secret
|
||||
- name: USE_PATH_STYLE
|
||||
value: "false"
|
||||
value: "true"
|
||||
image: ghcr.io/siderolabs/talos-backup:v0.1.0-beta.3@sha256:05c86663b251a407551dc948097e32e163a345818117eb52c573b0447bd0c7a7
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: remote
|
||||
@@ -185,6 +193,10 @@ spec:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/secrets/talos.dev
|
||||
mountPropagation: None
|
||||
name: secret
|
||||
readOnly: true
|
||||
- mountPath: /.talos
|
||||
name: talos-remote
|
||||
- mountPath: /tmp
|
||||
@@ -208,6 +220,10 @@ spec:
|
||||
image: d3fk/s3cmd:latest@sha256:ed348a0fae5723d2e62636c175baf4dfaf732a790179ca675d1f24f863d0d68f
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: s3-prune-external
|
||||
volumeMounts:
|
||||
- mountPath: /scripts/prune.sh
|
||||
name: prune-script
|
||||
subPath: backup.sh
|
||||
- args:
|
||||
- -ec
|
||||
- /scripts/prune.sh
|
||||
@@ -226,6 +242,10 @@ spec:
|
||||
image: d3fk/s3cmd:latest@sha256:ed348a0fae5723d2e62636c175baf4dfaf732a790179ca675d1f24f863d0d68f
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: s3-prune-local
|
||||
volumeMounts:
|
||||
- mountPath: /scripts/prune.sh
|
||||
name: prune-script
|
||||
subPath: backup.sh
|
||||
- args:
|
||||
- -ec
|
||||
- /scripts/prune.sh
|
||||
@@ -244,7 +264,15 @@ spec:
|
||||
image: d3fk/s3cmd:latest@sha256:ed348a0fae5723d2e62636c175baf4dfaf732a790179ca675d1f24f863d0d68f
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: s3-prune-remote
|
||||
volumeMounts:
|
||||
- mountPath: /scripts/prune.sh
|
||||
name: prune-script
|
||||
subPath: backup.sh
|
||||
volumes:
|
||||
- configMap:
|
||||
defaultMode: 493
|
||||
name: talos-prune-script
|
||||
name: prune-script
|
||||
- name: s3cmd-config-external
|
||||
secret:
|
||||
secretName: talos-etcd-backup-external-secret
|
||||
|
||||
@@ -7,8 +7,6 @@ metadata:
|
||||
app.kubernetes.io/name: talos-etcd-backup-external-secret
|
||||
app.kubernetes.io/instance: talos
|
||||
app.kubernetes.io/part-of: talos
|
||||
annotations:
|
||||
kubernetes.io/service-account.name: talos-backup-secrets
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
|
||||
@@ -7,8 +7,6 @@ metadata:
|
||||
app.kubernetes.io/name: talos-etcd-backup-local-secret
|
||||
app.kubernetes.io/instance: talos
|
||||
app.kubernetes.io/part-of: talos
|
||||
annotations:
|
||||
kubernetes.io/service-account.name: talos-backup-secrets
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
|
||||
@@ -7,8 +7,6 @@ metadata:
|
||||
app.kubernetes.io/name: talos-etcd-backup-remote-secret
|
||||
app.kubernetes.io/instance: talos
|
||||
app.kubernetes.io/part-of: talos
|
||||
annotations:
|
||||
kubernetes.io/service-account.name: talos-backup-secrets
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
|
||||
Reference in New Issue
Block a user