Comments (7)
You need to add the new manifest files to the kustomization.yaml file in the flux-system directory.
from notification-controller.
You mean like this?
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
- discord-alert.yaml
- discord-provider.yaml
committed and pushed this, same thing, still no alert created
from notification-controller.
There is also nothing really mentioned about needing to do this in the docs from what I can tell? The example wants you to run a kubectl command, and the video / outside docs I've been following also don't mention anything about this.
https://fluxcd.io/flux/components/notification/alert/
https://docs.technotim.live/posts/flux-devops-gitops/
https://github.com/techno-tim/launchpad/tree/master/demos/flux-demo/clusters/home
from notification-controller.
Is there anywhere I can look for errors or logs where this resource is supposed to be created?
from notification-controller.
Ok sorry, I take it back, adding the files to kustomization.yaml did work. I had a bad helm configuration for longhorn, and it looks like that was causing errors in kustomization/flux-system
for some reason (namespace was missing).
Should this be documented somewhere (specifically that the file(s) need to be added to kustomization.yaml) to have this defined declaratively rather than having to run a kubectl command? Maybe this is obvious if you know what you're doing, but when setting things up for the first time I think its pretty easy to not know you need to do this / miss it.
from notification-controller.
There is also nothing really mentioned about needing to do this in the docs from what I can tell? The example wants you to run a kubectl command, and the video / outside docs I've been following also don't mention anything about this.
The documentation is supposed to be generic. We cannot take all permutations of different configuration options into account there.
https://docs.technotim.live/posts/flux-devops-gitops/ https://github.com/techno-tim/launchpad/tree/master/demos/flux-demo/clusters/home
Both of these pages are not maintained by the Flux project.
from notification-controller.
Is there anywhere I can look for errors or logs where this resource is supposed to be created?
https://fluxcd.io/flux/cmd/flux_logs/
from notification-controller.
Related Issues (20)
- The token field should be excluded from the alert payload
- feat: workflow_dispatch approach for GitLab HOT 3
- Invalid address error in googlepubsub-provider HOT 7
- Receiver match on labels HOT 2
- The Provider API docs uses deprecated API versions
- Panic while using bitbucketserver provider for git commit status HOT 3
- Grafana annotation for Kustomization does not show revision hash HOT 3
- Telegram notification sometimes don't work
- Alert: "error":"postMessage failed: failed to execute request: context deadline exceeded" HOT 1
- Bitbucket Server Provider does not support custom SSH port or HTTP context path HOT 4
- Add alternative key name for the commit status secret HOT 1
- notification controller does not strip new line and the end of URL
- [RFC-0006] Implement CDEvents Receiver type HOT 1
- Allow 'all namespaces' in eventSources HOT 1
- Pod support for alerts HOT 1
- Alerts sent to Alertmanager contain timestamps as labels, preventing alert grouping HOT 2
- Add support for custom headers with Grafana provider HOT 1
- Unable to receive webhook alerts HOT 6
- Metrics has a potential cardinality issue HOT 3
- Mattemost posts API reference isn't available to use.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notification-controller.