gitops: add podinfo kustomization, remove everything related to kuard

which has no available image anyway
This commit is contained in:
Jan Novak
2025-12-30 23:36:01 +01:00
parent 817a3c8335
commit dd9a90e8b2
5 changed files with 2 additions and 78 deletions

View File

@@ -28,11 +28,11 @@ spec:
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: kuard
name: podinfo
namespace: flux-system
spec:
interval: 10m0s
path: ./gitops/home-kubernetes/kuard
path: ./gitops/home-kubernetes/podinfo
prune: true
sourceRef:
kind: GitRepository

View File

@@ -1,29 +0,0 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: kuard
namespace: kuard
spec:
selector:
matchLabels:
app: kuard
replicas: 1
template:
metadata:
labels:
app: kuard
spec:
containers:
- image: gcr.io/kuar-demo/kuard-amd64:blue
imagePullPolicy: Always
name: kuard
ports:
- containerPort: 8080
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 100m
memory: 100Mi

View File

@@ -1,29 +0,0 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kuard
namespace: kuard
spec:
ingressClassName: nginx
rules:
- host: test.kuard.dev
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kuard
port:
number: 80
- host: kuard.home.lab
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kuard
port:
number: 80

View File

@@ -1,5 +0,0 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: kuard

View File

@@ -1,13 +0,0 @@
---
apiVersion: v1
kind: Service
metadata:
name: kuard
namespace: kuard
spec:
ports:
- port: 80
targetPort: 8080
protocol: TCP
selector:
app: kuard