Compare commits
1 Commits
4b39fe7e32
...
a02ff57b2d
Author | SHA1 | Date | |
---|---|---|---|
a02ff57b2d
|
@@ -18,9 +18,5 @@ dependencies:
|
|||||||
alias: etcd-backup
|
alias: etcd-backup
|
||||||
repository: https://bjw-s-labs.github.io/helm-charts/
|
repository: https://bjw-s-labs.github.io/helm-charts/
|
||||||
version: 4.2.0
|
version: 4.2.0
|
||||||
- name: app-template
|
|
||||||
alias: etcd-defrag
|
|
||||||
repository: https://bjw-s-labs.github.io/helm-charts/
|
|
||||||
version: 4.2.0
|
|
||||||
icon: https://avatars.githubusercontent.com/u/13804887?s=200&v=4
|
icon: https://avatars.githubusercontent.com/u/13804887?s=200&v=4
|
||||||
appVersion: v0.1.0-beta.3
|
appVersion: v0.1.0-beta.3
|
||||||
|
@@ -49,28 +49,3 @@ spec:
|
|||||||
key: /cl01tl/talos/etcd-backup
|
key: /cl01tl/talos/etcd-backup
|
||||||
metadataPolicy: None
|
metadataPolicy: None
|
||||||
property: AGE_X25519_PUBLIC_KEY
|
property: AGE_X25519_PUBLIC_KEY
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: talos-etcd-defrag-secret
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: talos-etcd-defrag-secret
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/service-account.name: talos-defrag-secrets
|
|
||||||
spec:
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: vault
|
|
||||||
data:
|
|
||||||
- secretKey: config
|
|
||||||
remoteRef:
|
|
||||||
conversionStrategy: Default
|
|
||||||
decodingStrategy: None
|
|
||||||
key: /cl01tl/talos/etcd-defrag
|
|
||||||
metadataPolicy: None
|
|
||||||
property: config
|
|
||||||
|
@@ -142,61 +142,3 @@ etcd-backup:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
mountPropagation: None
|
mountPropagation: None
|
||||||
subPath: .s3cfg
|
subPath: .s3cfg
|
||||||
etcd-defrag:
|
|
||||||
global:
|
|
||||||
fullnameOverride: etcd-defrag
|
|
||||||
controllers:
|
|
||||||
defrag:
|
|
||||||
type: cronjob
|
|
||||||
pod:
|
|
||||||
nodeSelector:
|
|
||||||
node-role.kubernetes.io/control-plane: ""
|
|
||||||
tolerations:
|
|
||||||
- key: node-role.kubernetes.io/control-plane
|
|
||||||
operator: Exists
|
|
||||||
effect: NoSchedule
|
|
||||||
cronjob:
|
|
||||||
suspend: false
|
|
||||||
concurrencyPolicy: Forbid
|
|
||||||
timeZone: US/Central
|
|
||||||
schedule: "0 0 * * 0"
|
|
||||||
startingDeadlineSeconds: 90
|
|
||||||
successfulJobsHistory: 3
|
|
||||||
failedJobsHistory: 3
|
|
||||||
backoffLimit: 3
|
|
||||||
parallelism: 1
|
|
||||||
containers:
|
|
||||||
main:
|
|
||||||
image:
|
|
||||||
repository: ghcr.io/siderolabs/talosctl
|
|
||||||
tag: v1.10.4
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
args:
|
|
||||||
- etcd
|
|
||||||
- defrag
|
|
||||||
- -n 10.232.1.13
|
|
||||||
workingDir: /tmp
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 128Mi
|
|
||||||
persistence:
|
|
||||||
tmp:
|
|
||||||
type: emptyDir
|
|
||||||
medium: Memory
|
|
||||||
advancedMounts:
|
|
||||||
defrag:
|
|
||||||
main:
|
|
||||||
- path: /tmp
|
|
||||||
readOnly: false
|
|
||||||
secret:
|
|
||||||
enabled: true
|
|
||||||
type: secret
|
|
||||||
name: talos-etcd-defrag-secret
|
|
||||||
advancedMounts:
|
|
||||||
defrag:
|
|
||||||
main:
|
|
||||||
- path: ~/.talos/config
|
|
||||||
readOnly: true
|
|
||||||
mountPropagation: None
|
|
||||||
subPath: config
|
|
||||||
|
Reference in New Issue
Block a user