From 866da71435dc567e456a567d3f9cc568d00f8287 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 19 Mar 2024 21:20:07 +0100 Subject: [PATCH] Remove vr from kube deployment --- customers/overlays/vr/test/kustomization.yaml | 7 ---- .../overlays/vr/test/nextcloud-deployment.yml | 35 ------------------- .../overlays/vr/test/nextcloud-ingress.yml | 26 -------------- 3 files changed, 68 deletions(-) delete mode 100644 customers/overlays/vr/test/kustomization.yaml delete mode 100644 customers/overlays/vr/test/nextcloud-deployment.yml delete mode 100644 customers/overlays/vr/test/nextcloud-ingress.yml diff --git a/customers/overlays/vr/test/kustomization.yaml b/customers/overlays/vr/test/kustomization.yaml deleted file mode 100644 index e258878..0000000 --- a/customers/overlays/vr/test/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- ../../../base -patches: -- path: nextcloud-deployment.yml -- path: nextcloud-ingress.yml diff --git a/customers/overlays/vr/test/nextcloud-deployment.yml b/customers/overlays/vr/test/nextcloud-deployment.yml deleted file mode 100644 index ec67a76..0000000 --- a/customers/overlays/vr/test/nextcloud-deployment.yml +++ /dev/null @@ -1,35 +0,0 @@ -kind: StatefulSet -apiVersion: apps/v1 -metadata: - name: customer-node - labels: - app: customer-node -spec: - replicas: 1 - template: - metadata: - labels: - app: customer-node - spec: - initContainers: - - image: docker.sunet.se/sunet/docker-jinja:latest - name: init-config - env: - - name: MYSQL_DATABASE - value: "nextcloud_vr" - - name: MYSQL_USER - value: "nextcloud_vr" - - name: GSS_MASTER_URL - value: "https://drive.test.sunet.se" - - name: LOOKUP_SERVER - value: "https://lookup.drive.test.sunet.se" - - name: MAIL_DOMAIN - value: "drive.test.sunet.se" - - name: MAIL_SMTPNAME - value: "noreply@drive.test.sunet.se" - - name: NEXTCLOUD_TRUSTED_DOMAINS - value: "vr.drive.test.sunet.se" - - name: OBJECTSTORE_S3_BUCKET - value: "primary-vr-drive-test.sunet.se" - - name: SITE_NAME - value: "vr.drive.test.sunet.se" diff --git a/customers/overlays/vr/test/nextcloud-ingress.yml b/customers/overlays/vr/test/nextcloud-ingress.yml deleted file mode 100644 index 9bec27e..0000000 --- a/customers/overlays/vr/test/nextcloud-ingress.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: customer-ingress - annotations: - kubernetes.io/ingress.class: traefik - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.tls: "true" -spec: - tls: - - hosts: - - vr.drive.test.sunet.se - secretName: tls-secret - - rules: - - host: vr.drive.test.sunet.se - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: customer-node - port: - number: 80