Skip to content

Commit 8c41811

Browse files
authored
Merge pull request #342 from andyzhangx/loglevel
test: set lower loglevel in e2e test
2 parents 259b5df + a6b044a commit 8c41811

16 files changed

+9
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ IMAGE_TAG ?= $(REGISTRY)/$(IMAGE_NAME):$(IMAGE_VERSION)
2929
IMAGE_TAG_LATEST = $(REGISTRY)/$(IMAGE_NAME):latest
3030
BUILD_DATE ?= $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
3131
LDFLAGS ?= "-X ${PKG}/pkg/blob.driverVersion=${IMAGE_VERSION} -X ${PKG}/pkg/blob.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/blob.buildDate=${BUILD_DATE} -s -w -extldflags '-static'"
32-
E2E_HELM_OPTIONS ?= --set image.blob.pullPolicy=Always --set image.blob.repository=$(REGISTRY)/$(IMAGE_NAME) --set image.blob.tag=$(IMAGE_VERSION)
32+
E2E_HELM_OPTIONS ?= --set image.blob.pullPolicy=Always --set image.blob.repository=$(REGISTRY)/$(IMAGE_NAME) --set image.blob.tag=$(IMAGE_VERSION) --set controller.logLevel=8 --set node.logLevel=8
3333
GINKGO_FLAGS = -ginkgo.v
3434
GO111MODULE = on
3535
GOPATH ?= $(shell go env GOPATH)

charts/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ The following table lists the configurable parameters of the latest Azure Blob S
5757
| `controller.replicas` | the replicas of csi-blob-controller | 2 |
5858
| `controller.metricsPort` | metrics port of csi-blob-controller | 29634 |
5959
| `controller.runOnMaster` | run controller on master node | false |
60+
| `controller.logLevel` | controller driver log level |`5` |
6061
| `node.metricsPort` | metrics port of csi-blob-node | 29635 |
62+
| `node.logLevel` | node driver log level |`5` |
6163
| `kubelet.linuxPath` | configure the kubelet path for Linux node | `/var/lib/kubelet` |
6264
| `cloud` | the cloud environment the driver is running on | AzurePublicCloud |
6365

14 Bytes
Binary file not shown.

charts/latest/blob-csi-driver/Chart.yaml

100644100755
File mode changed.

charts/latest/blob-csi-driver/templates/NOTES.txt

100644100755
File mode changed.

charts/latest/blob-csi-driver/templates/_helpers.tpl

100644100755
File mode changed.

charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ spec:
7171
- name: blob
7272
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
7373
args:
74-
- "--v=5"
74+
- "--v={{ .Values.controller.logLevel }}"
7575
- "--endpoint=$(CSI_ENDPOINT)"
7676
- "--metrics-address=0.0.0.0:{{ .Values.controller.metricsPort }}"
7777
ports:

charts/latest/blob-csi-driver/templates/csi-blob-driver.yaml

100644100755
File mode changed.

charts/latest/blob-csi-driver/templates/csi-blob-node.yaml

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ spec:
8080
- name: blob
8181
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
8282
args:
83-
- "--v=5"
83+
- "--v={{ .Values.node.logLevel }}"
8484
- "--endpoint=$(CSI_ENDPOINT)"
8585
- "--nodeid=$(KUBE_NODE_NAME)"
8686
- "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}"

charts/latest/blob-csi-driver/templates/rbac-csi-blob-controller.yaml

100644100755
File mode changed.

0 commit comments

Comments
 (0)