Knative Prow Robot
9d7bd235ce
[release-1.7] Fix nil pointer deref in drain when it's reset ( #2652 )
...
* fix nil pointer in the drainer when it's reset
* fix linter
Co-authored-by: Dave Protasowski <dprotaso@gmail.com>
2022-11-23 01:19:41 +00:00
Dave Protasowski
5f920311c9
[release-1.7] gofmt with go1.19 ( #2650 )
...
* drop duplicate workflows
these are now part of the style workflow from knative/actions
* gofmt with go1.19
2022-11-22 23:27:41 +00:00
Knative Prow Robot
3b65316a10
[release-1.7] Function AllowRestrictedPodSecurityStandard for modifying test pods ( #2636 )
...
* Function AllowRestrictedPodSecurityStandard for modifying test pods
* Add license
* Format license
* Extract IsRestrictedPodSecurityEnforced which can be run separately
Co-authored-by: Martin Gencur <mgencur@redhat.com>
2022-11-09 16:08:14 +00:00
Knative Prow Robot
4a03844c0b
fix double close of channel ( #2575 )
...
Co-authored-by: dprotaso <dprotaso@gmail.com>
2022-08-18 00:40:48 +00:00
knative-automation
f78a006943
upgrade to latest dependencies ( #2573 )
...
bumping knative.dev/hack 782bbaa...e9a8475:
> e9a8475 Update community files (# 208)
> 4621ee6 Update community files (# 207)
> 9dabf7c Update community files (# 206)
Signed-off-by: Knative Automation <automation@knative.team>
Signed-off-by: Knative Automation <automation@knative.team>
2022-08-16 15:35:47 +00:00
Dave Protasowski
d02dcd0b03
allow drainer to be reset ( #2572 )
...
* allow drainer to be reset
* ensure Reset can be called multiple times
* add comment explaining the use of the channel
* bump tolerance as it flaked in actions
* update godoc
* fix linting and comments
2022-08-15 21:52:48 +00:00
Martin Gencur
894c2f20c9
SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function ( #2566 )
...
* SetupStaticPublishing and SetupDynamicPublishing returns OpenCensusTracer
* The caller can then call Finish() to properly flush buffered Spans
before shutdown
* Make sure the WithExporterFull checks if the config is nil
* Parse cfg.Backend only if config is not nil
Otherwise proceed futher and let globalOct.closer to be closed which
actually flushes the remaining Spans.
* Provide Tracer type with Shutdown function
* Provide backwards compatible API
* Never return nil Tracer
* Provide SetupPublishingWithDynamicConfigAndInitialValue
* Remove SetupDynamicPublishingWithInitialValue
2022-08-15 21:25:47 +00:00
Jason Hall
4f6a7753d1
Remove pkg/pool ( #2568 )
2022-08-15 21:08:48 +00:00
knative-automation
9a1245b7ec
Update actions ( #2571 )
...
Signed-off-by: Knative Automation <automation@knative.team>
Signed-off-by: Knative Automation <automation@knative.team>
2022-08-15 14:19:31 +00:00
knative-automation
0049fdd5c3
Update community files ( #2570 )
...
Signed-off-by: Knative Automation <automation@knative.team>
Signed-off-by: Knative Automation <automation@knative.team>
2022-08-15 13:21:33 +00:00
knative-automation
52261a1dc6
Update community files ( #2569 )
...
Signed-off-by: Knative Automation <automation@knative.team>
Signed-off-by: Knative Automation <automation@knative.team>
2022-08-12 01:37:01 +00:00
Ying Chun Guo
7b8b06028e
Add tracing.SetupDynamicPublishingWithInitialValue ( #2558 )
2022-08-05 01:21:21 +00:00
Dave Protasowski
a01dfedb04
bump to k8s 0.23.9 ( #2565 )
2022-08-02 18:58:24 +00:00
knative-automation
449f7e6dab
Update community files ( #2564 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-07-28 01:37:37 +00:00
knative-automation
ed7ab1d18a
upgrade to latest dependencies ( #2559 )
...
bumping knative.dev/hack a645040...782bbaa:
> 782bbaa drop warning (# 204)
> 92c7e36 Fix the buoy invocation (# 203)
> 123a278 🧹 Migrate to using the `go run` instead of `go install` (# 172)
Signed-off-by: Knative Automation <automation@knative.team>
2022-07-25 18:28:23 +00:00
Kelly A
6c9c1c6098
remove defunct markdown linting variable ( #2552 )
2022-07-22 17:59:21 +00:00
Dave Protasowski
3764d73bf9
fix linting ( #2555 )
2022-07-22 15:28:21 +00:00
knative-automation
a286510023
upgrade to latest dependencies ( #2554 )
...
bumping knative.dev/hack 65c463a...a645040:
> a645040 Update community files (# 201)
> 81e30c2 remove references to git markdown checking (# 199)
> e3be8da Update community files (# 197)
Signed-off-by: Knative Automation <automation@knative.team>
2022-07-22 15:11:20 +00:00
knative-automation
1a5e1682be
Update community files ( #2553 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-07-21 01:42:05 +00:00
Ville Aikas
c4888373bf
Add reconcile for ValidatingWebhookConfiguration and MutatingWebhookConfiguration. ( #2550 )
...
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
2022-07-20 22:08:01 +00:00
Dave Protasowski
1ad02a5662
Drop error from changeset.Get signature ( #2549 )
...
* Drop error from changeset.Get signature
We simply return 'unknown'
* update mako/sidecar's use of changeset
2022-07-18 16:36:59 +00:00
Dave Protasowski
473ba31eb9
Bump min go version to 1.18 && read build info from embedded binary ( #2548 )
...
* Bump min go version to 1.18 & read build SHA from binary
* GitHub Commit ID is really a Git Revision
* update go.sum
* fix spelling
* Address PR feedback
- Use a sync.Once to prevent double parsing
- Support SHA256
- Allow non-SHA revision strings
* Don't include 'unknown' revision value in logs
2022-07-18 14:57:59 +00:00
Ville Aikas
f1f36a2c97
Fix subresource update logic. ( #2546 )
...
* Fix subresource update logic.
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
* Rename IsInSubResourceUpdate => GetUpdatedSubresource
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
2022-07-15 18:32:28 +00:00
knative-automation
418e13833b
Update community files ( #2545 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-07-15 01:42:18 +00:00
knative-automation
e60d250dc6
upgrade to latest dependencies ( #2543 )
...
bumping knative.dev/hack e7d6365...65c463a:
> 65c463a Update community files (# 195)
Signed-off-by: Knative Automation <automation@knative.team>
2022-07-05 13:06:06 +00:00
knative-automation
97eb150765
Update community files ( #2541 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-07-01 01:39:33 +00:00
Paul Schweigert
5569169b0c
update boilerplate date ( #2539 )
...
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
2022-06-30 22:25:31 +00:00
knative-automation
85965e1e8e
upgrade to latest dependencies ( #2540 )
...
bumping knative.dev/hack 12d3e2a...e7d6365:
> e7d6365 Add [skip-dot-release] feature (# 189)
> 33ce6af Update community files (# 190)
> dc6c287 Update community files (# 185)
> fd240e2 Update community files (# 184)
> 40350b6 Update community files (# 183)
> 674c2b3 Update community files (# 182)
> 0c389ad Update community files (# 181)
> bafe4b1 Update community files (# 180)
Signed-off-by: Knative Automation <automation@knative.team>
2022-06-30 11:27:30 +00:00
knative-automation
f4ae0aff5b
Update community files ( #2538 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-06-29 13:23:31 +00:00
Matt Moore
f5db22566a
Drop `UserInfo` from logger tagging in webhook. ( #2535 )
...
* Drop `UserInfo` from logger tagging in webhook.
This can get big, and can contain mildly sensitive data that some users don't want showing up in logs.
If we keep this, than we should perhaps restrict what we tag to one of the less unbounded fields (e.g. don't include `Extra`)
* Switch UserInfo to contain just Username
2022-06-29 01:27:30 +00:00
knative-automation
177751338d
Update actions ( #2536 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-06-28 01:45:30 +00:00
Paul Schweigert
9c5a7317fa
bump k8s deps to v0.23.8 ( #2534 )
...
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
2022-06-21 17:38:22 +00:00
Enrique Encalada
1f01575cfd
Add fix for CVE-2022-28948 ( #2532 )
...
Per https://github.com/go-yaml/yaml/issues/666 , the recommendation is
to bump to v3.0.1. I detected this as an indirect dependency that was
flagged in net-istio.
2022-06-21 16:28:21 +00:00
knative-automation
7d607d643e
Update community files ( #2531 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-06-10 01:40:25 +00:00
knative-automation
865e331abf
Update community files ( #2530 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-06-09 13:19:40 +00:00
knative-automation
ec27457578
Update community files ( #2529 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-06-09 01:34:38 +00:00
knative-automation
759dd87eba
Update community files ( #2528 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-06-08 01:36:37 +00:00
Paul Schweigert
aad4309963
sets mutating webhook ReinvocationPolicy to ifNeeded ( #2472 )
...
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
2022-06-07 15:53:37 +00:00
knative-automation
9ffe192ee6
Update community files ( #2527 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-06-03 01:34:53 +00:00
knative-automation
bac16f2394
Update community files ( #2525 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-06-01 01:39:38 +00:00
Antoine Cotten
18f6995887
Log metrics/logging init messages at debug level ( #2522 )
2022-05-25 15:30:05 +00:00
knative-automation
19adf798ef
upgrade to latest dependencies ( #2524 )
...
bumping knative.dev/hack 46c77f1...12d3e2a:
> 12d3e2a switch to UTC (# 176)
> b4d4d73 Update community files (# 178)
> f4972b4 Update community files (# 177)
> a8076b0 Model []byte as strings (# 175)
> ccf82ad Update community files (# 174)
Signed-off-by: Knative Automation <automation@knative.team>
2022-05-24 20:26:03 +00:00
knative-automation
b0ff5ad395
Update actions ( #2523 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-05-24 17:19:04 +00:00
knative-automation
f907b31046
Update community files ( #2520 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-05-18 01:37:28 +00:00
knative-automation
2d8305b2e5
Update community files ( #2517 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-05-12 01:39:37 +00:00
knative-automation
a8b7d99374
Update community files ( #2515 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2022-05-05 01:37:00 +00:00
knative-automation
0719b405ec
upgrade to latest dependencies ( #2512 )
...
bumping knative.dev/hack 5f47386...46c77f1:
> 46c77f1 Skip passing enable-ha flag to test script (# 173)
Signed-off-by: Knative Automation <automation@knative.team>
2022-05-04 13:51:59 +00:00
Matt Moore
245166458e
Switch to iota/fmt.Stringer-based diagnostic levels. ( #2511 )
...
See discussion in: https://github.com/knative/pkg/pull/2498
2022-05-03 22:38:58 +00:00
Evan Anderson
ea3c8cb8c9
Fix timeout test on darwin and log dial destination on timeout. ( #2510 )
...
* Fix timeout test on darwin and log dial destination on timeout.
* Fix both linux and darwin tests. \o/
2022-05-03 15:26:05 +00:00
Matt Moore
af54d7330b
Support fetching configs from `ctx`. ( #2505 )
...
* Support fetching configs from `ctx`.
This enables callers of `sharedmain` to infuse `ctx` with a `logging.Config` or `leaderelection.Config` instead of relying on the API server for it.
* Move context methods into appropriate packages, drop stutter
2022-05-03 15:25:57 +00:00