summaryrefslogtreecommitdiffstats
path: root/docs/samples/remote_storage/lsdf/lsdf.yml
blob: c091870c5b320f422a6516c162bb17952326276d (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
33
34
35
36
37
38
apiVersion: v1
kind: Template
metadata:
  name: lsdf
  annotations:
    descriptions: "LSDF volumes"
objects:
  - apiVersion: v1
    kind: Secret
    metadata:
      name: lsdf-csa
    type: openshift.io/cifs
    stringData:
      username: "gf6501"
      password: "<put_the_password_here>"
  - apiVersion: v1
    kind: PersistentVolume
    metadata:
      name: lsdf-ips
    spec:
      persistentVolumeReclaimPolicy: Retain
      accessModes:
        - ReadWriteMany
      capacity:
        storage: 100Ti
      claimRef:
        name: lsdf-ips
        namespace: test
      flexVolume:
        driver: openshift.io/cifs
        fsType: cifs
        secretRef:
          name: lsdf-csa
        options:
          networkPath: "//os.lsdf.kit.edu/ips-projects"
          mountOptions: "vers=2.0,domain=os.lsdf.kit.edu,file_mode=0664,dir_mode=0775"