chore(gitea): updated validate k8s
Some checks failed
Validate K8s manifests / validate-manifests (push) Failing after 10s
Some checks failed
Validate K8s manifests / validate-manifests (push) Failing after 10s
This commit is contained in:
@@ -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/"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"]
|
||||||
|
|||||||
@@ -10,4 +10,3 @@ spec:
|
|||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- uptime.dgse.cloud
|
- uptime.dgse.cloud
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
Reference in New Issue
Block a user