Fix certain configuration for Digital Ocean

This commit is contained in:
Robert Schäfer 2019-02-01 23:34:19 +01:00
parent d8c23c3452
commit af15ec6393
5 changed files with 9 additions and 44 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
data:
NEO4J_URI: "bolt://neo4j.staging:7687"
NEO4J_URI: "bolt://nitro-neo4j.staging:7687"
NEO4J_USER: "neo4j"
NEO4J_AUTH: none
metadata:

View File

@ -76,19 +76,6 @@
restartPolicy: Always
terminationGracePeriodSeconds: 30
status: {}
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: ssh-keys-volume
namespace: staging
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 1Mi
hostPath:
path: /data/pv0001/
---
kind: PersistentVolumeClaim
apiVersion: v1
@ -100,4 +87,6 @@
- ReadWriteOnce
resources:
requests:
storage: 1Mi
# waaay too much
# unfortunately Digital Oceans volumes start at 1Gi
storage: 1Gi

View File

@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: neo4j
name: nitro-neo4j
namespace: staging
labels:
workload.user.cattle.io/workloadselector: deployment-staging-neo4j

View File

@ -1,16 +1,3 @@
---
kind: PersistentVolume
apiVersion: v1
metadata:
name: mongo-export-volume
namespace: staging
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 1Gi
hostPath:
path: /data/shared/mongo-exports/
---
kind: PersistentVolumeClaim
apiVersion: v1
@ -19,7 +6,8 @@
namespace: staging
spec:
accessModes:
- ReadWriteMany
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: do-block-storage

View File

@ -1,16 +1,3 @@
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: uploads-volume
namespace: staging
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 8Gi
hostPath:
path: /data/shared/uploads/
---
kind: PersistentVolumeClaim
apiVersion: v1
@ -19,7 +6,8 @@
namespace: staging
spec:
accessModes:
- ReadWriteMany
- ReadWriteOnce
resources:
requests:
storage: 8Gi
storageClassName: do-block-storage