Skip to content

Commit

Permalink
Switch storage class for cache PVC to Azure File.
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed Mar 18, 2024
1 parent 9082a8d commit 022e3ee
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions kustomize/base/pvc.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mapproxy-cache
name: mapproxy-cache-data
spec:
storageClassName: managed-csi-premium
storageClassName: azurefile-csi-premium
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
- ReadWriteMany
resources:
requests:
storage: 32Gi
8 changes: 4 additions & 4 deletions kustomize/overlays/prod/deployment_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ spec:
- /cache_data
volumeMounts:
- mountPath: /cache_data
name: mapproxy-cache
name: mapproxy-cache-data
containers:
- name: mapproxy
volumeMounts:
- mountPath: /app/config
name: mapproxy-configmap
- mountPath: /cache_data
name: mapproxy-cache
name: mapproxy-cache-data
volumes:
- name: mapproxy-configmap
configMap:
name: mapproxy-configmap-prod
defaultMode: 292
optional: false
- name: mapproxy-cache
- name: mapproxy-cache-data
persistentVolumeClaim:
claimName: mapproxy-cache-prod
claimName: mapproxy-cache-data-prod
8 changes: 4 additions & 4 deletions kustomize/overlays/uat/deployment_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ spec:
- /cache_data
volumeMounts:
- mountPath: /cache_data
name: mapproxy-cache
name: mapproxy-cache-data
containers:
- name: mapproxy
volumeMounts:
- mountPath: /app/config
name: mapproxy-configmap
- mountPath: /cache_data
name: mapproxy-cache
name: mapproxy-cache-data
volumes:
- name: mapproxy-configmap
configMap:
name: mapproxy-configmap-uat
defaultMode: 292
optional: false
- name: mapproxy-cache
- name: mapproxy-cache-data
persistentVolumeClaim:
claimName: mapproxy-cache-uat
claimName: mapproxy-cache-data-uat

0 comments on commit 022e3ee

Please sign in to comment.