GitOps scaffold: Argo CD bootstrap, app-of-apps, example workload

This commit is contained in:
forgejoadmin 2026-08-16 09:28:48 +00:00
parent 3b609b3077
commit 7cc6824e01
6 changed files with 112 additions and 3 deletions

View file

@ -0,0 +1,32 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: example-app
namespace: example-app
spec:
replicas: 1
selector:
matchLabels:
app: example-app
template:
metadata:
labels:
app: example-app
spec:
containers:
- name: app
image: nginx:1.27-alpine
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: example-app
namespace: example-app
spec:
selector:
app: example-app
ports:
- port: 80
targetPort: 80