added logLevel to rook chart

This commit is contained in:
Mahmoud Reza Rahbar Azad committed 2017-08-25 21:57:18 +02:00
1 parent 6351a179cd
commit bdbf9230ea
3 files changed
+6

No files matched your search

+1
View File
@@ -83,6 +83,7 @@ The following tables lists the configurable parameters of the rook-operator char
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `rbacEnable` | If true, create & use RBAC resources | `true` |
| `resources` | Pod resource requests & limits | `{}` |
| `logLevel` | Global log level | `INFO` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example to disable RBAC,
@@ -22,6 +22,8 @@ spec:
env:
- name: ROOK_REPO_PREFIX
value: {{ .Values.image.prefix }}
- name: ROOK_LOG_LEVEL
value: {{ .Values.logLevel }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- if .Values.rbacEnable }}
+3
View File
@@ -16,6 +16,9 @@ resources:
cpu: 100m
memory: 128Mi
## LogLevel can be set to: TRACE, DEBUG, INFO, NOTICE, WARNING, ERROR or CRITICAL
logLevel: INFO
## If true, create & use RBAC resources
##
rbacEnable: true