Diamon Wiggins
48beb303be
export context field from collector structs ( #771 )
v0.44.1
2022-10-11 14:54:54 -04:00
Xav Paice
e30d279cad
update CODEOWNERS file ( #770 )
...
Adds a new group to CODEOWNERS as global owner, and CREs for .md files.
v0.44.0
2022-10-11 09:02:34 -05:00
stefanrepl
9c986a74a6
make runPreflight and preflight cli flags public ( #769 )
2022-10-10 16:34:54 -06:00
Evans Mungai
e02074941e
Add golangci-lint linter make target ( #752 )
...
Add line, and lint-and-fix make targets
2022-10-10 09:52:02 +13:00
Edgar Lanting
56a68a4fef
Issue #695 - Add --no-uri flag to support-bundle to ignore the uri field and revert back to the default spec… ( #717 )
...
Add --follow-uri flag to support-bundle to ignore the uri field when set in a spec
Implement the new CLI flag in `root.go` so we can pass it if we need to ignore the `uri` field in a spec. This also serves as a minimal documentation effort when running `support-bundle --help`.
Fixes : #695
2022-10-10 07:30:21 +13:00
Xav Paice
b3e662c988
minor lint update for README.md ( #727 )
2022-10-07 13:15:01 -04:00
Diamon Wiggins
a0fb06f0b9
E2E Tests for Support Bundle CLI ( #761 )
...
* adding e2e tests for support bundle cli
* update e2e.yaml
2022-10-07 14:43:16 +13:00
Evans Mungai
906fa88119
Fit wrapped long url in more information analyser message ( #758 )
2022-10-06 10:21:52 +13:00
ada mancini
eb40b9422f
implement uri: field ( #702 )
2022-10-05 15:35:55 +13:00
Xav Paice
f6531b8434
Update golang.org/x/net to current version ( #757 )
...
Fixes : #756 (CVE resolution)
2022-10-05 13:13:02 +13:00
danj-replicated
e80235f0a8
Collect resourcequotas ( #729 )
...
Signed-off-by: Dan Jones <danj@replicated.com >
Signed-off-by: Dan Jones <danj@replicated.com >
2022-10-05 12:58:54 +13:00
Diamon Wiggins
c7b84ad1e5
Refactor in-clusters collectors to use struct per collector ( #670 )
...
refactor in-clusters collectors to use struct per collector
2022-10-03 13:53:05 -04:00
Diamon Wiggins
44ae409081
fix concat spec for cluster secrets ( #750 )
v0.43.1
2022-09-30 08:24:33 +13:00
dependabot[bot]
d1318ff4fd
Bump k8s.io/cli-runtime from 0.25.0 to 0.25.2 ( #737 )
...
Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime ) from 0.25.0 to 0.25.2.
- [Release notes](https://github.com/kubernetes/cli-runtime/releases )
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.25.0...v0.25.2 )
---
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>
v0.43.0
2022-09-29 17:22:19 +13:00
dependabot[bot]
169f3c6ea7
Bump k8s.io/apiserver from 0.25.1 to 0.25.2 ( #740 )
...
Bumps [k8s.io/apiserver](https://github.com/kubernetes/apiserver ) from 0.25.1 to 0.25.2.
- [Release notes](https://github.com/kubernetes/apiserver/releases )
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.25.1...v0.25.2 )
---
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-09-29 17:05:19 +13:00
dependabot[bot]
7a7507b5e4
Bump k8s.io/client-go from 0.25.1 to 0.25.2 ( #741 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.25.1 to 0.25.2.
- [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.1...v0.25.2 )
---
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-09-29 16:42:59 +13:00
Nick Meyer
d5c7522be5
use push-only token ( #730 )
2022-09-22 07:28:34 +12:00
dependabot[bot]
f5b6a108a1
Bump k8s.io/apiserver from 0.25.0 to 0.25.1 ( #722 )
...
Bumps [k8s.io/apiserver](https://github.com/kubernetes/apiserver ) from 0.25.0 to 0.25.1.
- [Release notes](https://github.com/kubernetes/apiserver/releases )
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.25.0...v0.25.1 )
---
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>
Co-authored-by: Xav Paice <xavpaice@users.noreply.github.com >
2022-09-20 12:09:59 +12:00
Nick Meyer
c4746e766b
Add gate to prevent attempt to run on fork ( #721 )
2022-09-20 11:41:21 +12:00
ada mancini
4fadd471e6
Update CONTRIBUTING.md ( #718 )
...
add notes about squashing
2022-09-16 17:48:38 -05:00
Xav Paice
c397171b79
Merge pull request #709 from replicatedhq/diamonwiggins/supportbundle-specs-in-secrets-discovery
...
Load support bundle specs from secrets matching label selector
2022-09-16 13:06:31 +12:00
Nick Meyer
a20f9d9408
Merge pull request #714 from replicatedhq/nickmeyer/sc-53201
...
add FOSSA PR scan; update label requirements [sc-53201][sc-53409]
2022-09-15 10:41:35 -05:00
Nick Meyer
ebd49e70df
add FOSSA PR scan; update label requirements [sc-53201][sc-53409]
2022-09-15 10:17:34 -05:00
Diamon Wiggins
b66145e514
fixing logger statements
2022-09-14 11:56:16 -04:00
Diamon Wiggins
be070c98e1
add handling for when no collectors or host collectors are specified
2022-09-14 11:19:44 -04:00
Diamon Wiggins
7eecf6c526
improving error handling
2022-09-14 10:58:08 -04:00
Diamon Wiggins
126346e1fe
update run.go
2022-09-14 00:57:33 -04:00
Diamon Wiggins
e7fe012f2f
handling when no args are provided
2022-09-14 00:36:04 -04:00
Diamon Wiggins
ec6ec59303
fixing tests
2022-09-13 23:27:49 -04:00
Diamon Wiggins
e53871b4dc
adding tests
2022-09-13 23:00:57 -04:00
Diamon Wiggins
93da8b6ac7
change name of flag
2022-09-13 18:42:33 -04:00
Evans Mungai
ad4cfc6d9e
Merge pull request #704 from replicatedhq/update-issue-template
...
Update issue template
2022-09-12 10:05:25 +01:00
Diamon Wiggins
ad23763d6b
remove comment
2022-09-11 18:46:31 -04:00
Diamon Wiggins
7120516b13
fixing description for cli flags
2022-09-11 18:39:55 -04:00
Diamon Wiggins
ed34afc51b
adding back default collectors
2022-09-11 18:33:35 -04:00
Diamon Wiggins
d4e5c0dba4
discovery support bundle specs from secrets matching label selector
2022-09-11 18:28:24 -04:00
dependabot[bot]
a50263c725
Bump github.com/lib/pq from 1.10.6 to 1.10.7 ( #708 )
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.10.6 to 1.10.7.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.10.6...v1.10.7 )
---
updated-dependencies:
- dependency-name: github.com/lib/pq
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.42.0
2022-09-12 09:49:54 +12:00
dependabot[bot]
818a9bc9a2
Bump github.com/spf13/viper from 1.12.0 to 1.13.0 ( #707 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.12.0...v1.13.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-09-12 09:46:23 +12:00
dependabot[bot]
e98497b78b
Bump k8s.io/klog/v2 from 2.70.1 to 2.80.1 ( #706 )
...
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog ) from 2.70.1 to 2.80.1.
- [Release notes](https://github.com/kubernetes/klog/releases )
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md )
- [Commits](https://github.com/kubernetes/klog/compare/v2.70.1...v2.80.1 )
---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
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-09-12 09:35:48 +12:00
dependabot[bot]
60c2547cc0
Bump sigs.k8s.io/controller-runtime from 0.12.3 to 0.13.0 ( #700 )
...
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime ) from 0.12.3 to 0.13.0.
- [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.12.3...v0.13.0 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
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-09-12 09:21:49 +12:00
Evans Mungai
934bf8ed87
Update issue template
2022-09-09 18:03:10 +01:00
Xav Paice
05d3e66de9
Merge pull request #683 from replicatedhq/danj-multiple-inputs
...
Danj multiple inputs
2022-09-09 15:09:25 +12:00
Dan Jones
d70ecf7e5f
Add a rough test for bundle concatenation
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-09-08 17:16:38 +01:00
Chris Sanders
7403e39210
Merge pull request #703 from replicatedhq/xav/gofmt
...
run make fmt across repo
2022-09-08 11:12:24 -05:00
Xav Paice
92382e600f
run make fmt across repo
2022-09-08 15:10:53 +12:00
Dan Jones
b5a56e5239
Remove redundant loops
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-09-07 09:14:09 +01:00
Dan Jones
b6f8ac211e
Format
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-09-05 15:54:54 +01:00
Dan Jones
63510fc89d
Moved ConcatSpec to supportbundle package and clean up dead code
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-09-05 14:12:29 +01:00
Chris Sanders
91c387b0ca
Merge pull request #696 from replicatedhq/el_issue_682_20220831
...
EL 20220901 - Implement new type for #682
v0.41.0
2022-09-02 08:13:43 -05:00
Edgar Lanting
8fcb65d2a6
Update supportbundle_types.go
...
Alter comment for the additional `uri` field into one single sentence.
2022-09-02 12:21:40 +02:00