Skip to content

Commit

Permalink
chore: use persistent volumes instead of managed nfs storage on produ…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
f-stibane committed Jul 1, 2021
1 parent 92e6c24 commit f3c5df1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@ metadata:
labels:
{{- include "iris-gateway.locations-postgres-backup-labels" . | nindent 4 }}
spec:
{{- if (eq .Values.environment "test") }}
accessModes:
- ReadWriteMany
storageClassName: ""
volumeName: locations-postgres-backups
{{- else }}
accessModes:
- ReadWriteOnce
storageClassName: managed-nfs-storage
{{- end }}
resources:
requests:
storage: 10Gi
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@ metadata:
labels:
{{- include "iris-gateway.locations-postgres-labels" . | nindent 4 }}
spec:
{{- if (eq .Values.environment "test") }}
accessModes:
- ReadWriteMany
storageClassName: ""
volumeName: locations-postgres
{{- else }}
accessModes:
- ReadWriteOnce
storageClassName: managed-nfs-storage
{{- end }}
resources:
requests:
storage: 10Gi
6 changes: 0 additions & 6 deletions infrastructure/iris-gateway/templates/public-proxy/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@ metadata:
labels:
{{- include "iris-gateway.public-proxy-labels" . | nindent 4 }}
spec:
{{- if (eq .Values.environment "test") }}
accessModes:
- ReadWriteMany
storageClassName: ""
volumeName: public-proxy
{{- else }}
accessModes:
- ReadWriteOnce
storageClassName: managed-nfs-storage
{{- end }}
resources:
requests:
storage: 1Gi
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@ metadata:
labels:
{{- include "iris-gateway.service-directory-labels" . | nindent 4 }}
spec:
{{- if (eq .Values.environment "test") }}
accessModes:
- ReadWriteMany
storageClassName: ""
volumeName: service-directory
{{- else }}
accessModes:
- ReadWriteOnce
storageClassName: managed-nfs-storage
{{- end }}
resources:
requests:
storage: 1Gi

0 comments on commit f3c5df1

Please sign in to comment.