Skip to content

Commit

Permalink
Implemented the app logger level
Browse files Browse the repository at this point in the history
  • Loading branch information
glenndehaan committed Mar 27, 2023
1 parent 6b98d51 commit b09bb39
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/telegram-pepperbot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion charts/telegram-pepperbot/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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 |
Expand Down
6 changes: 6 additions & 0 deletions charts/telegram-pepperbot/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/telegram-pepperbot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b09bb39

Please sign in to comment.