Dont reference non existant namespace

This commit is contained in:
Micke Nordin 2023-03-28 22:42:08 +02:00
parent b42f3d8470
commit 4475a05b40
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
9 changed files with 0 additions and 158 deletions

View file

@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: redis name: redis
namespace: customer
labels: labels:
app.kubernetes.io/name: redis app.kubernetes.io/name: redis
spec: spec:

View file

@ -5,7 +5,6 @@ metadata:
labels: labels:
app: redis app: redis
name: redis name: redis
namespace: customer
spec: spec:
ports: ports:
- name: redis - name: redis

View file

@ -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

View file

@ -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: {}

View file

@ -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

View file

@ -1,8 +0,0 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: vr
spec:
finalizers:
- kubernetes

View file

@ -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

View file

@ -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: ""

View file

@ -1,11 +0,0 @@
---
apiVersion: v1
kind: Service
metadata:
name: sto4
namespace: vr
spec:
type: ExternalName
externalName: s3.sto4.safedc.net
ports:
- port: 443