Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #262 +/- ##
==========================================
- Coverage 43.37% 40.96% -2.42%
==========================================
Files 58 58
Lines 2808 2910 +102
==========================================
- Hits 1218 1192 -26
- Misses 1400 1530 +130
+ Partials 190 188 -2 ☔ View full report in Codecov by Sentry. |
|
Is there anything in these openshift namespaces? |
Yes, various unused resources in 30+ default OpenShift Exceptions |
Looks like we need a namespace exception for these |
We can wait for #249 to be merged and then apply that logic in this PR / new one. |
* feat: allow grouping options for output * docs: group by flag usage and examples
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.19.0 to 1.19.1. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.19.0...v1.19.1) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…gement (yonahd#265) * feat(helm): add additional labels to Helm chart Signed-off-by: Mahdi <mahdi.azari@debijenkorf.nl> * feat(helm): add labels to pod Signed-off-by: Mahdi <mahdi.azari@debijenkorf.nl> * feat(helm): introduce default value for additionalLabels Signed-off-by: Mahdi <mahdi.azari@debijenkorf.nl> * chore(helm): bump chart version Signed-off-by: Mahdi <mahdi.azari@debijenkorf.nl> * chore(docs): run helm-docs Signed-off-by: Mahdi <mahdi.azari@debijenkorf.nl> * feat(helm): add labels to jobTemplate Signed-off-by: Mahdi <mahdi.azari@debijenkorf.nl> * fix typo Co-authored-by: Koen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com> * chore(helm): bump AppVersion Signed-off-by: Mahdi <mahdi.azari@debijenkorf.nl> --------- Signed-off-by: Mahdi <mahdi.azari@debijenkorf.nl> Co-authored-by: Koen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com>
…d#274) Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.16.0 to 1.17.0. - [Release notes](https://github.com/fatih/color/releases) - [Commits](fatih/color@v1.16.0...v1.17.0) --- updated-dependencies: - dependency-name: github.com/fatih/color dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
yonahd#275) Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.30.0 to 0.30.1. - [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases) - [Commits](kubernetes/apiextensions-apiserver@v0.30.0...v0.30.1) --- updated-dependencies: - dependency-name: k8s.io/apiextensions-apiserver dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(formatOutput): fix spacing between tables * fix * refactor * refactor --------- Co-authored-by: Phil Brocker <phil.brocker@gmail.com>
* feat: added clusterroles * feat: added k3s configmaps * feat: added k3s crds * feat: added k3s secrets * feat: added k3s StorageClass * feat: added job resource exceptions * feat: added job exceptions * fix: importing embed
Signed-off-by: Mahdi <mahdi.azari@debijenkorf.nl>
* Update PR template * Add docs checkbox
* docs: add values.yaml descriptions to README.md * docs: updated chart version in readme * Update charts/kor/Chart.yaml Co-authored-by: Yonah Dissen <47282577+yonahd@users.noreply.github.com> * docs: updated chart description in readme --------- Co-authored-by: Yonah Dissen <47282577+yonahd@users.noreply.github.com>
* Feat: add failed jobs as unused * Update jobs.go * add tests * Update jobs in readme * Update jobs.go * Update jobs_test.go * Fix test * Update jobs_test.go * Update jobs_test.go * Update jobs_test.go * Update jobs_test.go * fix CR * Update jobs_test.go
|
Merge hell. Closing this PR and re-submitting. |
What this PR does / why we need it
This PR excludes the default resources created in basic OpenShift installations.
It also includes a fix in
cmd/kor/crds.goto allow a new plural alias -kor crds.PR Checklist
Github Issue
Closes #240
Notes for your reviewers
In
pkg/kor/secrets.go, a new exception secret type was added -kubernetes.io/dockercfg, which is the OpenShift equivalent ofkubernetes.io/dockerconfigjson.This PR addresses all default namespaces that doesn't begin with
openshift-prefix.Meaning, it covers the following namespaces:
openshift,default,kube-system,kube-public,kube-node-lease&assisted-installer.Basic OpenShift installation comes with 60+ namespaces beginning with
openshift-prefix, which doesn't include additional namespaces created by OpenShift operators or customized installations, that would also be created with that prefix.As I see it, there are 3 options to address this case:
openshift-prefix (flexible).@yonahd please share your thoughts, I'm leaning towards option no. (1).