Git Product home page Git Product logo

flux-eks-gitops-config-tenant's Introduction

Managing tenant configuration with GitOps using Flux

This is a tenant GitOps configuration sample repository for Flux, related to the project flux-eks-gitops-config.

Tenants are on-boarded on Kubernetes clusters by platform administrators, who are in charge of creating a Namespace for the tenant, setting appropriate quotas, creating a ServiceAccount and RBAC with permissions restricted to the Namespace and a GitRepository Custom Resource pointing to the tenant repository (this one). Flux impersonates the aforementioned ServiceAccount to reconcile resources from the tenant repository, so the platform administrator can limit permissions of the tenant to create resources in the cluster. See the tenant folder on the flux-eks-gitops-config repository for more details.

This repository is owned by a development team and stores the Kubernetes manifests, Kustomizations and HelmReleases Custom Resources to deploy the application(s) on the Kubernetes clusters. For each tenant, there's a Kustomization on the platform team repository pointing to a tenant repository, branch and path.

For more information, check the flux-eks-gitops-config documentation.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

flux-eks-gitops-config-tenant's People

Contributors

amazon-auto avatar ivallhon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

flux-eks-gitops-config-tenant's Issues

podinfo install fails

Hi,
I'm trying to run your demo, unfortunately the very last component is failing

flux get hr -A
NAMESPACE       NAME                            REVISION        SUSPENDED       READY   MESSAGE                                                                                                                                                                                                                                                                                                                                                                                       
flux-system     aws-load-balancer-controller    1.4.1           False           True    Release reconciliation succeeded                                                                                                                                                                                                                                                                                                                                                             
flux-system     flagger                         1.12.1          False           True    Release reconciliation succeeded                                                                                                                                                                                                                                                                                                                                                             
flux-system     flagger-loadtester              0.29.0          False           True    Release reconciliation succeeded                                                                                                                                                                                                                                                                                                                                                             
flux-system     ingress-nginx                   4.7.3           False           True    Release reconciliation succeeded                                                                                                                                                                                                                                                                                                                                                             
flux-system     kube-prometheus-stack           35.2.0          False           True    Release reconciliation succeeded                                                                                                                                                                                                                                                                                                                                                             
flux-system     kyverno                         v2.3.3          False           True    Release reconciliation succeeded                                                                                                                                                                                                                                                                                                                                                             
flux-system     tigera-operator                 v3.26.1         False           True    Release reconciliation succeeded                                                                                                                                                                                                                                                                                                                                                             
podinfo         podinfo                                         False           False   install retries exhausted

I'm trying flux suspend & resume but resume returns:

flux resume hr podinfo -n podinfo 
► resuming helmrelease podinfo in podinfo namespace
✔ helmrelease resumed
◎ waiting for HelmRelease reconciliation
✗ Helm install failed: unable to build kubernetes objects from release manifest: error validating "": error validating data: failed to check CRD: failed to list CRDs: customresourcedefinitions.apiextensions.k8s.io is forbidden: User "system:serviceaccount:podinfo:podinfo-team" cannot list resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope

Any ideas of what could be wrong?

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.