Reset git history for making manifests public
This commit is contained in:
9
longhorn/backup-target.yaml
Normal file
9
longhorn/backup-target.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: longhorn.io/v1beta2
|
||||
kind: BackupTarget
|
||||
metadata:
|
||||
name: default
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
backupTargetURL: cifs://10.8.14.2/backups
|
||||
credentialSecret: cifs-secret
|
||||
pollInterval: 5m0s
|
||||
46
longhorn/httproute.yaml
Normal file
46
longhorn/httproute.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: longhorn-route
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
namespace: envoy-gateway
|
||||
sectionName: longhorn
|
||||
hostnames:
|
||||
- "longhorn.jsme.be"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
filters:
|
||||
- type: RequestHeaderModifier
|
||||
requestHeaderModifier:
|
||||
set:
|
||||
- name: X-Forwarded-Host
|
||||
value: "longhorn.jsme.be"
|
||||
- name: X-Forwarded-Proto
|
||||
value: https
|
||||
- type: ResponseHeaderModifier
|
||||
responseHeaderModifier:
|
||||
set:
|
||||
- name: Strict-Transport-Security
|
||||
value: "max-age=31536000; includeSubDomains"
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: Referrer-Policy
|
||||
value: strict-origin-when-cross-origin
|
||||
- name: Permissions-Policy
|
||||
value: "camera=(), microphone=(), geolocation=(), payment=()"
|
||||
backendRefs:
|
||||
- name: longhorn-frontend
|
||||
port: 80
|
||||
kind: Service
|
||||
group: ""
|
||||
weight: 1
|
||||
22
longhorn/infisical-secret.yaml
Normal file
22
longhorn/infisical-secret.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: secrets.infisical.com/v1alpha1
|
||||
kind: InfisicalSecret
|
||||
metadata:
|
||||
name: longhorn-cifs-secret
|
||||
namespace: infisical
|
||||
spec:
|
||||
hostAPI: https://infisical.jsme.be
|
||||
resyncInterval: 30
|
||||
authentication:
|
||||
universalAuth:
|
||||
secretsScope:
|
||||
projectSlug: "kubernetes"
|
||||
envSlug: "prod"
|
||||
secretsPath: "/longhorn"
|
||||
recursive: true
|
||||
credentialsRef:
|
||||
secretName: infisical-universal-auth
|
||||
secretNamespace: infisical
|
||||
managedSecretReference:
|
||||
secretName: cifs-secret
|
||||
secretNamespace: longhorn-system
|
||||
secretType: Opaque
|
||||
13
longhorn/recurring-backup.yaml
Normal file
13
longhorn/recurring-backup.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: longhorn.io/v1beta2
|
||||
kind: RecurringJob
|
||||
metadata:
|
||||
name: daily-midnight-backup
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
cron: "0 0 * * *"
|
||||
task: backup
|
||||
groups:
|
||||
- default
|
||||
retain: 7
|
||||
concurrency: 2
|
||||
labels: {}
|
||||
Reference in New Issue
Block a user