mercari / certificate-expiry-monitor-controller Goto Github PK
View Code? Open in Web Editor NEWCertificate Expiry Monitor Controller monitors the expiration of TLS certificates used in Ingress.
License: MIT License
Certificate Expiry Monitor Controller monitors the expiration of TLS certificates used in Ingress.
License: MIT License
Docker : unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
I just pulled this app from docker hub via Portainer on my NAS, but when I run the container I got this error.
[ERROR] Failed to create clientSet: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
I don't have kubernates installed yet on NAS, is it mandatory or how can I run it just in docker without Kubernates ?
(Write the background of this issue)
Slack dependency master branch breaks the build
โ go get github.com/mercari/certificate-expiry-monitor-controller/
# github.com/mercari/certificate-expiry-monitor-controller/notifier/slack
../../mercari/certificate-expiry-monitor-controller/notifier/slack/parameter.go:31:3: unknown field 'Attachments' in struct literal of type slack.PostMessageParameters
../../mercari/certificate-expiry-monitor-controller/notifier/slack/slack.go:49:3: cannot use slack.New(token) (type *slack.Client) as type API in field value:
*slack.Client does not implement API (wrong type for PostMessage method)
have PostMessage(string, ...slack.MsgOption) (string, string, error)
want PostMessage(string, string, slack.PostMessageParameters) (string, string, error)
To solve it, I will fix the vendor package version to v0.4.0 (previous working version)
The PostMessage API method changed in the latest release v0.6.0, breaking the controller build.
For ingress, the latest api should be networking.k8s.io/v1,
However, certificate-expiry-monitor-controller is still using extensions/v1beta1. (it will be deprecated soon)
Can you make an update for ingress's api version? Thank you!
(Write the background of this issue)
This is an amazing tool, just knowing that you have it in your cluster is a huge relief. Would be cool to extend it to notify Teams Channels as well.
I want to contribute to this functionality as it will be useful for our Azure clients.
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.