chore(gitea): updated validate k8s
Some checks failed
Validate K8s manifests / validate-manifests (push) Failing after 10s

This commit is contained in:
Daniël Groothuis
2025-10-23 19:01:14 +02:00
parent 2e4e040ffb
commit 2272911d7d
9 changed files with 45 additions and 37 deletions

View File

@@ -3,11 +3,12 @@ run-name: ${{ gitea.actor }} is validating K8s manifests
on: [push] on: [push]
jobs: jobs:
validate-k8s-manifests: validate-manifests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: 📥Checkout
- name: validate manifests uses: actions/checkout@v3
- name: 🚀Validating the manifests
uses: frenck/action-yamllint@v1.5.0 uses: frenck/action-yamllint@v1.5.0
with: with:
path: "manifests/" path: "manifests/"

View File

@@ -15,7 +15,9 @@ spec:
- name: argocd-server - name: argocd-server
port: 80 port: 80
- kind: Rule - kind: Rule
match: Host(`cd.dgse.cloud`) && Headers(`Content-Type`, `application/grpc`) match: >
Host(`cd.dgse.cloud`) &&
Headers(`Content-Type`, `application/grpc`)
priority: 11 priority: 11
services: services:
- name: argocd-server - name: argocd-server

View File

@@ -94,7 +94,8 @@ patches:
name: argocd-server name: argocd-server
rules: rules:
- apiGroups: ["argoproj.io"] - apiGroups: ["argoproj.io"]
resources: ["applications", "applications/status", "applications/finalizers"] resources: ["applications", "applications/status",
"applications/finalizers"]
verbs: ["get", "list", "watch", "update", "patch", "delete"] verbs: ["get", "list", "watch", "update", "patch", "delete"]
- apiGroups: ["argoproj.io"] - apiGroups: ["argoproj.io"]
resources: ["appprojects"] resources: ["appprojects"]

View File

@@ -10,4 +10,3 @@ spec:
kind: ClusterIssuer kind: ClusterIssuer
dnsNames: dnsNames:
- uptime.dgse.cloud - uptime.dgse.cloud

View File

@@ -1,3 +1,4 @@
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:

View File

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

View File

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

View File

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

View File

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