Giter VIP home page Giter VIP logo

Comments (4)

Nalum avatar Nalum commented on June 14, 2024 1

Some details here around how Riot is using this as the bug is due to changes made to support them.

Their repo structure is as follows:

.
├── charts
│   ├── clops
│   │   └── llama
│   ├── edge
│   │   ├── sgp
│   │   ├── sgp-crds
│   │   └── vendor_charts
│   └── rce
│       ├── cluster-bouncer
│       ├── cost-metrics-collector
│       ├── custom-khchecks
│       ├── eks-termination-controller
│       ├── kuberhealthy
│       ├── lacework-agent
│       ├── nr-synthetic-slo-monitor
│       ├── opa-metrics-collector
│       ├── prometheus-kubelet-stats-exporter
│       └── vendor_charts
├── policies
│   ├── ci-policies
│   ├── common
│   └── gatekeeper
│       ├── constraints
│       ├── general
│       ├── pod-security-policy
│       └── templates
└── resources
    ├── clops
    │   └── llama
    ├── edge
    │   ├── configmaps
    │   ├── namespaces
    │   ├── secrets
    │   └── sgp
    └── rce
        ├── cluster-autoscaler
        ├── cluster-bouncer
        ├── custom-khchecks
        ├── eks-termination-controller
        ├── flux-system
        ├── gatekeeper
        ├── kubecost
        ├── kubelet-stats-exporter
        ├── kuberhealthy
        ├── lacework-agent
        ├── namespaces
        ├── nr-synthetic-slo-monitor
        ├── secrets
        ├── tf-controller
        └── weave-gitops-dashboard

And the validator command is run as follows:

weave-validator \
  --git-repo-provider github-enterprise \
  --git-repo-branch ${branch} \
  --git-repo-sha ${commit}  \
  --git-repo-host gh.riotgames.com \
  --git-repo-url rce/rc3-kubernetes-component-provider \
  --git-repo-token ${GITHUB_TOKEN} \
  --generate-git-report \
  --policies-path policies/ci-policies \
  --no-exit-error \
  --path ./

The main issue was that we wanted to test the charts and the resources but were unable to provide multiple paths and using ./ wasn't working.

Let me know if there is anything else I can do here or other details needed.

from weave-policy-validator.

Nalum avatar Nalum commented on June 14, 2024 1

No, we're not using that at the moment.

from weave-policy-validator.

waleedhammam avatar waleedhammam commented on June 14, 2024

ps: it can be handled by removing cwd from the path in github provider

from weave-policy-validator.

waleedhammam avatar waleedhammam commented on June 14, 2024

Thanks for the reply, this is really helpful
@Nalum Do you use the auto remediate feature ?

from weave-policy-validator.

Related Issues (7)

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.