Skip to content
Snippets Groups Projects
Commit e4604cfe authored by Sumra Zafar's avatar Sumra Zafar
Browse files

Adding presistant storage

parent f7d4ff7c
No related branches found
No related tags found
1 merge request!18Resolve "Azure Test Failing"
Pipeline #21092 failed
......@@ -5,7 +5,8 @@ variables:
AZURE_BUILD_SUBDIR: provider/crs-converter-azure/crs-converter-aks
AZURE_TEST_SUBDIR: testing/crs_converter_test_azure
AZURE_TEST_TYPE: python
ESRI_DATA_PATH: provider/crs-converter-azure/crs-converter-aks
ESRI_DATA_PATH: /crs
SHARE_NAME: crs
AWS_BUILD_SUBDIR: provider/crs-converter-aws/build-aws
AWS_TEST_SUBDIR: testing/crs_converter_test_aws
......
apiVersion: v1
kind: PersistentVolume
metadata:
name: crs-pv
namespace: osdu
labels:
usage: crs-pv
spec:
capacity:
storage: 5Gi
accessModes:
- ReadOnlyMany
azureFile:
secretName: airflow
shareName: crs
volumeMode: Filesystem
mountOptions:
- dir_mode=0777
- file_mode=0777
- uid=1000
- gid=1000
- mfsymlinks
- nobrl
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: crs-pvc
namespace: osdu
# Set this annotation to NOT let Kubernetes automatically create
# a persistent volume for this volume claim.
annotations:
volume.beta.kubernetes.io/storage-class: ""
spec:
accessModes:
- ReadOnlyMany
resources:
requests:
storage: 5Gi
selector:
matchLabels:
usage: crs-pv
......@@ -43,6 +43,9 @@ spec:
readOnly: true
volumeAttributes:
secretProviderClass: azure-keyvault
- name: shared-data
persistentVolumeClaim:
claimName: crs-pvc
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}/{{ .Chart.Name }}-{{ .Values.image.branch }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment