fix: pre-commit

This commit is contained in:
auricom
2022-01-27 12:12:36 +01:00
parent b50b005cf3
commit 787c4e760e
12 changed files with 69 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ repos:
- id: yamllint
args:
- --config-file
- .github/lint/.yamllint.yaml
- .github/linters/.yamllint.yaml
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
@@ -40,4 +40,4 @@ repos:
- id: markdownlint
args:
- --config
- ".github/lint/.markdownlint.yaml"
- ".github/linters/.markdownlint.yaml"

View File

@@ -2,6 +2,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
- backup-pvc.yaml
- monitoring
- profiles

View File

@@ -0,0 +1,20 @@
---
kind: Profile
apiVersion: config.kio.kasten.io/v1alpha1
metadata:
name: home
namespace: kasten-io
spec:
locationSpec:
type: FileStore
fileStore:
claimName: k10-backups
path: home
credential:
secretType: ""
secret:
apiVersion: ""
kind: ""
name: ""
namespace: ""
type: Location

View File

@@ -0,0 +1,20 @@
---
kind: Profile
apiVersion: config.kio.kasten.io/v1alpha1
metadata:
name: k10-disaster-recovery
namespace: kasten-io
spec:
locationSpec:
type: FileStore
fileStore:
claimName: k10-backups
path: k10-disaster-recovery
credential:
secretType: ""
secret:
apiVersion: ""
kind: ""
name: ""
namespace: ""
type: Location

View File

@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- prometheus-rule.yaml
- service-monitor.yaml

View File

@@ -2,5 +2,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- k10

View File

@@ -1,5 +0,0 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: kasten-io

View File

@@ -16,6 +16,15 @@ spec:
name: kasten-charts
namespace: flux-system
interval: 5m
install:
createNamespace: true
crds: CreateReplace
remediation:
retries: 3
upgrade:
crds: CreateReplace
remediation:
retries: 3
values:
eula:
accept: true

View File

@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml

View File

@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- k10

View File

@@ -3,6 +3,7 @@ kind: Kustomization
resources:
- cert-manager
- flux-system
- kasten-io
- kube-system
- rook-ceph
- system-upgrade