github.com/microsoft/fabrikate@v1.0.0-alpha.1.0.20210115014322-dc09194d0885/testdata/generate-remote-static/components/keyvault-sub/keyvault-sub.yaml (about) 1 apiVersion: v1 2 kind: Namespace 3 metadata: 4 name: kv 5 --- 6 apiVersion: extensions/v1beta1 7 kind: DaemonSet 8 metadata: 9 labels: 10 app: keyvault-flexvolume 11 name: keyvault-flexvolume 12 namespace: kv 13 spec: 14 updateStrategy: 15 type: RollingUpdate 16 template: 17 metadata: 18 labels: 19 app: keyvault-flexvolume 20 spec: 21 tolerations: 22 containers: 23 - name: flexvol-driver-installer 24 image: "mcr.microsoft.com/k8s/flexvolume/keyvault-flexvolume:v0.0.13" 25 imagePullPolicy: Always 26 resources: 27 requests: 28 cpu: 50m 29 memory: 100Mi 30 limits: 31 cpu: 50m 32 memory: 100Mi 33 env: 34 # if you have used flex before on your cluster, use same directory 35 # set TARGET_DIR env var and mount the same directory to to the container 36 - name: TARGET_DIR 37 value: "/etc/kubernetes/volumeplugins" 38 volumeMounts: 39 - mountPath: "/etc/kubernetes/volumeplugins" 40 name: volplugins 41 volumes: 42 - hostPath: 43 # Modify this directory if your nodes are using a different one 44 # default is "/usr/libexec/kubernetes/kubelet-plugins/volume/exec" 45 # below is Azure default 46 path: "/etc/kubernetes/volumeplugins" 47 name: volplugins 48 nodeSelector: 49 beta.kubernetes.io/os: linux