Evans Mungai
fbbcf87405
feat(collectors): Store all pod logs in cluster-resources directory ( #821 )
...
* feat(collectors): Store all pod logs in cluster-resources directory
All pod logs collected by the logs collector will now be stored in
/cluster-resources/pods/logs/[namespace]/[pod]/[container].log. This
will provide consistency and allow sbctl to find the logs when we run
`kubectl logs <pod>`. To allow backwards compatibility, symlinks of the
log files will be created in the current expected locations.
Closes : #744
v0.48.0
2022-11-22 07:10:34 +13:00
Xav Paice
6530cb364f
feat: Add docsgen command ( #862 )
...
* feat: Add docsgen command
* docs: add CLI docs for support-bundle and preflight
2022-11-21 11:31:08 -05:00
Xav Paice
c9b48aa716
docs: add ADR for mergable preflight specs ( #858 )
...
Adds a proposed Architecture Decision Records for the ability to specify
multiple specs per preflight test.
2022-11-21 11:29:51 -05:00
dependabot[bot]
511671f699
Bump actions/setup-go from 1 to 3 ( #853 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 1 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 18:19:42 +13:00
dependabot[bot]
7a3bcfc74a
Bump actions/download-artifact from 1 to 3 ( #854 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 1 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 18:19:16 +13:00
dependabot[bot]
e88f309391
Bump actions/upload-artifact from 1 to 3 ( #855 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 18:18:46 +13:00
dependabot[bot]
da48621eff
Bump goreleaser/goreleaser-action from 2 to 3 ( #852 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 17:44:56 +13:00
dependabot[bot]
e51a25dc2f
Bump actions/checkout from 2 to 3 ( #856 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 17:35:55 +13:00
Camila Macedo
7a20aa1934
Add job to dependabot to update github actions ( #851 )
...
* Add job to dependabot to update github actions
2022-11-17 17:09:36 -05:00
Dexter Yan
78bcafe489
fix(flag): fix wrong output filename ( #834 )
...
* fix(flag): fix wrong output filename
* fix(flag): add reset flag function
* fix(flag): add output flag test cases
* fix(flag): move resetFlags function into private go test
* fix(flag): restructure flag tests with testify
* fix(flag): remove resetFlags function
* fix(flag): remove duplicated test and rewrite test names
v0.47.1-rc1
2022-11-17 14:38:01 +13:00
Chris Sanders
233966d4be
Add ghcr to package releases ( #848 )
2022-11-17 11:12:54 +13:00
Camila Macedo
ebc569fcdb
doc/readme : make clear that the links are just examples ( #845 )
...
* doc/readme : make clear that the links are just examples
2022-11-16 19:52:48 +13:00
dependabot[bot]
0521b0e82b
Bump k8s.io/apiserver from 0.25.3 to 0.25.4 ( #837 )
...
Bumps [k8s.io/apiserver](https://github.com/kubernetes/apiserver ) from 0.25.3 to 0.25.4.
- [Release notes](https://github.com/kubernetes/apiserver/releases )
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.25.3...v0.25.4 )
---
updated-dependencies:
- dependency-name: k8s.io/apiserver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v0.47.0
2022-11-16 15:55:12 +13:00
dependabot[bot]
34f29f2914
Bump k8s.io/cli-runtime from 0.25.3 to 0.25.4 ( #847 )
...
Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime ) from 0.25.3 to 0.25.4.
- [Release notes](https://github.com/kubernetes/cli-runtime/releases )
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.25.3...v0.25.4 )
---
updated-dependencies:
- dependency-name: k8s.io/cli-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 15:40:51 +13:00
dependabot[bot]
1de1d00680
Bump github.com/containers/image/v5 from 5.23.0 to 5.23.1 ( #836 )
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.23.0 to 5.23.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.23.0...v5.23.1 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 14:59:57 +13:00
dependabot[bot]
92a5f3569f
Bump k8s.io/api from 0.25.3 to 0.25.4 ( #838 )
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.25.3 to 0.25.4.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.25.3...v0.25.4 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 14:59:10 +13:00
dependabot[bot]
495b1a760d
Bump k8s.io/apimachinery from 0.25.3 to 0.25.4 ( #839 )
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.25.3 to 0.25.4.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.25.3...v0.25.4 )
---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 14:58:43 +13:00
dependabot[bot]
7bcfd01d43
Bump k8s.io/client-go from 0.25.3 to 0.25.4 ( #835 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.25.3 to 0.25.4.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.25.3...v0.25.4 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 14:58:18 +13:00
Camila Macedo
f2ffef80af
Revert "Remove ingress check from https://preflight.replicated.com ( #840 )" ( #846 )
...
This reverts commit a5244a262c .
2022-11-16 14:57:47 +13:00
Camila Macedo
a5244a262c
Remove ingress check from https://preflight.replicated.com ( #840 )
...
## Description:
Currently, when we install an k8s with kurl and we run kubectl preflight https://preflight.replicated.com it will fail:
> ------------
> Check FAIL
> Title: Ingress
> Message: Contour ingress not found!
Therefore, Contour ingress does not seems a pre-requirement to kURL. So, should we have this check in the default example/test?
2022-11-15 08:55:04 -06:00
Camila Macedo
18d9a16ceb
Minimal memory requirement for kURL is 8GI ( #843 )
2022-11-15 08:54:29 -06:00
Xav Paice
473738d709
Add proposal to consolidate collection code ( #810 )
...
Proposal to reduce duplication of code, and implement a more stable, public,
collection API.
2022-11-15 15:50:37 +13:00
Diamon Wiggins
c34d80c300
Discover Redactors in Cluster ( #827 )
...
Adds the ability to search for support bundle specs and redactors, in both configmaps and secrets
2022-11-10 17:36:51 +13:00
Nick Meyer
38c1193ace
correct checked out ref for FOSSA tests ( #833 )
2022-11-09 14:34:14 -05:00
Xav Paice
6b87cdb267
docs: ADR-001 remove default redaction of IP addresses ( #823 )
...
* Add ADR-001 Remove IP address redaction
Add design record (proposed) for removing IP address redaction by default.
Fixes : #735
2022-11-09 16:37:12 +13:00
Xav Paice
80cca8a487
Add omitempty to StorageClassName in schema ( #814 )
...
* Add omitempty to StorageClassName in schema
Allow a StorageClass spec to not require specify storageClassName.
Fixes : #813
v0.46.0
2022-11-09 11:34:37 +13:00
dependabot[bot]
6e79c169e0
Bump github.com/spf13/viper from 1.13.0 to 1.14.0 ( #829 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 09:22:44 +13:00
dependabot[bot]
7edbec3e45
Bump sigs.k8s.io/controller-runtime from 0.13.0 to 0.13.1 ( #828 )
...
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases )
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/master/RELEASE.md )
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.13.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 18:16:52 +13:00
Xav Paice
8f8e0dc6e3
chore: Update PULL_REQUEST_TEMPLATE.md ( #831 )
...
Fix a minor grammatical error in the pull request template
2022-11-08 18:14:16 +13:00
Dexter Yan
e2c20cfda4
feat(github): add pull request template ( #830 )
...
* feat(github): add pull request template
* feat(github): rephrase pr template
2022-11-08 17:41:42 +13:00
Nick Meyer
ccb7b1619b
Update fossa ( #826 )
...
* Transition FOSSA to locally-managed action
* correct ref
2022-11-07 11:46:27 -06:00
Xav Paice
d5c0dd4857
Add ADR directory and readme ( #822 )
...
Adds a directory and readme.md for storing Architecture Design Records
2022-11-07 13:41:32 +00:00
Xav Paice
8c5cd5a460
Update CONTRINBUTING.md with community info ( #819 )
...
Add to CONTRIBUTING.md:
* community meeting calendar and notes
* IRC
* commit messages info
2022-11-02 15:22:51 -04:00
dependabot[bot]
9073a14c02
Bump periph.io/x/host/v3 from 3.7.2 to 3.8.0 ( #815 )
...
Bumps [periph.io/x/host/v3](https://github.com/periph/host ) from 3.7.2 to 3.8.0.
- [Release notes](https://github.com/periph/host/releases )
- [Commits](https://github.com/periph/host/compare/v3.7.2...v3.8.0 )
---
updated-dependencies:
- dependency-name: periph.io/x/host/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 15:04:03 +13:00
Xav Paice
3513eeca19
Ensure clusterResources is added prior to other collectors ( #768 )
...
This change ensures that the clusterResources collector runs prior to any others
in order to not collect info on pods that collectors run during collection.
Additionally centralizes functions that are common to all collection to make future
maintenance simpler.
Fixes : #767
2022-11-01 12:16:01 +13:00
Edgar Lanting
34817b67d0
Update cluster_resources.go ( #804 )
...
Due to deprecation of the API at `policy/v1beta1` for `PodDisruptionBudgets` and `batch/v1beta1` for `CronJobs`, updated cluster_resources.go to accommodate using either apiVersion v1 & v1beta1
2022-10-28 14:56:57 +13:00
Nick Meyer
388e7ca77d
Update FOSSA API key ( #803 )
2022-10-25 15:17:12 -05:00
dependabot[bot]
d8091909b3
Bump k8s.io/cli-runtime from 0.25.2 to 0.25.3 ( #800 )
...
Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime ) from 0.25.2 to 0.25.3.
- [Release notes](https://github.com/kubernetes/cli-runtime/releases )
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.25.2...v0.25.3 )
---
updated-dependencies:
- dependency-name: k8s.io/cli-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 14:58:37 +13:00
dependabot[bot]
9ae416ab23
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 ( #801 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 14:58:03 +13:00
dependabot[bot]
e373c71874
Bump github.com/spf13/cobra from 1.6.0 to 1.6.1 ( #802 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 14:57:26 +13:00
Diamon Wiggins
e2ac7bf715
fix ceph title ( #799 )
2022-10-24 12:35:35 -05:00
Diamon Wiggins
3d4bd4b601
trim whitespace from collected contents ( #796 )
2022-10-21 16:41:07 +13:00
Diamon Wiggins
3b2aae1866
Remove unused Preflight spec ( #782 )
...
* remove unused preflight-spec
* removing other unused files
2022-10-21 11:38:43 +13:00
dependabot[bot]
8a4f539173
Bump oras.land/oras-go from 1.2.0 to 1.2.1 ( #786 )
...
Bumps [oras.land/oras-go](https://github.com/oras-project/oras-go ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/oras-project/oras-go/releases )
- [Commits](https://github.com/oras-project/oras-go/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: oras.land/oras-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 16:24:36 +13:00
dependabot[bot]
89b98c197e
Bump k8s.io/apiserver from 0.25.2 to 0.25.3 ( #783 )
...
Bumps [k8s.io/apiserver](https://github.com/kubernetes/apiserver ) from 0.25.2 to 0.25.3.
- [Release notes](https://github.com/kubernetes/apiserver/releases )
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.25.2...v0.25.3 )
---
updated-dependencies:
- dependency-name: k8s.io/apiserver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 16:02:24 +13:00
ada mancini
000abae68b
plug sbctl ( #790 ) in README.md
2022-10-19 10:22:47 +13:00
Ahmed Mousa
764f0ac8b6
'added collection of roles, cluster roles and their respective bindings' ( #779 )
...
Co-authored-by: Edgar Lanting <edgarlanting@users.noreply.github.com >
2022-10-17 11:02:07 -05:00
Diamon Wiggins
04c7a18da3
Fix Progress Callback for Support Bundle Collection ( #781 )
...
fix progress callback for support bundle and revert collector title changes
v0.45.0
2022-10-14 12:29:59 -04:00
dependabot[bot]
9b37b98a93
Bump github.com/opencontainers/image-spec from 1.1.0-rc1 to 1.1.0-rc2 ( #777 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc1 to 1.1.0-rc2.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.1.0-rc1...v1.1.0-rc2 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 15:23:34 +13:00
dependabot[bot]
32f622a714
Bump github.com/containers/image/v5 from 5.19.3 to 5.23.0 ( #755 )
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.19.3 to 5.23.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.19.3...v5.23.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 13:28:30 +13:00