Dont reference non existant namespace
This commit is contained in:
parent
b42f3d8470
commit
4475a05b40
|
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: redis
|
||||
namespace: customer
|
||||
labels:
|
||||
app.kubernetes.io/name: redis
|
||||
spec:
|
||||
|
|
|
@ -5,7 +5,6 @@ metadata:
|
|||
labels:
|
||||
app: redis
|
||||
name: redis
|
||||
namespace: customer
|
||||
spec:
|
||||
ports:
|
||||
- name: redis
|
||||
|
|
|
@ -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
|
|
@ -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: {}
|
|
@ -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
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: vr
|
||||
spec:
|
||||
finalizers:
|
||||
- kubernetes
|
|
@ -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
|
|
@ -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: ""
|
|
@ -1,11 +0,0 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: sto4
|
||||
namespace: vr
|
||||
spec:
|
||||
type: ExternalName
|
||||
externalName: s3.sto4.safedc.net
|
||||
ports:
|
||||
- port: 443
|
Loading…
Reference in a new issue