...

Text file src/k8s.io/kubernetes/test/e2e/testing-manifests/storage-csi/mock/csi-mock-driver-attacher.yaml

Documentation: k8s.io/kubernetes/test/e2e/testing-manifests/storage-csi/mock

     1kind: StatefulSet
     2apiVersion: apps/v1
     3metadata:
     4  name: csi-mockplugin-attacher
     5spec:
     6  selector:
     7    matchLabels:
     8      app: csi-mockplugin-attacher
     9  replicas: 1
    10  template:
    11    metadata:
    12      labels:
    13        app: csi-mockplugin-attacher
    14    spec:
    15      serviceAccountName: csi-mock
    16      containers:
    17        - name: csi-attacher
    18          image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0
    19          args:
    20            - --v=5
    21            - --csi-address=$(ADDRESS)
    22          env:
    23            - name: ADDRESS
    24              value: /csi/csi.sock
    25          securityContext:
    26            privileged: true
    27          volumeMounts:
    28          - mountPath: /csi
    29            name: socket-dir
    30      volumes:
    31        - hostPath:
    32            path: /var/lib/kubelet/plugins/csi-mock
    33            type: DirectoryOrCreate
    34          name: socket-dir
    35

View as plain text