Commit Graph

387 Commits

Author SHA1 Message Date
Andrew Lavery
fc65ceb5b4 Merge pull request #175 from replicatedhq/laverya/custom-redactors
last-mile and per-collector redactor specs
2020-04-16 14:22:10 -04:00
Andrew Lavery
d016e3269c add global and per-collector redactors
add redact type, and begin wiring global redactors

use per-collector redactors

add a test of the 'data' collector and redaction

handle literal string replacements

remove redundant types and redact calls

add proper redactor type, foundations of global redactors

accept global redactors from the CLI, include sample redaction spec
2020-04-16 14:03:00 -04:00
Andrew Lavery
f06cd9e4a2 Merge pull request #172 from replicatedhq/laverya/refactor-byte-array-interfaces
refactor byte array interfaces
2020-04-14 18:14:57 -04:00
Andrew Lavery
7dc93ddade don't redact nil entries, discard them 2020-04-14 17:59:12 -04:00
Andrew Lavery
a7c4f04a63 convert remaining collectors to map[string][]byte format 2020-04-14 17:15:53 -04:00
Andrew Lavery
527fe16bcc reduce marshal/unmarshal passes by returning map[string][]byte
WIP
2020-04-14 16:37:51 -04:00
Andrew Lavery
406e1e6d1a Merge pull request #168 from replicatedhq/laverya/collect-logs-from-all-containers-in-pod
collect logs from all containers in a pod if no container is specified
2020-04-08 18:46:06 -04:00
Andrew Lavery
cbaf96691e collect logs from all containers in a pod if no container is specified 2020-04-08 16:05:44 -04:00
Andrew Lavery
4dfb02e7f7 Merge pull request #167 from replicatedhq/laverya/include-container-in-copy-path-if-provided
include the container name in the file copy path destination if provided
2020-04-06 18:29:45 -04:00
Andrew Lavery
e19a5dee38 Merge pull request #166 from replicatedhq/laverya/respect-secret-includevalue-flag
support the 'includeValue' flag for secrets
2020-04-06 18:09:43 -04:00
Andrew Lavery
2c495b8a7a include the container name in the file copy path destination if provided 2020-04-06 18:02:37 -04:00
Andrew Lavery
c3646bacd9 don't use a default filename in paths 2020-04-06 18:01:13 -04:00
Andrew Lavery
3844a3dbd3 don't override namespace 2020-04-06 17:44:57 -04:00
Andrew Lavery
544c832d6e support the 'includeValue' flag for secrets 2020-04-06 17:03:19 -04:00
Marc Campbell
38aef191ab Merge pull request #162 from ashwathishiva/fix_win_path_bug
textanalyze: fixes path handling in windows as well
v0.9.28
2020-03-26 16:07:05 -07:00
Andrew Lavery
545ce24c04 Merge pull request #164 from replicatedhq/laverya/fix-build-after-k8s-1.18
fix build after k8s 1.18 was released
2020-03-26 18:42:30 -04:00
Andrew Lavery
c262320cea fix build after k8s 1.18 was released 2020-03-26 18:50:23 +00:00
Ashwathi Shiva
d1c45f1456 fixes path handling in windows as well 2020-03-26 00:58:40 -04:00
Andrew Lavery
c4f841d420 Merge pull request #161 from replicatedhq/laverya/check-filepath-before-attempting-url
attempt to read the file at the provided path before trying url
2020-03-25 17:59:23 -04:00
Andrew Lavery
75ab7bb917 fix downloadAnalyzerSpec function too 2020-03-25 17:32:52 -04:00
Andrew Lavery
9692d5a457 attempt to read the file at the provided path before trying url 2020-03-25 17:27:16 -04:00
Marc Campbell
2775a6393e Docker login v0.9.27 2020-03-23 11:20:50 -07:00
Marc Campbell
b0c46c5ac8 Rename 2020-03-23 11:03:01 -07:00
Marc Campbell
e9ad961c0e Merge pull request #160 from replicatedhq/build-on-actions
Move all to github actions
2020-03-23 10:43:09 -07:00
Marc Campbell
bd71222715 Removing more unused code 2020-03-23 10:01:30 -07:00
Marc Campbell
818f8b26dd Move all to github actions 2020-03-23 09:33:23 -07:00
divolgin
9dbf282b5b Merge pull request #156 from replicatedhq/divolgin/previous
Include previous logs from pods if available
2020-03-23 09:19:33 -07:00
Marc Campbell
374856798f Merge branch 'master' of github.com:replicatedhq/troubleshoot 2020-03-23 09:17:05 -07:00
Marc Campbell
d754b3bb9f Go mod 2020-03-23 09:16:19 -07:00
Marc Campbell
225ebfbcbe Merge pull request #157 from replicatedhq/postgres-analyzer
Database analyzers (pg, mysql, redis)
2020-03-23 08:58:50 -07:00
Marc Campbell
821a132980 add some omitempty 2020-03-23 08:58:02 -07:00
Marc Campbell
4e3a627b21 Remove broken mysql example 2020-03-23 08:51:59 -07:00
Marc Campbell
206e5c01d7 Fix makefile 2020-03-23 08:37:53 -07:00
Marc Campbell
e54ad171d8 Removing incorrectly generate client code 2020-03-23 08:36:58 -07:00
Marc Campbell
8f78827002 Redis 2020-03-20 11:03:49 -07:00
Marc Campbell
77eba55ee8 Abstract, add mysql 2020-03-20 07:19:03 -07:00
Marc Campbell
562a565f1f Adding postgres analyzer 2020-03-19 18:28:13 -07:00
divolgin
db8533e69c Include previous logs from pods if available 2020-03-18 17:53:43 +00:00
Marc Campbell
f37bbdb14c Merge pull request #153 from replicatedhq/export-function
Export function
2020-03-17 14:36:38 -07:00
mzaneri
35808423b2 Merge pull request #155 from replicatedhq/mike-provider-refactor-working
REFACTOR analyzeDistribution to allow vendoring to KOTS
2020-03-12 16:38:45 -07:00
mzaneri
86b745d6c2 Update distribution.go 2020-03-12 16:01:27 -07:00
mzaneri
c773ebd894 Update distribution.go 2020-03-12 14:56:03 -07:00
Michael
2ba2849a38 Merge branch 'mike-provider-refactor-working' of github.com:replicatedhq/troubleshoot into mike-provider-refactor-working 2020-03-12 18:01:19 +00:00
Michael
a1c5247c8b REFACTOR create helper functions for analyzeDistribution 2020-03-12 18:01:05 +00:00
Michael
47ff99bfe2 Merge branch 'mike-provider-refactor-working' of github.com:replicatedhq/troubleshoot into mike-provider-refactor-working 2020-03-12 17:55:12 +00:00
Michael
6d19794dc5 REFACTOR create helper functions for analyzeDistribution 2020-03-12 17:54:34 +00:00
Michael
0c3cc7afce FIX change string to only be empty on eks masters 2020-03-11 23:33:29 +00:00
Michael
5798a4aa11 change analyzers 2020-03-11 22:10:53 +00:00
Michael
ae64a4d591 REFACTOR create helper functions for analyzeDistribution 2020-03-11 17:58:52 +00:00
Marc Campbell
983aaaacea Defining types in a package 2020-03-10 17:32:16 +00:00