diff --git a/customers/base/redis-deployment.yml b/customers/base/redis-deployment.yml index 1cdd965..6c1047c 100644 --- a/customers/base/redis-deployment.yml +++ b/customers/base/redis-deployment.yml @@ -2,7 +2,6 @@ apiVersion: apps/v1 kind: Deployment metadata: name: redis - namespace: customer labels: app.kubernetes.io/name: redis spec: diff --git a/customers/base/redis-service.yml b/customers/base/redis-service.yml index 50225a4..755ea2f 100644 --- a/customers/base/redis-service.yml +++ b/customers/base/redis-service.yml @@ -5,7 +5,6 @@ metadata: labels: app: redis name: redis - namespace: customer spec: ports: - name: redis diff --git a/customers/overlays/vr/prod/kustomization.yaml b/customers/overlays/vr/prod/kustomization.yaml deleted file mode 100644 index 970167b..0000000 --- a/customers/overlays/vr/prod/kustomization.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: 'kustomize.config.k8s.io/v1beta1' -kind: Kustomization -bases: -- ../../../base -patchesStrategicMerge: - - nextcloud-deployment.yml - - nextcloud-ingress.yml - - nextcloud-namespace.yml - - nextcloud-pvc.yml - - nextcloud-service.yml - - s3-service.yml diff --git a/customers/overlays/vr/prod/nextcloud-deployment.yml b/customers/overlays/vr/prod/nextcloud-deployment.yml deleted file mode 100644 index 85c0dad..0000000 --- a/customers/overlays/vr/prod/nextcloud-deployment.yml +++ /dev/null @@ -1,54 +0,0 @@ ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: vr-node - namespace: vr - labels: - app: vr-node -spec: - replicas: 1 - selector: - matchLabels: - app: vr-node - template: - metadata: - creationTimestamp: - labels: - app: vr-node - spec: - volumes: - - name: server-storage - persistentVolumeClaim: - claimName: vr-shared-storage-claim - containers: - - name: vr - image: docker.sunet.se/drive/nextcloud-custom:25.0.3.3-4 - volumeMounts: - - name: server-storage - mountPath: /var/www/html - subPath: server-data - env: - - name: GSS_MASTER_URL - value: "https://drive.sunet.se" - - name: LOOKUP_SERVER - value: "https://lookup.drive.sunet.se" - - name: MAIL_DOMAIN - value: "drive.sunet.se" - - name: MAIL_SMTPNAME - value: "noreply@drive.sunet.se" - - name: MYSQL_DATABASE - value: "vr_nextcloud" - - name: MYSQL_USER - value: "vr_nextcloud" - - name: NEXTCLOUD_TRUSTED_DOMAINS - value: "vr.drive.sunet.se" - - name: NEXTCLOUD_VERSION_STRING - value: "25.0.3.3" - - name: OBJECTSTORE_S3_BUCKET - value: "primary-vr-drive.sunet.se" - - name: SITE_NAME - value: "vr.drive.sunet.se" - resources: {} - strategy: {} -status: {} diff --git a/customers/overlays/vr/prod/nextcloud-ingress.yml b/customers/overlays/vr/prod/nextcloud-ingress.yml deleted file mode 100644 index 29679c6..0000000 --- a/customers/overlays/vr/prod/nextcloud-ingress.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: vr-ingress - namespace: vr - annotations: - kubernetes.io/ingress.class: traefik - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.tls: "true" -spec: - defaultBackend: - service: - name: vr-node - port: - number: 8443 - tls: - - hosts: - - vr.drive.sunet.se - secretName: tls-secret - - rules: - - host: vr.drive.sunet.se - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: vr-node - port: - number: 80 diff --git a/customers/overlays/vr/prod/nextcloud-namespace.yml b/customers/overlays/vr/prod/nextcloud-namespace.yml deleted file mode 100644 index 087798c..0000000 --- a/customers/overlays/vr/prod/nextcloud-namespace.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -apiVersion: v1 -kind: Namespace -metadata: - name: vr -spec: - finalizers: - - kubernetes diff --git a/customers/overlays/vr/prod/nextcloud-pvc.yml b/customers/overlays/vr/prod/nextcloud-pvc.yml deleted file mode 100644 index e6251e9..0000000 --- a/customers/overlays/vr/prod/nextcloud-pvc.yml +++ /dev/null @@ -1,15 +0,0 @@ ---- -kind: PersistentVolumeClaim -apiVersion: v1 -metadata: - name: vr-shared-storage-claim - namespace: vr - annotations: - volume.beta.kubernetes.io/storage-class: openebs-jiva-3repl -spec: - storageClassName: openebs-jiva-3repl - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 5G diff --git a/customers/overlays/vr/prod/nextcloud-service.yml b/customers/overlays/vr/prod/nextcloud-service.yml deleted file mode 100644 index 91b8d22..0000000 --- a/customers/overlays/vr/prod/nextcloud-service.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- -apiVersion: v1 -items: -- apiVersion: v1 - kind: Service - metadata: - labels: - app: vr-node - name: vr-node - namespace: vr - spec: - ports: - - port: 80 - protocol: TCP - targetPort: 80 - selector: - app: vr-node - sessionAffinity: None - type: ClusterIP - status: - loadBalancer: {} -kind: List -metadata: - resourceVersion: "" - selfLink: "" diff --git a/customers/overlays/vr/prod/s3-service.yml b/customers/overlays/vr/prod/s3-service.yml deleted file mode 100644 index 6d054af..0000000 --- a/customers/overlays/vr/prod/s3-service.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -apiVersion: v1 -kind: Service -metadata: - name: sto4 - namespace: vr -spec: - type: ExternalName - externalName: s3.sto4.safedc.net - ports: - - port: 443