# SOURCE: https://install.portworx.com/?comp=pxlibupdate®= --- apiVersion: v1 kind: ServiceAccount metadata: name: pxlib-update namespace: kube-system --- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: pxlib-update rules: --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: pxlib-update subjects: - kind: ServiceAccount name: pxlib-update namespace: kube-system roleRef: kind: ClusterRole name: pxlib-update apiGroup: rbac.authorization.k8s.io --- apiVersion: apps/v1 kind: DaemonSet metadata: name: px-libs-update namespace: kube-system spec: selector: matchLabels: name: px-libs-update minReadySeconds: 0 template: metadata: labels: name: px-libs-update spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: px/enabled operator: NotIn values: - "false" - key: node-role.kubernetes.io/master operator: DoesNotExist hostNetwork: true containers: - name: pxlib-update image: portworx/px-lib:pxfslibs-3.1.0.0-mver12-update imagePullPolicy: Always args: securityContext: privileged: true volumeMounts: - name: optpwx mountPath: /opt/pwx serviceAccountName: pxlib-update volumes: - name: optpwx hostPath: path: /opt/pwx