5 Commits

3 changed files with 95 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: vert
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: vert
name: cluster-fun (v2)
source:
path: manifests/vert
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data
+1 -1
View File
@@ -38,7 +38,7 @@ spec:
operator: "Exists" operator: "Exists"
automountServiceAccountToken: false automountServiceAccountToken: false
containers: containers:
- image: ghcr.io/google/cadvisor:0.56.2 - image: ghcr.io/google/cadvisor:v0.57.0
name: cadvisor name: cadvisor
ports: ports:
- containerPort: 8080 - containerPort: 8080
+69
View File
@@ -0,0 +1,69 @@
apiVersion: v1
kind: Service
metadata:
name: vert
namespace: vert
spec:
type: ClusterIP
ports:
- port: 80
targetPort: web
name: web
selector:
app: vert
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: vert
namespace: vert
spec:
replicas: 1
selector:
matchLabels:
app: vert
template:
metadata:
labels:
app: vert
spec:
containers:
- name: web
image: ghcr.io/vert-sh/vert:sha-438f91a
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
name: web
resources:
limits:
memory: 200Mi
requests:
memory: 200Mi
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: vert
namespace: vert
annotations:
cert-manager.io/cluster-issuer: letsencrypt
ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- vert.cluster.fun
secretName: vert-ingress
rules:
- host: vert.cluster.fun
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: vert
port:
number: 80