Salah Aldeen Al Saleh
53626bb025
Default BoolString to string and bool to 0 ( #211 )
...
* default boolstring to string and bool to 0
2020-06-01 14:55:33 -07:00
Marc Campbell
0f31088bd1
Parse postgres version output
2020-05-07 19:41:59 -07:00
Andrew Lavery
2f092ae4a1
add multiline redactor test
2020-04-27 20:52:01 -04:00
Andrew Lavery
56150c3345
add support for redacting items within yaml documents
2020-04-27 20:46:52 -04:00
Andrew Lavery
8b54c28b4b
remove per-collector redactors
2020-04-20 14:59:15 -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
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
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
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
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
821a132980
add some omitempty
2020-03-23 08:58:02 -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
Andrew Lavery
1c66eed2cd
move multitype package here from kots
2020-03-09 17:37:27 -07:00
Marc Campbell
c9b01f981d
Remove unused code
2020-03-06 00:49:53 +00:00
Marc Campbell
d81cff0d67
BoolString can only unmarshal as json
2020-03-06 00:33:39 +00:00
Marc Campbell
8126cb3d3d
Fix
2020-03-05 23:41:55 +00:00
Marc Campbell
6277101574
Use bool string for exclude value
2020-03-05 23:35:21 +00:00
Frank Shotwell
f8870e5fc0
move scope instrumentation to handle table-driven tests
2020-01-31 06:25:07 +00:00
Frank Shotwell
10b2941c57
Add scope test instrumentation
2020-01-30 21:01:06 +00:00
emosbaugh
8eddab69ce
Collect statefulsets ( #123 )
...
* Collect statefulsets
* go version
2020-01-22 16:43:47 -08:00
Andrew Lavery
26f3540d98
minor simplification of authCanI code in resources collector
2020-01-10 15:03:47 -08:00
Marc Campbell
b24032519e
Add limitranges to cluster-resource collector
2020-01-10 17:41:20 +00:00
Andrew Lavery
0a04256d62
include ServerGroupsAndResources in troubleshoot cluster-resources
...
also run cluster-resources collector even when some rbac permissions are missing
print progress message when skipping a collector due to rbac issues
include a sample troubleshoot yaml spec in the repo
2020-01-08 15:10:32 -08:00
Andrew Lavery
55f2ed44bf
Check RBAC before running collectors
2019-12-31 21:32:42 +00:00
Marc Campbell
806b2fbb41
Revert "Regex analyzer"
2019-12-18 17:30:16 -08:00
Marc Campbell
8ca92b42c4
Merge pull request #100 from replicatedhq/regex-analyzer
...
Regex analyzer
2019-12-18 17:02:16 -08:00
Marc Campbell
518f826fc2
Regex analyzer
2019-12-19 00:49:16 +00:00
Marc Campbell
f5fe442349
Printing rbac policies per namespace
2019-12-18 19:49:39 +00:00
Marc Campbell
e2748c7b24
RBAC
2019-12-18 19:46:02 +00:00
Marc Campbell
98f926b46c
Support for optional collectors and analyzers
2019-12-18 01:38:51 +00:00
Marc Campbell
d0a0d925bb
Cleaning up name / collectorName
2019-12-18 01:12:16 +00:00
bearium
e13cb35c82
added std out support and namespace functionality
2019-12-02 09:56:07 -05:00
divolgin
353569d59a
support for data collector
2019-11-12 20:53:50 +00:00
Marc Campbell
0e3bcd29e4
Add nodes to the bundle
2019-11-08 16:57:33 +00:00
divolgin
13fb6abcaf
Change containers to containerNames to not break kustomize
2019-10-31 19:52:04 +00:00
divolgin
60ca35a5a6
use file paths specified by the spec instead of hardcoded ones
2019-10-25 16:23:22 +00:00
divolgin
3ea71c1d5a
support multiple containers in pod logs
2019-10-24 18:27:53 +00:00
Marc Campbell
0b7aff6597
Error handling in cluster resources
2019-09-08 14:35:56 +00:00
divolgin
c3e2748f3c
run collector times out
2019-08-22 22:39:30 +00:00
divolgin
2fb3a17783
adding support for generic CLI options. closes #54
2019-08-22 14:25:08 +00:00
divolgin
b6ca58dbcf
errors are masked when collector fails
2019-08-20 20:25:55 +00:00