From 14472c593b671fa7d1e7442e679f0199b1813857 Mon Sep 17 00:00:00 2001 From: Olu Shiyanbade Date: Tue, 22 Nov 2022 10:46:46 +0000 Subject: [PATCH] delete local pv and pvc yamls --- nxrm-aws-resiliency/templates/pv.yaml | 28 -------------------------- nxrm-aws-resiliency/templates/pvc.yaml | 12 ----------- 2 files changed, 40 deletions(-) delete mode 100644 nxrm-aws-resiliency/templates/pv.yaml delete mode 100644 nxrm-aws-resiliency/templates/pvc.yaml diff --git a/nxrm-aws-resiliency/templates/pv.yaml b/nxrm-aws-resiliency/templates/pv.yaml deleted file mode 100644 index 747881d..0000000 --- a/nxrm-aws-resiliency/templates/pv.yaml +++ /dev/null @@ -1,28 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: {{ .Chart.Name }}-{{ .Chart.Version }}.{{ .Release.Name }}-ebs-pv -spec: - capacity: - storage: {{ .Values.pv.storage }} - volumeMode: Filesystem - accessModes: - - {{ .Values.pv.accessModes }} - persistentVolumeReclaimPolicy: {{ .Values.pv.reclaimPolicy }} - storageClassName: local-storage - local: - path: {{ .Values.pv.path }} - nodeAffinity: - required: - nodeSelectorTerms: - - matchExpressions: - - key: topology.kubernetes.io/zone - operator: In - values: - {{- range $zone := .Values.pv.zones }} - - {{ $zone }} - {{- end }} - - - - \ No newline at end of file diff --git a/nxrm-aws-resiliency/templates/pvc.yaml b/nxrm-aws-resiliency/templates/pvc.yaml deleted file mode 100644 index dd973ff..0000000 --- a/nxrm-aws-resiliency/templates/pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: {{ .Chart.Name }}-{{ .Chart.Version }}.{{ .Release.Name }}-ebs-claim - namespace: {{ .Values.namespaces.nexusNs }} -spec: - accessModes: - - {{ .Values.pvc.accessModes }} - storageClassName: local-storage - resources: - requests: - storage: {{ .Values.pvc.storage }} \ No newline at end of file