diff --git a/stable/appmesh-controller/README.md b/stable/appmesh-controller/README.md index c031802b5..8a6205003 100644 --- a/stable/appmesh-controller/README.md +++ b/stable/appmesh-controller/README.md @@ -74,6 +74,7 @@ Parameter | Description | Default `image.repository` | image repository | ` 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/app-mesh-controller` `image.tag` | image tag | `` `image.pullPolicy` | image pull policy | `IfNotPresent` +`log.level` | controller log level, possible values are `info` and `debug` | `info` `resources.requests/cpu` | pod CPU request | `100m` `resources.requests/memory` | pod memory request | `64Mi` `resources.limits/cpu` | pod CPU limit | `2000m` diff --git a/stable/appmesh-controller/templates/deployment.yaml b/stable/appmesh-controller/templates/deployment.yaml index 71ab14e76..7cece5dbf 100644 --- a/stable/appmesh-controller/templates/deployment.yaml +++ b/stable/appmesh-controller/templates/deployment.yaml @@ -32,8 +32,10 @@ spec: {{- if .Values.region }} - --aws-region={{ .Values.region }} {{- end }} - {{- if .Values.logging.verbosity }} - - --v={{ .Values.logging.verbosity }} + {{- if eq .Values.log.level "debug" }} + - --v=4 + {{- else if eq .Values.log.level "info" }} + - --v=0 {{- end }} livenessProbe: exec: diff --git a/stable/appmesh-controller/values.yaml b/stable/appmesh-controller/values.yaml index 0532d4c49..3112cdcef 100644 --- a/stable/appmesh-controller/values.yaml +++ b/stable/appmesh-controller/values.yaml @@ -41,6 +41,6 @@ rbac: # rbac.pspEnabled: `true` if PodSecurityPolicy resources should be created pspEnabled: false -logging: - #logging.verbosity: <=3 (INFO), >=4 (DEBUG) - verbosity: 0 +log: + #log.level: info (default), debug + level: "info"