added a bunch of velero config and contabo secrets
This commit is contained in:
parent
ddf3c69518
commit
f5861c0870
|
|
@ -6,3 +6,4 @@ resources:
|
||||||
- bitwarden.yaml
|
- bitwarden.yaml
|
||||||
- eso.yaml
|
- eso.yaml
|
||||||
- jetstack.yaml
|
- jetstack.yaml
|
||||||
|
- vmware-tanzu.yaml
|
||||||
|
|
|
||||||
8
infrastructure/sources/vmware-tanzu.yaml
Normal file
8
infrastructure/sources/vmware-tanzu.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: vmware-tanzu
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 12h
|
||||||
|
url: https://github.com/vmware-tanzu/helm-charts/
|
||||||
19
infrastructure/velero/helmrelease.yaml
Normal file
19
infrastructure/velero/helmrelease.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: velero
|
||||||
|
namespace: backups
|
||||||
|
spec:
|
||||||
|
interval: 15m
|
||||||
|
releaseName: velero
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: velero
|
||||||
|
version: "*"
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: velero
|
||||||
|
namespace: flux-system
|
||||||
|
values:
|
||||||
|
# keep minimal to start
|
||||||
|
replicaCount: 1
|
||||||
13
infrastructure/velero/values.yaml
Normal file
13
infrastructure/velero/values.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
#yes
|
||||||
|
env:
|
||||||
|
- name: kimaiAdminEmail
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: kimai-secrets
|
||||||
|
key: kimai-admin-username
|
||||||
|
|
||||||
|
- name: kimaiAdminPassword
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: kimai-secrets
|
||||||
|
key: kimai-admin-password
|
||||||
32
secrets/contabosecrets.yaml
Normal file
32
secrets/contabosecrets.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: contabo-secrets
|
||||||
|
namespace: backups
|
||||||
|
spec:
|
||||||
|
refreshInterval: 1h
|
||||||
|
secretStoreRef:
|
||||||
|
name: bitwarden
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: contabo-secrets
|
||||||
|
creationPolicy: Owner
|
||||||
|
template:
|
||||||
|
engineVersion: v2
|
||||||
|
mergePolicy: Merge
|
||||||
|
data:
|
||||||
|
- secretKey: contabo-username
|
||||||
|
remoteRef:
|
||||||
|
key: contabo-username
|
||||||
|
|
||||||
|
- secretKey: contabo-password
|
||||||
|
remoteRef:
|
||||||
|
key: contabo-password
|
||||||
|
|
||||||
|
- secretKey: contabo-client-id
|
||||||
|
remoteRef:
|
||||||
|
key: contabo-client-id
|
||||||
|
|
||||||
|
- secretKey: contabo-client-secret
|
||||||
|
remoteRef:
|
||||||
|
key: contabo-client-secret
|
||||||
|
|
@ -3,4 +3,4 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- kimaisecrets.yaml
|
- kimaisecrets.yaml
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- test.yaml
|
- contabosecrets.yaml
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue