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 kind: pipeline
name: deploy name: deploy
steps: 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 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
generators: generators:

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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