apiVersion: apps/v1 kind: Deployment metadata: name: local-path-provisioner namespace: local-storage-provider spec: replicas: 1 selector: matchLabels: app: local-path-provisioner template: metadata: labels: app: local-path-provisioner annotations: rancher/local.storage.provisioner: "reprovision" spec: serviceAccountName: local-path-provisioner-service-account priorityClassName: edge-p1-critical-infra # TODO(bc185174): reduce to edge-p3-workload-services when linkerdctl does not depend on it containers: - name: local-path-provisioner image: bzl://third_party/k8s/rancher-local-storage:container_push command: - local-path-provisioner - --debug - start - --config - /etc/config/config.json env: - name: POD_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace volumeMounts: - name: config-volume mountPath: /etc/config/ imagePullPolicy: IfNotPresent volumes: - name: config-volume configMap: name: local-path-config