diff --git a/config/neo4j.yml b/config/neo4j.yml index 78d1ba3cd..0165338db 100644 --- a/config/neo4j.yml +++ b/config/neo4j.yml @@ -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: diff --git a/deployments/db-migration-worker.yml b/deployments/db-migration-worker.yml index 952cf0121..f4d427096 100644 --- a/deployments/db-migration-worker.yml +++ b/deployments/db-migration-worker.yml @@ -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 diff --git a/services/neo4j.yml b/services/neo4j.yml index 4ff0953a7..d6c7a95b4 100644 --- a/services/neo4j.yml +++ b/services/neo4j.yml @@ -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 diff --git a/volumes/mongo-export.yml b/volumes/mongo-export.yml index a5ef064cc..1fb537e5c 100644 --- a/volumes/mongo-export.yml +++ b/volumes/mongo-export.yml @@ -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 diff --git a/volumes/uploads.yml b/volumes/uploads.yml index 34b600aab..3a9dfcdad 100644 --- a/volumes/uploads.yml +++ b/volumes/uploads.yml @@ -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