Code Monkey home page Code Monkey logo

Comments (7)

makkes avatar makkes commented on September 17, 2024

You need to add the new manifest files to the kustomization.yaml file in the flux-system directory.

from notification-controller.

acdoussan avatar acdoussan commented on September 17, 2024

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.

acdoussan avatar acdoussan commented on September 17, 2024

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.

acdoussan avatar acdoussan commented on September 17, 2024

Is there anywhere I can look for errors or logs where this resource is supposed to be created?

from notification-controller.

acdoussan avatar acdoussan commented on September 17, 2024

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.

makkes avatar makkes commented on September 17, 2024

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/

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.

makkes avatar makkes commented on September 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.