Commit b67650b
Bump the all group across 1 directory with 4 updates (#1304)
Bumps the all group with 4 updates in the /plugin directory:
[github.com/grafana/grafana-app-sdk](https://github.com/grafana/grafana-app-sdk),
[github.com/grafana/grafana-app-sdk/logging](https://github.com/grafana/grafana-app-sdk),
[k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) and
[k8s.io/client-go](https://github.com/kubernetes/client-go).
Updates `github.com/grafana/grafana-app-sdk` from 0.51.4 to 0.52.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/grafana/grafana-app-sdk/releases">github.com/grafana/grafana-app-sdk's
releases</a>.</em></p>
<blockquote>
<h2>v0.52.0</h2>
<h2>Breaking Changes</h2>
<h3>CLI flags removed from <code>grafana-app-sdk generate</code> (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1278">#1278</a>)</h3>
<p>All generation flags deprecated in v0.49.0 have been removed. If you
still use any of the following flags, the CLI will now exit with an
error and a migration hint:</p>
<table>
<thead>
<tr>
<th>Removed flag</th>
<th>Replacement CUE config field</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>--manifest</code></td>
<td><code>manifestSelectors</code></td>
</tr>
<tr>
<td><code>--grouping</code></td>
<td><code>kinds.grouping</code></td>
</tr>
<tr>
<td><code>--gogenpath</code> / <code>-g</code></td>
<td><code>codegen.goGenPath</code></td>
</tr>
<tr>
<td><code>--tsgenpath</code> / <code>-t</code></td>
<td><code>codegen.tsGenPath</code></td>
</tr>
<tr>
<td><code>--gomodgenpath</code></td>
<td><code>codegen.goModGenPath</code></td>
</tr>
<tr>
<td><code>--defencoding</code></td>
<td><code>definitions.encoding</code></td>
</tr>
<tr>
<td><code>--defpath</code></td>
<td><code>definitions.path</code></td>
</tr>
<tr>
<td><code>--crdmanifest</code></td>
<td><code>definitions.manifestVersion</code></td>
</tr>
<tr>
<td><code>--postprocess</code></td>
<td><code>codegen.enableK8sPostProcessing</code></td>
</tr>
<tr>
<td><code>--genoperatorstate</code></td>
<td><code>codegen.enableOperatorStatusGeneration</code></td>
</tr>
<tr>
<td><code>--noschemasinmanifest</code></td>
<td><code>definitions.manifestSchemas</code></td>
</tr>
<tr>
<td><code>--gomodule</code></td>
<td><code>codegen.goModule</code></td>
</tr>
<tr>
<td><code>--useoldmanifestkinds</code></td>
<td><code>kinds.perKindVersion</code></td>
</tr>
</tbody>
</table>
<p><code>--defencoding=none</code> is also removed. Replace it with
<code>definitions.genManifest: false</code> and
<code>definitions.genCRDs: false</code>.</p>
<p>See the <a
href="https://github.com/grafana/grafana-app-sdk/blob/HEAD/docs/migrations/v0.52.md">v0.52
migration guide</a> for full before/after examples.</p>
<hr />
<h2>New Features</h2>
<h3>Go clients generated for Group/Version-level custom routes (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1283">#1283</a>)</h3>
<p>Previously, the SDK only generated typed Go clients for per-kind
custom routes. Manifest versions that define routes under
<code>routes.namespaced</code> or <code>routes.cluster</code> (scoped to
a Group/Version rather than a specific kind) now also get a generated
<code>CustomRouteClient</code> in the version package (e.g.
<code>pkg/generated/v1alpha1/client_gen.go</code>).</p>
<p>The generated client exposes typed
<code>*Request</code>/<code>*Response</code> wrapper methods for each
route and is constructed via
<code>NewCustomRouteClientFromGenerator</code>. The
<code>resource.ClientGenerator</code> interface has been extended with
<code>GetCustomRouteClient(schema.GroupVersion, string)</code> to
support this.</p>
<h3>Default remote client configuration (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1267">#1267</a>)</h3>
<p>A new configuration option allows supplying a list of remote
Kubernetes client configurations, making it easier to connect to remote
API servers without manual client wiring.</p>
<h3>CUE attribute <code>@grafana_app_sdk(prefix=...)</code> for
generated Go types (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1275">#1275</a>)</h3>
<p>When a type (e.g. <code>#Foo</code>) is shared across multiple
subresources in a kind schema, code generation previously redeclared the
same Go type name in multiple files, causing compilation errors. You can
now annotate a subresource with
<code>@grafana_app_sdk(prefix="<Prefix>")</code> to
prefix the generated Go type names for that subresource, resolving the
collision:</p>
<pre lang="cue"><code>schema: {
#Foo: { bar: string }
spec: { foo: #Foo }
subresource: { foo: #Foo }
@grafana_app_sdk(prefix="Subresource")
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/998657c6f0f8995d7f2091207a9d38cd358d8bb2"><code>998657c</code></a>
fix: lint error (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1290">#1290</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/8bbce5e1f0f8596e72dab96dd7dac3d86af96f32"><code>8bbce5e</code></a>
Bump the all group across 1 directory with 11 updates (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1287">#1287</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/b0b4e9122b6482eeb877d76dd20d95f3dbc746a5"><code>b0b4e91</code></a>
fix: remove flaky test that keeps timing out (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1289">#1289</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/371cb95d9e3cd0893be6013b31e12ddad18e1824"><code>371cb95</code></a>
[tests] Quick fix to the manifest codegen tests (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1288">#1288</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/ec08416c9ce4aabd7e1b8d8d0eff2ab7f92108f8"><code>ec08416</code></a>
[codegen] Fix non-deterministic manifest code generation (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1286">#1286</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/b0513a61f1445b9ef93caa388e86b22ef190f737"><code>b0513a6</code></a>
codegen: generate go clients for custom resource routes (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1283">#1283</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/16e4891254185a3571842538c1f4bdb93c98034b"><code>16e4891</code></a>
Bump the all group across 1 directory with 5 updates (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1273">#1273</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/b311c9b44ec8cb998f7bf7b2326b75255fb64df4"><code>b311c9b</code></a>
chore: clean out golden test files dir on regen (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1285">#1285</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/36ba1c2a167426da004d82d8464de7bca83e09a0"><code>36ba1c2</code></a>
feat: add a default client with remote client configuration options (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1267">#1267</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/7c68736b76073f2b5be172230a1b69b9e1f5fec0"><code>7c68736</code></a>
codegen: remove CLI flags and provide error on their usage (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1278">#1278</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/grafana/grafana-app-sdk/compare/v0.51.4...v0.52.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `github.com/grafana/grafana-app-sdk/logging` from 0.51.4 to
0.52.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/grafana/grafana-app-sdk/releases">github.com/grafana/grafana-app-sdk/logging's
releases</a>.</em></p>
<blockquote>
<h2>v0.52.0</h2>
<h2>Breaking Changes</h2>
<h3>CLI flags removed from <code>grafana-app-sdk generate</code> (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1278">#1278</a>)</h3>
<p>All generation flags deprecated in v0.49.0 have been removed. If you
still use any of the following flags, the CLI will now exit with an
error and a migration hint:</p>
<table>
<thead>
<tr>
<th>Removed flag</th>
<th>Replacement CUE config field</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>--manifest</code></td>
<td><code>manifestSelectors</code></td>
</tr>
<tr>
<td><code>--grouping</code></td>
<td><code>kinds.grouping</code></td>
</tr>
<tr>
<td><code>--gogenpath</code> / <code>-g</code></td>
<td><code>codegen.goGenPath</code></td>
</tr>
<tr>
<td><code>--tsgenpath</code> / <code>-t</code></td>
<td><code>codegen.tsGenPath</code></td>
</tr>
<tr>
<td><code>--gomodgenpath</code></td>
<td><code>codegen.goModGenPath</code></td>
</tr>
<tr>
<td><code>--defencoding</code></td>
<td><code>definitions.encoding</code></td>
</tr>
<tr>
<td><code>--defpath</code></td>
<td><code>definitions.path</code></td>
</tr>
<tr>
<td><code>--crdmanifest</code></td>
<td><code>definitions.manifestVersion</code></td>
</tr>
<tr>
<td><code>--postprocess</code></td>
<td><code>codegen.enableK8sPostProcessing</code></td>
</tr>
<tr>
<td><code>--genoperatorstate</code></td>
<td><code>codegen.enableOperatorStatusGeneration</code></td>
</tr>
<tr>
<td><code>--noschemasinmanifest</code></td>
<td><code>definitions.manifestSchemas</code></td>
</tr>
<tr>
<td><code>--gomodule</code></td>
<td><code>codegen.goModule</code></td>
</tr>
<tr>
<td><code>--useoldmanifestkinds</code></td>
<td><code>kinds.perKindVersion</code></td>
</tr>
</tbody>
</table>
<p><code>--defencoding=none</code> is also removed. Replace it with
<code>definitions.genManifest: false</code> and
<code>definitions.genCRDs: false</code>.</p>
<p>See the <a
href="https://github.com/grafana/grafana-app-sdk/blob/HEAD/docs/migrations/v0.52.md">v0.52
migration guide</a> for full before/after examples.</p>
<hr />
<h2>New Features</h2>
<h3>Go clients generated for Group/Version-level custom routes (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1283">#1283</a>)</h3>
<p>Previously, the SDK only generated typed Go clients for per-kind
custom routes. Manifest versions that define routes under
<code>routes.namespaced</code> or <code>routes.cluster</code> (scoped to
a Group/Version rather than a specific kind) now also get a generated
<code>CustomRouteClient</code> in the version package (e.g.
<code>pkg/generated/v1alpha1/client_gen.go</code>).</p>
<p>The generated client exposes typed
<code>*Request</code>/<code>*Response</code> wrapper methods for each
route and is constructed via
<code>NewCustomRouteClientFromGenerator</code>. The
<code>resource.ClientGenerator</code> interface has been extended with
<code>GetCustomRouteClient(schema.GroupVersion, string)</code> to
support this.</p>
<h3>Default remote client configuration (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1267">#1267</a>)</h3>
<p>A new configuration option allows supplying a list of remote
Kubernetes client configurations, making it easier to connect to remote
API servers without manual client wiring.</p>
<h3>CUE attribute <code>@grafana_app_sdk(prefix=...)</code> for
generated Go types (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1275">#1275</a>)</h3>
<p>When a type (e.g. <code>#Foo</code>) is shared across multiple
subresources in a kind schema, code generation previously redeclared the
same Go type name in multiple files, causing compilation errors. You can
now annotate a subresource with
<code>@grafana_app_sdk(prefix="<Prefix>")</code> to
prefix the generated Go type names for that subresource, resolving the
collision:</p>
<pre lang="cue"><code>schema: {
#Foo: { bar: string }
spec: { foo: #Foo }
subresource: { foo: #Foo }
@grafana_app_sdk(prefix="Subresource")
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/998657c6f0f8995d7f2091207a9d38cd358d8bb2"><code>998657c</code></a>
fix: lint error (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1290">#1290</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/8bbce5e1f0f8596e72dab96dd7dac3d86af96f32"><code>8bbce5e</code></a>
Bump the all group across 1 directory with 11 updates (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1287">#1287</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/b0b4e9122b6482eeb877d76dd20d95f3dbc746a5"><code>b0b4e91</code></a>
fix: remove flaky test that keeps timing out (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1289">#1289</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/371cb95d9e3cd0893be6013b31e12ddad18e1824"><code>371cb95</code></a>
[tests] Quick fix to the manifest codegen tests (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1288">#1288</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/ec08416c9ce4aabd7e1b8d8d0eff2ab7f92108f8"><code>ec08416</code></a>
[codegen] Fix non-deterministic manifest code generation (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1286">#1286</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/b0513a61f1445b9ef93caa388e86b22ef190f737"><code>b0513a6</code></a>
codegen: generate go clients for custom resource routes (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1283">#1283</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/16e4891254185a3571842538c1f4bdb93c98034b"><code>16e4891</code></a>
Bump the all group across 1 directory with 5 updates (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1273">#1273</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/b311c9b44ec8cb998f7bf7b2326b75255fb64df4"><code>b311c9b</code></a>
chore: clean out golden test files dir on regen (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1285">#1285</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/36ba1c2a167426da004d82d8464de7bca83e09a0"><code>36ba1c2</code></a>
feat: add a default client with remote client configuration options (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1267">#1267</a>)</li>
<li><a
href="https://github.com/grafana/grafana-app-sdk/commit/7c68736b76073f2b5be172230a1b69b9e1f5fec0"><code>7c68736</code></a>
codegen: remove CLI flags and provide error on their usage (<a
href="https://redirect.github.com/grafana/grafana-app-sdk/issues/1278">#1278</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/grafana/grafana-app-sdk/compare/v0.51.4...v0.52.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `k8s.io/apimachinery` from 0.35.2 to 0.35.3
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/kubernetes/apimachinery/compare/v0.35.2...v0.35.3">compare
view</a></li>
</ul>
</details>
<br />
Updates `k8s.io/client-go` from 0.35.2 to 0.35.3
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/kubernetes/client-go/commit/4f1f0a2dce40946d7376d2d490fb09f8f45d702a"><code>4f1f0a2</code></a>
Update dependencies to v0.35.3 tag</li>
<li><a
href="https://github.com/kubernetes/client-go/commit/f80003c2408715e177434c87d885675360c5c2e9"><code>f80003c</code></a>
Merge pull request <a
href="https://redirect.github.com/kubernetes/client-go/issues/136903">#136903</a><code>pohly/automated-cherry-pick-of-#136455</code></li>
<li><a
href="https://github.com/kubernetes/client-go/commit/8b415569d9852422809fb9039c480eee210bbb60"><code>8b41556</code></a>
fake client-go: un-deprecate NewSimpleClientset</li>
<li>See full diff in <a
href="https://github.com/kubernetes/client-go/compare/v0.35.2...v0.35.3">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent ff66790 commit b67650b
6 files changed
+33
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
| 334 | + | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
| 338 | + | |
| 339 | + | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
343 | | - | |
| 342 | + | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
| 372 | + | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
377 | | - | |
| 376 | + | |
| 377 | + | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
381 | | - | |
| 380 | + | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | | - | |
| 346 | + | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
0 commit comments