diff --git a/ingress.yaml b/ingress.yaml deleted file mode 100644 index aaea33b..0000000 --- a/ingress.yaml +++ /dev/null @@ -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 diff --git a/kustomization.yaml b/kustomization.yaml deleted file mode 100644 index 5e03524..0000000 --- a/kustomization.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- nginx-deployment.yaml -- service.yaml -- ingress.yaml diff --git a/nginx-deployment.yaml b/nginx-deployment.yaml deleted file mode 100644 index 093eb90..0000000 --- a/nginx-deployment.yaml +++ /dev/null @@ -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 diff --git a/public/index.html b/public/index.html index 3736bc5..434ceb9 100644 --- a/public/index.html +++ b/public/index.html @@ -2,7 +2,6 @@ World -

🚀 Hello from GitOps!

-

Deployed via Argo CD. Commit SHA: {{ .Commit }}

+

hello world

\ No newline at end of file diff --git a/service.yaml b/service.yaml deleted file mode 100644 index f133bc6..0000000 --- a/service.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nginx-test -spec: - selector: - app: nginx-test - ports: - - port: 80 - targetPort: 80