ks forcing incorrect namespace
This commit is contained in:
parent
d0d5350a92
commit
4b47b130aa
2 changed files with 41 additions and 41 deletions
|
@ -35,3 +35,44 @@ spec:
|
||||||
secretAccessKeySecretKeyRef:
|
secretAccessKeySecretKeyRef:
|
||||||
name: mariadb-secret
|
name: mariadb-secret
|
||||||
key: AWS_SECRET_ACCESS_KEY
|
key: AWS_SECRET_ACCESS_KEY
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.mariadb.com/backup_v1alpha1.json
|
||||||
|
apiVersion: k8s.mariadb.com/v1alpha1
|
||||||
|
kind: Backup
|
||||||
|
metadata:
|
||||||
|
name: &name mariadb-pterodactyl-backup
|
||||||
|
namespace: database
|
||||||
|
spec:
|
||||||
|
mariaDbRef:
|
||||||
|
name: mariadb
|
||||||
|
namespace: database
|
||||||
|
timeZone: "America/Chicago"
|
||||||
|
schedule:
|
||||||
|
cron: "0 * * * *"
|
||||||
|
suspend: false
|
||||||
|
stagingStorage:
|
||||||
|
persistentVolumeClaim:
|
||||||
|
storageClassName: openebs-hostpath
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 6Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
podSecurityContext:
|
||||||
|
runAsUser: 568
|
||||||
|
runAsGroup: 568
|
||||||
|
fsGroup: 568
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
databases:
|
||||||
|
- pterodactyl
|
||||||
|
storage:
|
||||||
|
s3:
|
||||||
|
endpoint: s3.hsn.dev
|
||||||
|
bucket: mariadb
|
||||||
|
prefix: pterodactyl/
|
||||||
|
accessKeyIdSecretKeyRef:
|
||||||
|
name: mariadb-secret
|
||||||
|
key: AWS_ACCESS_KEY_ID
|
||||||
|
secretAccessKeySecretKeyRef:
|
||||||
|
name: mariadb-secret
|
||||||
|
key: AWS_SECRET_ACCESS_KEY
|
||||||
|
|
|
@ -46,44 +46,3 @@ spec:
|
||||||
username: pterodactyl
|
username: pterodactyl
|
||||||
grantOption: true
|
grantOption: true
|
||||||
host: "%"
|
host: "%"
|
||||||
---
|
|
||||||
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.mariadb.com/backup_v1alpha1.json
|
|
||||||
apiVersion: k8s.mariadb.com/v1alpha1
|
|
||||||
kind: Backup
|
|
||||||
metadata:
|
|
||||||
name: &name mariadb-pterodactyl-backup
|
|
||||||
namespace: database
|
|
||||||
spec:
|
|
||||||
mariaDbRef:
|
|
||||||
name: mariadb
|
|
||||||
namespace: database
|
|
||||||
timeZone: "America/Chicago"
|
|
||||||
schedule:
|
|
||||||
cron: "0 * * * *"
|
|
||||||
suspend: false
|
|
||||||
stagingStorage:
|
|
||||||
persistentVolumeClaim:
|
|
||||||
storageClassName: openebs-hostpath
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 6Gi
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
podSecurityContext:
|
|
||||||
runAsUser: 568
|
|
||||||
runAsGroup: 568
|
|
||||||
fsGroup: 568
|
|
||||||
fsGroupChangePolicy: OnRootMismatch
|
|
||||||
databases:
|
|
||||||
- pterodactyl
|
|
||||||
storage:
|
|
||||||
s3:
|
|
||||||
endpoint: s3.hsn.dev
|
|
||||||
bucket: mariadb
|
|
||||||
prefix: pterodactyl/
|
|
||||||
accessKeyIdSecretKeyRef:
|
|
||||||
name: mariadb-secret
|
|
||||||
key: AWS_ACCESS_KEY_ID
|
|
||||||
secretAccessKeySecretKeyRef:
|
|
||||||
name: mariadb-secret
|
|
||||||
key: AWS_SECRET_ACCESS_KEY
|
|
||||||
|
|
Loading…
Reference in a new issue