This commit is contained in:
samsep101
2026-01-05 16:42:52 +05:00
parent 30a3bcc955
commit 5ac08324f2
5 changed files with 1 additions and 61 deletions

View File

@@ -1,24 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nginx-test
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
tls:
- hosts:
- nginx-test.apps.kopikopi.com.ru
secretName: nginx-test-tls
rules:
- host: nginx-test.apps.kopikopi.com.ru
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginx-test
port:
number: 80

View File

@@ -1,6 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- nginx-deployment.yaml
- service.yaml
- ingress.yaml

View File

@@ -1,19 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-test
spec:
replicas: 1
selector:
matchLabels:
app: nginx-test
template:
metadata:
labels:
app: nginx-test
spec:
containers:
- name: nginx
image: nginx:alpine
ports:
- containerPort: 80

View File

@@ -2,7 +2,6 @@
<html>
<head><title>World</title></head>
<body>
<h1>🚀 Hello from GitOps!</h1>
<p>Deployed via Argo CD. Commit SHA: {{ .Commit }}</p>
<h1>hello world</h1>
</body>
</html>

View File

@@ -1,10 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: nginx-test
spec:
selector:
app: nginx-test
ports:
- port: 80
targetPort: 80