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]
jobs:
validate-k8s-manifests:
validate-manifests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: validate manifests
- name: 📥Checkout
uses: actions/checkout@v3
- name: 🚀Validating the manifests
uses: frenck/action-yamllint@v1.5.0
with:
path: "manifests/"

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -19,35 +20,35 @@ spec:
app: uptime-kuma
spec:
containers:
- name: uptime-kuma
image: louislam/uptime-kuma:1.23.16
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3001
name: web-ui
resources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 50m
memory: 128Mi
livenessProbe:
tcpSocket:
port: web-ui
initialDelaySeconds: 60
periodSeconds: 10
readinessProbe:
httpGet:
scheme: HTTP
path: /
port: web-ui
initialDelaySeconds: 30
periodSeconds: 10
volumeMounts:
- name: data
mountPath: /app/data
- name: uptime-kuma
image: louislam/uptime-kuma:1.23.16
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3001
name: web-ui
resources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 50m
memory: 128Mi
livenessProbe:
tcpSocket:
port: web-ui
initialDelaySeconds: 60
periodSeconds: 10
readinessProbe:
httpGet:
scheme: HTTP
path: /
port: web-ui
initialDelaySeconds: 30
periodSeconds: 10
volumeMounts:
- name: data
mountPath: /app/data
volumes:
- name: data
persistentVolumeClaim:
claimName: uptime-kuma-pvc
- name: data
persistentVolumeClaim:
claimName: uptime-kuma-pvc

View File

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

View File

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

View File

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

View File

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