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:
@@ -19,35 +20,35 @@ spec:
app: uptime-kuma app: uptime-kuma
spec: spec:
containers: containers:
- name: uptime-kuma - name: uptime-kuma
image: louislam/uptime-kuma:1.23.16 image: louislam/uptime-kuma:1.23.16
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 3001 - containerPort: 3001
name: web-ui name: web-ui
resources: resources:
limits: limits:
cpu: 200m cpu: 200m
memory: 512Mi memory: 512Mi
requests: requests:
cpu: 50m cpu: 50m
memory: 128Mi memory: 128Mi
livenessProbe: livenessProbe:
tcpSocket: tcpSocket:
port: web-ui port: web-ui
initialDelaySeconds: 60 initialDelaySeconds: 60
periodSeconds: 10 periodSeconds: 10
readinessProbe: readinessProbe:
httpGet: httpGet:
scheme: HTTP scheme: HTTP
path: / path: /
port: web-ui port: web-ui
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /app/data mountPath: /app/data
volumes: volumes:
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim:
claimName: uptime-kuma-pvc claimName: uptime-kuma-pvc

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: