Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ntfy notification support #747

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

cpatscheider
Copy link

@cpatscheider cpatscheider commented Nov 3, 2023

This changes adds support for native NTFY notifications.

Here is a screenshot of the notification in NTFY:
image

The upper notification was triggered via this new implementation. The below one is triggered by the already existing webhook notification.

This change also makes the necessary additions to the helm chart values and template.

Unit tests are created and fine.
Disclaimer: i did not get the e2e Tests to work, however i am pretty sure that this is due to an issue with my setup. I am getting the following fail during the e2e Test:
--- FAIL: TestPollingPrivateRegistry (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4b7c11]
Additinally the e2e tests do not seem to finish. The change is not related to the private registry polling so i suspect this is a test infra problem.

closes #746

@cpatscheider cpatscheider marked this pull request as ready for review November 3, 2023 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for ntfy
1 participant