GithubHelp home page GithubHelp logo

projectcapsule / capsule-addon-fluxcd Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 65 KB

Home Page: https://capsule.clastix.io/docs/guides/flux2-capsule

License: Apache License 2.0

Go 94.69% Smarty 3.36% Makefile 1.95%

capsule-addon-fluxcd's People

Contributors

maxgio92 avatar ppodevlabs avatar

Stargazers

 avatar

Watchers

 avatar

capsule-addon-fluxcd's Issues

Flux addon fails trying to read namespaces

After #3 in order to add the namespace to the tenant it requires permission to deal with namespaces.

W0209 14:05:10.079210 1 reflector.go:535] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:229: failed to list *v1.Namespace: namespaces is forbidden: User "system:serviceaccount:capsule-system:capsule-flux-addon-capsule-addon-fluxcd" cannot list resource "namespaces" in API group "" at the cluster scope: Azure does not have opinion for this user.

The clusterrole created for the addon need to add permissions to read and modify namespaces.

Align URL to new GH organization

I see in the docs the previous GitHub user referenced, such as maxgio92.

Since the project has been moved to the Project Capsule organization, all references must be updated.

Feature: add namespace to tenant namespaces

Background

With the actual setup, the initial namespace created for the tenant is not part of the tenant

---
apiVersion: v1
kind: Namespace
metadata:
  name: oil-system

Causing the tenant owners not being able to list this namespace and manage resources within that namespace. In the flux example, tenant owners wont be able to handle the kustomization/gitrepository which is the root of their workloads.

Proposal

Make the flux addon capable of modifying the owners reference of the namespace based in a label/annotation, ie: capsule.clastix.io/tenant: oil. Making this namespace part of the tenant so tenant owners can work with it.

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.