[INIT]
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m31s

This commit is contained in:
Remy
2026-02-18 08:34:59 +00:00
commit d81b868297
2 changed files with 74 additions and 0 deletions

58
application.yaml Normal file
View File

@@ -0,0 +1,58 @@
# 1. Le Deployment (le pod Nginx)
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-nginx
labels:
app: hello-nginx
spec:
replicas: 1
selector:
matchLabels:
app: hello-nginx
template:
metadata:
labels:
app: hello-nginx
spec:
containers:
- name: nginx
image: nginxdemos/hello:plain-text
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: hello-nginx-svc
spec:
selector:
app: hello-nginx
ports:
- protocol: TCP
port: 80
targetPort: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: hello-world-ingress
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
kubernetes.io/ingress.class: nginx
spec:
tls:
- hosts:
- test.remynln.fr
secretName: test-remynln-tls
rules:
- host: test.remynln.fr
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: hello-nginx-svc
port:
number: 80