From 30c5f6ec6316ee0fd16ba52967e80665a9edb456 Mon Sep 17 00:00:00 2001 From: Ernest Wong Date: Thu, 21 May 2020 22:02:30 -0400 Subject: [PATCH] Azure: grant privileged context to azure file unit test --- .../azurefile-csi-driver/azurefile-csi-driver-config.yaml | 2 ++ .../jobs/kubernetes/sig-cloud-provider/azure/release-1.16.yaml | 1 + .../jobs/kubernetes/sig-cloud-provider/azure/release-1.17.yaml | 1 + .../jobs/kubernetes/sig-cloud-provider/azure/release-1.18.yaml | 1 + 4 files changed, 5 insertions(+) diff --git a/config/jobs/kubernetes-sigs/azurefile-csi-driver/azurefile-csi-driver-config.yaml b/config/jobs/kubernetes-sigs/azurefile-csi-driver/azurefile-csi-driver-config.yaml index 1118c88de1b7..78da0cc4999a 100644 --- a/config/jobs/kubernetes-sigs/azurefile-csi-driver/azurefile-csi-driver-config.yaml +++ b/config/jobs/kubernetes-sigs/azurefile-csi-driver/azurefile-csi-driver-config.yaml @@ -37,6 +37,8 @@ presubmits: args: - make - unit-test + securityContext: + privileged: true annotations: testgrid-dashboards: provider-azure-azurefile-csi-driver, provider-azure-presubmit testgrid-tab-name: pr-azurefile-csi-driver-unit diff --git a/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.16.yaml b/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.16.yaml index f8ce790c71db..29111f45a86b 100644 --- a/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.16.yaml +++ b/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.16.yaml @@ -456,6 +456,7 @@ periodics: - bash - -c - >- + kubectl apply -f templates/addons/azurefile-role.yaml && cd ${GOPATH}/src/sigs.k8s.io/azurefile-csi-driver && make e2e-test env: diff --git a/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.17.yaml b/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.17.yaml index ce6b3be8a30a..df557ba392cc 100644 --- a/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.17.yaml +++ b/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.17.yaml @@ -456,6 +456,7 @@ periodics: - bash - -c - >- + kubectl apply -f templates/addons/azurefile-role.yaml && cd ${GOPATH}/src/sigs.k8s.io/azurefile-csi-driver && make e2e-test env: diff --git a/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.18.yaml b/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.18.yaml index 5a475bda56dd..cc7368bc2329 100644 --- a/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.18.yaml +++ b/config/jobs/kubernetes/sig-cloud-provider/azure/release-1.18.yaml @@ -456,6 +456,7 @@ periodics: - bash - -c - >- + kubectl apply -f templates/addons/azurefile-role.yaml && cd ${GOPATH}/src/sigs.k8s.io/azurefile-csi-driver && make e2e-test env: