diff --git a/charts/telegram-pepperbot/Chart.yaml b/charts/telegram-pepperbot/Chart.yaml index 0e49f50..c88141f 100644 --- a/charts/telegram-pepperbot/Chart.yaml +++ b/charts/telegram-pepperbot/Chart.yaml @@ -27,7 +27,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.1 +version: 1.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/telegram-pepperbot/README.md b/charts/telegram-pepperbot/README.md index 0178381..94d009a 100644 --- a/charts/telegram-pepperbot/README.md +++ b/charts/telegram-pepperbot/README.md @@ -1,6 +1,6 @@ # telegram-pepperbot -![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) A Helm chart for deploying the telegram-pepperbot application @@ -28,6 +28,7 @@ A Helm chart for deploying the telegram-pepperbot application | imagePullSecrets | list | `[]` | Specify docker-registry secret names as an array | | nameOverride | string | `""` | String to partially override names.fullname | | nodeSelector | object | `{}` | Node labels for pod assignment. Evaluated as a template. | +| pepperbot.logLevel | string | `"info"` | Telegram-Pepperbot Logger Level | | pepperbot.redisHost | string | `"redis-headless.example.svc.cluster.local"` | Telegram-Pepperbot Redis Host | | pepperbot.telegramToken | string | `""` | Telegram-Pepperbot Telegram Bot Token | | podAnnotations | object | `{}` | Annotations for Telegram-Pepperbot pods | diff --git a/charts/telegram-pepperbot/templates/deployment.yaml b/charts/telegram-pepperbot/templates/deployment.yaml index ff171b3..8ce8ae2 100644 --- a/charts/telegram-pepperbot/templates/deployment.yaml +++ b/charts/telegram-pepperbot/templates/deployment.yaml @@ -47,6 +47,8 @@ spec: value: "redis://{{ .Values.pepperbot.redisHost }}:6379" - name: TELOXIDE_TOKEN value: "{{ .Values.pepperbot.telegramToken }}" + - name: RUST_LOG + value: "{{ .Values.pepperbot.logLevel }}" resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} @@ -110,6 +112,8 @@ spec: value: "redis://{{ .Values.pepperbot.redisHost }}:6379" - name: TELOXIDE_TOKEN value: "{{ .Values.pepperbot.telegramToken }}" + - name: RUST_LOG + value: "{{ .Values.pepperbot.logLevel }}" resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} @@ -173,6 +177,8 @@ spec: value: "redis://{{ .Values.pepperbot.redisHost }}:6379" - name: TELOXIDE_TOKEN value: "{{ .Values.pepperbot.telegramToken }}" + - name: RUST_LOG + value: "{{ .Values.pepperbot.logLevel }}" resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} diff --git a/charts/telegram-pepperbot/values.yaml b/charts/telegram-pepperbot/values.yaml index 8fedad2..727ac04 100644 --- a/charts/telegram-pepperbot/values.yaml +++ b/charts/telegram-pepperbot/values.yaml @@ -12,6 +12,8 @@ pepperbot: redisHost: "redis-headless.example.svc.cluster.local" # -- Telegram-Pepperbot Telegram Bot Token telegramToken: "" + # -- Telegram-Pepperbot Logger Level + logLevel: "info" image: # -- Telegram-Pepperbot image repository