Merge pull request 'Add yamllint to Woodpecker CI' (#154) from improce_ci into main
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful

Reviewed-on: #154
Reviewed-by: Aaron Riedel <git@ar21.de>
This commit is contained in:
Tom Neuber 2024-10-07 13:45:49 +02:00
commit e868463399
67 changed files with 702 additions and 631 deletions

View file

@ -1,3 +1,4 @@
---
kind: pipeline
name: deploy
steps:

View file

@ -0,0 +1,8 @@
---
steps:
- name: linting
image: cytopia/yamllint:latest
commands:
- yamllint -f colored -s .
when:
- event: push

10
.yamllint Normal file
View file

@ -0,0 +1,10 @@
---
yaml-files:
- '*.yaml'
- '*.yml'
- '.yamllint'
extends: default
rules:
line-length: disable

View file

@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
generators:

View file

@ -1,3 +1,4 @@
---
apiVersion: viaduct.ai/v1
kind: ksops
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -1,3 +1,4 @@
---
global:
domain: argo.services.yolokube.de
configs:

View file

@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
generators:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: viaduct.ai/v1
kind: ksops
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:

View file

@ -1,3 +1,4 @@
---
namespace: cert-manager
replicaCount: 3
podDisruptionBudget:

View file

@ -1,3 +1,4 @@
---
encryption:
enabled: false
ipam:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:

View file

@ -1,3 +1,4 @@
---
resources:
- ../../base
apiVersion: kustomize.config.k8s.io/v1beta1

View file

@ -1,3 +1,4 @@
---
resources:
- ../../base
apiVersion: kustomize.config.k8s.io/v1beta1

View file

@ -1,3 +1,4 @@
---
controller:
enableSnippets: true
hostNetwork: true

View file

@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
generators:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: viaduct.ai/v1
kind: ksops
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -1,3 +1,4 @@
---
loki:
auth_enabled: false
persistence:

View file

@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
generators:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: longhorn.io/v1beta1
kind: RecurringJob
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: viaduct.ai/v1
kind: ksops
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -1,3 +1,4 @@
---
# this is the storageclass manifest for the logs and metrics volumes
kind: StorageClass
apiVersion: storage.k8s.io/v1

View file

@ -1,3 +1,4 @@
---
persistence:
recurringJobSelector:
enable: true

View file

@ -1,3 +1,4 @@
---
kind: VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
generators:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: viaduct.ai/v1
kind: ksops
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: ConfigMap
metadata:

View file

@ -1,3 +1,4 @@
---
alertmanager:
alertmanagerSpec:
podAntiAffinity: "hard"

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
generators:

View file

@ -1,3 +1,4 @@
---
apiVersion: viaduct.ai/v1
kind: ksops
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: networking.k8s.io/v1
kind: IngressClass
metadata:

View file

@ -1,3 +1,4 @@
---
deployment:
kind: DaemonSet
minReadySeconds: 120

View file

@ -1,3 +1,4 @@
---
controlPlane:
distro:
k8s:

View file

@ -1,3 +1,4 @@
---
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:

View file

@ -1,3 +1,4 @@
---
controlPlane:
distro:
k8s:

View file

@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
generators:

View file

@ -1,3 +1,4 @@
---
apiVersion: viaduct.ai/v1
kind: ksops
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -1,3 +1,4 @@
---
server:
ingress:
# -- Enable the ingress for the server component