projectcapsule / capsule-addon-fluxcd Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://capsule.clastix.io/docs/guides/flux2-capsule
License: Apache License 2.0
Home Page: https://capsule.clastix.io/docs/guides/flux2-capsule
License: Apache License 2.0
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.
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.
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.
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.
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.