Dan Jones
8bdb09ff7d
Only accept one clusterResources collector
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-26 11:36:44 +01:00
Dan Jones
b20a8e5321
Add example breakout point for collector merging
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-26 11:16:07 +01:00
Dan Jones
f5652df9da
remove old method definition
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-23 16:26:19 +01:00
Dan Jones
b716374070
Had append targets inverted
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-23 13:13:30 +01:00
Dan Jones
1a637f3c4f
Add concatspec method
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-23 13:03:04 +01:00
Dan Jones
3b3ae4e7bf
initial attempt
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-22 16:57:54 +01:00
xavpaice
414bf84c68
Merge pull request #644 from replicatedhq/danj-custom-absent-messages
...
Allow custom messages to be passed if a deployment/statefulset is absent
2022-08-19 09:06:08 +12:00
Dan Jones
b3ee989cfe
Add some more tests, and fix and issue where "absent" was falling through to the int comparison
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-12 18:55:05 +01:00
Chris Sanders
eea128856c
Merge pull request #662 from replicatedhq/design-mergeable-specs
...
Add design proposal for mergeable specs
2022-08-12 10:14:54 -05:00
Chris Sanders
4517030473
Adjust some phrasing to use less Replciated specific terminology
2022-08-12 08:52:32 -05:00
Dan Jones
c3773b7f26
%s -> %q
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-12 09:47:46 +01:00
Dan Jones
fa2daa70b1
%s -> %q
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-12 09:46:18 +01:00
Salah Al Saleh
6adc5b3c7f
Require PR labels ( #661 )
2022-08-11 20:15:03 -07:00
Xav Paice
a46548c119
Add design proposal for mergeable specs
2022-08-12 14:31:08 +12:00
Dan Jones
3a5b65dec4
Add tests for absent deployments/statefulsets
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-11 17:11:58 +01:00
xavpaice
a463403bde
Merge pull request #649 from replicatedhq/danj-collect-networkpolicies
...
Collect networkPolicies
2022-08-11 14:58:51 +12:00
xavpaice
6a08536556
Merge pull request #648 from replicatedhq/danj-longhorn-replica-check
...
Add a check for longhorn volume replicas
2022-08-11 14:26:18 +12:00
Chris Sanders
330263aae8
Merge pull request #645 from replicatedhq/el-cluster_resources_typo-20220805
...
Update cluster_resources.go - typo
2022-08-09 11:36:14 -05:00
Dmitriy Ivolgin
052a8656ba
Merge pull request #643 from YoyoTT/yue-fix-log
...
Fix the saving log process
2022-08-09 07:36:01 -07:00
Edgar Lanting
f1d0e3ce0d
Merge pull request #647 from replicatedhq/el-44743-20220805
...
Update cluster_resources.go - Shortcut 44743
2022-08-09 16:02:35 +02:00
Dan Jones
ed0d252f39
Rename output directory to be consistent with others
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-09 14:38:32 +01:00
Edgar Lanting
56126fb602
Update cluster_resources.go - Add more readability
...
Made some small changes to improve readability by using `PodDisruptionBudgets` instead of `pdb`.
2022-08-09 12:35:04 +02:00
Dan Jones
f58080b604
Collect networkPolicies
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-09 11:20:38 +01:00
Dan Jones
1a488eabc2
Add a check for longhorn volume replicas
...
This is to address part of internal shortcut 48952
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-05 16:21:14 +01:00
Edgar Lanting
67cc83fa9a
Update cluster_resources.go - Shortcut 44743
...
When troubleshooting an issue we want to see and check the `PodDisruptionBudget` for any application. As we currently do not have that 'standard' output in our support bundle, this PR serves as an implementation of providing one with an overview of `PodDisruptionBudget` on a per-namespace basis.
After creating a support bundle, the output can be reviewed by checking out `../cluster-resources/pdb/*.json`
2022-08-05 15:39:47 +02:00
Edgar Lanting
a91ef9edfe
Update cluster_resources.go - typo
...
Fix a typo: `exprted` -> `exported`
2022-08-05 13:53:50 +02:00
Yue Tan
007609565a
Fix saving logs
2022-08-02 16:29:35 -07:00
Dan Jones
6319d2a264
Allow custom messages to be passed if a deployment/statefulset is absent
...
Signed-off-by: Dan Jones <danj@replicated.com >
2022-08-02 18:11:29 +01:00
Edgar Lanting
f6afe7e7e9
Merge pull request #642 from replicatedhq/xav/typos
...
Small typo fix in collect.go
v0.40.0
2022-08-02 17:44:35 +02:00
Xav Paice
f06201e050
Small typo fix in collect.go
2022-08-02 14:36:34 +12:00
Diamon Wiggins
661bc3a557
Merge pull request #640 from replicatedhq/diamonwiggins/generate-bundle-when-host-collectors-exist
...
Always attempt to generate a Support Bundle when Host Collectors exist
2022-08-01 13:12:45 -04:00
Diamon Wiggins
114749d5b7
always attempt to generate a support bundle when host collectors exists
2022-07-30 18:57:24 -04:00
Dmitriy Ivolgin
4f8c1f3d8b
Merge pull request #639 from replicatedhq/divolgin/helm
...
Fix path for Helm registry credentials
v0.39.0
2022-07-27 12:04:31 -07:00
divolgin
14f9ae8f3b
Fix path for Helm registry credentials
2022-07-27 00:43:44 +00:00
xavpaice
248b393288
Merge pull request #573 from replicatedhq/pa1/update-go-mod-archiver
...
update go module github.com/mholt/archiver/v3
2022-07-27 08:10:52 +12:00
xavpaice
6fe887df62
Merge pull request #638 from replicatedhq/xav/go_modules/periph.io/x/periph-3.7.2
...
Bump periph.io/x/periph from 3.6.8+incompatible to 3.7.2
2022-07-27 07:28:08 +12:00
xavpaice
65c8980504
Merge pull request #637 from replicatedhq/dependabot-17
...
Update containerd to 1.6.6
2022-07-27 07:27:45 +12:00
Dmitriy Ivolgin
41d2bae380
Merge pull request #621 from mesosphere/mh/fix-multiple-crd-version
...
fix: use kube-aware version selector for crs collector
2022-07-26 09:27:48 -07:00
Pavan Sokke Nagaraj
912e76c97e
update go mod github.com/mholt/archiver/v3
2022-07-26 08:03:45 -04:00
xavpaice
f6e49c95f9
Merge branch 'main' into dependabot-17
2022-07-26 19:47:40 +12:00
xavpaice
85aa5334b0
Merge branch 'main' into xav/go_modules/periph.io/x/periph-3.7.2
2022-07-26 19:47:09 +12:00
xavpaice
29e817475a
Merge pull request #636 from replicatedhq/dependabot/go_modules/github.com/go-logr/logr-1.2.3
...
Bump github.com/go-logr/logr from 1.2.2 to 1.2.3
2022-07-26 19:45:12 +12:00
dependabot[bot]
e0caefc9df
Bump github.com/go-logr/logr from 1.2.2 to 1.2.3
...
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/go-logr/logr/releases )
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-logr/logr/compare/v1.2.2...v1.2.3 )
---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-26 06:38:24 +00:00
xavpaice
09eef9019f
Merge pull request #635 from replicatedhq/dependabot/go_modules/oras.land/oras-go-1.2.0
...
Bump oras.land/oras-go from 1.1.1 to 1.2.0
2022-07-26 18:37:08 +12:00
dependabot[bot]
057be29943
Bump periph.io/x/periph from 3.6.8+incompatible to 3.7.2
...
- [Release notes](https://github.com/google/periph/releases )
updated-dependencies:
- dependency-name: periph.io/x/periph
dependency-type: direct:production
update-type: version-update:semver-minor
Module periph.io/x/periph has moved from 3.6.8 to re-arrange locations
in 3.7.2. This reworks to take advantage of the new format.
2022-07-26 18:33:22 +12:00
Xav Paice
4ec239e94f
Update containerd to 1.6.6
...
https://github.com/replicatedhq/troubleshoot/security/dependabot/17
suggests update of containerd, but dependabot was unable to do so.
2022-07-26 17:52:00 +12:00
dependabot[bot]
11b54a2ed3
Bump oras.land/oras-go from 1.1.1 to 1.2.0
...
Bumps [oras.land/oras-go](https://github.com/oras-project/oras-go ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/oras-project/oras-go/releases )
- [Commits](https://github.com/oras-project/oras-go/compare/v1.1.1...v1.2.0 )
---
updated-dependencies:
- dependency-name: oras.land/oras-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-26 05:46:09 +00:00
xavpaice
33a92a81e4
Merge pull request #633 from replicatedhq/dependabot/go_modules/github.com/lib/pq-1.10.6
...
Bump github.com/lib/pq from 1.10.4 to 1.10.6
2022-07-26 17:44:53 +12:00
dependabot[bot]
5f11410677
Bump github.com/lib/pq from 1.10.4 to 1.10.6
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.10.4 to 1.10.6.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.10.4...v1.10.6 )
---
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 >
2022-07-26 05:33:02 +00:00
xavpaice
6b076a7d4d
Merge pull request #634 from replicatedhq/dependabot/go_modules/github.com/sirupsen/logrus-1.9.0
...
Bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0
2022-07-26 17:31:58 +12:00