markusressel / keel-telegram-bot Goto Github PK
View Code? Open in Web Editor NEWA telegram bot for https://keel.sh/
License: GNU Affero General Public License v3.0
A telegram bot for https://keel.sh/
License: GNU Affero General Public License v3.0
Describe the bug
Hi
I integrate keel and keel-telegram-bot, it's can send approval or reject message.
when the pod is deployed successfully, telegram can't receive result success or failed.
Here is keel log
time="2022-03-15T06:19:51Z" level=info msg="approvals.manager: approved" identifier="deployment/default/helloworld:latest"
time="2022-03-15T06:19:51Z" level=error msg="could not send notification via notifier" error="Post \"http://keel-telegram-bot.keel.svc.cluster.local:5000/\": dial tcp: lookup keel-telegram-bot.keel.svc.cluster.local: device or resource busy" notification name="update resource" sender name=webhook
time="2022-03-15T06:19:51Z" level=info msg="waiting before retrying to send notification" attempts=2 duration=1s max attempts=10 notification name="update resource" sender name=webhook
I think keel-telegram-bot can't proccess keel result message?
Is your feature request related to a problem? Please describe.
The output of new approval entries is a bit hard to read and contains unnecessary info.
Describe the solution you'd like
Cleanup output:
New image is available for resource homeassistant/home-assistant (2020.12.1 -> 2020.12.1).
Expires: mm/dd hh:mm:ss (Xh Ym Zs)
Note: use local timezone, so no +00:00 etc.
Note2: the full suite of properties should still be shown, but only when directly interacting with the bot
Describe the bug
The hyphen in a variable name is not a POSIX standard
To Reproduce
export KEEL-TELEGRAM-BOT_KEEL_PASSWORD="mypassword"
Expected behavior
The variable should be created
Desktop (please complete the following information):
Hello, I want to try the prebuilt container image from docker hub in my kubernetes cluster but it fails to start with this error:
python: can't open file './keel_telegram_bot/main.py': [Errno 2] No such file or directory
I already tried the all the tags (v1.0.0, 1.2.0, latest), all of them failed with this error.
Is your feature request related to a problem? Please describe.
I'm not able to receive notifications from keel.
I've set up keel through helm and the bot with a separate deployment.
The bot uses a service and an ingress to be available on a subdomain of my domain.
In keel's config I've set
webhook:
enabled: true
endpoint: https://keel-telegram.<DOMAIN>
In keel's dashboard I can see some approvals but I do not receive them in telegram.
In keel's logs I saw
time="2023-03-23T07:35:21Z" level=error msg="could not send notification via notifier" error="got status 403, expected 200/201" notification name="preparing to update resource" sender name=webhook
time="2023-03-23T07:35:21Z" level=info msg="waiting before retrying to send notification" attempts=8 duration=1m4s max attempts=10 notification name="preparing to update resource" sender name=webhook
But I don't know what's the exact problem.
Describe the solution you'd like
Provide an example deployment and the right settings in keel's config
Describe alternatives you've considered
Additional context
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.