aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/charts/sdc-cs/templates/pvc.yaml
blob: b0cd3bf238d179190437fda78408fbbaa4962618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: {{ include "common.fullname" . }}
  namespace: {{ include "common.namespace" . }}
  labels:
    app: {{ include "common.name" . }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
{{- if .Values.persistence.annotations }}
  annotations:
{{ toYaml .Values.persistence.annotations | indent 4 }}
{{- end }}
spec:
  selector:
    matchLabels:
      name: {{ include "common.fullname" . }}
  accessModes:
    - {{ .Values.persistence.accessMode }}
  resources:
    requests:
      storage: {{ .Values.persistence.size }}
{{- if .Values.persistence.storageClass }}
{{- if (eq "-" .Values.persistence.storageClass) }}
  storageClassName: ""
{{- else }}
  storageClassName: "{{ .Values.persistence.storageClass }}"
{{- end }}
{{- end }}
{{- end -}}
og-be/data/* catalog-be/.pydevproject catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default/ecomp-error-configuration.yaml catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default/error-configuration.yaml catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default/logback.xml catalog-be/sdc-backend/context.xml catalog-be/src/main/java/META-INF/MANIFEST.MF catalog-be/test-output/* # catalog-fe #------------------------------------------------------------ catalog-fe/src/main/webapp/* # catalog-ui #------------------------------------------------------------ catalog-ui/app/dist/* catalog-ui/app/robots.txt catalog-ui/app/scripts/**/*.js catalog-ui/app/scripts/**/*.js.map catalog-ui/app/scripts/references.ts catalog-ui/app/scripts/tsconfig.json catalog-ui/app/tsconfig.json catalog-ui/Chrome* catalog-ui/dist catalog-ui/.editorconfig catalog-ui/.jshintrc catalog-ui/node/* catalog-ui/node_modules/ catalog-ui/npm-debug.log catalog-ui/package-lock.json catalog-ui/PhantomJS_1.9.8_(Windows_7_0.0.0)/* catalog-ui/tests/Coverage/* catalog-ui/*.tmp.txt catalog-ui/.yo-rc.json *.checkstyle *.css *.css.map # data #------------------------------------------------------------ data/compute.png data/loadbalancer.png data/mysql.png data/network.png data/normative-types-blockStorage.yml data/normative-types-compute.yml data/normative-types-database.yml data/normative-types-DBMS.yml data/normative-types-network.yml data/normative-types-objectStorage.yml data/normative-types-root.yml data/normative-types-softwareComponent.yml data/normative-types-webApplication.yml data/normative-types-webServer.yml data/objectstore.png data/relational_db.png data/root.png data/router.png data/software.png data/volume.png # dox-sequence-diagram-ui #------------------------------------------------------------ dox-sequence-diagram-ui/node/* **/.factorypath *.kpf .metadata/ node/* *normatives.tar.gz # openecomp-be #------------------------------------------------------------ openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/vsp_* openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/alter_tables.cql openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/init_keyspaces.cql openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/init_schemas.cql openecomp-be/tools/swagger-ui/api-docs/api.html openecomp-be/tools/swagger-ui/api-docs/api.json # openecomp-ui #------------------------------------------------------------ openecomp-ui/node/* openecomp-ui/yarn.lock *.orig .project /sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/tools/build/scripts/* # sdc-os-chef #------------------------------------------------------------ sdc-os-chef/.idea/* # test-apis-ci #------------------------------------------------------------ test-apis-ci/extent.html test-apis-ci/ExtentReport/* test-apis-ci/ExtentReport/ASDC_CI_Extent_Report.html test-apis-ci/logfile.log* test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites/* test-apis-ci/test-output/* # ui-ci #------------------------------------------------------------ ui-ci/ExtentReport/* ui-ci/logfile.log* ui-ci/src/main/resources/Files/output/* ui-ci/src/main/resources/Files/outputMainServiceTemplate/* ui-ci/.tern-project ui-ci/test-output/* #------------------------------------------------------------ utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/files/default/logback.xml vagrant-asdc-all-in-one/ Vagrantfile *.xls