Skip to content

Commit

Permalink
Merge pull request #908 from wongma7/loglevel
Browse files Browse the repository at this point in the history
helm chart configurable log verbosity
  • Loading branch information
k8s-ci-robot authored Jun 9, 2021
2 parents 2a1c770 + 64088f5 commit 407367a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/aws-ebs-csi-driver/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
- --http-endpoint={{ . }}
{{- end }}
- --logtostderr
- --v=2
- --v={{ .Values.controller.logLevel }}
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
Expand Down
2 changes: 1 addition & 1 deletion charts/aws-ebs-csi-driver/templates/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
- --volume-attach-limit={{ . }}
{{- end }}
- --logtostderr
- --v=2
- --v={{ .Values.node.logLevel }}
env:
- name: CSI_ENDPOINT
value: unix:/csi/csi.sock
Expand Down
3 changes: 2 additions & 1 deletion charts/aws-ebs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ controller:
httpEndpoint:
# ID of the Kubernetes cluster used for tagging provisioned EBS volumes (optional).
k8sTagClusterId:
logLevel: 2
nodeSelector: {}
podAnnotations: {}
podLabels: {}
Expand Down Expand Up @@ -124,7 +125,6 @@ controller:
# whenUnsatisfiable: ScheduleAnyway
topologySpreadConstraints: []


# Moving to values under node
# The "maximum number of attachable volumes" per node
volumeAttachLimit:
Expand All @@ -134,6 +134,7 @@ node:
ebsPlugin: []
nodeDriverRegistrar: []
kubeletPath: /var/lib/kubelet
logLevel: 2
priorityClassName:
nodeSelector: {}
podAnnotations: {}
Expand Down
7 changes: 6 additions & 1 deletion hack/values.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
enableVolumeSnapshot: true
enableVolumeSnapshot: true
controller:
logLevel: 5
node:
logLevel: 5

0 comments on commit 407367a

Please sign in to comment.