Compare commits

..

104 Commits

Author SHA1 Message Date
renovate[bot]
712ac0a326 chore(deps): update docker/login-action digest to 6862ffc 2025-12-31 14:07:34 +00:00
Morten Olsen
0793d30222 Update authentik-server.ts 2025-12-22 21:10:49 +01:00
Morten Olsen
c7f309cd23 remove istio and cert manager auto install 2025-12-22 20:56:22 +01:00
Morten Olsen
dc7d46d53c fix: oidc auth url (#63) 2025-10-13 21:33:24 +00:00
Morten Olsen
3ae89e81bd fix: pgvector image name (#62) 2025-10-13 21:15:10 +00:00
Morten Olsen
bc67429cd2 move to pgvector (#61) 2025-10-13 23:00:54 +02:00
Morten Olsen
af2aae493e Fix/docker (#60) 2025-10-13 22:35:40 +02:00
Morten Olsen
2af701b518 chore(config): migrate renovate config (#51)
The Renovate config in this repository needs migrating. Typically this
is because one or more configuration options you are using have been
renamed.

You don't need to merge this PR right away, because Renovate will
continue to migrate these fields internally each time it runs. But later
some of these fields may be fully deprecated and the migrations removed.
So it's a good idea to merge this migration PR soon.



#### [PLEASE
NOTE](https://docs.renovatebot.com/configuration-options#configmigration):
JSON5 config file migrated! All comments & trailing commas were removed.

🔕 **Ignore**: Close this PR and you won't be reminded about config
migration again, but one day your current config may no longer be valid.

 Got questions? Does something look wrong to you? Please don't hesitate
to [request help
here](https://redirect.github.com/renovatebot/renovate/discussions).


---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-09-25 21:32:40 +02:00
Morten Olsen
f550acd68b Remove apps (#50) 2025-09-25 20:56:08 +02:00
renovate[bot]
b3416b84fa chore(deps): update eslint monorepo to v9.36.0 (#33)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [@eslint/js](https://eslint.org)
([source](https://redirect.github.com/eslint/eslint/tree/HEAD/packages/js))
| [`9.32.0` ->
`9.36.0`](https://renovatebot.com/diffs/npm/@eslint%2fjs/9.32.0/9.36.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@eslint%2fjs/9.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@eslint%2fjs/9.32.0/9.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [eslint](https://eslint.org)
([source](https://redirect.github.com/eslint/eslint)) | [`9.32.0` ->
`9.36.0`](https://renovatebot.com/diffs/npm/eslint/9.32.0/9.36.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/9.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/9.32.0/9.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>eslint/eslint (@&#8203;eslint/js)</summary>

###
[`v9.36.0`](https://redirect.github.com/eslint/eslint/releases/tag/v9.36.0)

[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.35.0...v9.36.0)

#### Features

-
[`47afcf6`](47afcf668d)
feat: correct `preserve-caught-error` edge cases
([#&#8203;20109](https://redirect.github.com/eslint/eslint/issues/20109))
(Francesco Trotta)

#### Bug Fixes

-
[`75b74d8`](75b74d865d)
fix: add missing rule option types
([#&#8203;20127](https://redirect.github.com/eslint/eslint/issues/20127))
(ntnyq)
-
[`1c0d850`](1c0d85049e)
fix: update `eslint-all.js` to use `Object.freeze` for `rules` object
([#&#8203;20116](https://redirect.github.com/eslint/eslint/issues/20116))
(루밀LuMir)
-
[`7d61b7f`](7d61b7fadc)
fix: add missing scope types to `Scope.type`
([#&#8203;20110](https://redirect.github.com/eslint/eslint/issues/20110))
(Pixel998)
-
[`7a670c3`](7a670c301b)
fix: correct rule option typings in `rules.d.ts`
([#&#8203;20084](https://redirect.github.com/eslint/eslint/issues/20084))
(Pixel998)

#### Documentation

-
[`b73ab12`](b73ab12acd)
docs: update examples to use `defineConfig`
([#&#8203;20131](https://redirect.github.com/eslint/eslint/issues/20131))
(sethamus)
-
[`31d9392`](31d9392699)
docs: fix typos
([#&#8203;20118](https://redirect.github.com/eslint/eslint/issues/20118))
(Pixel998)
-
[`c7f861b`](c7f861b3f8)
docs: Update README (GitHub Actions Bot)
-
[`6b0c08b`](6b0c08b106)
docs: Update README (GitHub Actions Bot)
-
[`91f97c5`](91f97c5046)
docs: Update README (GitHub Actions Bot)

#### Chores

-
[`12411e8`](12411e8d45)
chore: upgrade
[@&#8203;eslint/js](https://redirect.github.com/eslint/js)@&#8203;9.36.0
([#&#8203;20139](https://redirect.github.com/eslint/eslint/issues/20139))
(Milos Djermanovic)
-
[`488cba6`](488cba6b39)
chore: package.json update for
[@&#8203;eslint/js](https://redirect.github.com/eslint/js) release
(Jenkins)
-
[`bac82a2`](bac82a2a9c)
ci: simplify renovate configuration
([#&#8203;19907](https://redirect.github.com/eslint/eslint/issues/19907))
(唯然)
-
[`c00bb37`](c00bb37d62)
ci: bump actions/labeler from 5 to 6
([#&#8203;20090](https://redirect.github.com/eslint/eslint/issues/20090))
(dependabot\[bot])
-
[`fee751d`](fee751dc8a)
refactor: use `defaultOptions` in rules
([#&#8203;20121](https://redirect.github.com/eslint/eslint/issues/20121))
(Pixel998)
-
[`1ace67d`](1ace67d9f7)
chore: update example to use `defineConfig`
([#&#8203;20111](https://redirect.github.com/eslint/eslint/issues/20111))
(루밀LuMir)
-
[`4821963`](4821963bf7)
test: add missing loc information to error objects in rule tests
([#&#8203;20112](https://redirect.github.com/eslint/eslint/issues/20112))
(루밀LuMir)
-
[`b42c42e`](b42c42e7cd)
chore: disallow use of deprecated `type` property in core rule tests
([#&#8203;20094](https://redirect.github.com/eslint/eslint/issues/20094))
(Milos Djermanovic)
-
[`7bb498d`](7bb498d720)
test: remove deprecated `type` property from core rule tests
([#&#8203;20093](https://redirect.github.com/eslint/eslint/issues/20093))
(Pixel998)
-
[`e10cf2a`](e10cf2ab42)
ci: bump actions/setup-node from 4 to 5
([#&#8203;20089](https://redirect.github.com/eslint/eslint/issues/20089))
(dependabot\[bot])
-
[`5cb0ce4`](5cb0ce48ef)
refactor: use `meta.defaultOptions` in `preserve-caught-error`
([#&#8203;20080](https://redirect.github.com/eslint/eslint/issues/20080))
(Pixel998)
-
[`f9f7cb5`](f9f7cb578d)
chore: package.json update for eslint-config-eslint release (Jenkins)
-
[`81764b2`](81764b2980)
chore: update `eslint` peer dependency in `eslint-config-eslint`
([#&#8203;20079](https://redirect.github.com/eslint/eslint/issues/20079))
(Milos Djermanovic)

###
[`v9.35.0`](https://redirect.github.com/eslint/eslint/compare/v9.34.0...af2a0870fdc646091d027516601888923e5bc202)

[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.34.0...v9.35.0)

###
[`v9.34.0`](https://redirect.github.com/eslint/eslint/compare/v9.33.0...b48fa20034e53bc65d1a58f3d834705e3087b00c)

[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.33.0...v9.34.0)

###
[`v9.33.0`](https://redirect.github.com/eslint/eslint/compare/v9.32.0...ad283717ed4764a171120ca7c6cba82a78fa024c)

[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.32.0...v9.33.0)

</details>

<details>
<summary>eslint/eslint (eslint)</summary>

###
[`v9.36.0`](https://redirect.github.com/eslint/eslint/compare/v9.35.0...b4857e54e54b5dba96d156cd8d8b4d42dc5a3bf4)

[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.35.0...v9.36.0)

###
[`v9.35.0`](https://redirect.github.com/eslint/eslint/compare/v9.34.0...8401101d1e3e3e4e1edc2a9e59cafc9956bf2610)

[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.34.0...v9.35.0)

###
[`v9.34.0`](https://redirect.github.com/eslint/eslint/compare/v9.33.0...b8875f67a7bc99824f19147f4a669be7e98f3eee)

[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.33.0...v9.34.0)

###
[`v9.33.0`](https://redirect.github.com/eslint/eslint/compare/v9.32.0...a90d7c4fe5ef83054e29d21d7ffb442103429d03)

[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.32.0...v9.33.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:52:06 +02:00
renovate[bot]
1f5e5d57cb chore(deps): update renovatebot/github-action action to v43 (#41)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[renovatebot/github-action](https://redirect.github.com/renovatebot/github-action)
| action | major | `v40.3.6` -> `v43.0.13` |

---

### Release Notes

<details>
<summary>renovatebot/github-action (renovatebot/github-action)</summary>

###
[`v43.0.13`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.13)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.12...v43.0.13)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v41.122.3
([e77f32f](e77f32f947))
- update references to renovatebot/github-action to v43.0.12
([653e4da](653e4da64c))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v11.0.6
([ea536ec](ea536ec7f8))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.19.14
([ed55387](ed55387191))
- **deps:** update dependency globals to v16.4.0
([ba12fc4](ba12fc491e))
- **deps:** update dependency semantic-release to v24.2.8
([bdb84f9](bdb84f9d76))
- **deps:** update dependency typescript-eslint to v8.43.0
([616a01b](616a01b57f))
- **deps:** update pnpm to v10.16.0
([08a05ea](08a05eac75))
- **deps:** update pnpm to v10.16.1
([bcc5fe0](bcc5fe06a7))

##### Build System

- **deps:** lock file maintenance
([1278ad3](1278ad3a00))

##### Continuous Integration

- **deps:** update renovate docker tag to v41.113.5
([8107f7d](8107f7d58d))
- **deps:** update renovate docker tag to v41.113.6
([c25039a](c25039a976))
- **deps:** update renovate docker tag to v41.113.7
([547c0f0](547c0f00ee))
- **deps:** update renovate docker tag to v41.114.0
([9b1f431](9b1f431640))
- **deps:** update renovate docker tag to v41.115.0
([f757c34](f757c349b5))
- **deps:** update renovate docker tag to v41.115.1
([d585b00](d585b000d6))
- **deps:** update renovate docker tag to v41.115.2
([8c011ca](8c011caef2))
- **deps:** update renovate docker tag to v41.115.4
([52f66bb](52f66bb6c6))
- **deps:** update renovate docker tag to v41.115.5
([7390745](7390745d95))
- **deps:** update renovate docker tag to v41.115.6
([498edef](498edef6c8))
- **deps:** update renovate docker tag to v41.116.1
([4f9581d](4f9581d96e))
- **deps:** update renovate docker tag to v41.116.10
([c9a9c99](c9a9c99cd3))
- **deps:** update renovate docker tag to v41.116.2
([ed4d0bb](ed4d0bb582))
- **deps:** update renovate docker tag to v41.116.3
([1b30889](1b308896cd))
- **deps:** update renovate docker tag to v41.116.5
([b96fb41](b96fb41d00))
- **deps:** update renovate docker tag to v41.116.6
([9bcf08c](9bcf08ccd6))
- **deps:** update renovate docker tag to v41.116.7
([b89adc7](b89adc7566))
- **deps:** update renovate docker tag to v41.116.8
([abee5ff](abee5ff462))
- **deps:** update renovate docker tag to v41.117.0
([4a4709f](4a4709fd5f))
- **deps:** update renovate docker tag to v41.118.0
([ecbe520](ecbe5207c6))
- **deps:** update renovate docker tag to v41.118.1
([051f97e](051f97e2de))
- **deps:** update renovate docker tag to v41.119.0
([28e7e1d](28e7e1de34))
- **deps:** update renovate docker tag to v41.119.4
([a1ffb8d](a1ffb8d2bc))
- **deps:** update renovate docker tag to v41.119.5
([49be121](49be121dc6))
- **deps:** update renovate docker tag to v41.119.6
([8f6f258](8f6f258c3b))
- **deps:** update renovate docker tag to v41.121.1
([3e88114](3e8811483b))
- **deps:** update renovate docker tag to v41.121.3
([db50bb4](db50bb46f8))
- **deps:** update renovate docker tag to v41.121.4
([47f54ca](47f54ca0cc))
- **deps:** update renovate docker tag to v41.122.0
([0d90aa6](0d90aa6bd2))
- **deps:** update renovate docker tag to v41.122.1
([41ba176](41ba1762f4))
- **deps:** update renovate docker tag to v41.122.2
([18ca40b](18ca40b978))
- **deps:** update renovate docker tag to v41.122.3
([8462f7c](8462f7c19a))

###
[`v43.0.12`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.12)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.11...v43.0.12)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v41.113.3
([6ff1007](6ff1007d74))
- update references to renovatebot/github-action to v43.0.11
([b1f4d3e](b1f4d3ed95))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.19.12
([9e39ec0](9e39ec0dc7))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.19.13
([c45925e](c45925e00e))
- **deps:** update dependency typescript-eslint to v8.42.0
([0065091](00650917d4))
- **deps:** update linters to v9.35.0
([da1ea10](da1ea10570))
- **deps:** update pnpm to v10.15.1
([19bd80c](19bd80c31d))

##### Build System

- **deps:** lock file maintenance
([983234a](983234a432))

##### Continuous Integration

- **deps:** update renovate docker tag to v41.100.0
([f3ac028](f3ac028ebf))
- **deps:** update renovate docker tag to v41.103.0
([bc2b208](bc2b208750))
- **deps:** update renovate docker tag to v41.105.0
([c64558a](c64558a9bb))
- **deps:** update renovate docker tag to v41.107.0
([8891399](88913997e2))
- **deps:** update renovate docker tag to v41.109.0
([71ce752](71ce7526fe))
- **deps:** update renovate docker tag to v41.111.0
([3e4fb61](3e4fb61c5c))
- **deps:** update renovate docker tag to v41.112.0
([4833cda](4833cdabd0))
- **deps:** update renovate docker tag to v41.113.0
([23d00ec](23d00ec246))
- **deps:** update renovate docker tag to v41.113.2
([94eed51](94eed51595))
- **deps:** update renovate docker tag to v41.113.3
([1bdfd59](1bdfd59d24))
- **deps:** update renovate docker tag to v41.97.10
([dc222e4](dc222e45f0))
- **deps:** update renovate docker tag to v41.98.0
([6675bb6](6675bb6606))
- **deps:** update renovate docker tag to v41.98.1
([e8c62d0](e8c62d0737))
- **deps:** update renovate docker tag to v41.98.2
([b33786c](b33786c6c9))
- **deps:** update renovate docker tag to v41.98.3
([ad18df2](ad18df2834))
- **deps:** update renovate docker tag to v41.98.4
([3194766](3194766ef4))
- **deps:** update renovate docker tag to v41.99.1
([04f5a7f](04f5a7fc7a))
- **deps:** update renovate docker tag to v41.99.11
([c4dc84e](c4dc84e7e1))
- **deps:** update renovate docker tag to v41.99.2
([f8e1197](f8e1197a5b))
- **deps:** update renovate docker tag to v41.99.5
([ff05f9e](ff05f9e5cd))
- **deps:** update renovate docker tag to v41.99.6
([e66f3a5](e66f3a5292))
- **deps:** update renovate docker tag to v41.99.7
([ace35a1](ace35a1cc7))
- **deps:** update renovate docker tag to v41.99.8
([be9ee49](be9ee49b4f))
- **deps:** update renovate docker tag to v41.99.9
([ab4314a](ab4314a776))

###
[`v43.0.11`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.11)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.10...v43.0.11)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v41.97.9
([6393760](639376097c))
- update references to renovatebot/github-action to v43.0.10
([f6c87b9](f6c87b9ba0))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v11.0.5
([358d227](358d227da9))
- **deps:** update dependency typescript-eslint to v8.41.0
([8107f53](8107f530db))
- **deps:** update node.js to v20.19.5
([017ff1e](017ff1ea6f))

##### Build System

- **deps:** lock file maintenance
([2cf635b](2cf635b3cd))

##### Continuous Integration

- **deps:** update renovate docker tag to v41.91.4
([e2dc787](e2dc78789d))
- **deps:** update renovate docker tag to v41.92.0
([28726c5](28726c5c9b))
- **deps:** update renovate docker tag to v41.92.1
([c8b6f32](c8b6f3235f))
- **deps:** update renovate docker tag to v41.93.2
([37b57c5](37b57c59ba))
- **deps:** update renovate docker tag to v41.93.3
([d547e06](d547e06b71))
- **deps:** update renovate docker tag to v41.95.0
([d4b451d](d4b451dddc))
- **deps:** update renovate docker tag to v41.95.2
([6ddecaa](6ddecaad6d))
- **deps:** update renovate docker tag to v41.96.0
([a99d64b](a99d64bd4c))
- **deps:** update renovate docker tag to v41.96.1
([43d7691](43d7691f81))
- **deps:** update renovate docker tag to v41.96.2
([36ab9e6](36ab9e6077))
- **deps:** update renovate docker tag to v41.97.2
([1bd590d](1bd590d6bc))
- **deps:** update renovate docker tag to v41.97.4
([3902134](3902134132))
- **deps:** update renovate docker tag to v41.97.5
([70b1fce](70b1fcef0a))
- **deps:** update renovate docker tag to v41.97.7
([df7fd2e](df7fd2eac1))
- **deps:** update renovate docker tag to v41.97.9
([e74772d](e74772da24))

###
[`v43.0.10`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.10)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.9...v43.0.10)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v41.91.3
([2421bf0](2421bf05c4))
- update references to renovatebot/github-action to v43.0.9
([dce1fd0](dce1fd0df0))

##### Miscellaneous Chores

- **deps:** update dependency typescript-eslint to v8.40.0
([2cc3b36](2cc3b362ea))
- **deps:** update linters to v9.34.0
([b091292](b0912928a7))
- **deps:** update pnpm to v10.15.0
([0f19013](0f190130d2))

##### Build System

- **deps:** lock file maintenance
([b818791](b818791eb8))

##### Continuous Integration

- **deps:** update renovate docker tag to v41.83.1
([d3ec2f4](d3ec2f4b9a))
- **deps:** update renovate docker tag to v41.83.2
([e996eb9](e996eb91ce))
- **deps:** update renovate docker tag to v41.84.0
([8ad79b0](8ad79b0a6a))
- **deps:** update renovate docker tag to v41.85.0
([08e121c](08e121c3b9))
- **deps:** update renovate docker tag to v41.86.0
([fa48644](fa48644f2e))
- **deps:** update renovate docker tag to v41.87.0
([ce54d02](ce54d02fda))
- **deps:** update renovate docker tag to v41.87.1
([55e08ff](55e08ff622))
- **deps:** update renovate docker tag to v41.87.3
([9d099f0](9d099f0774))
- **deps:** update renovate docker tag to v41.87.4
([ba0ae33](ba0ae33a3b))
- **deps:** update renovate docker tag to v41.88.0
([a8d1405](a8d1405861))
- **deps:** update renovate docker tag to v41.88.1
([4584b1f](4584b1fdcb))
- **deps:** update renovate docker tag to v41.88.2
([53dc6d0](53dc6d09c2))
- **deps:** update renovate docker tag to v41.89.1
([d8007b4](d8007b4214))
- **deps:** update renovate docker tag to v41.90.0
([6398f00](6398f00d52))
- **deps:** update renovate docker tag to v41.91.0
([f379948](f37994859b))
- **deps:** update renovate docker tag to v41.91.1
([369fe18](369fe18820))
- **deps:** update renovate docker tag to v41.91.2
([eb52b67](eb52b67292))
- **deps:** update renovate docker tag to v41.91.3
([79f3f97](79f3f978ab))

###
[`v43.0.9`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.9)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.8...v43.0.9)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v41.82.10
([b051c54](b051c54164))
- update references to renovatebot/github-action to v43.0.8
([1975fdd](1975fdd1e0))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.19.11
([db24234](db24234d76))
- **deps:** update dependency esbuild to v0.25.9
([03070ea](03070ea35a))
- **deps:** update dependency typescript-eslint to v8.39.1
([f87ec92](f87ec927eb))

##### Build System

- **deps:** lock file maintenance
([7fba116](7fba116efd))

##### Continuous Integration

- **deps:** update renovate docker tag to v41.77.0
([0dadd22](0dadd22546))
- **deps:** update renovate docker tag to v41.78.1
([80ca251](80ca251c36))
- **deps:** update renovate docker tag to v41.79.0
([5f906d3](5f906d3765))
- **deps:** update renovate docker tag to v41.80.0
([74d8d43](74d8d43f0b))
- **deps:** update renovate docker tag to v41.81.0
([0fdafb0](0fdafb07ca))
- **deps:** update renovate docker tag to v41.81.1
([8a0a452](8a0a452089))
- **deps:** update renovate docker tag to v41.81.2
([36c5210](36c5210215))
- **deps:** update renovate docker tag to v41.81.4
([c779f49](c779f493c5))
- **deps:** update renovate docker tag to v41.81.5
([85fd9ac](85fd9ac3d5))
- **deps:** update renovate docker tag to v41.81.6
([9993804](99938042ba))
- **deps:** update renovate docker tag to v41.82.1
([dd2f675](dd2f675ddd))
- **deps:** update renovate docker tag to v41.82.10
([f34823e](f34823e3a3))
- **deps:** update renovate docker tag to v41.82.3
([f920e5a](f920e5a83d))
- **deps:** update renovate docker tag to v41.82.4
([c715863](c7158638af))
- **deps:** update renovate docker tag to v41.82.5
([8116e7d](8116e7d10b))
- **deps:** update renovate docker tag to v41.82.6
([6a5439d](6a5439db7c))
- **deps:** update renovate docker tag to v41.82.9
([0c87c2d](0c87c2dfc9))

###
[`v43.0.8`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.8)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.7...v43.0.8)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v41.76.0
([03f5409](03f54097a8))
- update references to renovatebot/github-action to v43.0.7
([3481be4](3481be4d37))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v11.0.4
([ac62f3b](ac62f3bb46))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.19.10
([c6850c5](c6850c5279))
- **deps:** update dependency typescript-eslint to v8.39.0
([cdd6478](cdd647815f))
- **deps:** update linters to v9.33.0
([c9eb89b](c9eb89b063))

##### Build System

- **deps:** lock file maintenance
([24ab2b0](24ab2b0351))

##### Continuous Integration

- **deps:** update actions/checkout action to v4.3.0
([3829454](38294546f7))
- **deps:** update renovate docker tag to v41.62.1
([a85412b](a85412bc78))
- **deps:** update renovate docker tag to v41.62.3
([3e97d68](3e97d68dfd))
- **deps:** update renovate docker tag to v41.62.4
([7e836da](7e836dad6e))
- **deps:** update renovate docker tag to v41.63.0
([169ad71](169ad71fde))
- **deps:** update renovate docker tag to v41.64.2
([54725d8](54725d82ce))
- **deps:** update renovate docker tag to v41.65.1
([948aa51](948aa51a0a))
- **deps:** update renovate docker tag to v41.66.1
([cdcd0eb](cdcd0eb690))
- **deps:** update renovate docker tag to v41.66.2
([537077b](537077bdda))
- **deps:** update renovate docker tag to v41.67.0
([071bd60](071bd60714))
- **deps:** update renovate docker tag to v41.69.1
([695ae37](695ae37dff))
- **deps:** update renovate docker tag to v41.70.0
([4863736](48637365ba))
- **deps:** update renovate docker tag to v41.70.2
([5637275](563727593a))
- **deps:** update renovate docker tag to v41.70.3
([e7203d7](e7203d7c12))
- **deps:** update renovate docker tag to v41.71.0
([08298cd](08298cd19c))
- **deps:** update renovate docker tag to v41.71.1
([7703e2a](7703e2a57d))
- **deps:** update renovate docker tag to v41.72.0
([e4cc9c1](e4cc9c11ed))
- **deps:** update renovate docker tag to v41.72.1
([0f819de](0f819de561))
- **deps:** update renovate docker tag to v41.73.0
([2d06c86](2d06c8696f))
- **deps:** update renovate docker tag to v41.73.2
([e4af55d](e4af55d5b6))
- **deps:** update renovate docker tag to v41.74.0
([12bcbe7](12bcbe72e8))
- **deps:** update renovate docker tag to v41.74.1
([5c6501f](5c6501ff43))
- **deps:** update renovate docker tag to v41.74.2
([8144346](81443463ad))
- **deps:** update renovate docker tag to v41.74.3
([748c10b](748c10b208))
- **deps:** update renovate docker tag to v41.75.0
([0487302](04873024ee))
- **deps:** update renovate docker tag to v41.76.0
([8823e9c](8823e9ced0))

###
[`v43.0.7`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.7)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.6...v43.0.7)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v41.61.1
([95f368a](95f368a7a3))
- update references to renovatebot/github-action to v43.0.6
([b7cf923](b7cf9238b9))

##### Build System

- **deps:** lock file maintenance
([4d96b3f](4d96b3f6d7))

##### Continuous Integration

- **deps:** update renovate docker tag to v41.58.1
([aa067a1](aa067a115f))
- **deps:** update renovate docker tag to v41.58.2
([10e5a16](10e5a16cda))
- **deps:** update renovate docker tag to v41.59.0
([12a24fb](12a24fba20))
- **deps:** update renovate docker tag to v41.59.1
([a73f200](a73f2004fa))
- **deps:** update renovate docker tag to v41.59.2
([bbc2a0c](bbc2a0c8dd))
- **deps:** update renovate docker tag to v41.60.0
([c7f19cc](c7f19cc747))
- **deps:** update renovate docker tag to v41.60.1
([f853f18](f853f18a46))
- **deps:** update renovate docker tag to v41.60.2
([9c7fec5](9c7fec5dc5))
- **deps:** update renovate docker tag to v41.60.3
([76c3031](76c3031e42))
- **deps:** update renovate docker tag to v41.60.4
([7d15670](7d15670f8b))
- **deps:** update renovate docker tag to v41.61.0
([9d148c6](9d148c60c5))
- **deps:** update renovate docker tag to v41.61.1
([64de403](64de403420))

###
[`v43.0.6`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.6)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.5...v43.0.6)

##### Documentation

- update references to renovatebot/github-action to v43.0.5
([9d38d60](9d38d60caf))

##### Miscellaneous Chores

- **deps:** update actions/cache action to v4.2.4
([cc05524](cc055242a4))
- **deps:** update dependency typescript-eslint to v8.38.0
([8754a30](8754a307cd))
- **deps:** update linters to v9.32.0
([a4d46be](a4d46bed14))
- **deps:** update pnpm to v10.14.0
([6afa04b](6afa04b149))

##### Build System

- **deps:** update dependency typescript to v5.9.2
([dba2ce6](dba2ce621e))

##### Continuous Integration

- **deps:** update renovate docker tag to v41.55.2
([f548d3b](f548d3b85f))
- **deps:** update renovate docker tag to v41.55.3
([33274ad](33274ad078))
- **deps:** update renovate docker tag to v41.56.1
([ab69233](ab692339af))
- **deps:** update renovate docker tag to v41.57.1
([18abe0f](18abe0f2a3))

###
[`v43.0.5`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.5)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.4...v43.0.5)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v41.43.5
([4ad9ffe](4ad9ffee08))
- update references to renovatebot/github-action to v43.0.4
([dece3de](dece3de84c))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.19.8
([d5ef9da](d5ef9dafd1))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.19.9
([92c9c01](92c9c011a8))
- **deps:** update dependency esbuild to v0.25.7
([b17b134](b17b13479b))
- **deps:** update dependency esbuild to v0.25.8
([bc7164b](bc7164bacd))
- **deps:** update dependency eslint-config-prettier to v10.1.8
([7c30522](7c30522e13))
- **deps:** update dependency prettier-plugin-packagejson to v2.5.19
([c575bac](c575bac545))
- **deps:** update dependency typescript-eslint to v8.37.0
([e1880ed](e1880ed408))

##### Build System

- **deps:** lock file maintenance
([dbecb71](dbecb71499))

##### Continuous Integration

- **deps:** update renovate docker tag to v41.42.0
([5a652eb](5a652eb2c3))
- **deps:** update renovate docker tag to v41.42.1
([426b9fb](426b9fb1e3))
- **deps:** update renovate docker tag to v41.42.10
([8fb57da](8fb57da6de))
- **deps:** update renovate docker tag to v41.42.11
([d110957](d1109576cf))
- **deps:** update renovate docker tag to v41.42.12
([2cfb1d5](2cfb1d5a0c))
- **deps:** update renovate docker tag to v41.42.2
([782dc42](782dc423db))
- **deps:** update renovate docker tag to v41.42.3
([21038ac](21038acb7b))
- **deps:** update renovate docker tag to v41.42.6
([2684bae](2684bae751))
- **deps:** update renovate docker tag to v41.42.8
([5cbc6ab](5cbc6ab617))
- **deps:** update renovate docker tag to v41.42.9
([eee1a9c](eee1a9cf7b))
- **deps:** update renovate docker tag to v41.43.0
([946e1e6](946e1e64ad))
- **deps:** update renovate docker tag to v41.43.1
([ba5e92b](ba5e92be41))
- **deps:** update renovate docker tag to v41.43.2
([fd74a16](fd74a1658c))
- **deps:** update renovate docker tag to v41.43.3
([516fa29](516fa291b2))
- **deps:** update renovate docker tag to v41.43.4
([13a309d](13a309d1dd))
- **deps:** update renovate docker tag to v41.43.5
([6ce8cbf](6ce8cbfc76))

###
[`v43.0.4`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.4)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.3...v43.0.4)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v41.40.0
([f6b47f9](f6b47f9f9b))
- update references to renovatebot/github-action to v43.0.3
([bf65217](bf652174bf))

##### Miscellaneous Chores

- **config:** migrate renovate config
([#&#8203;936](https://redirect.github.com/renovatebot/github-action/issues/936))
([39633a9](39633a9695))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.19.5
([d64161e](d64161e18f))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.19.7
([eac9c05](eac9c05561))
- **deps:** update dependency esbuild to v0.25.6
([398b041](398b041df8))
- **deps:** update dependency semantic-release to v24.2.7
([0e82a2f](0e82a2f12b))
- **deps:** update dependency typescript-eslint to v8.36.0
([14ba7bd](14ba7bde78))
- **deps:** update linters to v9.31.0
([44c4924](44c49249db))
- **deps:** update node.js to v20.19.4
([0c87f01](0c87f017aa))
- **deps:** update pnpm to v10.13.1
([96af53d](96af53dc07))

##### Build System

- **deps:** lock file maintenance
([82e5b44](82e5b44a74))

##### Continuous Integration

- **deps:** update renovate docker tag to v41.32.2
([3be7801](3be7801303))
- **deps:** update renovate docker tag to v41.32.3
([cb848a9](cb848a9bbe))
- **deps:** update renovate docker tag to v41.33.0
([c4c734c](c4c734c485))
- **deps:** update renovate docker tag to v41.34.1
([9e4d256](9e4d256200))
- **deps:** update renovate docker tag to v41.35.0
([ccc4bcc](ccc4bcc6f6))
- **deps:** update renovate docker tag to v41.35.1
([b39de05](b39de05f6a))
- **deps:** update renovate docker tag to v41.35.2
([642a8ed](642a8eda1c))
- **deps:** update renovate docker tag to v41.36.0
([c838e96](c838e96f4e))
- **deps:** update renovate docker tag to v41.37.10
([f1fdc44](f1fdc443b3))
- **deps:** update renovate docker tag to v41.37.11
([ba75ece](ba75ecefd3))
- **deps:** update renovate docker tag to v41.37.12
([3f7c77c](3f7c77c7ce))
- **deps:** update renovate docker tag to v41.37.2
([f27e4f4](f27e4f4e40))
- **deps:** update renovate docker tag to v41.37.3
([e14c6d6](e14c6d63c3))
- **deps:** update renovate docker tag to v41.37.7
([b36861c](b36861c478))
- **deps:** update renovate docker tag to v41.37.8
([51534af](51534af65a))
- **deps:** update renovate docker tag to v41.37.9
([86050b8](86050b8d95))
- **deps:** update renovate docker tag to v41.38.0
([3f1f51c](3f1f51c504))
- **deps:** update renovate docker tag to v41.38.1
([6132256](613225679d))
- **deps:** update renovate docker tag to v41.38.2
([0976ae7](0976ae7044))
- **deps:** update renovate docker tag to v41.39.0
([89978d4](89978d48fe))
- **deps:** update renovate docker tag to v41.40.0
([e7f4699](e7f4699adb))

###
[`v43.0.3`](https://redirect.github.com/renovatebot/github-action/releases/tag/v43.0.3)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v43.0.2...v43.0.3)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v41.23.2
([d1cb861](d1cb861578))
- update references to ghcr.io/renovatebot/renovate to v41.32.1
([d401f2e](d401f2e3d6))
- update references to renovatebot/github-action to v43.0.2
([862f35e](862f35e837))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;semantic-release/npm](https://redirect.github.com/semantic-release/npm)
to v12.0.2
([6f92e63](6f92e63c61))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.19.2
([7d61b87](7d61b874f3))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.19.4
([927b912](927b912d55))
- **deps:** update dependency globals to v16.3.0
([9672362](9672362f09))
- **deps:** update dependency prettier to v3.6.1
([4aa3491](4aa3491fca))
- **deps:** update dependency prettier to v3.6.2
([a13e505](a13e505be5))
- **deps:** update dependency prettier-plugin-packagejson to v2.5.16
([60adc9e](60adc9e262))
- **deps:** update dependency prettier-plugin-packagejson to v2.5.17
([5ef85b6](5ef85b6ab5))
- **deps:** update dependency prettier-plugin-packagejson to v2.5.18
([4cc8d90](4cc8d90225))
- **deps:** update dependency semantic-release to v24.2.6
([0a4bea6](0a4bea67f9))
- **deps:** update dependency typescript-eslint to v8.35.0
([86dcfb8](86dcfb84fd))
- **deps:** update dependency typescript-eslint to v8.35.1
([04861f0](04861f0503))
- **deps:** update linters to v9.30.0
([541b625](541b625ecb))
- **deps:** update linters to v9.30.1
([bdf2756](bdf27560d6))
- **deps:** update pnpm to v10.12.3
([83ffe73](83ffe73df3))
- **deps:** update pnpm to v10.12.4
([e3103fc](e3103fcc8d))
- **deps:** update prettier packages
([#&#8203;938](https://redirect.github.com/renovatebot/github-action/issues/938))
([2454dfb](2454dfbdd8))

##### Build System

- **deps:** lock file maintenance
([3b940a9](3b940a9640))

##### Continuous Integration

- **deps:** update renovate docker tag to v41.18.0
([68c24e6](68c24e6cbf))
- **deps:** update renovate docker tag to v41.18.1
([f3e5485](f3e5485dc5))
- **deps:** update renovate docker tag to v41.18.2
([1934898](1934898c9c))
- **deps:** update renovate docker tag to v41.18.3
([cb0eb9d](cb0eb9d904))
- **deps:** update renovate docker tag to v41.19.0
([3e6f5ea](3e6f5eace3))
- **deps:** update renovate docker tag to v41.20.0
([8873e8f](8873e8fa7c))
- **deps:** update renovate docker tag to v41.20.1
([5b4de48](5b4de4858c))
- **deps:** update renovate docker tag to v41.20.2
([1e544fc](1e544fc492))
- **deps:** update renovate docker tag to v41.21.0
([2c759bd](2c759bdcfa))
- **deps:** update renovate docker tag to v41.21.1
([edd4d82](edd4d82ad2))
- **deps:** update renovate docker tag to v41.21.2
([38ad587](38ad58776e))
- **deps:** update renovate docker tag to v41.21.3
([2d166b6](2d166b6303))
- **deps:** update renovate docker tag to v41.23.0
([14c4d58](14c4d58a66))
- **deps:** update renovate docker tag to v41.23.1
([246a5e6](246a5e621a))
- **deps:** update renovate docker tag to v41.23.2
([872034d](872034d9a0))
- **deps:** update renovate docker tag to v41.23.4
([cb51849](cb518499d3))
- **deps:** update renovate docker tag to v41.23.5
([dc3d583](dc3d583abe))
- **deps:** update renovate docker tag to v41.24.0
([3ffd8e4](3ffd8e4cb5))
- **deps:** update renovate docker tag to v41.25.0
([9bb389b](9bb389b5d1))
- **deps:** update renovate docker tag to v41.26.0
([e37ae8e](e37ae8e406))
- **deps:** update renovate docker tag to v41.26.1
([fd2bf7f](fd2bf7f9b6))
- **deps:** update renovate docker tag to v41.27.0
([0d9e62e](0d9e62e198))
- **deps:** update renovate docker tag to v41.28.0
([74ab89a](74ab89a8c7))
- **deps:** update renovate docker tag to v41.28.1
([5603289](5603289db6))
- **deps:** update renovate docker tag to v41.28.2
([92ee76d](92ee76d2df))
- **deps:** update renovate docker tag to v41.29.1
([95fb061](95fb0614fa))
- **deps:** update renovate docker tag to v41.30.1
([0eb64ad](0eb64ad472))
- **deps:** update renovate docker tag to v41.30.2
([ee832f5](ee832f522b))
- **deps:** update renovate docker tag to v41.30.3
([1c82a36](1c82a36524))
- **deps:** update renovate docker tag to v41.30.4
([907e0b4](907e0b4f60))
- **deps:** update renovate docker tag to v41.30.5
([b011fc6](b011fc68c2))
- **deps:** update renovate docker tag to v41.31.0
([80ddf09](80ddf0986c))
- **deps:** update renovate docker tag to v41.31.1
([c445227](c445227826))
- **deps:** update renovate docker tag to v41.32.0
([8f317a4](8f317a4703))
- **deps:** update renovate docker tag to v41.32.1
([9c24760](9c2476021d))

### [`v43.0.2`](https://redirect.github.c

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:51:54 +02:00
renovate[bot]
2c46062c4f fix(deps): update dependency cloudflare to v5 (#42)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
|
[cloudflare](https://redirect.github.com/cloudflare/cloudflare-typescript)
| [`^4.5.0` ->
`^5.0.0`](https://renovatebot.com/diffs/npm/cloudflare/4.5.0/5.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cloudflare/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cloudflare/4.5.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>cloudflare/cloudflare-typescript (cloudflare)</summary>

###
[`v5.1.0`](https://redirect.github.com/cloudflare/cloudflare-typescript/blob/HEAD/CHANGELOG.md#510-2025-09-12)

[Compare
Source](https://redirect.github.com/cloudflare/cloudflare-typescript/compare/v5.0.0...v5.1.0)

Full Changelog:
[v5.0.0...v5.1.0](https://redirect.github.com/cloudflare/cloudflare-typescript/compare/v5.0.0...v5.1.0)

##### Features

- Merge branch 'vaishak/skip-worker-test' into 'main'
([a556698](a5566983ae))

##### Bug Fixes

- coerce nullable values to undefined
([7847e84](7847e845eb))
- correctly handle sending multipart/form-data requests with JSON
([e9deab6](e9deab61fa))

##### Chores

- ci build action
([23d3577](23d3577a92))
- fix lint on the examples
([dd14379](dd143796d0))
- fix lint on the examples
([dd14379](dd143796d0))
- fix lint on the examples
([5b2f145](5b2f145f72))
- **internal:** codegen related update
([2860479](2860479dc7))

###
[`v5.0.0`](https://redirect.github.com/cloudflare/cloudflare-typescript/blob/HEAD/CHANGELOG.md#510-2025-09-12)

[Compare
Source](https://redirect.github.com/cloudflare/cloudflare-typescript/compare/v4.5.0...v5.0.0)

Full Changelog:
[v5.0.0...v5.1.0](https://redirect.github.com/cloudflare/cloudflare-typescript/compare/v5.0.0...v5.1.0)

##### Features

- Merge branch 'vaishak/skip-worker-test' into 'main'
([a556698](a5566983ae))

##### Bug Fixes

- coerce nullable values to undefined
([7847e84](7847e845eb))
- correctly handle sending multipart/form-data requests with JSON
([e9deab6](e9deab61fa))

##### Chores

- ci build action
([23d3577](23d3577a92))
- fix lint on the examples
([dd14379](dd143796d0))
- fix lint on the examples
([dd14379](dd143796d0))
- fix lint on the examples
([5b2f145](5b2f145f72))
- **internal:** codegen related update
([2860479](2860479dc7))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:51:40 +02:00
renovate[bot]
512d96a128 chore(deps): update actions/checkout action to v5 (#39)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://redirect.github.com/actions/checkout) |
action | major | `v4` -> `v5` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

### [`v5`](https://redirect.github.com/actions/checkout/compare/v4...v5)

[Compare
Source](https://redirect.github.com/actions/checkout/compare/v4...v5)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:51:25 +02:00
renovate[bot]
57e8349569 chore(deps): update ghcr.io/morten-olsen/homelab-operator:main docker digest to df20d7e (#48)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| ghcr.io/morten-olsen/homelab-operator | digest | `4fb3a40` ->
`df20d7e` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:51:12 +02:00
renovate[bot]
0b9bb40706 chore(deps): update docker images (#47)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker.n8n.io/n8nio/n8n | digest | `c5fe3ff` -> `4a15955` |
|
[ghcr.io/advplyr/audiobookshelf](https://redirect.github.com/advplyr/audiobookshelf)
| minor | `2.26.1` -> `2.29.0` |
| ghcr.io/esphome/esphome | digest | `393775c` -> `67f4df2` |
| ghcr.io/homarr-labs/homarr | digest | `7d58149` -> `9ba9831` |
| ghcr.io/linkwarden/linkwarden | pinDigest |  -> `c1c6f41` |
| ghcr.io/metatool-ai/metamcp | digest | `09e467e` -> `009c635` |
| ghcr.io/miniflux/miniflux | digest | `b435a1e` -> `fd6587a` |
| ghcr.io/morten-olsen/homelab-operator | digest | `d6f0884` ->
`4fb3a40` |
| ghcr.io/open-webui/open-webui | digest | `2e78a2f` -> `05aaa81` |
| nocodb/nocodb | pinDigest |  -> `71d5b23` |
| ollama/ollama | patch | `0.12.0` -> `0.12.1` |

---

### Release Notes

<details>
<summary>advplyr/audiobookshelf
(ghcr.io/advplyr/audiobookshelf)</summary>

###
[`v2.29.0`](https://redirect.github.com/advplyr/audiobookshelf/releases/tag/v2.29.0)

[Compare
Source](https://redirect.github.com/advplyr/audiobookshelf/compare/v2.28.0...v2.29.0)

##### Important: New authentication system was added in
[v2.26.0](https://redirect.github.com/advplyr/audiobookshelf/releases/tag/v2.26.0).
See
<https://redirect.github.com/advplyr/audiobookshelf/discussions/4460>
for details.

##### Added

- Chapter editor tools/enhancements including bulk chapter import & more
(see
[#&#8203;4384](https://redirect.github.com/advplyr/audiobookshelf/issues/4384))
by [@&#8203;josh-vin](https://redirect.github.com/josh-vin) in
[#&#8203;4384](https://redirect.github.com/advplyr/audiobookshelf/issues/4384)
- Book library sort options for `Progress: Started` and `Progress:
Finished`
[#&#8203;4540](https://redirect.github.com/advplyr/audiobookshelf/issues/4540)
by [@&#8203;tagmeh](https://redirect.github.com/tagmeh) in
[#&#8203;4575](https://redirect.github.com/advplyr/audiobookshelf/issues/4575)

##### Fixed

- Initial page load failing to load library (on token refreshes)
[#&#8203;4567](https://redirect.github.com/advplyr/audiobookshelf/issues/4567)
(in
[#&#8203;4590](https://redirect.github.com/advplyr/audiobookshelf/issues/4590))
- Library path folder browser not working on latest Windows 11 (replace
`wmic` with `powershell`)
[#&#8203;4531](https://redirect.github.com/advplyr/audiobookshelf/issues/4531)
by [@&#8203;sir-wilhelm](https://redirect.github.com/sir-wilhelm) in
[#&#8203;4533](https://redirect.github.com/advplyr/audiobookshelf/issues/4533)
- Podcast itunes id not set on podcasts created from search and podcast
matching
[#&#8203;4614](https://redirect.github.com/advplyr/audiobookshelf/issues/4614)
- Book match tab last used provider saved in local storage being
overriden by itunes when matching a podcast
[#&#8203;4615](https://redirect.github.com/advplyr/audiobookshelf/issues/4615)
- Server listening log for ipv6 host by
[@&#8203;renesat](https://redirect.github.com/renesat) in
[#&#8203;4595](https://redirect.github.com/advplyr/audiobookshelf/issues/4595)
- UI/UX: Podcast match author input not showing the current author value
[#&#8203;4617](https://redirect.github.com/advplyr/audiobookshelf/issues/4617)

##### Changed

- Podcast episode download requests pass `*/*` in `Accept` header by
[@&#8203;renesat](https://redirect.github.com/renesat) in
[#&#8203;4596](https://redirect.github.com/advplyr/audiobookshelf/issues/4596)
- Podcast episode downloads always embed meta tags (previously only mp3)
(in
[#&#8203;4598](https://redirect.github.com/advplyr/audiobookshelf/issues/4598))
- Remove unnecessary token from HLS playlist files by
[@&#8203;laxandrea](https://redirect.github.com/laxandrea) in
[#&#8203;4608](https://redirect.github.com/advplyr/audiobookshelf/issues/4608)
- UI/UX: Changed book library `Progress Updated` sort option label to
`Progress: Last Updated`
- UI/UX: Replace SVG icons with material-symbols icon equivalents by
[@&#8203;Toby222](https://redirect.github.com/Toby222) in
[#&#8203;4552](https://redirect.github.com/advplyr/audiobookshelf/issues/4552)
- UI/UX: Remove unnecessary success toast for podcast episode removed
[#&#8203;4606](https://redirect.github.com/advplyr/audiobookshelf/issues/4606)
- More strings translated
- Belarusian by
[@&#8203;i-Nosferatu-i](https://redirect.github.com/i-Nosferatu-i)
- Bulgarian by
[@&#8203;jeliozver](https://redirect.github.com/jeliozver)
- Chinese (Simplified Han script) by
[@&#8203;FiendFEARing](https://redirect.github.com/FiendFEARing)
  - Croatian by [@&#8203;biuklija](https://redirect.github.com/biuklija)
  - Czech by [@&#8203;kuci-JK](https://redirect.github.com/kuci-JK)
  - Dutch by [@&#8203;matieke](https://redirect.github.com/matieke)
- German by [@&#8203;Vito0912](https://redirect.github.com/Vito0912)
[@&#8203;Dalabad](https://redirect.github.com/Dalabad)
[@&#8203;Eragos](https://redirect.github.com/Eragos)
[@&#8203;B0rax](https://redirect.github.com/B0rax)
- Hungarian by [@&#8203;ugyes](https://redirect.github.com/ugyes)
[@&#8203;Kabika82](https://redirect.github.com/Kabika82)
- Italian by [@&#8203;paolor72](https://redirect.github.com/paolor72)
[@&#8203;laxandrea](https://redirect.github.com/laxandrea)
  - Russian by [@&#8203;renesat](https://redirect.github.com/renesat)
- Slovenian by
[@&#8203;thehijacker](https://redirect.github.com/thehijacker)
- Spanish by [@&#8203;idojius86](https://redirect.github.com/idojius86)
- Swedish by [@&#8203;Cotignac](https://redirect.github.com/Cotignac)
[@&#8203;MageSneaky](https://redirect.github.com/MageSneaky)
- Vietnamese by
[@&#8203;phamngocminhhang](https://redirect.github.com/phamngocminhhang)

#### New Contributors

- [@&#8203;laxandrea](https://redirect.github.com/laxandrea) made their
first contribution in
[#&#8203;4608](https://redirect.github.com/advplyr/audiobookshelf/pull/4608)
- [@&#8203;renesat](https://redirect.github.com/renesat) made their
first contribution in
[#&#8203;4596](https://redirect.github.com/advplyr/audiobookshelf/pull/4596)
- [@&#8203;sir-wilhelm](https://redirect.github.com/sir-wilhelm) made
their first contribution in
[#&#8203;4533](https://redirect.github.com/advplyr/audiobookshelf/pull/4533)
- [@&#8203;tagmeh](https://redirect.github.com/tagmeh) made their first
contribution in
[#&#8203;4575](https://redirect.github.com/advplyr/audiobookshelf/pull/4575)

**Full Changelog**:
<https://github.com/advplyr/audiobookshelf/compare/v2.28.0...v2.29.0>

###
[`v2.28.0`](https://redirect.github.com/advplyr/audiobookshelf/releases/tag/v2.28.0)

[Compare
Source](https://redirect.github.com/advplyr/audiobookshelf/compare/v2.27.0...v2.28.0)

##### Important: New authentication system was added in
[v2.26.0](https://redirect.github.com/advplyr/audiobookshelf/releases/tag/v2.26.0).
See
<https://redirect.github.com/advplyr/audiobookshelf/discussions/4460>
for details.

##### Added

- Server setting to allow a whitelist of CORS origins by
[@&#8203;Vito0912](https://redirect.github.com/Vito0912) in
[#&#8203;4557](https://redirect.github.com/advplyr/audiobookshelf/issues/4557)

##### Fixed

- Server crash when transcode requests are made to the direct play
endpoint
[#&#8203;4555](https://redirect.github.com/advplyr/audiobookshelf/issues/4555)
(in
[#&#8203;4565](https://redirect.github.com/advplyr/audiobookshelf/issues/4565))
- OIDC auto-register still creating a user when groupclaim is invalid
[#&#8203;4563](https://redirect.github.com/advplyr/audiobookshelf/issues/4563)
- OIDC callback URL validation

##### Changed

- More strings translated
- Belarusian by
[@&#8203;i-Nosferatu-i](https://redirect.github.com/i-Nosferatu-i)
- Chinese (Simplified Han script) by
[@&#8203;FiendFEARing](https://redirect.github.com/FiendFEARing)
  - Croatian by [@&#8203;biuklija](https://redirect.github.com/biuklija)
- Estonian by
[@&#8203;alehandro112](https://redirect.github.com/alehandro112)
  - French by [@&#8203;ThoDon](https://redirect.github.com/ThoDon)
- German by [@&#8203;Vito0912](https://redirect.github.com/Vito0912)
[@&#8203;numerfolt](https://redirect.github.com/numerfolt)
[@&#8203;LaurinSorgend](https://redirect.github.com/LaurinSorgend)
- Hindi by
[@&#8203;ashishwadekar](https://redirect.github.com/ashishwadekar)
- Norwegian Bokmål by
[@&#8203;Erbros](https://redirect.github.com/Erbros)
- Russian by [@&#8203;NickSkier](https://redirect.github.com/NickSkier)
- Ukrainian by
[@&#8203;Maksim2005UA2](https://redirect.github.com/Maksim2005UA2)

**Full Changelog**:
<https://github.com/advplyr/audiobookshelf/compare/v2.27.0...v2.28.0>

###
[`v2.27.0`](https://redirect.github.com/advplyr/audiobookshelf/releases/tag/v2.27.0)

[Compare
Source](https://redirect.github.com/advplyr/audiobookshelf/compare/v2.26.3...v2.27.0)

##### Important: New authentication system was added in
[v2.26.0](https://redirect.github.com/advplyr/audiobookshelf/releases/tag/v2.26.0).
See
<https://redirect.github.com/advplyr/audiobookshelf/discussions/4460>
for details.

##### Added

- Book library sort option for progress last updated
[#&#8203;1215](https://redirect.github.com/advplyr/audiobookshelf/issues/1215)
(in
[#&#8203;4542](https://redirect.github.com/advplyr/audiobookshelf/issues/4542))
- Sepia theme in epub e-reader
[#&#8203;4407](https://redirect.github.com/advplyr/audiobookshelf/issues/4407)
by [@&#8203;michaeldvinci](https://redirect.github.com/michaeldvinci) in
[#&#8203;4534](https://redirect.github.com/advplyr/audiobookshelf/issues/4534)

##### Fixed

- All e-reader devices visible to non-admin users
[#&#8203;4529](https://redirect.github.com/advplyr/audiobookshelf/issues/4529)
(in
[#&#8203;4530](https://redirect.github.com/advplyr/audiobookshelf/issues/4530))
- UI/UX: Edit chapter page lookup modal showing incorrect duration when
removing branding by
[@&#8203;chriscam85](https://redirect.github.com/chriscam85) in
[#&#8203;4551](https://redirect.github.com/advplyr/audiobookshelf/issues/4551)
- UI/UX: Cursor pointer for version in side rail by
[@&#8203;FelixSche](https://redirect.github.com/FelixSche) in
[#&#8203;4528](https://redirect.github.com/advplyr/audiobookshelf/issues/4528)
- UI/UX: Sessions table overflowing horizontally on mobile

##### Changed

- UI/UX: Localized user stats heatmap tooltip
[#&#8203;4550](https://redirect.github.com/advplyr/audiobookshelf/issues/4550)
- More strings translated
- Belarusian by
[@&#8203;i-Nosferatu-i](https://redirect.github.com/i-Nosferatu-i)
- Chinese (Simplified Han script) by
[@&#8203;FiendFEARing](https://redirect.github.com/FiendFEARing)
- Danish by
[@&#8203;MikkelOlesen](https://redirect.github.com/MikkelOlesen)
- Dutch by
[@&#8203;RemcoSchrijver](https://redirect.github.com/RemcoSchrijver)
[@&#8203;Pepsicola1995](https://redirect.github.com/Pepsicola1995)
- German by [@&#8203;B0rax](https://redirect.github.com/B0rax)
[@&#8203;Vito0912](https://redirect.github.com/Vito0912)
[@&#8203;networksecurityvodoo](https://redirect.github.com/networksecurityvodoo)
  - Hebrew by [@&#8203;enosh](https://redirect.github.com/enosh)
- Hungarian by [@&#8203;ugyes](https://redirect.github.com/ugyes)
[@&#8203;Kabika82](https://redirect.github.com/Kabika82)
  - Russian by [@&#8203;GrakovNe](https://redirect.github.com/GrakovNe)
- Slovenian by
[@&#8203;thehijacker](https://redirect.github.com/thehijacker)
  - Swedish by [@&#8203;Cotignac](https://redirect.github.com/Cotignac)
- Ukrainian by
[@&#8203;Maksim2005UA2](https://redirect.github.com/Maksim2005UA2)

#### New Contributors

- [@&#8203;FelixSche](https://redirect.github.com/FelixSche) made their
first contribution in
[#&#8203;4528](https://redirect.github.com/advplyr/audiobookshelf/pull/4528)
- [@&#8203;michaeldvinci](https://redirect.github.com/michaeldvinci)
made their first contribution in
[#&#8203;4534](https://redirect.github.com/advplyr/audiobookshelf/pull/4534)
- [@&#8203;chriscam85](https://redirect.github.com/chriscam85) made
their first contribution in
[#&#8203;4551](https://redirect.github.com/advplyr/audiobookshelf/pull/4551)

**Full Changelog**:
<https://github.com/advplyr/audiobookshelf/compare/v2.26.3...v2.27.0>

###
[`v2.26.3`](https://redirect.github.com/advplyr/audiobookshelf/releases/tag/v2.26.3)

[Compare
Source](https://redirect.github.com/advplyr/audiobookshelf/compare/v2.26.2...v2.26.3)

##### Important: New authentication system was added in
[v2.26.0](https://redirect.github.com/advplyr/audiobookshelf/releases/tag/v2.26.0).
See
<https://redirect.github.com/advplyr/audiobookshelf/discussions/4460>
for details.

##### Fixed

- Some podcast episodes always transcoding (in
[#&#8203;4520](https://redirect.github.com/advplyr/audiobookshelf/issues/4520))
- Unable to change root user password when not set
[#&#8203;4522](https://redirect.github.com/advplyr/audiobookshelf/issues/4522)
(in
[#&#8203;4523](https://redirect.github.com/advplyr/audiobookshelf/issues/4523))

##### Changed

- More strings translated
- Chinese (Simplified Han script) by
[@&#8203;FiendFEARing](https://redirect.github.com/FiendFEARing)
  - German by [@&#8203;Dalabad](https://redirect.github.com/Dalabad)
  - Russian by [@&#8203;Nab0y](https://redirect.github.com/Nab0y)
- Ukrainian by
[@&#8203;Maksim2005UA2](https://redirect.github.com/Maksim2005UA2)

**Full Changelog**:
<https://github.com/advplyr/audiobookshelf/compare/v2.26.2...v2.26.3>

###
[`v2.26.2`](https://redirect.github.com/advplyr/audiobookshelf/releases/tag/v2.26.2)

[Compare
Source](https://redirect.github.com/advplyr/audiobookshelf/compare/v2.26.1...v2.26.2)

##### Important: New authentication system was added in
[v2.26.0](https://redirect.github.com/advplyr/audiobookshelf/releases/tag/v2.26.0).
See
<https://redirect.github.com/advplyr/audiobookshelf/discussions/4460>
for details.

##### Fixed

- Web client page load causing a token refresh
[#&#8203;4509](https://redirect.github.com/advplyr/audiobookshelf/issues/4509)
(in
[#&#8203;4510](https://redirect.github.com/advplyr/audiobookshelf/issues/4510))

##### Changed

- Audible match results return match confidence score, shows in match
results by [@&#8203;mikiher](https://redirect.github.com/mikiher) in
[#&#8203;4319](https://redirect.github.com/advplyr/audiobookshelf/issues/4319)
- More strings translated
- Chinese (Simplified Han script) by
[@&#8203;springsunx](https://redirect.github.com/springsunx)
[@&#8203;FiendFEARing](https://redirect.github.com/FiendFEARing)
  - Croatian by [@&#8203;biuklija](https://redirect.github.com/biuklija)
  - Czech by [@&#8203;kuci-JK](https://redirect.github.com/kuci-JK)
- Italian by [@&#8203;Prangel85](https://redirect.github.com/Prangel85)
- Turkish by
[@&#8203;SerhatGulasti](https://redirect.github.com/SerhatGulasti)
- Ukrainian by
[@&#8203;Maksim2005UA2](https://redirect.github.com/Maksim2005UA2)

**Full Changelog**:
<https://github.com/advplyr/audiobookshelf/compare/v2.26.1...v2.26.2>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:45:25 +02:00
renovate[bot]
1d8f10cc88 chore(deps): update renovatebot/github-action action to v40.3.6 (#36)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[renovatebot/github-action](https://redirect.github.com/renovatebot/github-action)
| action | minor | `v40.2.2` -> `v40.3.6` |

---

### Release Notes

<details>
<summary>renovatebot/github-action (renovatebot/github-action)</summary>

###
[`v40.3.6`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.3.6)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.3.5...v40.3.6)

##### Bug Fixes

- **refactor:** use named imports
([#&#8203;879](https://redirect.github.com/renovatebot/github-action/issues/879))
([4d91b7f](4d91b7f286))

##### Documentation

- Fix permissions for Renovate 39
([#&#8203;873](https://redirect.github.com/renovatebot/github-action/issues/873))
([80524aa](80524aad74))
- update references to ghcr.io/renovatebot/renovate to v39
([fa742b7](fa742b743c))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v11
([#&#8203;876](https://redirect.github.com/renovatebot/github-action/issues/876))
([03986b7](03986b7c6b))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.17.2
([9b8168b](9b8168b978))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.17.3
([62e9650](62e9650d02))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.17.4
([b274faf](b274faf2e8))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.17.5
([de0fb82](de0fb82dde))
- **deps:** update dependency eslint-plugin-json to v4
([#&#8203;874](https://redirect.github.com/renovatebot/github-action/issues/874))
([205c9ef](205c9ef954))
- **deps:** update dependency npm-run-all2 to v7
([#&#8203;877](https://redirect.github.com/renovatebot/github-action/issues/877))
([7b3e4ff](7b3e4ffc56))
- **deps:** update typescript-eslint monorepo to v8 (major)
([#&#8203;878](https://redirect.github.com/renovatebot/github-action/issues/878))
([5343762](5343762d53))
- husky migration
([#&#8203;875](https://redirect.github.com/renovatebot/github-action/issues/875))
([c884ed2](c884ed2ba3))

##### Continuous Integration

- **deps:** update renovate docker tag to v38.142.7
([5bf87b6](5bf87b6eb9))

###
[`v40.3.5`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.3.5)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.3.4...v40.3.5)

##### Documentation

- update references to actions/checkout to v4.2.2
([2097f2d](2097f2d2e6))
- update references to ghcr.io/renovatebot/renovate to v38.128.6
([41edd45](41edd45fab))
- update references to ghcr.io/renovatebot/renovate to v38.133.0
([e3f297f](e3f297f860))
- update references to ghcr.io/renovatebot/renovate to v38.142.5
([f4c795d](f4c795df8f))
- update references to renovatebot/github-action to v40.3.4
([cf47d93](cf47d93d80))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.16.12
([2e9cb53](2e9cb53c91))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.16.13
([8232b6e](8232b6e373))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.16.14
([2aef521](2aef5215dc))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.16.15
([7916c56](7916c564b5))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.17.0
([a64d972](a64d972955))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.17.1
([f5083d0](f5083d0ec5))
- **deps:** update dependency npm-run-all2 to v6.2.4
([e788798](e7887981ef))
- **deps:** update dependency npm-run-all2 to v6.2.6
([ccced66](ccced66fcc))
- **deps:** update dependency semantic-release to v24.1.3
([d6beebf](d6beebf82a))
- **deps:** update dependency semantic-release to v24.2.0
([2b5b8b0](2b5b8b0616))
- **deps:** update pnpm to v9.12.2
([4b80937](4b8093706f))
- **deps:** update pnpm to v9.12.3
([550e7b3](550e7b3d66))

##### Build System

- **deps:** lock file maintenance
([f9b29f3](f9b29f3fb2))

##### Continuous Integration

- **deps:** update actions/checkout action to v4.2.2
([2bf9026](2bf9026999))
- **deps:** update actions/setup-node action to v4.1.0
([86ad664](86ad6647ad))
- **deps:** update renovate docker tag to v38.124.2
([695299e](695299e61b))
- **deps:** update renovate docker tag to v38.124.3
([314da6d](314da6dc23))
- **deps:** update renovate docker tag to v38.126.0
([85ae1f5](85ae1f5dbd))
- **deps:** update renovate docker tag to v38.127.0
([85e7f44](85e7f446e5))
- **deps:** update renovate docker tag to v38.127.3
([3edbc0c](3edbc0c27e))
- **deps:** update renovate docker tag to v38.128.1
([f8211ef](f8211efac0))
- **deps:** update renovate docker tag to v38.128.2
([d7b8776](d7b8776e44))
- **deps:** update renovate docker tag to v38.128.3
([2e30721](2e30721a59))
- **deps:** update renovate docker tag to v38.128.6
([a4b62ce](a4b62ce113))
- **deps:** update renovate docker tag to v38.129.1
([2262e7a](2262e7a3fc))
- **deps:** update renovate docker tag to v38.129.2
([c86af21](c86af211de))
- **deps:** update renovate docker tag to v38.130.0
([54af751](54af751146))
- **deps:** update renovate docker tag to v38.130.2
([000660f](000660fc56))
- **deps:** update renovate docker tag to v38.130.3
([b9dda2c](b9dda2cbfc))
- **deps:** update renovate docker tag to v38.130.4
([908a901](908a90193c))
- **deps:** update renovate docker tag to v38.131.0
([dd7bd92](dd7bd92f44))
- **deps:** update renovate docker tag to v38.131.1
([6a73efe](6a73efe88c))
- **deps:** update renovate docker tag to v38.131.2
([93861f0](93861f054d))
- **deps:** update renovate docker tag to v38.132.1
([c3afe48](c3afe48dc5))
- **deps:** update renovate docker tag to v38.132.3
([1973fce](1973fcea3c))
- **deps:** update renovate docker tag to v38.133.0
([4a07c50](4a07c50b27))
- **deps:** update renovate docker tag to v38.133.1
([0e8b35d](0e8b35d9d2))
- **deps:** update renovate docker tag to v38.133.2
([0b061eb](0b061eb768))
- **deps:** update renovate docker tag to v38.134.0
([67a9577](67a957720f))
- **deps:** update renovate docker tag to v38.135.2
([14382a8](14382a8885))
- **deps:** update renovate docker tag to v38.138.3
([1a12b39](1a12b39c17))
- **deps:** update renovate docker tag to v38.138.5
([bb832ea](bb832eac70))
- **deps:** update renovate docker tag to v38.140.0
([1cefad4](1cefad4178))
- **deps:** update renovate docker tag to v38.140.2
([2d32293](2d32293bd1))
- **deps:** update renovate docker tag to v38.141.1
([9143751](9143751e1c))
- **deps:** update renovate docker tag to v38.142.1
([4ed28cd](4ed28cd226))
- **deps:** update renovate docker tag to v38.142.2
([513f3e3](513f3e3eba))
- **deps:** update renovate docker tag to v38.142.3
([02bea1c](02bea1c601))
- **deps:** update renovate docker tag to v38.142.4
([7574fcb](7574fcb291))
- **deps:** update renovate docker tag to v38.142.5
([76eb5e4](76eb5e4295))

###
[`v40.3.4`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.3.4)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.3.3...v40.3.4)

##### Documentation

- update references to actions/checkout to v4.2.1
([11212af](11212aff7d))
- update references to renovatebot/github-action to v40.3.3
([7bdca51](7bdca51b4c))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.16.11
([85652f0](85652f02f4))
- **deps:** update dependency prettier-plugin-packagejson to v2.5.3
([9347c05](9347c05b51))
- **deps:** update pnpm to v9.12.1
([49efd81](49efd814d8))

##### Build System

- **deps:** update dependency typescript to v5.6.3
([9c10032](9c100326f6))

##### Continuous Integration

- **deps:** update renovate docker tag to v38.120.0
([d1179fe](d1179feff5))
- **deps:** update renovate docker tag to v38.120.1
([7eaca7d](7eaca7dbe1))
- **deps:** update renovate docker tag to v38.122.0
([5ebe74f](5ebe74f625))
- **deps:** update renovate docker tag to v38.123.0
([398baed](398baed47b))
- **deps:** update renovate docker tag to v38.124.1
([76a4553](76a45533dc))

###
[`v40.3.3`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.3.3)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.3.2...v40.3.3)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;actions/core](https://redirect.github.com/actions/core) to
v1.11.1
([dd7f630](dd7f630a1d))

##### Continuous Integration

- **deps:** update renovate docker tag to v38.115.0
([0168adb](0168adb92f))
- **deps:** update renovate docker tag to v38.115.1
([221a713](221a713171))
- **deps:** update renovate docker tag to v38.116.0
([56e961b](56e961b1f8))
- **deps:** update renovate docker tag to v38.119.0
([13076db](13076dbca1))

###
[`v40.3.2`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.3.2)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.3.1...v40.3.2)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;actions/core](https://redirect.github.com/actions/core) to
v1.11.0
([6b22ac7](6b22ac7b23))

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v38.110.2
([8fcdc6e](8fcdc6e116))
- update references to renovatebot/github-action to v40.3.1
([593a1c0](593a1c0739))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.16.10
([659e9b1](659e9b1e70))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.16.6
([43cf848](43cf8481c5))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.16.7
([04140e8](04140e85d7))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.16.8
([ffa56df](ffa56df1d0))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.16.9
([04eaa9d](04eaa9dca6))
- **deps:** update dependency semantic-release to v24.1.2
([443c041](443c041d1b))
- **deps:** update pnpm to v9.12.0
([73c1f19](73c1f192f0))

##### Continuous Integration

- **deps:** update actions/checkout action to v4.2.1
([a89ddca](a89ddca451))
- **deps:** update renovate docker tag to v38.105.0
([6c8aefd](6c8aefd37f))
- **deps:** update renovate docker tag to v38.106.0
([c2fef14](c2fef14ab5))
- **deps:** update renovate docker tag to v38.106.2
([bdb5ad6](bdb5ad69d0))
- **deps:** update renovate docker tag to v38.106.3
([32149ad](32149adc64))
- **deps:** update renovate docker tag to v38.106.4
([8015943](8015943b52))
- **deps:** update renovate docker tag to v38.107.0
([6846c99](6846c99c9d))
- **deps:** update renovate docker tag to v38.107.1
([9da33e8](9da33e85bf))
- **deps:** update renovate docker tag to v38.109.0
([4c5ca41](4c5ca41499))
- **deps:** update renovate docker tag to v38.110.1
([59f331f](59f331fd5b))
- **deps:** update renovate docker tag to v38.110.2
([ccf2a06](ccf2a06a55))
- **deps:** update renovate docker tag to v38.110.4
([2fd7d6a](2fd7d6a4d9))
- **deps:** update renovate docker tag to v38.114.0
([1c16e18](1c16e18622))

###
[`v40.3.1`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.3.1)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.3.0...v40.3.1)

##### Build System

- **deps:** update dependency
[@&#8203;vercel/ncc](https://redirect.github.com/vercel/ncc) to v0.38.2
([336c9d5](336c9d5027))

##### Continuous Integration

- **deps:** update renovate docker tag to v38.103.1
([2f7cf70](2f7cf7048f))

###
[`v40.3.0`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.3.0)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.2.11...v40.3.0)

##### Features

- add `docker-socket-host-path` input
([#&#8203;862](https://redirect.github.com/renovatebot/github-action/issues/862))
([c0afe86](c0afe86658))

###
[`v40.2.11`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.2.11)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.2.10...v40.2.11)

##### Documentation

- update references to actions/checkout to v4.2.0
([b0990c1](b0990c14ff))
- update references to ghcr.io/renovatebot/renovate to v38.101.1
([1ae1ac0](1ae1ac05cd))
- update references to renovatebot/github-action to v40.2.10
([86ff03b](86ff03bc78))

##### Miscellaneous Chores

- **deps:** update commitlint monorepo to v19.5.0
([7a0e06d](7a0e06dd88))
- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.3.4
([8b7ac01](8b7ac01658))
- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.3.5
([#&#8203;864](https://redirect.github.com/renovatebot/github-action/issues/864))
([f21eeef](f21eeef37c))
- **deps:** update dependency eslint to v8.57.1
([3a945ba](3a945ba488))
- **deps:** update dependency husky to v9.1.6
([d35a34a](d35a34a3cc))
- **deps:** update dependency npm-run-all2 to v6.2.3
([8aa7554](8aa7554cab))
- **deps:** update dependency semantic-release to v24.1.1
([f70fd7d](f70fd7d670))
- **deps:** update pnpm to v9.11.0
([871230b](871230b04d))

##### Build System

- **deps:** lock file maintenance
([669f02b](669f02b0b3))

##### Continuous Integration

- **deps:** update actions/checkout action to v4.2.0
([cea9e7c](cea9e7c1c3))
- **deps:** update actions/setup-node action to v4.0.4
([926bb29](926bb29469))
- **deps:** update renovate docker tag to v38.100.0
([00c426e](00c426e7fc))
- **deps:** update renovate docker tag to v38.100.1
([e9da8a6](e9da8a603f))
- **deps:** update renovate docker tag to v38.101.0
([af7815d](af7815d4cc))
- **deps:** update renovate docker tag to v38.101.1
([157d4d8](157d4d8218))
- **deps:** update renovate docker tag to v38.84.0
([6cc098a](6cc098a3ad))
- **deps:** update renovate docker tag to v38.84.1
([e1ef94d](e1ef94d00d))
- **deps:** update renovate docker tag to v38.85.1
([e89e3ea](e89e3ea559))
- **deps:** update renovate docker tag to v38.86.0
([9251f4a](9251f4a517))
- **deps:** update renovate docker tag to v38.88.1
([4d5a44a](4d5a44aba2))
- **deps:** update renovate docker tag to v38.88.2
([1caa178](1caa178a1d))
- **deps:** update renovate docker tag to v38.89.2
([7602472](7602472e18))
- **deps:** update renovate docker tag to v38.89.3
([f571b99](f571b99572))
- **deps:** update renovate docker tag to v38.91.0
([7b3db30](7b3db3074c))
- **deps:** update renovate docker tag to v38.91.2
([3607015](3607015834))
- **deps:** update renovate docker tag to v38.91.5
([063fac8](063fac841b))
- **deps:** update renovate docker tag to v38.92.0
([5663610](5663610ffc))
- **deps:** update renovate docker tag to v38.93.0
([2b64bb7](2b64bb799d))
- **deps:** update renovate docker tag to v38.93.1
([6e3d1f1](6e3d1f1901))
- **deps:** update renovate docker tag to v38.93.6
([bc2b6fa](bc2b6faabe))
- **deps:** update renovate docker tag to v38.94.2
([604f795](604f795024))
- **deps:** update renovate docker tag to v38.94.3
([92c7bc3](92c7bc3083))
- **deps:** update renovate docker tag to v38.95.4
([c939d62](c939d6211b))
- **deps:** update renovate docker tag to v38.97.0
([e16ec5f](e16ec5fc05))
- **deps:** update renovate docker tag to v38.97.1
([93190dc](93190dce09))
- **deps:** update renovate docker tag to v38.98.0
([d1ece14](d1ece14d2b))

###
[`v40.2.10`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.2.10)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.2.9...v40.2.10)

##### Miscellaneous Chores

- **deps:** update pnpm to v9.10.0
([4ecccc8](4ecccc80bf))

##### Build System

- **deps:** update dependency typescript to v5.6.2
([ccb9633](ccb9633c2c))

###
[`v40.2.9`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.2.9)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.2.8...v40.2.9)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v38.80.0
([54adf7f](54adf7f706))
- update references to renovatebot/github-action to v40.2.8
([f6f4de0](f6f4de0d1f))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.3.0
([39c0ed3](39c0ed39be))
- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.3.1
([d237b41](d237b41568))
- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.3.2
([2533c44](2533c44a78))
- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.3.3
([0e39ae0](0e39ae0292))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.16.4
([d9eb43e](d9eb43e3f8))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.16.5
([6d5784a](6d5784adf2))

##### Build System

- **deps:** lock file maintenance
([32073a4](32073a4660))

##### Continuous Integration

- **deps:** update renovate docker tag to v38.73.3
([476a91f](476a91f280))
- **deps:** update renovate docker tag to v38.73.5
([1649e40](1649e40897))
- **deps:** update renovate docker tag to v38.74.1
([65f5c11](65f5c11989))
- **deps:** update renovate docker tag to v38.75.0
([fa73ff0](fa73ff0f99))
- **deps:** update renovate docker tag to v38.76.1
([438981f](438981f829))
- **deps:** update renovate docker tag to v38.77.0
([919ed13](919ed13ea2))
- **deps:** update renovate docker tag to v38.77.2
([2009e09](2009e0963c))
- **deps:** update renovate docker tag to v38.77.3
([8a0ce4d](8a0ce4d4cf))
- **deps:** update renovate docker tag to v38.77.5
([aeffa00](aeffa00d03))
- **deps:** update renovate docker tag to v38.77.8
([46076e2](46076e2b11))
- **deps:** update renovate docker tag to v38.79.0
([3f7fa1f](3f7fa1faeb))
- **deps:** update renovate docker tag to v38.80.0
([eb68a01](eb68a019af))

###
[`v40.2.8`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.2.8)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.2.7...v40.2.8)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v38.61.1
([5993be6](5993be6af6))
- update references to ghcr.io/renovatebot/renovate to v38.72.1
([a4cf16d](a4cf16da54))
- update references to renovatebot/github-action to v40.2.7
([511a7a7](511a7a7705))

##### Miscellaneous Chores

- **deps:** update commitlint monorepo to v19.4.1
([fe52de6](fe52de6e1b))
- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.1.7
([8d1974e](8d1974e5f5))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.16.1
([a5ef441](a5ef4418b4))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.16.2
([e2f34af](e2f34af24c))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.16.3
([edf82b7](edf82b7595))
- **deps:** update dependency husky to v9.1.5
([18b2dca](18b2dca0f2))
- **deps:** update dependency lint-staged to v15.2.10
([2089929](208992943a))
- **deps:** update dependency prettier-plugin-packagejson to v2.5.2
([e3c4817](e3c48178c2))
- **deps:** update pnpm to v9.8.0
([527df8e](527df8e80c))
- **deps:** update pnpm to v9.9.0
([8f53e8e](8f53e8e1f1))

##### Build System

- **deps:** lock file maintenance
([00a9d0f](00a9d0fb6b))

##### Continuous Integration

- **deps:** update renovate docker tag to v38.54.1
([9e15fe4](9e15fe4539))
- **deps:** update renovate docker tag to v38.55.1
([ebed852](ebed852c7d))
- **deps:** update renovate docker tag to v38.55.2
([ea137aa](ea137aa3de))
- **deps:** update renovate docker tag to v38.55.4
([47bb8fa](47bb8fa952))
- **deps:** update renovate docker tag to v38.55.5
([8721f4c](8721f4cdce))
- **deps:** update renovate docker tag to v38.57.0
([c8714d9](c8714d911d))
- **deps:** update renovate docker tag to v38.57.1
([3297675](3297675b87))
- **deps:** update renovate docker tag to v38.57.3
([7467495](7467495d42))
- **deps:** update renovate docker tag to v38.58.0
([44c8d6f](44c8d6f2b6))
- **deps:** update renovate docker tag to v38.58.1
([da00a9c](da00a9ca31))
- **deps:** update renovate docker tag to v38.58.2
([cda286d](cda286d20a))
- **deps:** update renovate docker tag to v38.59.1
([cf5432f](cf5432f6e0))
- **deps:** update renovate docker tag to v38.59.2
([282b8d8](282b8d81ba))
- **deps:** update renovate docker tag to v38.61.1
([749b819](749b8190af))
- **deps:** update renovate docker tag to v38.64.0
([71ee52a](71ee52a1c7))
- **deps:** update renovate docker tag to v38.64.1
([7337445](7337445827))
- **deps:** update renovate docker tag to v38.66.1
([5e5e62b](5e5e62bf1c))
- **deps:** update renovate docker tag to v38.67.1
([8639a3d](8639a3dc7c))
- **deps:** update renovate docker tag to v38.67.2
([e7fba3a](e7fba3a3fa))
- **deps:** update renovate docker tag to v38.67.4
([114ff35](114ff35888))
- **deps:** update renovate docker tag to v38.67.5
([a0ebccf](a0ebccfb1d))
- **deps:** update renovate docker tag to v38.68.0
([d76014f](d76014f2db))
- **deps:** update renovate docker tag to v38.68.1
([cd0419f](cd0419f33a))
- **deps:** update renovate docker tag to v38.70.0
([ab6e4ab](ab6e4ab3f7))
- **deps:** update renovate docker tag to v38.70.2
([3e30de3](3e30de3043))
- **deps:** update renovate docker tag to v38.71.0
([42c77e0](42c77e078b))
- **deps:** update renovate docker tag to v38.72.0
([46fcd07](46fcd07256))
- **deps:** update renovate docker tag to v38.72.1
([7e74a7b](7e74a7b8f9))
- **deps:** update wagoid/commitlint-github-action action to v6.1.2
([1c11596](1c1159609e))

###
[`v40.2.7`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.2.7)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.2.6...v40.2.7)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v38.25.1
([1569e23](1569e23502))
- update references to ghcr.io/renovatebot/renovate to v38.39.6
([5432799](543279956c))
- update references to ghcr.io/renovatebot/renovate to v38.52.3
([44dfa9a](44dfa9a23d))
- update references to renovatebot/github-action to v40.2.6
([0a5e4b7](0a5e4b7d88))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;commitlint/cli](https://redirect.github.com/commitlint/cli) to
v19.4.0
([32ed440](32ed440e77))
- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.1.4
([47f396c](47f396ccf1))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.14.15
([0b458d7](0b458d7b4e))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v20.16.0
([632cbd7](632cbd7442))
- **deps:** update dependency lint-staged to v15.2.9
([b90ad0d](b90ad0d5ef))
- **deps:** update pnpm to v9.7.0
([1f85a75](1f85a75eb2))
- **deps:** update pnpm to v9.7.1
([dd820f5](dd820f5e7b))
- **deps:** update semantic-release monorepo
([db01ed4](db01ed443d))

##### Build System

- **deps:** lock file maintenance
([9785636](9785636e49))

##### Continuous Integration

- **deps:** update renovate docker tag to v38.25.1
([1681b12](1681b12e4e))
- **deps:** update renovate docker tag to v38.25.3
([f10e03d](f10e03d089))
- **deps:** update renovate docker tag to v38.26.1
([4dfd846](4dfd846975))
- **deps:** update renovate docker tag to v38.27.0
([b7e33e5](b7e33e5f3b))
- **deps:** update renovate docker tag to v38.29.0
([f4f639b](f4f639bf16))
- **deps:** update renovate docker tag to v38.32.0
([c2e88b3](c2e88b3301))
- **deps:** update renovate docker tag to v38.37.0
([150a5cf](150a5cf116))
- **deps:** update renovate docker tag to v38.37.1
([e6366ba](e6366ba56f))
- **deps:** update renovate docker tag to v38.39.0
([54dd4af](54dd4af438))
- **deps:** update renovate docker tag to v38.39.3
([7dc04fb](7dc04fbb11))
- **deps:** update renovate docker tag to v38.39.4
([7c6d9b3](7c6d9b3640))
- **deps:** update renovate docker tag to v38.39.6
([3b91d9f](3b91d9f7d9))
- **deps:** update renovate docker tag to v38.42.0
([d166171](d1661716d1))
- **deps:** update renovate docker tag to v38.44.2
([0056692](0056692c69))
- **deps:** update renovate docker tag to v38.44.3
([6bee7db](6bee7db58d))
- **deps:** update renovate docker tag to v38.45.0
([70d287a](70d287a6ab))
- **deps:** update renovate docker tag to v38.46.0
([6c814d9](6c814d9450))
- **deps:** update renovate docker tag to v38.52.3
([cc16365](cc16365636))
- **deps:** update wagoid/commitlint-github-action action to v6.1.0
([05d52cc](05d52ccd5b))
- **deps:** update wagoid/commitlint-github-action action to v6.1.1
([cd7cbcc](cd7cbccb34))

###
[`v40.2.6`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.2.6)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.2.5...v40.2.6)

##### Documentation

- update references to ghcr.io/renovatebot/renovate to v38
([fa0868b](fa0868b58a))
- update references to renovatebot/github-action to v40.2.5
([31bdd4f](31bdd4fd39))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.14.14
([6cf8087](6cf80874d4))
- **deps:** update dependency husky to v9.1.4
([27e26f7](27e26f7ce2))
- **deps:** update dependency lint-staged to v15.2.8
([a83b429](a83b429180))

##### Build System

- **deps:** lock file maintenance
([c36563b](c36563b1cd))

##### Continuous Integration

- **deps:** update renovate docker tag to v38.18.14
([bb431e4](bb431e47f8))
- **deps:** update renovate docker tag to v38.18.17
([818eccd](818eccd0d5))
- **deps:** update renovate docker tag to v38.19.0
([5a5d5f9](5a5d5f922b))
- **deps:** update renovate docker tag to v38.20.1
([47e9fc8](47e9fc89d8))
- **deps:** update renovate docker tag to v38.21.2
([0094885](009488562f))
- **deps:** update renovate docker tag to v38.21.3
([ec4508c](ec4508ced1))
- **deps:** update renovate docker tag to v38.23.0
([e182cbd](e182cbdda2))
- **deps:** update renovate docker tag to v38.23.2
([d820e1a](d820e1ad5d))
- **deps:** update renovate docker tag to v38.24.0
([e8c5786](e8c5786a02))
- **deps:** update renovate docker tag to v38.24.1
([8c35547](8c35547471))
- **deps:** update renovate docker tag to v38.25.0
([b47958f](b47958fcca))
- **deps:** update wagoid/commitlint-github-action action to v6
([#&#8203;849](https://redirect.github.com/renovatebot/github-action/issues/849))
([a9144b2](a9144b27d1))

###
[`v40.2.5`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.2.5)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.2.4...v40.2.5)

##### Documentation

- update references to renovatebot/github-action to v40.2.4
([dd6134d](dd6134d9c7))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.1.2
([fd92454](fd92454e71))
- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.1.3
([f2b9a64](f2b9a648f1))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.14.12
([fe88a7e](fe88a7ed9f))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.14.13
([03ace83](03ace83f22))
- **deps:** update dependency husky to v9.1.2
([77e79d3](77e79d3ba3))
- **deps:** update dependency husky to v9.1.3
([0ff26fa](0ff26fa68c))

##### Build System

- **deps:** lock file maintenance
([8f47962](8f47962699))

##### Continuous Integration

- **deps:** update renovate docker tag to v38.11.0
([0736fb9](0736fb93c4))
- **deps:** update renovate docker tag to v38.12.0
([0cff0d5](0cff0d5c7f))
- **deps:** update renovate docker tag to v38.14.0
([83fcd08](83fcd0872d))
- **deps:** update renovate docker tag to v38.16.0
([6989153](6989153cea))
- **deps:** update renovate docker tag to v38.18.11
([f3071cd](f3071cd009))
- **deps:** update renovate docker tag to v38.18.12
([c87684f](c87684fc73))
- **deps:** update renovate docker tag to v38.18.4
([5384334](5384334d3f))
- **deps:** update renovate docker tag to v38.18.5
([f26f2f7](f26f2f7199))
- **deps:** update renovate docker tag to v38.18.8
([51f49c4](51f49c4125))
- **deps:** update renovate docker tag to v38.18.9
([e572ebd](e572ebdbb1))

###
[`v40.2.4`](https://redirect.github.com/renovatebot/github-action/releases/tag/v40.2.4)

[Compare
Source](https://redirect.github.com/renovatebot/github-action/compare/v40.2.3...v40.2.4)

##### Documentation

- update references to renovatebot/github-action to v40.2.3
([7aa35ac](7aa35ac950))

##### Miscellaneous Chores

- **deps:** update dependency
[@&#8203;semantic-release/github](https://redirect.github.com/semantic-release/github)
to v10.1.1
([9687ff3](9687ff3e60))
- **deps:** update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to
v20.14.11
([0e299f5](0e299f5c41))
- **deps:** update dependency husky to v9.1.0
([56cb71f](56cb71f9ae))
- **deps:** update dependency husky to v9.1.1
([63c9526](63c952649a))
- **deps:** update dependency prettier-plugin-packagejson to v2.5.1
([87e9376](87e93769b6))
- **deps:** update dependency rimraf to v6
([#&#8203;856](https://redirect.github.com/renovatebot/github-action/issues/856))
([de0b07a](de0b07a4cd))
- **deps:** update pnpm to v9.6.0
([5b79649](5b79649160))

##### Build System

- **deps:** update dependency typescript to v5.5.4
([1ab20c1](1ab20c16da))

##### Continuous Integration

- **deps:** update renovate docker tag to v37.440.0
([907d816](907d816b18))
- **deps:** update renovate docker tag to v37.440.4
([d2d60a0](https://redirect.github.com/renovatebot/github-action/commit/d2d60a00ab986c6757ff

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:44:53 +02:00
renovate[bot]
de431ca488 chore(deps): update actions/attest-build-provenance action to v3 (#38)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/attest-build-provenance](https://redirect.github.com/actions/attest-build-provenance)
| action | major | `v2` -> `v3` |

---

### Release Notes

<details>
<summary>actions/attest-build-provenance
(actions/attest-build-provenance)</summary>

###
[`v3`](https://redirect.github.com/actions/attest-build-provenance/compare/v2...v3)

[Compare
Source](https://redirect.github.com/actions/attest-build-provenance/compare/v2...v3)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:44:44 +02:00
renovate[bot]
ca8f632fca chore(deps): update pnpm to v10.17.1 (#35)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [pnpm](https://pnpm.io)
([source](https://redirect.github.com/pnpm/pnpm/tree/HEAD/pnpm)) |
[`10.6.0` ->
`10.17.1`](https://renovatebot.com/diffs/npm/pnpm/10.6.0/10.17.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/10.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/10.6.0/10.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pnpm/pnpm (pnpm)</summary>

###
[`v10.17.1`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10171)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.17.0...v10.17.1)

##### Patch Changes

- When a version specifier cannot be resolved because the versions don't
satisfy the `minimumReleaseAge` setting, print this information out in
the error message
[#&#8203;9974](https://redirect.github.com/pnpm/pnpm/pull/9974).
- Fix `state.json` creation path when executing `pnpm patch` in a
workspace project
[#&#8203;9733](https://redirect.github.com/pnpm/pnpm/pull/9733).
- When `minimumReleaseAge` is set and the `latest` tag is not mature
enough, prefer a non-deprecated version as the new `latest`
[#&#8203;9987](https://redirect.github.com/pnpm/pnpm/issues/9987).

###
[`v10.17.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10170)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.16.1...v10.17.0)

##### Minor Changes

- The `minimumReleaseAgeExclude` setting now supports patterns. For
instance:

  ```yaml
  minimumReleaseAge: 1440
  minimumReleaseAgeExclude:
    - "@&#8203;eslint/*"
  ```

Related PR:
[#&#8203;9984](https://redirect.github.com/pnpm/pnpm/pull/9984).

##### Patch Changes

- Don't ignore the `minimumReleaseAge` check, when the package is
requested by exact version and the packument is loaded from cache
[#&#8203;9978](https://redirect.github.com/pnpm/pnpm/issues/9978).
- When `minimumReleaseAge` is set and the active version under a
dist-tag is not mature enough, do not downgrade to a prerelease version
in case the original version wasn't a prerelease one
[#&#8203;9979](https://redirect.github.com/pnpm/pnpm/issues/9979).

###
[`v10.16.1`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10161)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.16.0...v10.16.1)

##### Patch Changes

- The full metadata cache should be stored not at the same location as
the abbreviated metadata. This fixes a bug where pnpm was loading the
abbreviated metadata from cache and couldn't find the "time" field as a
result
[#&#8203;9963](https://redirect.github.com/pnpm/pnpm/issues/9963).
- Forcibly disable ANSI color codes when generating patch diff
[#&#8203;9914](https://redirect.github.com/pnpm/pnpm/pull/9914).

###
[`v10.16.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10160)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.15.1...v10.16.0)

##### Minor Changes

- There have been several incidents recently where popular packages were
successfully attacked. To reduce the risk of installing a compromised
version, we are introducing a new setting that delays the installation
of newly released dependencies. In most cases, such attacks are
discovered quickly and the malicious versions are removed from the
registry within an hour.

The new setting is called `minimumReleaseAge`. It specifies the number
of minutes that must pass after a version is published before pnpm will
install it. For example, setting `minimumReleaseAge: 1440` ensures that
only packages released at least one day ago can be installed.

If you set `minimumReleaseAge` but need to disable this restriction for
certain dependencies, you can list them under the
`minimumReleaseAgeExclude` setting. For instance, with the following
configuration pnpm will always install the latest version of webpack,
regardless of its release time:

  ```yaml
  minimumReleaseAgeExclude:
    - webpack
  ```

Related issue:
[#&#8203;9921](https://redirect.github.com/pnpm/pnpm/issues/9921).

- Added support for `finders`
[#&#8203;9946](https://redirect.github.com/pnpm/pnpm/pull/9946).

In the past, `pnpm list` and `pnpm why` could only search for
dependencies by **name** (and optionally version). For example:

  ```
  pnpm why minimist
  ```

prints the chain of dependencies to any installed instance of
`minimist`:

  ```
  verdaccio 5.20.1
  ├─┬ handlebars 4.7.7
  │ └── minimist 1.2.8
  └─┬ mv 2.1.1
    └─┬ mkdirp 0.5.6
      └── minimist 1.2.8
  ```

What if we want to search by **other properties** of a dependency, not
just its name? For instance, find all packages that have `react@17` in
their peer dependencies?

This is now possible with "finder functions". Finder functions can be
declared in `.pnpmfile.cjs` and invoked with the `--find-by=<function
name>` flag when running `pnpm list` or `pnpm why`.

Let's say we want to find any dependencies that have React 17 in peer
dependencies. We can add this finder to our `.pnpmfile.cjs`:

  ```js
  module.exports = {
    finders: {
      react17: (ctx) => {
        return ctx.readManifest().peerDependencies?.react === "^17.0.0";
      },
    },
  };
  ```

  Now we can use this finder function by running:

  ```
  pnpm why --find-by=react17
  ```

pnpm will find all dependencies that have this React in peer
dependencies and print their exact locations in the dependency graph.

  ```
  @&#8203;apollo/client 4.0.4
  ├── @&#8203;graphql-typed-document-node/core 3.2.0
  └── graphql-tag 2.12.6
  ```

It is also possible to print out some additional information in the
output by returning a string from the finder. For example, with the
following finder:

  ```js
  module.exports = {
    finders: {
      react17: (ctx) => {
        const manifest = ctx.readManifest();
        if (manifest.peerDependencies?.react === "^17.0.0") {
          return `license: ${manifest.license}`;
        }
        return false;
      },
    },
  };
  ```

Every matched package will also print out the license from its
`package.json`:

  ```
  @&#8203;apollo/client 4.0.4
  ├── @&#8203;graphql-typed-document-node/core 3.2.0
  │   license: MIT
  └── graphql-tag 2.12.6
      license: MIT
  ```

##### Patch Changes

- Fix deprecation warning printed when executing pnpm with Node.js 24
[#&#8203;9529](https://redirect.github.com/pnpm/pnpm/issues/9529).
- Throw an error if `nodeVersion` is not set to an exact semver version
[#&#8203;9934](https://redirect.github.com/pnpm/pnpm/issues/9934).
- `pnpm publish` should be able to publish a `.tar.gz` file
[#&#8203;9927](https://redirect.github.com/pnpm/pnpm/pull/9927).
- Canceling a running process with Ctrl-C should make `pnpm run` return
a non-zero exit code
[#&#8203;9626](https://redirect.github.com/pnpm/pnpm/issues/9626).

###
[`v10.15.1`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10151)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.15.0...v10.15.1)

##### Patch Changes

- Fix `.pnp.cjs` crash when importing subpath
[#&#8203;9904](https://redirect.github.com/pnpm/pnpm/issues/9904).
- When resolving peer dependencies, pnpm looks whether the peer
dependency is present in the root workspace project's dependencies. This
change makes it so that the peer dependency is correctly resolved even
from aliased npm-hosted dependencies or other types of dependencies
[#&#8203;9913](https://redirect.github.com/pnpm/pnpm/issues/9913).

###
[`v10.15.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10150)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.14.0...v10.15.0)

##### Minor Changes

- Added the `cleanupUnusedCatalogs` configuration. When set to `true`,
pnpm will remove unused catalog entries during installation
[#&#8203;9793](https://redirect.github.com/pnpm/pnpm/pull/9793).
- Automatically load pnpmfiles from config dependencies that are named
`@*/pnpm-plugin-*`
[#&#8203;9780](https://redirect.github.com/pnpm/pnpm/issues/9780).
- `pnpm config get` now prints an INI string for an object value
[#&#8203;9797](https://redirect.github.com/pnpm/pnpm/issues/9797).
- `pnpm config get` now accepts property paths (e.g. `pnpm config get
catalog.react`, `pnpm config get .catalog.react`, `pnpm config get
'packageExtensions["@&#8203;babel/parser"].peerDependencies["@&#8203;babel/types"]'`),
and `pnpm config set` now accepts dot-leading or subscripted keys (e.g.
`pnpm config set .ignoreScripts true`).
- `pnpm config get --json` now prints a JSON serialization of config
value, and `pnpm config set --json` now parses the input value as JSON.

##### Patch Changes

- **Semi-breaking.** When automatically installing missing peer
dependencies, prefer versions that are already present in the direct
dependencies of the root workspace package
[#&#8203;9835](https://redirect.github.com/pnpm/pnpm/pull/9835).
- When executing the `pnpm create` command, must verify whether the node
version is supported even if a cache already exists
[#&#8203;9775](https://redirect.github.com/pnpm/pnpm/pull/9775).
- When making requests for the non-abbreviated packument, add `*/*` to
the `Accept` header to avoid getting a 406 error on AWS CodeArtifact
[#&#8203;9862](https://redirect.github.com/pnpm/pnpm/issues/9862).
- The standalone exe version of pnpm works with glibc 2.26 again
[#&#8203;9734](https://redirect.github.com/pnpm/pnpm/issues/9734).
- Fix a regression in which `pnpm dlx pkg --help` doesn't pass `--help`
to `pkg`
[#&#8203;9823](https://redirect.github.com/pnpm/pnpm/issues/9823).

###
[`v10.14.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10140)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.13.1...v10.14.0)

##### Minor Changes

- **Added support for JavaScript runtime resolution**

Declare Node.js, Deno, or Bun in
[`devEngines.runtime`](https://redirect.github.com/openjs-foundation/package-metadata-interoperability-collab-space/issues/15)
(inside `package.json`) and let pnpm download and pin it automatically.

  Usage example:

  ```json
  {
    "devEngines": {
      "runtime": {
        "name": "node",
        "version": "^24.4.0",
"onFail": "download" (we only support the "download" value for now)
      }
    }
  }
  ```

  How it works:

1. `pnpm install` resolves your specified range to the latest matching
runtime version.
  2. The exact version (and checksum) is saved in the lockfile.
3. Scripts use the local runtime, ensuring consistency across
environments.

  Why this is better:

1. This new setting supports also Deno and Bun (vs. our Node-only
settings `useNodeVersion` and `executionEnv.nodeVersion`)
  2. Supports version ranges (not just a fixed version).
3. The resolved version is stored in the pnpm lockfile, along with an
integrity checksum for future validation of the Node.js content's
validity.
4. It can be used on any workspace project (like
`executionEnv.nodeVersion`). So, different projects in a workspace can
use different runtimes.
5. For now `devEngines.runtime` setting will install the runtime
locally, which we will improve in future versions of pnpm by using a
shared location on the computer.

Related PR:
[#&#8203;9755](https://redirect.github.com/pnpm/pnpm/pull/9755).

- Add `--cpu`, `--libc`, and `--os` to `pnpm install`, `pnpm add`, and
`pnpm dlx` to customize `supportedArchitectures` via the CLI
[#&#8203;7510](https://redirect.github.com/pnpm/pnpm/issues/7510).

##### Patch Changes

- Fix a bug in which `pnpm add` downloads packages whose `libc` differ
from `pnpm.supportedArchitectures.libc`.
- The integrities of the downloaded Node.js artifacts are verified
[#&#8203;9750](https://redirect.github.com/pnpm/pnpm/pull/9750).
- Allow `dlx` to parse CLI flags and options between the `dlx` command
and the command to run or between the `dlx` command and `--`
[#&#8203;9719](https://redirect.github.com/pnpm/pnpm/issues/9719).
- `pnpm install --prod` should removing hoisted dev dependencies
[#&#8203;9782](https://redirect.github.com/pnpm/pnpm/issues/9782).
- Fix an edge case bug causing local tarballs to not re-link into the
virtual store. This bug would happen when changing the contents of the
tarball without renaming the file and running a filtered install.
- Fix a bug causing `pnpm install` to incorrectly assume the lockfile is
up to date after changing a local tarball that has peers dependencies.

###
[`v10.13.1`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10131)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.13.0...v10.13.1)

##### Patch Changes

- Run user defined pnpmfiles after pnpmfiles of plugins.

###
[`v10.13.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10130)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.12.4...v10.13.0)

##### Minor Changes

- Added the possibility to load multiple pnpmfiles. The `pnpmfile`
setting can now accept a list of pnpmfile locations
[#&#8203;9702](https://redirect.github.com/pnpm/pnpm/pull/9702).
- pnpm will now automatically load the `pnpmfile.cjs` file from any
[config dependency](https://pnpm.io/config-dependencies) named
`@pnpm/plugin-*` or `pnpm-plugin-*`
[#&#8203;9729](https://redirect.github.com/pnpm/pnpm/pull/9729).

The order in which config dependencies are initialized should not matter
— they are initialized in alphabetical order. If a specific order is
needed, the paths to the `pnpmfile.cjs` files in the config dependencies
can be explicitly listed using the `pnpmfile` setting in
`pnpm-workspace.yaml`.

##### Patch Changes

- When patching dependencies installed via `pkg.pr.new`, treat them as
Git tarball URLs
[#&#8203;9694](https://redirect.github.com/pnpm/pnpm/pull/9694).
- Prevent conflicts between local projects' config and the global config
in `dangerouslyAllowAllBuilds`, `onlyBuiltDependencies`,
`onlyBuiltDependenciesFile`, and `neverBuiltDependencies`
[#&#8203;9628](https://redirect.github.com/pnpm/pnpm/issues/9628).
- Sort keys in `pnpm-workspace.yaml` with deep
[#&#8203;9701](https://redirect.github.com/pnpm/pnpm/pull/9701).
- The `pnpm rebuild` command should not add pkgs included in
`ignoredBuiltDependencies` to `ignoredBuilds` in
`node_modules/.modules.yaml`
[#&#8203;9338](https://redirect.github.com/pnpm/pnpm/issues/9338).
- Replaced `shell-quote` with `shlex` for quoting command arguments
[#&#8203;9381](https://redirect.github.com/pnpm/pnpm/issues/9381).

###
[`v10.12.4`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10124)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.12.3...v10.12.4)

##### Patch Changes

- Fix `pnpm licenses` command for local dependencies
[#&#8203;9583](https://redirect.github.com/pnpm/pnpm/pull/9583).
- Fix a bug in which `pnpm ls --filter=not-exist --json` prints nothing
instead of an empty array
[#&#8203;9672](https://redirect.github.com/pnpm/pnpm/issues/9672).
- Fix a deadlock that sometimes happens during peer dependency
resolution
[#&#8203;9673](https://redirect.github.com/pnpm/pnpm/issues/9673).
- Running `pnpm install` after `pnpm fetch` should hoist all
dependencies that need to be hoisted.
Fixes a regression introduced in \[v10.12.2] by
\[[#&#8203;9648](https://redirect.github.com/pnpm/pnpm/issues/9648)];
resolves
\[[#&#8203;9689](https://redirect.github.com/pnpm/pnpm/issues/9689)].

\[v10.12.2]:
https://redirect.github.com/pnpm/pnpm/releases/tag/v10.12.2Add
commentMore actions
\[[#&#8203;9648](https://redirect.github.com/pnpm/pnpm/issues/9648)]:
[https://github.com/pnpm/pnpm/pull/9648](https://redirect.github.com/pnpm/pnpm/pull/9648)
\[[#&#8203;9689](https://redirect.github.com/pnpm/pnpm/issues/9689)]:
[https://github.com/pnpm/pnpm/issues/9689](https://redirect.github.com/pnpm/pnpm/issues/9689)

###
[`v10.12.3`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10123)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.12.2...v10.12.3)

##### Patch Changes

- Restore hoisting of optional peer dependencies when installing with an
outdated lockfile.
Regression introduced in [v10.12.2] by [#&#8203;9648]; resolves
[#&#8203;9685].

[v10.12.2]: https://redirect.github.com/pnpm/pnpm/releases/tag/v10.12.2

  [#&#8203;9648]: https://redirect.github.com/pnpm/pnpm/pull/9648

  [#&#8203;9685]: https://redirect.github.com/pnpm/pnpm/issues/9685

###
[`v10.12.2`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10122)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.12.1...v10.12.2)

##### Patch Changes

- Fixed hoisting with `enableGlobalVirtualStore` set to `true`
[#&#8203;9648](https://redirect.github.com/pnpm/pnpm/pull/9648).
- Fix the `--help` and `-h` flags not working as expected for the `pnpm
create` command.
- The dependency package path output by the `pnpm licenses list --json`
command is incorrect.
- Fix a bug in which `pnpm deploy` fails due to overridden dependencies
having peer dependencies causing `ERR_PNPM_OUTDATED_LOCKFILE`
[#&#8203;9595](https://redirect.github.com/pnpm/pnpm/issues/9595).

###
[`v10.12.1`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10121)

##### Minor Changes

- **Experimental.** Added support for global virtual stores. When
enabled, `node_modules` contains only symlinks to a central virtual
store, rather to `node_modules/.pnpm`. By default, this central store is
located at `<store-path>/links` (you can find the store path by running
`pnpm store path`).

In the central virtual store, each package is hard linked into a
directory whose name is the hash of its dependency graph. This allows
multiple projects on the system to symlink shared dependencies from this
central location, significantly improving installation speed when a warm
cache is available.

> This is conceptually similar to how [NixOS manages
packages](https://nixos.org/guides/how-nix-works/), using dependency
graph hashes to create isolated and reusable package directories.

To enable the global virtual store, set `enableGlobalVirtualStore: true`
in your root `pnpm-workspace.yaml`, or globally via:

    ```sh
    pnpm config -g set enable-global-virtual-store true
    ```

NOTE: In CI environments, where caches are typically cold, this setting
may slow down installation. pnpm automatically disables the global
virtual store when running in CI.

Related PR:
[#&#8203;8190](https://redirect.github.com/pnpm/pnpm/pull/8190)

<!---->

- The `pnpm update` command now supports updating `catalog:` protocol
dependencies and writes new specifiers to `pnpm-workspace.yaml`.
- Added two new CLI options (`--save-catalog` and
`--save-catalog-name=<name>`) to `pnpm add` to save new dependencies as
catalog entries. `catalog:` or `catalog:<name>` will be added to
`package.json` and the package specifier will be added to the `catalogs`
or `catalog[<name>]` object in `pnpm-workspace.yaml`
[#&#8203;9425](https://redirect.github.com/pnpm/pnpm/issues/9425).
- **Semi-breaking.** The keys used for side-effects caches have changed.
If you have a side-effects cache generated by a previous version of
pnpm, the new version will not use it and will create a new cache
instead [#&#8203;9605](https://redirect.github.com/pnpm/pnpm/pull/9605).
- Added a new setting called `ci` for explicitly telling pnpm if the
current environment is a CI or not.

##### Patch Changes

- Sort versions printed by `pnpm patch` using semantic versioning rules.
- Improve the way the error message displays mismatched specifiers. Show
differences instead of 2 whole objects
[#&#8203;9598](https://redirect.github.com/pnpm/pnpm/pull/9598).
- Revert [#&#8203;9574](https://redirect.github.com/pnpm/pnpm/pull/9574)
to fix a regression
[#&#8203;9596](https://redirect.github.com/pnpm/pnpm/issues/9596).

###
[`v10.11.1`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10111)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.11.0...v10.11.1)

##### Patch Changes

- Fix an issue in which `pnpm deploy --legacy` creates unexpected
directories when the root `package.json` has a workspace package as a
peer dependency
[#&#8203;9550](https://redirect.github.com/pnpm/pnpm/issues/9550).
- Dependencies specified via a URL that redirects will only be locked to
the target if it is immutable, fixing a regression when installing from
GitHub releases.
([#&#8203;9531](https://redirect.github.com/pnpm/pnpm/issues/9531))
- Installation should not exit with an error if `strictPeerDependencies`
is `true` but all issues are ignored by `peerDependencyRules`
[#&#8203;9505](https://redirect.github.com/pnpm/pnpm/pull/9505).
- Use `pnpm_config_` env variables instead of `npm_config_`
[#&#8203;9571](https://redirect.github.com/pnpm/pnpm/pull/9571).
- Fix a regression (in v10.9.0) causing the `--lockfile-only` flag on
`pnpm update` to produce a different `pnpm-lock.yaml` than an update
without the flag.
- Let `pnpm deploy` work in repos with `overrides` when
`inject-workspace-packages=true`
[#&#8203;9283](https://redirect.github.com/pnpm/pnpm/issues/9283).
- Fixed the problem of path loss caused by parsing URL address. Fixes a
regression shipped in pnpm v10.11 via
[#&#8203;9502](https://redirect.github.com/pnpm/pnpm/pull/9502).
- `pnpm -r --silent run` should not print out section
[#&#8203;9563](https://redirect.github.com/pnpm/pnpm/issues/9563).

###
[`v10.11.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10110)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.10.0...v10.11.0)

##### Minor Changes

- A new setting added for `pnpm init` to create a `package.json` with
`type=module`, when `init-type` is `module`. Works as a flag for the
init command too
[#&#8203;9463](https://redirect.github.com/pnpm/pnpm/pull/9463).

- Added support for Nushell to `pnpm setup`
[#&#8203;6476](https://redirect.github.com/pnpm/pnpm/issues/6476).

- Added two new flags to the `pnpm audit` command, `--ignore` and
`--ignore-unfixable`
[#&#8203;8474](https://redirect.github.com/pnpm/pnpm/pull/8474).

    Ignore all vulnerabilities that have no solution:

    ```shell
    > pnpm audit --ignore-unfixable
    ```

Provide a list of CVE's to ignore those specifically, even if they have
a resolution.

    ```shell
    > pnpm audit --ignore=CVE-2021-1234 --ignore=CVE-2021-5678
    ```

- Added support for recursively running pack in every project of a
workspace
[#&#8203;4351](https://redirect.github.com/pnpm/pnpm/issues/4351).

Now you can run `pnpm -r pack` to pack all packages in the workspace.

##### Patch Changes

- pnpm version management should work, when `dangerouslyAllowAllBuilds`
is set to `true`
[#&#8203;9472](https://redirect.github.com/pnpm/pnpm/issues/9472).
- `pnpm link` should work from inside a workspace
[#&#8203;9506](https://redirect.github.com/pnpm/pnpm/issues/9506).
- Set the default `workspaceConcurrency` to
`Math.min(os.availableParallelism(), 4)`
[#&#8203;9493](https://redirect.github.com/pnpm/pnpm/pull/9493).
- Installation should not exit with an error if `strictPeerDependencies`
is `true` but all issues are ignored by `peerDependencyRules`
[#&#8203;9505](https://redirect.github.com/pnpm/pnpm/pull/9505).
- Read `updateConfig` from `pnpm-workspace.yaml`
[#&#8203;9500](https://redirect.github.com/pnpm/pnpm/issues/9500).
-   Add support for `recursive pack`
- Remove `url.parse` usage to fix warning on Node.js 24
[#&#8203;9492](https://redirect.github.com/pnpm/pnpm/issues/9492).
- `pnpm run` should be able to run commands from the workspace root, if
`ignoreScripts` is set tot `true`
[#&#8203;4858](https://redirect.github.com/pnpm/pnpm/issues/4858).

###
[`v10.10.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10100)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.9.0...v10.10.0)

##### Minor Changes

- Allow loading the `preResolution`, `importPackage`, and `fetchers`
hooks from local pnpmfile.

##### Patch Changes

- Fix `cd` command, when `shellEmulator` is `true`
[#&#8203;7838](https://redirect.github.com/pnpm/pnpm/issues/7838).
- Sort keys in `pnpm-workspace.yaml`
[#&#8203;9453](https://redirect.github.com/pnpm/pnpm/pull/9453).
- Pass the `npm_package_json` environment variable to the executed
scripts
[#&#8203;9452](https://redirect.github.com/pnpm/pnpm/issues/9452).
- Fixed a mistake in the description of the `--reporter=silent` option.

###
[`v10.9.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#1090)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.8.1...v10.9.0)

##### Minor Changes

- **Added support for installing JSR packages.** You can now install JSR
packages using the following syntax:

        pnpm add jsr:<pkg_name>

    or with a version range:

        pnpm add jsr:<pkg_name>@&#8203;<range>

    For example, running:

        pnpm add jsr:@&#8203;foo/bar

    will add the following entry to your `package.json`:

    ```json
    {
      "dependencies": {
        "@&#8203;foo/bar": "jsr:^0.1.2"
      }
    }
    ```

When publishing, this entry will be transformed into a format compatible
with npm, older versions of Yarn, and previous pnpm versions:

    ```json
    {
      "dependencies": {
        "@&#8203;foo/bar": "npm:@&#8203;jsr/foo__bar@^0.1.2"
      }
    }
    ```

Related issue:
[#&#8203;8941](https://redirect.github.com/pnpm/pnpm/issues/8941).

Note: The `@jsr` scope defaults to <https://npm.jsr.io/> if the
`@jsr:registry` setting is not defined.

- Added a new setting, `dangerouslyAllowAllBuilds`, for automatically
running any scripts of dependencies without the need to approve any
builds. It was already possible to allow all builds by adding this to
`pnpm-workspace.yaml`:

    ```yaml
    neverBuiltDependencies: []
    ```

`dangerouslyAllowAllBuilds` has the same effect but also allows to be
set globally via:

        pnpm config set dangerouslyAllowAllBuilds true

    It can also be set when running a command:

        pnpm install --dangerously-allow-all-builds

##### Patch Changes

- Fix a false negative in `verifyDepsBeforeRun` when `nodeLinker` is
`hoisted` and there is a workspace package without dependencies and
`node_modules` directory
[#&#8203;9424](https://redirect.github.com/pnpm/pnpm/issues/9424).
- Explicitly drop `verifyDepsBeforeRun` support for `nodeLinker: pnp`.
Combining `verifyDepsBeforeRun` and `nodeLinker: pnp` will now print a
warning.

###
[`v10.8.1`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#1081)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.8.0...v10.8.1)

##### Patch Changes

- Removed bright white highlighting, which didn't look good on some
light themes
[#&#8203;9389](https://redirect.github.com/pnpm/pnpm/pull/9389).
- If there is no pnpm related configuration in `package.json`,
`onlyBuiltDependencies` will be written to `pnpm-workspace.yaml` file
[#&#8203;9404](https://redirect.github.com/pnpm/pnpm/pull/9404).

###
[`v10.8.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#1080)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.7.1...v10.8.0)

##### Minor Changes

- **Experimental.** A new hook is supported for updating configuration
settings. The hook can be provided via `.pnpmfile.cjs`. For example:

  ```js
  module.exports = {
    hooks: {
      updateConfig: (config) => ({
        ...config,
        nodeLinker: "hoisted",
      }),
    },
  };
  ```

- Now you can use the `pnpm add` command with the `--config` flag to
install new configurational dependencies
[#&#8203;9377](https://redirect.github.com/pnpm/pnpm/pull/9377).

##### Patch Changes

- Do not hang indefinitely, when there is a glob that starts with `!/`
in `pnpm-workspace.yaml`. This fixes a regression introduced by
[#&#8203;9169](https://redirect.github.com/pnpm/pnpm/pull/9169).
- `pnpm audit --fix` should update the overrides in
`pnpm-workspace.yaml`.
- `pnpm link` should update overrides in `pnpm-workspace.yaml`, not in
`package.json`
[#&#8203;9365](https://redirect.github.com/pnpm/pnpm/pull/9365).

###
[`v10.7.1`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#1071)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.7.0...v10.7.1)

##### Patch Changes

- `pnpm config set` should convert the settings to their correct type
before adding them to `pnpm-workspace.yaml`
[#&#8203;9355](https://redirect.github.com/pnpm/pnpm/issues/9355).
- `pnpm config get` should read auth related settings via npm CLI
[#&#8203;9345](https://redirect.github.com/pnpm/pnpm/issues/9345).
- Replace leading `~/` in a path in `.npmrc` with the home directory
[#&#8203;9217](https://redirect.github.com/pnpm/pnpm/issues/9217).

###
[`v10.7.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#1070)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.6.5...v10.7.0)

##### Minor Changes

- `pnpm config get` and `list` also show settings set in
`pnpm-workspace.yaml` files
[#&#8203;9316](https://redirect.github.com/pnpm/pnpm/pull/9316).

- It should be possible to use env variables in `pnpm-workspace.yaml`
setting names and value.

- Add an ability to patch dependencies by version ranges. Exact versions
override version ranges, which in turn override name-only patches.
Version range `*` is the same as name-only, except that patch
application failure will not be ignored.

  For example:

  ```yaml
  patchedDependencies:
    foo: patches/foo-1.patch
    foo@^2.0.0: patches/foo-2.patch
    foo@2.1.0: patches/foo-3.patch
  ```

The above configuration would apply `patches/foo-3.patch` to
`foo@2.1.0`, `patches/foo-2.patch` to all `foo` versions which satisfy
`^2.0.0` except `2.1.0`, and `patches/foo-1.patch` to the remaining
`foo` versions.

  > \[!WARNING]
> The version ranges should not overlap. If you want to specialize a sub
range, make sure to exclude it from the other keys. For example:
  >
  > ```yaml
  > # pnpm-workspace.yaml
  > patchedDependencies:
  >   # the specialized sub range
  >   'foo@2.2.0-2.8.0': patches/foo.2.2.0-2.8.0.patch
  >   # the more general patch, excluding the sub range above
  >   'foo@>=2.0.0 <2.2.0 || >2.8.0': 'patches/foo.gte2.patch
  > ```
  >
> In most cases, however, it's sufficient to just define an exact
version to override the range.

- `pnpm config set --location=project` saves the setting to a
`pnpm-workspace.yaml` file if no `.npmrc` file is present in the
directory
[#&#8203;9316](https://redirect.github.com/pnpm/pnpm/pull/9316).

- Rename `pnpm.allowNonAppliedPatches` to `pnpm.allowUnusedPatches`. The
old name is still supported but it would print a deprecation warning
message.

- Add `pnpm.ignorePatchFailures` to manage whether pnpm would ignore
patch application failures.

If `ignorePatchFailures` is not set, pnpm would throw an error when
patches with exact versions or version ranges fail to apply, and it
would ignore failures from name-only patches.

If `ignorePatchFailures` is explicitly set to `false`, pnpm would throw
an error when any type of patch fails to apply.

If `ignorePatchFailures` is explicitly set to `true`, pnpm would print a
warning when any type of patch fails to apply.

##### Patch Changes

- Remove dependency paths from audit output to prevent out-of-memory
errors
[#&#8203;9280](https://redirect.github.com/pnpm/pnpm/issues/9280).

###
[`v10.6.5`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#1065)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.6.4...v10.6.5)

##### Patch Changes

- Remove warnings after having explicitly approved no builds
[#&#8203;9296](https://redirect.github.com/pnpm/pnpm/issues/9296).
- When installing different dependency packages, should retain the
`ignoredBuilds` field in the `.modules.yaml` file
[#&#8203;9240](https://redirect.github.com/pnpm/pnpm/issues/9240).
- Fix usages of the [`catalog:` protocol](https://pnpm.io/catalogs) in
[injected local workspace
packages](https://pnpm.io/package_json#dependenciesmetainjected). This
previously errored with `ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER`.
[#&#8203;8715](https://redirect.github.com/pnpm/pnpm/issues/8715)
- Setting `workspace-concurrency` to less than or equal to 0 should work
[#&#8203;9297](https://redirect.github.com/pnpm/pnpm/issues/9297).

###
[`v10.6.4`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#1064)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.6.3...v10.6.4)

##### Patch Changes

- Fix `pnpm dlx` with `--allow-build` flag
[#&#8203;9263](https://redirect.github.com/pnpm/pnpm/issues/9263).
- Invalid Node.js version in `use-node-version` should not cause pnpm
itself to break
[#&#8203;9276](https://redirect.github.com/pnpm/pnpm/issues/9276).
- The max amount of workers running for linking packages from the store
has been reduced to 4 to achieve optimal results
[#&#8203;9286](https://redirect.github.com/pnpm/pnpm/issues/9286). The
workers are performing many file system operations, so increasing the
number of CPUs doesn't help performance after some point.

###
[`v10.6.3`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#1063)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.6.2...v10.6.3)

##### Patch Changes

- `pnpm install --prod=false` should not crash, when executed in a
project with a `pnpm-workspace.yaml` file
[#&#8203;9233](https://redirect.github.com/pnpm/pnpm/issues/9233). This
fixes regression introduced via
[#&#8203;9211](https://redirect.github.com/pnpm/pnpm/pull/9211).
- Add the missing `node-options` config to `recursive run`
[#&#8203;9180](https://redirect.github.com/pnpm/pnpm/issues/9180).
- Removed a branching code path that only executed when
`dedupe-peer-dependents=false`. We believe this internal refactor will
not result in behavior changes, but we expect it to make future pnpm
versions behave more consistently for projects that override
`dedupe-peer-dependents` to false. There should be less unique bugs from
turning off `dedupe-peer-dependents`.

See details in
[#&#8203;9259](https://redirect.github.com/pnpm/pnpm/pull/9259).

###
[`v10.6.2`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#1062)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.6.1...v10.6.2)

##### Patch Changes

- `pnpm self-update` should always update the version in the
`packageManager` field of `package.json`.
- Fix running pnpm CLI from pnpm CLI on Windows when the CLI is bundled
to an executable
[#&#8203;8971](https://redirect.github.com/pnpm/pnpm/issues/8971).
- `pnpm patch-commit` will now use the same filesystem as the store
directory to compare and create patch files.
- Don't show info output when `--loglevel=error` is used.
- `peerDependencyRules` should be set in `pnpm-workspace.yaml` to take
effect.

###
[`v10.6.1`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#1061)

[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.6.0...v10.6.1)

##### Patch Changes

- The pnpm CLI process should not stay hanging, when `--silent`
reporting is used.
- When `--loglevel` is set to `error`, don't show installation summary,
execution time, and big tarball download progress.
- Don't ignore pnpm.patchedDependencies from `package.json`
[#&#8203;9226](https://redirect.github.com/pnpm/pnpm/issues/9226).
- When executing the `approve-builds` command, if package.json contains
`onlyBuiltDependencies` or `ignoredBuiltDependencies`, the selected
dependency package will continue to be written into `package.json`.
- When a package version cannot be found in the package metadata, print
the registry from which the package was fetched.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:44:31 +02:00
renovate[bot]
396a936c5c chore(deps): update actions/setup-node action to v5 (#40)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-node](https://redirect.github.com/actions/setup-node) |
action | major | `v4` -> `v5` |

---

### Release Notes

<details>
<summary>actions/setup-node (actions/setup-node)</summary>

###
[`v5`](https://redirect.github.com/actions/setup-node/compare/v4...v5)

[Compare
Source](https://redirect.github.com/actions/setup-node/compare/v4...v5)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:44:14 +02:00
renovate[bot]
3f15920744 fix(deps): update dependency zod to v4.1.11 (#37)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [zod](https://zod.dev)
([source](https://redirect.github.com/colinhacks/zod)) | [`4.0.14` ->
`4.1.11`](https://renovatebot.com/diffs/npm/zod/4.0.14/4.1.11) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/zod/4.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zod/4.0.14/4.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>colinhacks/zod (zod)</summary>

###
[`v4.1.11`](https://redirect.github.com/colinhacks/zod/compare/v4.1.10...2bed4b39760d8e4d678203b5c8fcaf24c182fc9f)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.1.10...v4.1.11)

###
[`v4.1.10`](https://redirect.github.com/colinhacks/zod/compare/v4.1.9...82cd717a0e7ee4e1737a783c7be278fa93fd8104)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.1.9...v4.1.10)

###
[`v4.1.9`](https://redirect.github.com/colinhacks/zod/compare/v4.1.8...923af801fde9f033cfd7e0e753b421a554fe3be8)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.1.8...v4.1.9)

###
[`v4.1.8`](https://redirect.github.com/colinhacks/zod/releases/tag/v4.1.8)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.1.7...v4.1.8)

##### Commits:

-
[`36c4ee3`](36c4ee354d)
Switch back to weakmap
-
[`a1726d5`](a1726d5317)
4.1.8

###
[`v4.1.7`](https://redirect.github.com/colinhacks/zod/releases/tag/v4.1.7)

[Compare
Source](976b43657d...v4.1.7)

##### Commits:

-
[`0cca351`](0cca351c8b)
Fix variable name inconsistency in coercion documentation
([#&#8203;5188](https://redirect.github.com/colinhacks/zod/issues/5188))
-
[`aa78c27`](aa78c270f1)
Add copy/edit buttons
-
[`76452d4`](76452d4119)
Update button txt
-
[`937f73c`](937f73c90c)
Fix tsconfig issue in bench
-
[`976b436`](976b43657d)
v4.1.6
([#&#8203;5222](https://redirect.github.com/colinhacks/zod/issues/5222))
-
[`4309c61`](4309c61304)
Fix cidrv6 validation - cidrv6 should reject invalid strings with
multiple slashes
([#&#8203;5196](https://redirect.github.com/colinhacks/zod/issues/5196))
-
[`ef95a73`](ef95a73b6d)
feat(locales): Add Lithuanian (lt) locale
([#&#8203;5210](https://redirect.github.com/colinhacks/zod/issues/5210))
-
[`3803f3f`](3803f3f371)
docs: update wrong contents in codeblocks in `api.mdx`
([#&#8203;5209](https://redirect.github.com/colinhacks/zod/issues/5209))
-
[`8a47d5c`](8a47d5c6ba)
docs: update coerce example in `api.mdx`
([#&#8203;5207](https://redirect.github.com/colinhacks/zod/issues/5207))
-
[`e87db13`](e87db1322f)
feat(locales): Add Georgian (ka) locale
([#&#8203;5203](https://redirect.github.com/colinhacks/zod/issues/5203))
-
[`c54b123`](c54b123e39)
docs: adds `@traversable/zod` and `@traversable/zod-test` to v4
ecosystem
([#&#8203;5194](https://redirect.github.com/colinhacks/zod/issues/5194))
-
[`c27a294`](c27a294f5b)
Fix two tiny grammatical errors in the docs.
([#&#8203;5193](https://redirect.github.com/colinhacks/zod/issues/5193))
-
[`23a2d66`](23a2d66923)
docs: fix broken links in async refinements and transforms references
([#&#8203;5190](https://redirect.github.com/colinhacks/zod/issues/5190))
-
[`845a230`](845a230bb0)
fix(locales): Add type name translations to Spanish locale
([#&#8203;5187](https://redirect.github.com/colinhacks/zod/issues/5187))
-
[`27f13d6`](27f13d62b9)
Improve regex precision and eliminate duplicates in regexes.ts
([#&#8203;5181](https://redirect.github.com/colinhacks/zod/issues/5181))
-
[`a8a52b3`](a8a52b3ba3)
fix(v4): fix Khmer and Ukrainian locales
([#&#8203;5177](https://redirect.github.com/colinhacks/zod/issues/5177))
-
[`887e37c`](887e37cd75)
Update slugs
-
[`e1f1948`](e1f19482bb)
fix(v4): ensure array defaults are shallow-cloned
([#&#8203;5173](https://redirect.github.com/colinhacks/zod/issues/5173))
-
[`9f65038`](9f65038564)
docs(ecosystem): add DRZL; fix Prisma Zod Generator placement
([#&#8203;5215](https://redirect.github.com/colinhacks/zod/issues/5215))
-
[`aa6f0f0`](aa6f0f02c2)
More fixes
([#&#8203;5223](https://redirect.github.com/colinhacks/zod/issues/5223))
-
[`aab3356`](aab33566bd)
4.1.7

###
[`v4.1.6`](https://redirect.github.com/colinhacks/zod/compare/v4.1.5...976b43657d4aff6d47c73c1c86125623ea08752d)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.1.5...976b43657d4aff6d47c73c1c86125623ea08752d)

###
[`v4.1.5`](https://redirect.github.com/colinhacks/zod/releases/tag/v4.1.5)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.1.4...v4.1.5)

#### Commits:

-
[`530415f`](530415f927)
Update docs
-
[`b7b081d`](b7b081d5cf)
Update z.function() type to support array input
([#&#8203;5170](https://redirect.github.com/colinhacks/zod/issues/5170))
-
[`780cf57`](780cf57167)
4.1.5

###
[`v4.1.4`](https://redirect.github.com/colinhacks/zod/compare/v4.1.3...4ea5fec6988eb7260bc63e0eb8b4a6a0b238c414)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.1.3...v4.1.4)

###
[`v4.1.3`](https://redirect.github.com/colinhacks/zod/releases/tag/v4.1.3)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.1.2...v4.1.3)

#### Commits:

-
[`98ff675`](98ff675c31)
Drop stringToBoolean
-
[`a410616`](a410616b39)
Fix typo
-
[`0cf4589`](0cf45896ed)
fix(v4): toJSONSchema - add missing oneOf inside items in tuple
conversion
([#&#8203;5146](https://redirect.github.com/colinhacks/zod/issues/5146))
-
[`8bf0c16`](8bf0c1639f)
fix(v4): toJSONSchema tuple path handling for draft-7 with metadata IDs
([#&#8203;5152](https://redirect.github.com/colinhacks/zod/issues/5152))
-
[`5c5fa90`](5c5fa90e47)
fix(v4): toJSONSchema - wrong record output when targeting `openapi-3.0`
([#&#8203;5141](https://redirect.github.com/colinhacks/zod/issues/5141))
-
[`87b97cc`](87b97ccd55)
docs(codecs): update example to use payloadSchema
([#&#8203;5150](https://redirect.github.com/colinhacks/zod/issues/5150))
-
[`309f358`](309f3584fd)
fix(v4): toJSONSchema - output numbers with exclusive range correctly
when targeting `openapi-3.0`
([#&#8203;5139](https://redirect.github.com/colinhacks/zod/issues/5139))
-
[`1e71ca9`](1e71ca99b9)
docs: fix refine fn to encode works properly
([#&#8203;5148](https://redirect.github.com/colinhacks/zod/issues/5148))
-
[`a85ec3c`](a85ec3c73c)
fix(docs): correct example to use `LooseDog` instead of `Dog`
([#&#8203;5136](https://redirect.github.com/colinhacks/zod/issues/5136))
-
[`3e98274`](3e982743f3)
4.1.3

###
[`v4.1.2`](https://redirect.github.com/colinhacks/zod/releases/tag/v4.1.2)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.1.1...v4.1.2)

#### Commits:

-
[`e45e61b`](e45e61b675)
Improve codec docs
-
[`25a4c37`](25a4c37683)
fix(v4): toJSONSchema - wrong record tuple output when targeting
`openapi-3.0`
([#&#8203;5145](https://redirect.github.com/colinhacks/zod/issues/5145))
-
[`0fa4f46`](0fa4f464e0)
Use method form in codecs.mdx
-
[`940383d`](940383d052)
Update JSON codec and docs
-
[`3009fa8`](3009fa8aeb)
4.1.2

###
[`v4.1.1`](https://redirect.github.com/colinhacks/zod/compare/v4.1.0...10cc9941daeb28b6be5be7327e034c3388d8e60b)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.1.0...v4.1.1)

###
[`v4.1.0`](https://redirect.github.com/colinhacks/zod/compare/v4.0.17...2ca716d6313dcfab425d3555ac8bf85929bc57a4)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.0.17...v4.1.0)

###
[`v4.0.17`](https://redirect.github.com/colinhacks/zod/compare/v4.0.16...cc63f950158db212c5e9b75e7d22faca851ea624)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.0.16...v4.0.17)

###
[`v4.0.16`](https://redirect.github.com/colinhacks/zod/compare/v4.0.15...v4.0.16)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.0.15...v4.0.16)

###
[`v4.0.15`](https://redirect.github.com/colinhacks/zod/releases/tag/v4.0.15)

[Compare
Source](https://redirect.github.com/colinhacks/zod/compare/v4.0.14...v4.0.15)

#### Commits:

-
[`7e7e346`](7e7e3461ac)
Clean up docs
-
[`f2949a8`](f2949a81a0)
\[docs] Fix migration guide upgrade command
([#&#8203;5021](https://redirect.github.com/colinhacks/zod/issues/5021))
-
[`d43cf19`](d43cf19d5c)
Fix recursive object initialization errors with check() and other
methods
([#&#8203;5018](https://redirect.github.com/colinhacks/zod/issues/5018))
-
[`3de2b63`](3de2b6389a)
fix: remove redundant Required<> from input and output type definitions
([#&#8203;5033](https://redirect.github.com/colinhacks/zod/issues/5033))
-
[`93553bd`](93553bd48a)
Add needs info
-
[`03cfa8d`](03cfa8d936)
4.0.15

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:44:01 +02:00
renovate[bot]
58255669dc chore(deps): update dependency typescript to v5.9.2 (#31)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [typescript](https://www.typescriptlang.org/)
([source](https://redirect.github.com/microsoft/TypeScript)) | [`5.8.3`
-> `5.9.2`](https://renovatebot.com/diffs/npm/typescript/5.8.3/5.9.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.8.3/5.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/TypeScript (typescript)</summary>

###
[`v5.9.2`](https://redirect.github.com/microsoft/TypeScript/compare/v5.8.3...5be33469d551655d878876faa9e30aa3b49f8ee9)

[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.8.3...v5.9.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:42:54 +02:00
renovate[bot]
e0d47f7803 fix(deps): update dependency yaml to v2.8.1 (#30)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [yaml](https://eemeli.org/yaml/)
([source](https://redirect.github.com/eemeli/yaml)) | [`2.8.0` ->
`2.8.1`](https://renovatebot.com/diffs/npm/yaml/2.8.0/2.8.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/yaml/2.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/yaml/2.8.0/2.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>eemeli/yaml (yaml)</summary>

###
[`v2.8.1`](https://redirect.github.com/eemeli/yaml/releases/tag/v2.8.1)

[Compare
Source](https://redirect.github.com/eemeli/yaml/compare/v2.8.0...v2.8.1)

- Preserve empty block literals
([#&#8203;634](https://redirect.github.com/eemeli/yaml/issues/634))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:42:45 +02:00
renovate[bot]
6538f9ee24 fix(deps): update dependency p-queue to v8.1.1 (#29)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [p-queue](https://redirect.github.com/sindresorhus/p-queue) | [`8.1.0`
-> `8.1.1`](https://renovatebot.com/diffs/npm/p-queue/8.1.0/8.1.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/p-queue/8.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/p-queue/8.1.0/8.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>sindresorhus/p-queue (p-queue)</summary>

###
[`v8.1.1`](https://redirect.github.com/sindresorhus/p-queue/releases/tag/v8.1.1)

[Compare
Source](https://redirect.github.com/sindresorhus/p-queue/compare/v8.1.0...v8.1.1)

- Don't count aborted jobs in `intervalCount`
([#&#8203;220](https://redirect.github.com/sindresorhus/p-queue/issues/220))
[`199614e`](https://redirect.github.com/sindresorhus/p-queue/commit/199614e)

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:42:36 +02:00
Morten Olsen
9599beae72 chore: add helmfile (#46) 2025-09-24 00:42:24 +02:00
renovate[bot]
af72239295 fix(deps): update dependency p-retry to v7 (#43)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [p-retry](https://redirect.github.com/sindresorhus/p-retry) |
[`^6.2.1` ->
`^7.0.0`](https://renovatebot.com/diffs/npm/p-retry/6.2.1/7.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/p-retry/7.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/p-retry/6.2.1/7.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>sindresorhus/p-retry (p-retry)</summary>

###
[`v7.0.0`](https://redirect.github.com/sindresorhus/p-retry/releases/tag/v7.0.0)

[Compare
Source](https://redirect.github.com/sindresorhus/p-retry/compare/v6.2.1...v7.0.0)

##### Breaking

- Require Node.js 20
[`3bdb53a`](https://redirect.github.com/sindresorhus/p-retry/commit/3bdb53a)
- `onFailedAttempt` and `shouldRetry` now receive a `context` object
instead of a decorated `error`
[`bff36bb`](https://redirect.github.com/sindresorhus/p-retry/commit/bff36bb)
- You must now must access the error as `object.error` instead of
`object`.
  - The use of `.attemptNumber` and `.retriesLeft` did not change.
- Remove the `forever` option
([#&#8203;79](https://redirect.github.com/sindresorhus/p-retry/issues/79))
[`6a89827`](https://redirect.github.com/sindresorhus/p-retry/commit/6a89827)
- Many use-cases can use `{retries: Infinity}` instead for infinite
retries.

##### Improvements

- Rewrite the package to not depend on the `retry` package
([#&#8203;79](https://redirect.github.com/sindresorhus/p-retry/issues/79))
[`6a89827`](https://redirect.github.com/sindresorhus/p-retry/commit/6a89827)
  - This is a full rewrite, so test carefully.
- Add
[`makeRetriable`](https://redirect.github.com/sindresorhus/p-retry#makeretriablefunction-options)
method
[`1a81c1e`](https://redirect.github.com/sindresorhus/p-retry/commit/1a81c1e)

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 00:25:02 +02:00
Morten Olsen
5fa12c203d group (#45) 2025-09-24 00:01:35 +02:00
Morten Olsen
440328ce6b Fix/renovate (#44) 2025-09-23 23:57:54 +02:00
renovate[bot]
67e9c3bc32 chore(deps): update docker/build-push-action digest to cb8fc75 (#9)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| docker/build-push-action | action | digest | `f2a1d5e` -> `cb8fc75` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:04:21 +02:00
renovate[bot]
51242946e2 chore(deps): update docker/login-action digest to 5b7b28b (#10)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| docker/login-action | action | digest | `65b78e6` -> `5b7b28b` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:04:10 +02:00
renovate[bot]
b33d68bf09 chore(deps): update ghcr.io/home-assistant/home-assistant:stable docker digest to 89ec058 (#13)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| ghcr.io/home-assistant/home-assistant | digest | `37af5e8` ->
`89ec058` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:03:59 +02:00
renovate[bot]
14adfd6227 chore(deps): update alpine/git:latest docker digest to bd54f92 (#14)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| alpine/git | final | digest | `9c9c6de` -> `bd54f92` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:03:49 +02:00
renovate[bot]
a56e8b0ad8 chore(deps): update docker.io/ckulka/baikal:nginx docker digest to 0459184 (#15)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker.io/ckulka/baikal | digest | `27bd9af` -> `0459184` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:03:39 +02:00
renovate[bot]
1c587216cc chore(deps): update codeberg.org/readeck/readeck:latest docker digest to 432cc20 (#21)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| codeberg.org/readeck/readeck | digest | `2fc8c3c` -> `432cc20` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:03:28 +02:00
renovate[bot]
d3abe5bb87 chore(deps): update docker.n8n.io/n8nio/n8n:latest docker digest to c5fe3ff (#22)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker.n8n.io/n8nio/n8n | digest | `6c0c765` -> `c5fe3ff` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:03:18 +02:00
renovate[bot]
7c2e4b591e chore(deps): update ghcr.io/mealie-recipes/mealie:latest docker digest to 322369a (#16)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| ghcr.io/mealie-recipes/mealie | digest | `d872fb5` -> `322369a` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:03:02 +02:00
renovate[bot]
f553fb891c chore(deps): update ghcr.io/morten-olsen/homelab-operator:main docker digest to d6f0884 (#17)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| ghcr.io/morten-olsen/homelab-operator | digest | `752b25d` ->
`d6f0884` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:02:45 +02:00
renovate[bot]
daa4abc6d6 chore(deps): update lscr.io/linuxserver/calibre-web:latest docker digest to 98a2006 (#18)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| lscr.io/linuxserver/calibre-web | digest | `a833d4c` -> `98a2006` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:02:32 +02:00
renovate[bot]
bdf4aafbbb chore(deps): update dependency eslint-plugin-prettier to v5.5.4 (#19)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
|
[eslint-plugin-prettier](https://redirect.github.com/prettier/eslint-plugin-prettier)
| [`5.5.3` ->
`5.5.4`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/5.5.3/5.5.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-prettier/5.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-prettier/5.5.3/5.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prettier/eslint-plugin-prettier
(eslint-plugin-prettier)</summary>

###
[`v5.5.4`](https://redirect.github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#554)

[Compare
Source](https://redirect.github.com/prettier/eslint-plugin-prettier/compare/v5.5.3...v5.5.4)

##### Patch Changes

-
[#&#8203;755](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/755)
[`723f7a8`](723f7a803f)
Thanks [@&#8203;kbrilla](https://redirect.github.com/kbrilla)! - fix:
add 'oxc', 'oxc-ts' and 'hermes' parsers to `parserBlocklist`

-
[#&#8203;751](https://redirect.github.com/prettier/eslint-plugin-prettier/pull/751)
[`cf52b30`](cf52b306a5)
Thanks [@&#8203;andreww2012](https://redirect.github.com/andreww2012)! -
fix: disallow extra properties in rule options

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:02:17 +02:00
renovate[bot]
2e597ee105 chore(deps): update ollama/ollama docker tag to v0.12.0 (#20)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| ollama/ollama | minor | `0.11.8` -> `0.12.0` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 00:02:04 +02:00
renovate[bot]
d59aabb30c chore(deps): update docker/metadata-action digest to 032a4b3 (#12)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| docker/metadata-action | action | digest | `9ec57ed` -> `032a4b3` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 20:45:43 +02:00
Morten Olsen
303c9704b3 renovate fix (#8) 2025-09-13 12:47:16 +02:00
Morten Olsen
bf6cf818c4 fix: renovate token (#7) 2025-09-13 12:43:36 +02:00
Morten Olsen
4a7a84919c Update dependency dotenv to v17.2.2 (#5)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-09-13 12:36:51 +02:00
Morten Olsen
324356a59d Pin dependencies (#4)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-09-13 12:18:32 +02:00
Morten Olsen
7319cf932b Fix renovate configuration 2025-09-13 12:14:36 +02:00
Morten Olsen
933b65b3dd checkpoint 2025-09-13 12:13:16 +02:00
Morten Olsen
8353dc8d0a attempt add adding renovate 2025-09-13 08:04:14 +02:00
Morten Olsen
abdd4b81c4 add registry rules 2025-09-12 13:11:45 +02:00
Morten Olsen
4691ab1139 updates 2025-09-12 11:32:45 +02:00
Morten Olsen
249447b4ba enable external baikal 2025-09-11 22:19:25 +02:00
Morten Olsen
5e2456bea7 add registry 2025-09-10 10:35:46 +02:00
Morten Olsen
6fc2cf5fd1 more services 2025-09-08 20:36:33 +02:00
Morten Olsen
0f20fa0b5a stuff 2025-09-08 20:13:23 +02:00
Morten Olsen
a10ac58dad update 2025-09-08 15:03:45 +02:00
Morten Olsen
032a940815 add miniflux 2025-09-08 11:31:41 +02:00
Morten Olsen
5707e2124c disable ssl on pg 2025-09-08 11:24:32 +02:00
Morten Olsen
637e1c43c5 add mealie 2025-09-08 10:16:11 +02:00
Morten Olsen
da365d0667 fix 2025-09-08 07:14:27 +02:00
Morten Olsen
83deab79ec fix 2025-09-06 22:13:57 +02:00
Morten Olsen
cfc7d13b99 add homarr 2025-09-06 22:10:26 +02:00
Morten Olsen
fee900fa72 home assistant 2025-09-06 21:21:00 +02:00
Morten Olsen
9928f908a0 fix 2025-09-06 00:17:49 +02:00
Morten Olsen
d091f3030b update 2025-09-06 00:11:42 +02:00
Morten Olsen
44ead050c7 fixes 2025-09-06 00:05:56 +02:00
Morten Olsen
c5a15ed5d4 improvements 2025-09-06 00:04:28 +02:00
Morten Olsen
a27dd320e6 add backup image 2025-09-05 23:07:28 +02:00
Morten Olsen
0c53bf72e4 add AGENT.md for creating apps 2025-09-05 21:32:23 +02:00
Morten Olsen
b8c7930650 cleanup 2025-09-05 21:15:02 +02:00
Morten Olsen
eae83bf0dd update 2025-09-05 14:43:24 +02:00
Morten Olsen
42cc50948d remove argo 2025-09-05 13:51:33 +02:00
Morten Olsen
ff06613e99 updates 2025-09-05 11:22:58 +02:00
Morten Olsen
9fe279b1b5 docs 2025-09-05 08:56:04 +02:00
Morten Olsen
63e0ef0909 add-coder 2025-09-05 07:04:15 +02:00
Morten Olsen
a44e3cb2be ssh port on gitea 2025-09-04 20:15:36 +02:00
Morten Olsen
8f5e148bb2 update 2025-09-04 18:22:33 +02:00
Morten Olsen
21262705a7 fixes 2025-09-03 23:06:59 +02:00
Morten Olsen
4d46998668 more-charts 2025-09-03 21:41:58 +02:00
Morten Olsen
00d90bfa21 more-stuff 2025-09-03 17:24:27 +02:00
Morten Olsen
03e406322f more stuff 2025-09-03 15:16:50 +02:00
Morten Olsen
5ee7a76443 more stuff 2025-09-03 14:33:48 +02:00
mortenolsenzn
683de402ff Merge pull request #1 from morten-olsen/rewrite2
Rewrite2
2025-09-03 12:24:40 +02:00
Morten Olsen
e8e939ad19 fixes 2025-08-22 11:44:53 +02:00
Morten Olsen
1b5b5145b0 stuff 2025-08-22 07:35:50 +02:00
Morten Olsen
cfd2d76873 more 2025-08-20 22:45:30 +02:00
Morten Olsen
9e5081ed9b updates 2025-08-20 14:58:34 +02:00
Morten Olsen
3ab2b1969a stuff 2025-08-19 22:05:41 +02:00
Morten Olsen
a27b563113 rewrite2 2025-08-18 08:02:48 +02:00
Morten Olsen
295472a028 update 2025-08-15 22:01:18 +02:00
Morten Olsen
91298b3cf7 update 2025-08-15 21:20:23 +02:00
Morten Olsen
638c288a5c update 2025-08-15 20:52:17 +02:00
Morten Olsen
2be6bdca84 update 2025-08-15 20:45:28 +02:00
Morten Olsen
f362f4afc4 fix: missing permissions 2025-08-13 09:01:30 +02:00
Morten Olsen
9fadbf75fb publish operator yaml 2025-08-13 08:50:17 +02:00
Morten Olsen
2add15d283 fix: authentik port 2025-08-12 23:25:03 +02:00
Morten Olsen
5426495be5 updates 2025-08-12 23:22:47 +02:00
Morten Olsen
b8bb16ccbb updates 2025-08-12 22:32:09 +02:00
Morten Olsen
d4b56007f1 add authentik connection crd 2025-08-12 08:36:29 +02:00
Morten Olsen
130bfec468 fix reconciliation of db 2025-08-11 20:00:01 +02:00
Morten Olsen
ddb3c79657 fix pg db 2025-08-11 15:00:06 +02:00
Morten Olsen
47cf43b44e Added storage provisioner 2025-08-11 12:07:36 +02:00
Morten Olsen
aa6d14738a simplify 2025-08-07 23:26:33 +02:00
Morten Olsen
9cdbaf7929 stuff 2025-08-07 22:21:33 +02:00
Morten Olsen
cfb90f7c9f more 2025-08-06 21:18:02 +02:00
Morten Olsen
757b2fcfac lot more stuff 2025-08-04 23:44:14 +02:00
285 changed files with 132131 additions and 61263 deletions

View File

@@ -27,9 +27,9 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: "${{ env.NODE_VERSION }}"
registry-url: "${{ env.NODE_REGISTRY }}"
@@ -55,10 +55,12 @@ jobs:
- name: Install dependencies
run: pnpm install
working-directory: images/operator
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Run tests
working-directory: images/operator
run: pnpm test
update-release-draft:
@@ -71,9 +73,23 @@ jobs:
environment: release
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
- id: create-release
uses: release-drafter/release-drafter@v6
with:
config-name: release-drafter-config.yml
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v5
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./operator.yaml
asset_name: operator.yaml
asset_content_type: application/yaml

View File

@@ -0,0 +1,65 @@
name: Publish tag
on:
push:
branches:
- "main"
tags:
- "v*"
env:
environment: test
release_channel: latest
DO_NOT_TRACK: "1"
NODE_VERSION: "23.x"
DOCKER_REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}-backup
PNPM_VERSION: 10.6.0
permissions:
contents: read
packages: read
jobs:
release:
permissions:
contents: read
packages: write
attestations: write
id-token: write
pages: write
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Log in to the Container registry
uses: docker/login-action@6862ffc5ab2cdb4405cf318a62a6f4c066e2298b
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@032a4b3bda1b716928481836ac5bfe36e1feaad6
with:
images: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
id: push
uses: docker/build-push-action@cb8fc7586f9ad9441b20c33e0f6e8b1b58d8b4c6
with:
context: ./images/backup
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v3
with:
subject-name: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

View File

@@ -3,7 +3,7 @@ name: Publish tag
on:
push:
branches:
- 'main'
- "main"
tags:
- "v*"
@@ -31,12 +31,12 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
uses: docker/login-action@6862ffc5ab2cdb4405cf318a62a6f4c066e2298b
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ github.actor }}
@@ -44,21 +44,21 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: docker/metadata-action@032a4b3bda1b716928481836ac5bfe36e1feaad6
with:
images: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
uses: docker/build-push-action@cb8fc7586f9ad9441b20c33e0f6e8b1b58d8b4c6
with:
context: .
context: ./images/operator
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v2
uses: actions/attest-build-provenance@v3
with:
subject-name: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}

16
.github/workflows/renovate.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Renovate
on:
workflow_dispatch:
schedule:
- cron: "0 */6 * * *"
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Self-hosted Renovate
uses: renovatebot/github-action@v43.0.13
with:
token: ${{ secrets.GITHUB_TOKEN }}
configurationFile: ./renovate.json5

38
.gitignore vendored
View File

@@ -1,34 +1,4 @@
# dependencies (bun install)
node_modules
# output
out
dist
*.tgz
# code coverage
coverage
*.lcov
# logs
logs
_.log
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# caches
.eslintcache
.cache
*.tsbuildinfo
# IntelliJ based IDEs
.idea
# Finder (MacOS) folder config
.DS_Store
/secret.*.yaml
/data/
/.envrc
*.DS_Store

View File

@@ -1,6 +0,0 @@
FROM node:23-alpine
RUN corepack enable
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile --prod
COPY . .
CMD ["node", "src/index.ts"]

14
Makefile Normal file
View File

@@ -0,0 +1,14 @@
.PHONY: dev-recreate dev-destroy server-install
dev-destroy:
colima delete -f
dev-recreate: dev-destroy
colima start --network-address --kubernetes -m 8 --k3s-arg="--disable helm-controller,local-storage,traefik --docker" # --mount ${PWD}/data:/data:w
flux install --components="source-controller,helm-controller"
setup-flux:
flux install --components="source-controller,helm-controller"
server-install:
curl -sfL https://get.k3s.io | sh -s - --disable traefik,local-storage,helm-controller

282
README.md
View File

@@ -1,282 +0,0 @@
# homelab-operator
A Kubernetes operator designed for homelab environments that simplifies the
management of PostgreSQL databases and Kubernetes secrets. Built with TypeScript
and designed to run efficiently in resource-constrained environments.
## Features
- **PostgreSQL Database Management**: Automatically create and manage PostgreSQL
databases and roles
- **Secret Management**: Generate and manage Kubernetes secrets with
configurable data
- **Owner References**: Automatic cleanup when resources are deleted
- **Status Tracking**: Comprehensive status conditions and error reporting
- **Lightweight**: Minimal resource footprint suitable for homelab environments
## Architecture
The operator manages two main Custom Resource Definitions (CRDs):
### PostgresDatabase
Manages PostgreSQL databases and their associated roles:
- Creates a PostgreSQL role with a secure random password
- Creates a database owned by that role
- Generates a Kubernetes secret containing database credentials
- Ensures proper cleanup through owner references
### SecretRequest
Generates Kubernetes secrets with configurable data:
- Supports custom secret names
- Configurable data fields with various encodings
- Automatic secret lifecycle management
## Installation
### Prerequisites
- Kubernetes cluster (1.20+)
- PostgreSQL instance accessible from the cluster
- Helm 3.x (for chart-based installation)
### Using Helm Chart
1. Clone the repository:
```bash
git clone <repository-url>
cd homelab-operator
```
2. Install using Helm:
```bash
helm install homelab-operator ./chart \
--set-string env.POSTGRES_HOST=<your-postgres-host> \
--set-string env.POSTGRES_USER=<admin-user> \
--set-string env.POSTGRES_PASSWORD=<admin-password>
```
### Using kubectl
1. Build and push the Docker image:
```bash
docker build -t your-registry/homelab-operator:latest .
docker push your-registry/homelab-operator:latest
```
2. Apply the Kubernetes manifests:
```bash
kubectl apply -f chart/templates/
```
## Configuration
The operator is configured through environment variables:
| Variable | Description | Required | Default |
| ------------------- | ---------------------------------------- | -------- | ------- |
| `POSTGRES_HOST` | PostgreSQL server hostname | Yes | - |
| `POSTGRES_USER` | PostgreSQL admin username | Yes | - |
| `POSTGRES_PASSWORD` | PostgreSQL admin password | Yes | - |
| `POSTGRES_PORT` | PostgreSQL server port | No | 5432 |
| `LOG_LEVEL` | Logging level (debug, info, warn, error) | No | info |
## Usage
### PostgreSQL Database
Create a PostgreSQL database with an associated role:
```yaml
apiVersion: homelab.mortenolsen.pro/v1
kind: PostgresDatabase
metadata:
name: my-app-db
namespace: my-namespace
spec: {}
```
This will create:
- A PostgreSQL role named `my-app-db`
- A PostgreSQL database named `my-namespace_my-app-db` owned by the role
- A Kubernetes secret `postgres-database-my-app-db` containing:
- `name`: Base64-encoded database name
- `user`: Base64-encoded username
- `password`: Base64-encoded password
### Secret Request
Generate a Kubernetes secret with custom data:
```yaml
apiVersion: homelab.mortenolsen.pro/v1
kind: SecretRequest
metadata:
name: my-secret
namespace: my-namespace
spec:
secretName: app-config
data:
- key: api-key
value: "my-api-key"
encoding: base64
- key: database-url
value: "postgresql://user:pass@host:5432/db"
- key: random-token
length: 32
chars: "abcdefghijklmnopqrstuvwxyz0123456789"
```
### Accessing Created Resources
To retrieve database credentials:
```bash
# Get the secret
kubectl get secret postgres-database-my-app-db -o jsonpath='{.data.user}' | base64 -d
kubectl get secret postgres-database-my-app-db -o jsonpath='{.data.password}' | base64 -d
kubectl get secret postgres-database-my-app-db -o jsonpath='{.data.name}' | base64 -d
```
## Development
### Prerequisites
- [Bun](https://bun.sh/) runtime
- [pnpm](https://pnpm.io/) package manager
- Docker (for building images)
- Access to a Kubernetes cluster for testing
### Setup
1. Clone the repository:
```bash
git clone <repository-url>
cd homelab-operator
```
2. Install dependencies:
```bash
pnpm install
```
3. Set up development environment:
```bash
cp .env.example .env
# Edit .env with your PostgreSQL connection details
```
### Running Locally
For development, you can run the operator locally against a remote cluster:
```bash
# Ensure kubectl is configured for your development cluster
export KUBECONFIG=~/.kube/config
# Set PostgreSQL connection environment variables
export POSTGRES_HOST=localhost
export POSTGRES_USER=postgres
export POSTGRES_PASSWORD=yourpassword
# Run the operator
bun run src/index.ts
```
### Development with Docker Compose
A development environment with PostgreSQL is provided:
```bash
docker-compose -f docker-compose.dev.yaml up -d
```
### Building
Build the Docker image:
```bash
docker build -t homelab-operator:latest .
```
### Testing
```bash
# Run linting
pnpm run test:lint
# Apply test resources
kubectl apply -f test.yaml
```
## Contributing
1. Fork the repository
2. Create a feature branch: `git checkout -b feature/new-feature`
3. Make your changes and add tests
4. Run linting: `pnpm run test:lint`
5. Commit your changes: `git commit -am 'Add new feature'`
6. Push to the branch: `git push origin feature/new-feature`
7. Submit a pull request
## Project Structure
```
├── chart/ # Helm chart for deployment
├── src/
│ ├── crds/ # Custom Resource Definitions
│ │ ├── postgres/ # PostgreSQL database management
│ │ └── secrets/ # Secret generation
│ ├── custom-resource/ # Base CRD framework
│ ├── database/ # Database migrations
│ ├── services/ # Core services
│ │ ├── config/ # Configuration management
│ │ ├── k8s.ts # Kubernetes API client
│ │ ├── log/ # Logging service
│ │ ├── postgres/ # PostgreSQL service
│ │ └── secrets/ # Secret management
│ └── utils/ # Utilities and constants
├── Dockerfile # Container build configuration
└── docker-compose.dev.yaml # Development environment
```
## License
This project is licensed under the MIT License - see the LICENSE file for
details.
## Support
For support and questions:
- Create an issue in the GitHub repository
- Check existing issues for similar problems
- Review the logs using `kubectl logs -l app=homelab-operator`
## Status Monitoring
Monitor the operator status:
```bash
# Check operator logs
kubectl logs -l app=homelab-operator -f
# Check CRD status
kubectl get postgresdatabases
kubectl get secretrequests
# Describe resources for detailed status
kubectl describe postgresdatabase my-app-db
kubectl describe secretrequest my-secret
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -1,14 +0,0 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "homelab-operator.fullname" . }}
rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "get", "watch", "list"]
- apiGroups: ["*"]
resources: ["*"]
verbs: ["get", "watch", "list", "patch"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "create", "replace"]

View File

@@ -1,12 +0,0 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "homelab-operator.fullname" . }}
subjects:
- kind: ServiceAccount
name: {{ include "homelab-operator.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
name: {{ include "homelab-operator.fullname" . }}
apiGroup: rbac.authorization.k8s.io

View File

@@ -1,108 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "homelab-operator.fullname" . }}
labels:
{{- include "homelab-operator.labels" . | nindent 4 }}
spec:
replicas: 1
selector:
matchLabels:
{{- include "homelab-operator.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "homelab-operator.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "homelab-operator.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
# PostgreSQL Host
- name: POSTGRES_HOST
{{- if .Values.config.postgres.host.fromSecret.enabled }}
valueFrom:
secretKeyRef:
name: {{ .Values.config.postgres.host.fromSecret.secretName }}
key: {{ .Values.config.postgres.host.fromSecret.key }}
{{- else }}
value: {{ .Values.config.postgres.host.value | quote }}
{{- end }}
# PostgreSQL Port
- name: POSTGRES_PORT
{{- if .Values.config.postgres.port.fromSecret.enabled }}
valueFrom:
secretKeyRef:
name: {{ .Values.config.postgres.port.fromSecret.secretName }}
key: {{ .Values.config.postgres.port.fromSecret.key }}
{{- else }}
value: {{ .Values.config.postgres.port.value | quote }}
{{- end }}
# PostgreSQL User
- name: POSTGRES_USER
{{- if .Values.config.postgres.user.fromSecret.enabled }}
valueFrom:
secretKeyRef:
name: {{ .Values.config.postgres.user.fromSecret.secretName }}
key: {{ .Values.config.postgres.user.fromSecret.key }}
{{- else }}
value: {{ .Values.config.postgres.user.value | quote }}
{{- end }}
# PostgreSQL Password
- name: POSTGRES_PASSWORD
{{- if .Values.config.postgres.password.fromSecret.enabled }}
valueFrom:
secretKeyRef:
name: {{ .Values.config.postgres.password.fromSecret.secretName }}
key: {{ .Values.config.postgres.password.fromSecret.key }}
{{- else }}
value: {{ .Values.config.postgres.password.value | quote }}
{{- end }}
# Certificate Manager
- name: CERT_MANAGER
{{- if .Values.config.certManager.fromSecret.enabled }}
valueFrom:
secretKeyRef:
name: {{ .Values.config.certManager.fromSecret.secretName }}
key: {{ .Values.config.certManager.fromSecret.key }}
{{- else }}
value: {{ .Values.config.certManager.value | quote }}
{{- end }}
# Istio Gateway
- name: ISTIO_GATEWAY
{{- if .Values.config.istioGateway.fromSecret.enabled }}
valueFrom:
secretKeyRef:
name: {{ .Values.config.istioGateway.fromSecret.secretName }}
key: {{ .Values.config.istioGateway.fromSecret.key }}
{{- else }}
value: {{ .Values.config.istioGateway.value | quote }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

View File

@@ -0,0 +1,12 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: {{ include "homelab-operator.fullname" . }}-local-path
labels:
{{- include "homelab-operator.labels" . | nindent 4 }}
provisioner: reuse-local-path-provisioner
parameters:
# Add any provisioner-specific parameters here
reclaimPolicy: {{ .Values.storage.reclaimPolicy | default "Retain" }}
allowVolumeExpansion: {{ .Values.storage.allowVolumeExpansion | default false }}
volumeBindingMode: {{ .Values.storage.volumeBindingMode | default "WaitForFirstConsumer" }}

View File

@@ -0,0 +1,32 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "homelab-operator.fullname" . }}
rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "get", "watch", "list"]
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "list", "watch", "create", "update", "patch"]
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete", "patch", "update"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: [""]
resources: ["persistentvolumeclaims/status"]
verbs: ["update", "patch"]
- apiGroups: [""]
resources: ["events"]
verbs: ["create", "patch"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["get", "list", "watch"]
- apiGroups: ["*"]
resources: ["*"]
verbs: ["get", "watch", "list", "patch", "create", "update", "replace"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "create", "update", "replace", "patch"]

View File

@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: '{{ include "homelab-operator.fullname" . }}'
subjects:
- kind: ServiceAccount
name: '{{ include "homelab-operator.serviceAccountName" . }}'
namespace: "{{ .Release.Namespace }}"
roleRef:
kind: ClusterRole
name: '{{ include "homelab-operator.fullname" . }}'
apiGroup: rbac.authorization.k8s.io

View File

@@ -0,0 +1,56 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "homelab-operator.fullname" . }}
namespace: "{{ .Release.Namespace }}"
labels:
{{- include "homelab-operator.labels" . | nindent 4 }}
spec:
replicas: 1
selector:
matchLabels:
{{- include "homelab-operator.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "homelab-operator.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "homelab-operator.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: data-volumes
mountPath: {{ .Values.storage.path }}
volumes:
- name: data-volumes
hostPath:
path: {{ .Values.storage.path }}
type: DirectoryOrCreate
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

View File

@@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "homelab-operator.serviceAccountName" . }}
namespace: "{{ .Release.Namespace }}"
labels:
{{- include "homelab-operator.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}

View File

@@ -4,14 +4,20 @@
image:
repository: ghcr.io/morten-olsen/homelab-operator
pullPolicy: Always
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: main
tag: main@sha256:df20d7e4f48bd886cef63ab882de9c6df76b0b297724d1cdf3a79aba8de6f896
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
storage:
path: /data/volumes
reclaimPolicy: Retain
allowVolumeExpansion: false
volumeBindingMode: WaitForFirstConsumer
serviceAccount:
# Specifies whether a service account should be created
create: true
@@ -51,53 +57,3 @@ nodeSelector: {}
tolerations: []
affinity: {}
# Configuration for the homelab operator
config:
# PostgreSQL database configuration
postgres:
host:
# Direct value (used when fromSecret.enabled is false)
value: "127.0.0.1"
# Secret reference (used when fromSecret.enabled is true)
fromSecret:
enabled: false
secretName: ""
key: "POSTGRES_HOST"
port:
value: "5432"
fromSecret:
enabled: false
secretName: ""
key: "POSTGRES_PORT"
user:
value: "postgres"
fromSecret:
enabled: false
secretName: ""
key: "POSTGRES_USER"
password:
value: ""
fromSecret:
enabled: true # Default to secret for sensitive data
secretName: "postgres-secret"
key: "POSTGRES_PASSWORD"
# Certificate manager configuration
certManager:
value: "letsencrypt-prod"
fromSecret:
enabled: false
secretName: ""
key: "CERT_MANAGER"
# Istio gateway configuration
istioGateway:
value: "istio-ingress"
fromSecret:
enabled: false
secretName: ""
key: "ISTIO_GATEWAY"

32
cloudflare.yaml Normal file
View File

@@ -0,0 +1,32 @@
apiVersion: v1
kind: Secret
metadata:
name: cloudflare
namespace: homelab
data:
token: WDhqQ1Z2WGtHUVh4XzIzb0d2WmNUcWZkWm8zZGpsMXE0dGIxU0J3Zg==
account: ZThkZDYwMDQ5MTI2NDM3MDhhNGZlMDI4YjNkNWEzMzM=
tunnelName: aG9tZWxhYg==
tunnelId: YTI1ZTI1MDEtNzNiNi00MDc1LWI3MjYtZDc1YWViZmE4ZmNk
secret: UWgvRWtGNkY2MUNxSnFwMGlCQXJ3MUxyd245ZldtcTd1RDNrZk1VUEVBVT0=
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: lets-encrypt-prod
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: alice@alice.com
privateKeySecretRef:
name: letsencrypt-prod-account-key
solvers:
- dns01:
cloudflare:
email: alice@alice.com
apiTokenSecretRef:
name: cloudflare
key: token

View File

@@ -1,12 +0,0 @@
name: homelab
services:
postgres:
image: postgres:17
ports:
- 5432:5432
environment:
POSTGRES_USER: $POSTGRES_USER
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
POSTGRES_DB: ${POSTGRES_DB:-postgres}
volumes:
- $PWD/.data/local/postgres:/var/lib/postgresql/data

476
docs/monitoring.md Normal file
View File

@@ -0,0 +1,476 @@
# Home Kubernetes Cluster Setup: Monitoring & Security Quickstart
This guide provides a practical, lightweight setup for monitoring and security on your home Kubernetes cluster. It uses Helm for easy installation and focuses on essential features with minimal complexity.
## Overview
This setup includes:
* **Monitoring:** Prometheus + node-exporter + kube-state-metrics + Grafana (via the `kube-prometheus-stack` Helm chart).
* **Image Scanning & Supply-Chain:** Trivy (Trivy Operator) for automated in-cluster image vulnerability scanning.
* **Policy / Admission Control / Pod Security:** Kyverno for policy enforcement and Kubernetes Pod Security Admission (PSA) for baseline security.
* **Runtime Security / IDS:** Falco to detect suspicious syscalls and pod activity.
* **Network Segmentation:** Calico (or Cilium) CNI with basic NetworkPolicy configuration.
* **Ad-Hoc Checks:** kube-bench (CIS benchmarks), kube-linter/kube-score (static analysis), and kube-hunter (penetration testing).
## Prerequisites
* A functional Kubernetes cluster (managed or self-hosted).
* `kubectl` installed and configured to connect to your cluster.
* Helm v3 installed.
## Installation
These instructions assume you have `kubectl` and Helm set up and authenticated to your cluster.
### 1. Monitoring (Prometheus + Grafana)
* Add the Prometheus community Helm repository:
```bash
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
```
* Create the `monitoring` namespace and install the `kube-prometheus-stack` chart:
```bash
kubectl create ns monitoring
helm install kube-prometheus prometheus-community/kube-prometheus-stack --namespace monitoring
```
*Optional*: Customize the installation by creating a `values.yaml` file to configure persistence, resource limits, and scrape intervals. See *Configuration* below for a potential `values.yaml` you can adapt.
* Access Grafana:
```bash
kubectl -n monitoring port-forward svc/kube-prometheus-grafana 3000:80
```
Open `http://localhost:3000` in your browser. The default `admin` user password can be found in the chart's secrets (check the Helm chart documentation).
This provides node-exporter, kube-state-metrics, a Prometheus server, Alertmanager, and pre-built dashboards for your cluster.
### 2. Image Scanning (Trivy Operator)
* Add the Aqua Security Helm repository:
```bash
helm repo add aqua https://aquasecurity.github.io/helm-charts
helm repo update
```
* Create the `trivy-system` namespace and install the `trivy-operator` chart:
```bash
kubectl create ns trivy-system
helm install trivy-operator aqua/trivy-operator --namespace trivy-system
```
Trivy Operator creates `VulnerabilityReport` and `ConfigAuditReport` CRDs. It scans images running in the cluster for vulnerabilities.
### 3. Policy Admission (Kyverno)
* Create the `kyverno` namespace and install Kyverno:
```bash
kubectl create ns kyverno
kubectl apply -f https://github.com/kyverno/kyverno/releases/latest/download/install.yaml
```
* Apply the example `ClusterPolicy` to deny privileged containers and hostPath mounts:
```yaml
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: deny-privileged-and-hostpath
spec:
rules:
- name: deny-privileged
match:
resources:
kinds: ["Pod","PodTemplate","CronJob","Job","Deployment","StatefulSet"]
validate:
message: "Privileged containers are not allowed"
deny:
conditions:
- key: "{{ request.object.spec.containers[].securityContext.privileged }}"
operator: Equals
value: true
- name: deny-hostpath
match:
resources:
kinds: ["Pod","PodTemplate","Deployment","StatefulSet"]
validate:
message: "hostPath volumes are not allowed"
pattern:
spec:
volumes:
- "*":
hostPath: null
```
Save the above as `kyverno-policy.yaml` and apply it:
```bash
kubectl apply -f kyverno-policy.yaml
```
Adapt the `match` section to target specific workload types. See *Example Kyverno Policy* below.
### 4. Pod Security Admission (PSA)
* Apply the `baseline` Pod Security Standard to the `default` namespace:
```bash
kubectl label ns default pod-security.kubernetes.io/enforce=baseline
```
* For a stricter security posture, use the `restricted` profile:
```bash
kubectl label ns default pod-security.kubernetes.io/enforce=restricted
```
PSA provides controls like preventing privileged containers and restricting host networking.
### 5. Runtime Detection (Falco)
* Add the Falco Helm repository:
```bash
helm repo add falcosecurity https://falcosecurity.github.io/charts
helm repo update
```
* Create the `falco` namespace and install the `falco` chart:
```bash
kubectl create ns falco
helm install falco falcosecurity/falco --namespace falco
```
Falco detects suspicious container behavior and system calls.
### 6. Network Policy & CNI
* If you haven't already, install a CNI that supports NetworkPolicy, such as Calico:
```bash
kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml
```
Alternatively, consider Cilium.
* Implement a default-deny NetworkPolicy:
```yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: default-deny
namespace: my-namespace
spec:
podSelector: {}
policyTypes:
- Ingress
- Egress
```
Save the above as `default-deny.yaml` and apply it to your namespace:
```bash
kubectl apply -f default-deny.yaml
```
Follow this up with explicit `allow` policies for necessary services.
### 7. Cluster Hardening & Scans
* **kube-bench (CIS Benchmarks):**
```bash
kubectl run --rm -it --image aquasec/kube-bench:latest kube-bench -- /kube-bench --version 1.23
```
Refer to the kube-bench documentation for running as a Job or Pod.
* **kube-linter / kube-score (Static Manifest Checks):**
Install the CLI tool locally and analyze your Kubernetes manifests.
* **kube-hunter (Penetration Testing):**
```bash
docker run aquasec/kube-hunter:latest --remote <K8S_API_ENDPOINT>
```
## Configuration
This section provides example configuration files and tips to customize the setup for a home Kubernetes cluster.
### Example `values.yaml` for `kube-prometheus-stack`
This reduces resource usage and avoids the need for external object storage for Alertmanager, which is not needed at home. It disables default dashboards you might not need initially and cuts down some Prometheus retention.
```yaml
# values.yaml for kube-prometheus-stack
prometheus:
prometheusSpec:
# reduce resource rqts / limits
resources:
requests:
memory: 1Gi
cpu: 200m
limits:
memory: 2Gi
cpu: 500m
# Reduce storage retention
retention: 7d
storageSpec:
volumeClaimTemplate:
spec:
storageClassName: "local-path" # Or your storage class
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 10Gi # adjust as needed
alertmanager:
enabled: false # for quick home setup, send directly to telegram etc.
grafana:
enabled: true
defaultDashboardsEnabled: false # Disable default dashboards
sidecar:
dashboards:
enabled: true
provider:
folders:
fromConfigMap: true # Load custom dashboards from ConfigMaps
kube-state-metrics:
enabled: true
nodeExporter:
enabled: true
```
To use this configuration, save it as `values.yaml` and run:
```bash
helm install kube-prometheus prometheus-community/kube-prometheus-stack --namespace monitoring -f values.yaml
```
Adapt the `storageClassName` and storage amounts to your environment.
### Example Kyverno Policy - Disallow Root User / Require Distroless
This example expands on the previous policy. It requires images not run as UID 0 and suggests distroless images. It still requires privilege escalation to be forbidden:
```yaml
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: require-non-root-user-and-distroless
annotations:
policies.kyverno.io/title: Require Non-Root User and Distroless Images
policies.kyverno.io/category: Security
policies.kyverno.io/severity: medium
policies.kyverno.io/subject: Pod
policies.kyverno.io/description: >-
Containers should not run as root, and ideally, be based on Distroless
images where possible. This policy requires that containers define
`runAsUser`, and that `runAsUser` is not `0`. It also generates a warning
if the image is not based on a distroless image, although does not reject
the deployment.
spec:
validationFailureAction: Enforce
rules:
- name: check-runasnonroot
match:
any:
- resources:
kinds:
- Pod
validate:
message: "Containers must not run as root. Specify a non-zero runAsUser in securityContext."
pattern:
spec:
containers:
- securityContext:
runAsUser: "!0" # not equal to zero
- name: check-allowprivilegeescalation
match:
any:
- resources:
kinds:
- Pod
validate:
message: "Containers must set allowPrivilegeEscalation to false."
pattern:
spec:
containers:
- securityContext:
allowPrivilegeEscalation: "false"
- name: warn-distroless
match:
any:
- resources:
kinds:
- Pod
verifyImages:
- imageReferences:
- "*" # all images
attestations:
- policy:
subjects:
- name: distroless
conditions:
all:
- key: "ghcr.io/distroless/static:latest" # Example - Check if the image is distroless. You can use wildcards
operator: In
value: "{{ image.repoDigests }}"
# You can add other keys and values to check
mutate:
overlay:
metadata:
annotations:
"image.distroless.warn": "This image isn't distroless -- see https://github.com/GoogleContainerTools/distroless"
```
### Alertmanager to Telegram
1. **Create a Telegram Bot:** Search for `@BotFather` on Telegram. Use the `/newbot` command. Give your bot a name and a unique username. BotFather will give you the bot's API token.
2. **Get your Telegram Chat ID:** Send a message to your bot. Then, in a browser, go to `https://api.telegram.org/bot<YOUR_BOT_API_TOKEN>/getUpdates` (replace `<YOUR_BOT_API_TOKEN>`). The `chat.id` value in the JSON response is your chat ID.
3. **Create a Secret in Kubernetes:**
```bash
kubectl create secret generic telegram-secrets \
--from-literal=bot_token="<YOUR_BOT_API_TOKEN>" \
--from-literal=chat_id="<YOUR_CHAT_ID>"
```
Replace the placeholders with the correct values.
4. **Add Alertmanager Configuration:**
You'll need to patch the default Alertmanager configuration provided by `kube-prometheus-stack`. Because we disabled the Alertmanager component from the chart for simplicitly's sake, we'll instead rely on defining an additional prometheusRule that sends alerts to a webhook (and have a small sidecar container forward them to telegram).
Example:
```yaml
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
labels:
prometheus: k8s
role: alert-rules
name: promethus-to-telegram
namespace: monitoring
spec:
groups:
- name: kubernetes-home-cluster
rules:
- alert: PrometheusToTelegramAlert
annotations:
description: 'Alert sent from Prometheus goes to telegram'
expr: vector(1)
labels:
severity: critical
for: 1s
actions:
- name: SendToTelegramAction
url: 'http://localhost:8080/message'
parameters:
text: Alert from Prometheus: {{ .Alerts.Firing | len }} firing alert{{ if gt (len .Alerts.Firing) 1 }}s{{ end }}.\nSeverity: {{ .CommonLabels.severity }}\nDescription: {{ .CommonAnnotations.description }}
```
Now you will create a deployment that runs a small webhook server forwarding these alerts to telegram:
```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: prometheus-telegram
namespace: monitoring
spec:
selector:
matchLabels:
app: prometheus-telegram
replicas: 1
template:
metadata:
labels:
app: prometheus-telegram
spec:
containers:
- name: webhook
image: nginx
ports:
- containerPort: 8080
- name: telegram-forwarder
image: alpine/curl
command: ["/bin/sh"]
args:
- "-c"
- |
while true; do
nc -l -p 8080 | sed 's/text=/text=Alert from Prometheus: /g' | curl -sS --fail -X POST "https://api.telegram.org/bot$(TELEGRAM_BOT_TOKEN)/sendMessage" -d chat_id=$(TELEGRAM_CHAT_ID) -d "$$(cat)"
sleep 1;
done
env:
- name: TELEGRAM_BOT_TOKEN
valueFrom:
secretKeyRef:
name: telegram-secrets
key: bot_token
- name: TELEGRAM_CHAT_ID
valueFrom:
secretKeyRef:
name: telegram-secrets
key: chat_id
```
**Explanation:**
* It creates an Nginx pod for a HTTP listener to avoid unnecessary security errors in Promethues,
* The `telegram-forwarder` container uses `curl` and `nc` to forward the POST from Prometheus to the Telegram API, using the secrets for authentication.
## Operational Tips
* **Resource Management:** Set resource limits and requests for components, especially Prometheus and Grafana. Adjust scrape intervals for Prometheus to reduce load.
* **Persistence:** Use persistent volumes for Grafana and Prometheus to preserve dashboards and historical data.
* **Alerting:** Configure Alertmanager with a Telegram or Discord webhook for notifications. This is *simpler* than email for home setups.
* **Trivy & Image Blocking:** To automatically block vulnerable images, integrate Trivy with admission webhooks (using Kyverno to reject deployments based on Trivy reports).
* **Backups:** Regularly back up etcd (if self-hosting the control plane) and potentially Prometheus/Grafana data.
## Getting Started Quickly
Follow this installation order:
1. Install your `CNI`.
2. Install `kube-prometheus-stack`, using `values.yaml` to reduce resources.
3. Install Grafana and import dashboards.
4. Enable PSA on namespaces.
5. Install Kyverno and create deny policies.
6. Install Trivy Operator for image scanning visibility.
7. Install Falco for runtime detection.
8. Run `kube-bench` and `kube-linter` for initial assessment.
## Useful Resources
* [kube-prometheus-stack (Helm)](https://github.com/prometheus-community/helm-charts)
* [trivy-operator](https://github.com/aquasecurity/trivy-operator)
* [Kyverno](https://kyverno.io/)
* [Falco](https://falco.org/)
* [Calico CNI](https://www.tigera.io/project-calico/)
* [Aqua kube-hunter, kube-bench, kube-linter](https://www.aquasec.com/)
This README provides a solid foundation for setting up monitoring and security on your home Kubernetes cluster. Adapt the configurations and policies to your specific needs and experiment!

216
docs/prepare-server.md Normal file
View File

@@ -0,0 +1,216 @@
Here's the guide formatted as a `README.md` file, ready for a GitHub repository or local documentation.
```markdown
# Optimizing Debian for K3s
This guide outlines steps to optimize a Debian server for running K3s (Lightweight Kubernetes). Optimization involves a combination of general Linux best practices, K3s-specific recommendations, and considerations for your specific workload.
## Table of Contents
- [1. Debian Base System Optimization](#1-debian-base-system-optimization)
- [a. Kernel Parameters (sysctl.conf)](#a-kernel-parameters-sysctlconf)
- [b. User Limits (ulimit)](#b-user-limits-ulimit)
- [c. Disable Unnecessary Services](#c-disable-unnecessary-services)
- [d. Update System](#d-update-system)
- [e. Swap Configuration](#e-swap-configuration)
- [2. K3s Specific Optimizations](#2-k3s-specific-optimizations)
- [a. Choose a Performant Storage Backend](#a-choose-a-performant-storage-backend)
- [b. Containerd Tuning](#b-containerd-tuning)
- [c. K3s Server and Agent Configuration](#c-k3s-server-and-agent-configuration)
- [d. CNI Choice](#d-cni-choice)
- [3. General Server Best Practices](#3-general-server-best-practices)
- [a. Fast Storage](#a-fast-storage)
- [b. Adequate RAM and CPU](#b-adequate-ram-and-cpu)
- [c. Network Configuration](#c-network-configuration)
- [d. Monitoring](#d-monitoring)
- [e. Logging](#e-logging)
- [4. Post-Optimization Verification](#4-post-optimization-verification)
---
## 1. Debian Base System Optimization
These steps are generally beneficial for any server, but particularly important for containerized environments like K3s.
### a. Kernel Parameters (sysctl.conf)
Edit `/etc/sysctl.conf` and apply changes with `sudo sysctl -p`.
```ini
# Increase maximum open files (for container processes, K3s components)
fs.inotify.max_user_watches = 524288 # For fs-based operations within containers
fs.inotify.max_user_instances = 8192 # For fs-based operations within containers
fs.file-max = 2097152 # Increase overall system file handle limit
# Increase limits for network connections
net.core.somaxconn = 65535 # Max backlog of pending connections
net.ipv4.tcp_tw_reuse = 1 # Allow reuse of TIME_WAIT sockets (caution: can sometimes mask issues)
net.ipv4.tcp_fin_timeout = 30 # Reduce TIME_WAIT duration
net.ipv4.tcp_max_syn_backlog = 65535 # Max number of remembered connection requests
net.ipv4.tcp_keepalive_time=600 # Shorter keepalive interval
net.ipv4.tcp_keepalive_intvl=60 # Keepalive interval
net.ipv4.tcp_keepalive_probes=3 # Keepalive probes
# Increase memory limits for network buffers (especially if high network traffic)
net.core.rmem_max = 26214400
net.core.wmem_max = 26214400
net.core.rmem_default = 26214400
net.core.wmem_default = 26214400
# Other useful parameters
vm.max_map_count = 262144 # Essential for Elasticsearch, MongoDB, etc.
vm.dirty_ratio = 5 # Reduce dirty page percentage for better write performance
vm.dirty_background_ratio = 10 # Reduce dirty page percentage for better write performance
kernel.pid_max = 4194304 # Increase max PIDs
```
**Explanation:**
- `fs.file-max`: K3s and its deployed containers can open a large number of files. Increasing this prevents "Too many open files" errors.
- `net.*`: These parameters help in handling a high number of concurrent network connections crucial for a Kubernetes cluster.
- `vm.max_map_count`: Required by some applications that run on Kubernetes (e.g., Elasticsearch).
### b. User Limits (ulimit)
Edit `/etc/security/limits.conf` (or create a file like `/etc/security/limits.d/k3s.conf`) for all users, or specifically for the user K3s runs as (often `root` by default or a dedicated `k3s` user).
```
# For all users (or a specific k3s user if you configure it)
* soft nofile 65536
* hard nofile 131072
* soft nproc 65536
* hard nproc 131072
```
**Note:** A reboot or logging out/in is often required for these changes to take effect for user sessions. Services typically pick up new limits upon restart.
**Explanation:**
- `nofile` (number of open files): Sets the per-user/per-process limit. K3s and pods need a high limit.
- `nproc` (number of processes): Each container consumes processes. A high limit prevents hitting a ceiling.
### c. Disable Unnecessary Services
Reducing background services frees up CPU, RAM, and I/O.
```bash
sudo systemctl disable --now apache2 # Example, replace with actual unused services
sudo systemctl disable --now nginx # Example
sudo systemctl disable --now cups # If not using printing
sudo systemctl disable --now modemmanager # If not using a modem
sudo systemctl disable --now bluetooth # If no bluetooth devices
# Review active services using:
# systemctl list-unit-files --type=service --state=enabled
```
### d. Update System
Keep your system packages up-to-date for security and performance bug fixes.
```bash
sudo apt update
sudo apt upgrade -y
sudo apt dist-upgrade -y # For major version changes (if applicable)
sudo apt autoremove -y
sudo reboot # After significant kernel or base system updates
```
### e. Swap Configuration
**It is generally recommended to disable swap on K3s nodes, especially worker nodes.** Swapping can severely degrade performance in containerized environments due to unpredictable latency.
If you absolutely must have swap (e.g., very low memory server, not recommended for production):
* Reduce swappiness: `sudo sysctl vm.swappiness=10` (or even `1`). Add `vm.swappiness = 10` to `/etc/sysctl.conf`.
* Preferably, disable swap entirely if you have sufficient RAM:
```bash
sudo swapoff -a
sudo sed -i '/ swap / s/^/#/' /etc/fstab
```
**WARNING:** Only disable swap if your system has sufficient RAM to handle its workload without it. If nodes run out of memory without swap, processes will be OOM-killed, leading to instability.
## 2. K3s Specific Optimizations
### a. Choose a Performant Storage Backend
The choice of K3s's data store significantly impacts performance and availability.
* **SQLite (Default):** Good for single-node setups or small, non-critical clusters. Performance can degrade with many changes or large clusters.
* **External Database (MariaDB/MySQL, PostgreSQL):**
* **Recommended for Production:** Offers high availability and better performance than embedded SQLite for multi-node K3s server configurations.
* **Placement:** Place the external database on a separate server or on a dedicated, fast storage volume.
* **External etcd:** Offers the best performance and scalability, but is more complex to manage and requires its own dedicated etcd cluster.
### b. Containerd Tuning
K3s uses containerd as its container runtime.
* **Fast Storage for Containerd:** Ensure the directories where containerd stores its data are on fast storage (NVMe SSDs are ideal).
* `/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs` (K3s specific)
* (`/var/lib/containerd` if using a standalone containerd setup)
This is critical for image pulls, container startup, and overlayfs performance.
### c. K3s Server and Agent Configuration
Configure K3s using a configuration file (e.g., `/etc/rancher/k3s/config.yaml`) or command-line flags.
* **Disable Unused Components:** Reduce resource consumption by disabling features you don't need.
* `--disable traefik`: If using Nginx Ingress Controller or another ingress.
* `--disable servicelb`: If using a cloud provider Load Balancer, MetalLB, or another solution.
* `--disable local-storage`: If using cloud provider storage, NFS, or another remote storage solution.
* `--disable metrics-server`: If using a different metrics solution or don't need it.
* `--disable helm-controller`: If exclusively using `kubectl` for deployments.
**Example `/etc/rancher/k3s/config.yaml` for a server node:**
```yaml
# /etc/rancher/k3s/config.yaml
server: true
disable:
- traefik
- servicelb
- local-storage
- metrics-server
# Example for external database
# datastore-endpoint: "mysql://k3s:password@tcp(db-server:3306)/kube?parseTime=true"
```
### d. CNI Choice
K3s defaults to Flannel (with VXLAN), which is performant for many use cases.
* **Alternative CNIs (Calico, Cilium):** If you require advanced network policies, superior performance in high-throughput scenarios, or specific networking features, consider replacing Flannel. These can offer better raw throughput or lower latency but add complexity.
* If installing K3s, you'd typically skip Flannel installation (`--flannel-backend=none`) then install your chosen CNI.
* Ensure your chosen CNI is optimized with the correct kernel modules and sysctls.
## 3. General Server Best Practices
### a. Fast Storage
* **SSD/NVMe:** Absolutely crucial for K3s performance, especially for the K3s data directory (`$K3S_DATA_DIR`, default: `/var/lib/rancher/k3s`), `/var/lib/containerd`, and the operating system itself. Pod startup times, image pulls, and database operations are heavily I/O bound.
* **RAID:** If using multiple drives, consider RAID1 or RAID10 for redundancy and increased I/O performance.
### b. Adequate RAM and CPU
* **RAM:** K3s servers (especially with embedded SQLite) require more RAM. Worker nodes also need ample RAM for their pods. Err on the side of more RAM.
* **CPU:** Ensure sufficient CPU cores for K3s components, containers, and your workloads.
### c. Network Configuration
* **Gigabit Ethernet (at least):** 10Gbps or faster is ideal for larger clusters or high-bandwidth applications.
* **MTU:** Ensure consistent MTU settings across all nodes and your network infrastructure. K3s default CNI (Flannel VXLAN) might use a smaller MTU (e.g., 1450) due to encapsulation overhead. Misconfigured MTU can lead to packet fragmentation and performance issues.
* **Jumbo Frames:** If your network supports it and all components are configured for it, jumbo frames (e.g., 9000 bytes MTU) can reduce overhead and improve throughput, but requires careful and consistent configuration.
### d. Monitoring
* **Prometheus/Grafana:** Essential for monitoring resource usage (CPU, RAM, disk I/O, network) of your nodes and K3s components. This helps identify and diagnose bottlenecks.
* **Kube-state-metrics:** Provides metrics about Kubernetes objects.
* **Node Exporter:** Provides system-level metrics.
* **cAdvisor (usually bundled with container runtimes):** Provides container-level metrics.
### e. Logging
* **Centralized Logging (ELK Stack, Loki, etc.):** Stream logs from K3s components and pods to a central logging system for easier debugging, troubleshooting, and performance analysis.
## 4. Post-Optimization Verification
1. **Reboot:** After making changes to kernel parameters or `limits.conf`, a full system reboot is often the safest way to ensure all changes are fully applied.
2. **Verify sysctl settings:** `sudo sysctl -a | grep -i <parameter_name>` (e.g., `sudo sysctl -a | grep -i fs.file-max`)
3. **Verify ulimits:** Check `ulimit -n` and `ulimit -u` in a new shell. For specific running processes, inspect `/proc/<pid>/limits`.
4. **Monitor Performance:** Use tools like `htop`, `iostat`, `netstat`, `dstat`, and your installed monitoring stack (Prometheus/Grafana) to observe the impact of your changes. Look for reduced CPU usage, lower I/O wait, improved network throughput, and stable memory usage.
5. **Test Workloads:** Deploy your actual applications and perform load testing to ensure the optimizations yield the desired performance benefits under realistic conditions.
By diligently following these steps, you can establish a robust and highly performant Debian environment for your K3s cluster. Always test changes in a staging or development environment before applying them to production systems.
```

10
images/backup/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM alpine/git:latest@sha256:bd54f921f6d803dfa3a4fe14b7defe36df1b71349a3e416547e333aa960f86e3
# or a more specific image like a Debian slim or Ubuntu base image.
RUN apk add --no-cache restic fuse-overlayfs
WORKDIR /app
COPY backup.sh /app/backup.sh
COPY cleanup.sh /app/cleanup.sh
# Make scripts executable
RUN chmod +x /app/backup.sh /app/cleanup.sh

35
images/backup/backup.sh Normal file
View File

@@ -0,0 +1,35 @@
#!/bin/sh
set -e
if [ -z "$RESTIC_PASSWORD" ]; then
echo "Error: RESTIC_PASSWORD environment variable is not set." >&2
exit 1
fi
RESTIC_REPOSITORY="/mnt/backup"
SOURCE_DIR="/mnt/source"
mkdir -p "$SOURCE_DIR"
mkdir -p "/mnt/backup"
echo "Starting Restic backup from $SOURCE_DIR to $RESTIC_REPOSITORY"
echo "Checking/Initializing Restic repository..."
restic init --repo "$RESTIC_REPOSITORY" || true
echo "Running Restic backup..."
restic backup \
-r "$RESTIC_REPOSITORY" \
"$SOURCE_DIR" \
--verbose \
--tag "daily"
if [ $? -eq 0 ]; then
echo "Restic backup completed successfully!"
else
echo "Restic backup failed!"
exit 1
fi
echo "Backup finished."

42
images/backup/cleanup.sh Normal file
View File

@@ -0,0 +1,42 @@
#!/bin/sh
set -e
if [ -z "$RESTIC_PASSWORD" ]; then
echo "Error: RESTIC_PASSWORD environment variable is not set." >&2
exit 1
fi
RESTIC_REPOSITORY="/mnt/backup"
echo "Starting Restic cleanup for repository $RESTIC_REPOSITORY"
echo "Checking Restic repository existence..."
restic snapshots --repository "$RESTIC_REPOSITORY"
# Restic forget and prune strategy
# --keep-daily 7: Keep 7 most recent daily backups
# --keep-weekly 4: Keep 4 most recent weekly backups
# --keep-monthly 6: Keep 6 most recent monthly backups
# --keep-yearly 1: Keep 1 most recent yearly backup
# --prune: Actually delete data that's no longer referenced
# --group-by host,paths: Group snapshots for retention by host and path.
echo "Running Restic forget and prune..."
restic forget \
--group-by host,paths \
--tag "daily" \
--keep-daily 7 \
--keep-weekly 4 \
--keep-monthly 6 \
--keep-yearly 1 \
--prune \
--verbose \
--repository "$RESTIC_REPOSITORY"
if [ $? -eq 0 ]; then
echo "Restic cleanup completed successfully!"
else
echo "Restic cleanup failed!"
exit 1
fi
echo "Cleanup finished."

39
images/operator/.gitignore vendored Normal file
View File

@@ -0,0 +1,39 @@
# dependencies (bun install)
node_modules
# output
out
dist
*.tgz
# code coverage
coverage
*.lcov
# logs
logs
_.log
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# caches
.eslintcache
.cache
*.tsbuildinfo
# IntelliJ based IDEs
.idea
# Finder (MacOS) folder config
.DS_Store
/data/
/cloudflare.yaml
/secret.*.yaml

View File

@@ -0,0 +1,8 @@
FROM node:23-slim@sha256:86191b94d2a163be41f3dc7fe5e5fcaca8ba2f1be7275d98a06343483c17414a
RUN corepack enable
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
COPY patches ./patches
RUN pnpm install --frozen-lockfile --prod
COPY . .
CMD ["node", "src/index.ts"]

View File

@@ -5,13 +5,15 @@
"private": true,
"devDependencies": {
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.32.0",
"eslint": "9.32.0",
"@eslint/js": "9.36.0",
"@types/deep-equal": "^1.0.4",
"eslint": "9.36.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "5.5.3",
"eslint-plugin-prettier": "5.5.4",
"json-schema-to-typescript": "^15.0.4",
"prettier": "3.6.2",
"typescript": "5.8.3",
"typescript": "5.9.2",
"typescript-eslint": "8.38.0"
},
"peerDependencies": {
@@ -20,20 +22,34 @@
"dependencies": {
"@goauthentik/api": "2025.6.3-1751754396",
"@kubernetes/client-node": "^1.3.0",
"cloudflare": "^5.0.0",
"cron": "^4.3.3",
"debounce": "^2.2.0",
"deep-equal": "^2.2.3",
"dotenv": "^17.2.1",
"eventemitter3": "^5.0.1",
"execa": "^9.6.0",
"knex": "^3.1.0",
"p-queue": "^8.1.0",
"p-retry": "^7.0.0",
"pg": "^8.16.3",
"sqlite3": "^5.1.7",
"yaml": "^2.8.0",
"zod": "^4.0.14"
},
"packageManager": "pnpm@10.6.0",
"imports": {
"#services/*": "./src/services/*",
"#resources/*": "./src/resources/*",
"#bootstrap/*": "./src/bootstrap/*",
"#utils/*": "./src/utils/*"
},
"packageManager": "pnpm@10.17.1",
"pnpm": {
"onlyBuiltDependencies": [
"sqlite3"
],
"patchedDependencies": {
"@kubernetes/client-node": "patches/@kubernetes__client-node.patch"
"@kubernetes/client-node": "./patches/@kubernetes__client-node.patch"
}
},
"scripts": {

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,31 @@
{
"description": "Addon is used to track application of a manifest file on disk. It mostly exists so that the wrangler DesiredSet\nApply controller has an object to track as the owner, and ensure that all created resources are tracked when the\nmanifest is modified or removed.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "Spec provides information about the on-disk manifest backing this resource.",
"properties": {
"checksum": {
"description": "Checksum is the SHA256 checksum of the most recently successfully applied manifest file.",
"type": "string"
},
"source": {
"description": "Source is the Path on disk to the manifest file that this Addon tracks.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,43 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* Addon is used to track application of a manifest file on disk. It mostly exists so that the wrangler DesiredSet
* Apply controller has an object to track as the owner, and ensure that all created resources are tracked when the
* manifest is modified or removed.
*/
export interface K8SAddonV1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* Spec provides information about the on-disk manifest backing this resource.
*/
spec?: {
/**
* Checksum is the SHA256 checksum of the most recently successfully applied manifest file.
*/
checksum?: string;
/**
* Source is the Path on disk to the manifest file that this Addon tracks.
*/
source?: string;
};
}

View File

@@ -0,0 +1,376 @@
{
"description": "AppProject provides a logical grouping of applications, providing controls for:\n* where the apps may deploy to (cluster whitelist)\n* what may be deployed (repository whitelist, resource whitelist/blacklist)\n* who can access these applications (roles, OIDC group claims bindings)\n* and what they can do (RBAC policies)\n* automation access to these roles (JWT tokens)",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "AppProjectSpec is the specification of an AppProject",
"properties": {
"clusterResourceBlacklist": {
"description": "ClusterResourceBlacklist contains list of blacklisted cluster level resources",
"items": {
"description": "GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying\nconcepts during lookup stages without having partially valid types",
"type": "object",
"required": [
"group",
"kind"
],
"properties": {
"group": {
"type": "string"
},
"kind": {
"type": "string"
}
}
},
"type": "array"
},
"clusterResourceWhitelist": {
"description": "ClusterResourceWhitelist contains list of whitelisted cluster level resources",
"items": {
"description": "GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying\nconcepts during lookup stages without having partially valid types",
"type": "object",
"required": [
"group",
"kind"
],
"properties": {
"group": {
"type": "string"
},
"kind": {
"type": "string"
}
}
},
"type": "array"
},
"description": {
"description": "Description contains optional project description",
"type": "string"
},
"destinationServiceAccounts": {
"description": "DestinationServiceAccounts holds information about the service accounts to be impersonated for the application sync operation for each destination.",
"items": {
"description": "ApplicationDestinationServiceAccount holds information about the service account to be impersonated for the application sync operation.",
"type": "object",
"required": [
"defaultServiceAccount",
"server"
],
"properties": {
"defaultServiceAccount": {
"description": "DefaultServiceAccount to be used for impersonation during the sync operation",
"type": "string"
},
"namespace": {
"description": "Namespace specifies the target namespace for the application's resources.",
"type": "string"
},
"server": {
"description": "Server specifies the URL of the target cluster's Kubernetes control plane API.",
"type": "string"
}
}
},
"type": "array"
},
"destinations": {
"description": "Destinations contains list of destinations available for deployment",
"items": {
"description": "ApplicationDestination holds information about the application's destination",
"type": "object",
"properties": {
"name": {
"description": "Name is an alternate way of specifying the target cluster by its symbolic name. This must be set if Server is not set.",
"type": "string"
},
"namespace": {
"description": "Namespace specifies the target namespace for the application's resources.\nThe namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace",
"type": "string"
},
"server": {
"description": "Server specifies the URL of the target cluster's Kubernetes control plane API. This must be set if Name is not set.",
"type": "string"
}
}
},
"type": "array"
},
"namespaceResourceBlacklist": {
"description": "NamespaceResourceBlacklist contains list of blacklisted namespace level resources",
"items": {
"description": "GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying\nconcepts during lookup stages without having partially valid types",
"type": "object",
"required": [
"group",
"kind"
],
"properties": {
"group": {
"type": "string"
},
"kind": {
"type": "string"
}
}
},
"type": "array"
},
"namespaceResourceWhitelist": {
"description": "NamespaceResourceWhitelist contains list of whitelisted namespace level resources",
"items": {
"description": "GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying\nconcepts during lookup stages without having partially valid types",
"type": "object",
"required": [
"group",
"kind"
],
"properties": {
"group": {
"type": "string"
},
"kind": {
"type": "string"
}
}
},
"type": "array"
},
"orphanedResources": {
"description": "OrphanedResources specifies if controller should monitor orphaned resources of apps in this project",
"properties": {
"ignore": {
"description": "Ignore contains a list of resources that are to be excluded from orphaned resources monitoring",
"items": {
"description": "OrphanedResourceKey is a reference to a resource to be ignored from",
"type": "object",
"properties": {
"group": {
"type": "string"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"type": "array"
},
"warn": {
"description": "Warn indicates if warning condition should be created for apps which have orphaned resources",
"type": "boolean"
}
},
"type": "object"
},
"permitOnlyProjectScopedClusters": {
"description": "PermitOnlyProjectScopedClusters determines whether destinations can only reference clusters which are project-scoped",
"type": "boolean"
},
"roles": {
"description": "Roles are user defined RBAC roles associated with this project",
"items": {
"description": "ProjectRole represents a role that has access to a project",
"type": "object",
"required": [
"name"
],
"properties": {
"description": {
"description": "Description is a description of the role",
"type": "string"
},
"groups": {
"description": "Groups are a list of OIDC group claims bound to this role",
"type": "array",
"items": {
"type": "string"
}
},
"jwtTokens": {
"description": "JWTTokens are a list of generated JWT tokens bound to this role",
"type": "array",
"items": {
"description": "JWTToken holds the issuedAt and expiresAt values of a token",
"type": "object",
"required": [
"iat"
],
"properties": {
"exp": {
"type": "integer",
"format": "int64"
},
"iat": {
"type": "integer",
"format": "int64"
},
"id": {
"type": "string"
}
}
}
},
"name": {
"description": "Name is a name for this role",
"type": "string"
},
"policies": {
"description": "Policies Stores a list of casbin formatted strings that define access policies for the role in the project",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"type": "array"
},
"signatureKeys": {
"description": "SignatureKeys contains a list of PGP key IDs that commits in Git must be signed with in order to be allowed for sync",
"items": {
"description": "SignatureKey is the specification of a key required to verify commit signatures with",
"type": "object",
"required": [
"keyID"
],
"properties": {
"keyID": {
"description": "The ID of the key in hexadecimal notation",
"type": "string"
}
}
},
"type": "array"
},
"sourceNamespaces": {
"description": "SourceNamespaces defines the namespaces application resources are allowed to be created in",
"items": {
"type": "string"
},
"type": "array"
},
"sourceRepos": {
"description": "SourceRepos contains list of repository URLs which can be used for deployment",
"items": {
"type": "string"
},
"type": "array"
},
"syncWindows": {
"description": "SyncWindows controls when syncs can be run for apps in this project",
"items": {
"description": "SyncWindow contains the kind, time, duration and attributes that are used to assign the syncWindows to apps",
"type": "object",
"properties": {
"andOperator": {
"description": "UseAndOperator use AND operator for matching applications, namespaces and clusters instead of the default OR operator",
"type": "boolean"
},
"applications": {
"description": "Applications contains a list of applications that the window will apply to",
"type": "array",
"items": {
"type": "string"
}
},
"clusters": {
"description": "Clusters contains a list of clusters that the window will apply to",
"type": "array",
"items": {
"type": "string"
}
},
"duration": {
"description": "Duration is the amount of time the sync window will be open",
"type": "string"
},
"kind": {
"description": "Kind defines if the window allows or blocks syncs",
"type": "string"
},
"manualSync": {
"description": "ManualSync enables manual syncs when they would otherwise be blocked",
"type": "boolean"
},
"namespaces": {
"description": "Namespaces contains a list of namespaces that the window will apply to",
"type": "array",
"items": {
"type": "string"
}
},
"schedule": {
"description": "Schedule is the time the window will begin, specified in cron format",
"type": "string"
},
"timeZone": {
"description": "TimeZone of the sync that will be applied to the schedule",
"type": "string"
}
}
},
"type": "array"
}
},
"type": "object"
},
"status": {
"description": "AppProjectStatus contains status information for AppProject CRs",
"properties": {
"jwtTokensByRole": {
"additionalProperties": {
"description": "JWTTokens represents a list of JWT tokens",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"description": "JWTToken holds the issuedAt and expiresAt values of a token",
"type": "object",
"required": [
"iat"
],
"properties": {
"exp": {
"type": "integer",
"format": "int64"
},
"iat": {
"type": "integer",
"format": "int64"
},
"id": {
"type": "string"
}
}
}
}
}
},
"description": "JWTTokensByRole contains a list of JWT tokens issued for a given role",
"type": "object"
}
},
"type": "object"
}
},
"required": [
"metadata",
"spec"
],
"type": "object"
}

View File

@@ -0,0 +1,233 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* AppProject provides a logical grouping of applications, providing controls for:
* * where the apps may deploy to (cluster whitelist)
* * what may be deployed (repository whitelist, resource whitelist/blacklist)
* * who can access these applications (roles, OIDC group claims bindings)
* * and what they can do (RBAC policies)
* * automation access to these roles (JWT tokens)
*/
export interface K8SAppProjectV1Alpha1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata: {};
/**
* AppProjectSpec is the specification of an AppProject
*/
spec: {
/**
* ClusterResourceBlacklist contains list of blacklisted cluster level resources
*/
clusterResourceBlacklist?: {
group: string;
kind: string;
}[];
/**
* ClusterResourceWhitelist contains list of whitelisted cluster level resources
*/
clusterResourceWhitelist?: {
group: string;
kind: string;
}[];
/**
* Description contains optional project description
*/
description?: string;
/**
* DestinationServiceAccounts holds information about the service accounts to be impersonated for the application sync operation for each destination.
*/
destinationServiceAccounts?: {
/**
* DefaultServiceAccount to be used for impersonation during the sync operation
*/
defaultServiceAccount: string;
/**
* Namespace specifies the target namespace for the application's resources.
*/
namespace?: string;
/**
* Server specifies the URL of the target cluster's Kubernetes control plane API.
*/
server: string;
}[];
/**
* Destinations contains list of destinations available for deployment
*/
destinations?: {
/**
* Name is an alternate way of specifying the target cluster by its symbolic name. This must be set if Server is not set.
*/
name?: string;
/**
* Namespace specifies the target namespace for the application's resources.
* The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace
*/
namespace?: string;
/**
* Server specifies the URL of the target cluster's Kubernetes control plane API. This must be set if Name is not set.
*/
server?: string;
}[];
/**
* NamespaceResourceBlacklist contains list of blacklisted namespace level resources
*/
namespaceResourceBlacklist?: {
group: string;
kind: string;
}[];
/**
* NamespaceResourceWhitelist contains list of whitelisted namespace level resources
*/
namespaceResourceWhitelist?: {
group: string;
kind: string;
}[];
/**
* OrphanedResources specifies if controller should monitor orphaned resources of apps in this project
*/
orphanedResources?: {
/**
* Ignore contains a list of resources that are to be excluded from orphaned resources monitoring
*/
ignore?: {
group?: string;
kind?: string;
name?: string;
}[];
/**
* Warn indicates if warning condition should be created for apps which have orphaned resources
*/
warn?: boolean;
};
/**
* PermitOnlyProjectScopedClusters determines whether destinations can only reference clusters which are project-scoped
*/
permitOnlyProjectScopedClusters?: boolean;
/**
* Roles are user defined RBAC roles associated with this project
*/
roles?: {
/**
* Description is a description of the role
*/
description?: string;
/**
* Groups are a list of OIDC group claims bound to this role
*/
groups?: string[];
/**
* JWTTokens are a list of generated JWT tokens bound to this role
*/
jwtTokens?: {
exp?: number;
iat: number;
id?: string;
}[];
/**
* Name is a name for this role
*/
name: string;
/**
* Policies Stores a list of casbin formatted strings that define access policies for the role in the project
*/
policies?: string[];
}[];
/**
* SignatureKeys contains a list of PGP key IDs that commits in Git must be signed with in order to be allowed for sync
*/
signatureKeys?: {
/**
* The ID of the key in hexadecimal notation
*/
keyID: string;
}[];
/**
* SourceNamespaces defines the namespaces application resources are allowed to be created in
*/
sourceNamespaces?: string[];
/**
* SourceRepos contains list of repository URLs which can be used for deployment
*/
sourceRepos?: string[];
/**
* SyncWindows controls when syncs can be run for apps in this project
*/
syncWindows?: {
/**
* UseAndOperator use AND operator for matching applications, namespaces and clusters instead of the default OR operator
*/
andOperator?: boolean;
/**
* Applications contains a list of applications that the window will apply to
*/
applications?: string[];
/**
* Clusters contains a list of clusters that the window will apply to
*/
clusters?: string[];
/**
* Duration is the amount of time the sync window will be open
*/
duration?: string;
/**
* Kind defines if the window allows or blocks syncs
*/
kind?: string;
/**
* ManualSync enables manual syncs when they would otherwise be blocked
*/
manualSync?: boolean;
/**
* Namespaces contains a list of namespaces that the window will apply to
*/
namespaces?: string[];
/**
* Schedule is the time the window will begin, specified in cron format
*/
schedule?: string;
/**
* TimeZone of the sync that will be applied to the schedule
*/
timeZone?: string;
}[];
};
/**
* AppProjectStatus contains status information for AppProject CRs
*/
status?: {
/**
* JWTTokensByRole contains a list of JWT tokens issued for a given role
*/
jwtTokensByRole?: {
/**
* JWTTokens represents a list of JWT tokens
*/
[k: string]: {
items?: {
exp?: number;
iat: number;
id?: string;
}[];
};
};
};
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,116 @@
{
"properties": {
"spec": {
"properties": {
"authentik": {
"properties": {
"name": {
"type": "string"
},
"namespace": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"clientType": {
"_enum": [
"confidential",
"public"
],
"type": "string"
},
"redirectUris": {
"items": {
"type": "object",
"required": [
"url",
"matchingMode"
],
"properties": {
"matchingMode": {
"type": "string",
"enum": [
"strict",
"regex"
]
},
"url": {
"type": "string"
}
}
},
"type": "array"
},
"subMode": {
"_enum": [
"hashed_user_id",
"user_id",
"user_uuid",
"user_username",
"user_email",
"user_upn",
"11184809"
],
"type": "string"
}
},
"required": [
"authentik",
"redirectUris"
],
"type": "object"
},
"status": {
"properties": {
"conditions": {
"items": {
"type": "object",
"required": [
"type",
"status",
"lastTransitionTime"
],
"properties": {
"lastTransitionTime": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"message": {
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"type": "string"
}
}
},
"type": "array"
},
"observedGeneration": {
"type": "number"
}
},
"required": [
"observedGeneration",
"conditions"
],
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,31 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SAuthentikClientV1 {
spec?: {
authentik: {
name: string;
namespace?: string;
};
clientType?: string;
redirectUris: {
matchingMode: "strict" | "regex";
url: string;
}[];
subMode?: string;
};
status?: {
conditions: {
lastTransitionTime: string;
message?: string;
reason?: string;
status: "True" | "False" | "Unknown";
type: string;
}[];
observedGeneration: number;
};
}

View File

@@ -0,0 +1,78 @@
{
"properties": {
"spec": {
"properties": {
"domain": {
"properties": {
"name": {
"type": "string"
},
"namespace": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"subdomain": {
"type": "string"
}
},
"required": [
"domain",
"subdomain"
],
"type": "object"
},
"status": {
"properties": {
"conditions": {
"items": {
"type": "object",
"required": [
"type",
"status",
"lastTransitionTime"
],
"properties": {
"lastTransitionTime": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"message": {
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"type": "string"
}
}
},
"type": "array"
},
"observedGeneration": {
"type": "number"
}
},
"required": [
"observedGeneration",
"conditions"
],
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,26 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SAuthentikServerV1 {
spec?: {
domain: {
name: string;
namespace?: string;
};
subdomain: string;
};
status?: {
conditions: {
lastTransitionTime: string;
message?: string;
reason?: string;
status: "True" | "False" | "Unknown";
type: string;
}[];
observedGeneration: number;
};
}

View File

@@ -0,0 +1,463 @@
{
"properties": {
"spec": {
"description": "Configuration for access control on workloads. See more details at: https://istio.io/docs/reference/config/security/authorization-policy.html",
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"provider"
]
}
]
}
},
{
"required": [
"provider"
]
}
],
"properties": {
"action": {
"description": "Optional.\n\nValid Options: ALLOW, DENY, AUDIT, CUSTOM",
"_enum": [
"ALLOW",
"DENY",
"AUDIT",
"CUSTOM"
],
"type": "string"
},
"provider": {
"description": "Specifies detailed configuration of the CUSTOM action.",
"properties": {
"name": {
"description": "Specifies the name of the extension provider.",
"type": "string"
}
},
"type": "object"
},
"rules": {
"description": "Optional.",
"items": {
"type": "object",
"properties": {
"from": {
"description": "Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"description": "Source specifies the source of a request.",
"type": "object",
"properties": {
"ipBlocks": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"namespaces": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notIpBlocks": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notNamespaces": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notPrincipals": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notRemoteIpBlocks": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notRequestPrincipals": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"principals": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"remoteIpBlocks": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"requestPrincipals": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"to": {
"description": "Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"operation": {
"description": "Operation specifies the operation of a request.",
"type": "object",
"properties": {
"hosts": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"methods": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notHosts": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notMethods": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notPaths": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notPorts": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"paths": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"ports": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"when": {
"description": "Optional.",
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The name of an Istio attribute.",
"type": "string"
},
"notValues": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"values": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"type": "array"
},
"selector": {
"description": "Optional.",
"properties": {
"matchLabels": {
"additionalProperties": {
"type": "string",
"maxLength": 63,
"x-kubernetes-validations": [
{
"rule": "!self.contains('*')",
"message": "wildcard not allowed in label value match"
}
]
},
"description": "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.",
"maxProperties": 4096,
"type": "object",
"x_kubernetes_validations": [
{
"message": "wildcard not allowed in label key match",
"rule": "self.all(key, !key.contains('*'))"
},
{
"message": "key must not be empty",
"rule": "self.all(key, key.size() != 0)"
}
]
}
},
"type": "object"
},
"targetRef": {
"properties": {
"group": {
"description": "group is the group of the target resource.",
"maxLength": 253,
"pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
"type": "string"
},
"kind": {
"description": "kind is kind of the target resource.",
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$",
"type": "string"
},
"name": {
"description": "name is the name of the target resource.",
"maxLength": 253,
"minLength": 1,
"type": "string"
},
"namespace": {
"description": "namespace is the namespace of the referent.",
"type": "string",
"x_kubernetes_validations": [
{
"message": "cross namespace referencing is not currently supported",
"rule": "self.size() == 0"
}
]
}
},
"required": [
"kind",
"name"
],
"type": "object",
"x_kubernetes_validations": [
{
"message": "Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway",
"rule": "[self.group, self.kind] in [['core','Service'], ['','Service'], ['gateway.networking.k8s.io','Gateway'], ['networking.istio.io','ServiceEntry']]"
}
]
},
"targetRefs": {
"description": "Optional.",
"items": {
"type": "object",
"required": [
"kind",
"name"
],
"properties": {
"group": {
"description": "group is the group of the target resource.",
"type": "string",
"maxLength": 253,
"pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"
},
"kind": {
"description": "kind is kind of the target resource.",
"type": "string",
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$"
},
"name": {
"description": "name is the name of the target resource.",
"type": "string",
"maxLength": 253,
"minLength": 1
},
"namespace": {
"description": "namespace is the namespace of the referent.",
"type": "string",
"x-kubernetes-validations": [
{
"rule": "self.size() == 0",
"message": "cross namespace referencing is not currently supported"
}
]
}
},
"x-kubernetes-validations": [
{
"rule": "[self.group, self.kind] in [['core','Service'], ['','Service'], ['gateway.networking.k8s.io','Gateway'], ['networking.istio.io','ServiceEntry']]",
"message": "Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway"
}
]
},
"maxItems": 16,
"type": "array"
}
},
"type": "object",
"x_kubernetes_validations": [
{
"message": "only one of targetRefs or selector can be set",
"rule": "(has(self.selector)?1:0)+(has(self.targetRef)?1:0)+(has(self.targetRefs)?1:0)<=1"
}
]
},
"status": {
"properties": {
"conditions": {
"description": "Current service state of the resource.",
"items": {
"type": "object",
"properties": {
"lastProbeTime": {
"description": "Last time we probed the condition.",
"type": "string",
"format": "date-time"
},
"lastTransitionTime": {
"description": "Last time the condition transitioned from one status to another.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status is the status of the condition.",
"type": "string"
},
"type": {
"description": "Type is the type of the condition.",
"type": "string"
}
}
},
"type": "array"
},
"observedGeneration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Resource Generation to which the Reconciled Condition refers.",
"x_kubernetes_int_or_string": true
},
"validationMessages": {
"description": "Includes any errors or warnings detected by Istio's analyzers.",
"items": {
"type": "object",
"properties": {
"documentationUrl": {
"description": "A url pointing to the Istio documentation for this specific error type.",
"type": "string"
},
"level": {
"description": "Represents how severe a message is.\n\nValid Options: UNKNOWN, ERROR, WARNING, INFO",
"type": "string",
"enum": [
"UNKNOWN",
"ERROR",
"WARNING",
"INFO"
]
},
"type": {
"type": "object",
"properties": {
"code": {
"description": "A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.",
"type": "string"
},
"name": {
"description": "A human-readable name for the message type.",
"type": "string"
}
}
}
}
},
"type": "array"
}
},
"type": "object",
"x_kubernetes_preserve_unknown_fields": true
}
},
"type": "object"
}

View File

@@ -0,0 +1,75 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SAuthorizationPolicyV1 {
/**
* Configuration for access control on workloads. See more details at: https://istio.io/docs/reference/config/security/authorization-policy.html
*/
spec?: {
[k: string]: unknown;
};
status?: {
/**
* Current service state of the resource.
*/
conditions?: {
/**
* Last time we probed the condition.
*/
lastProbeTime?: string;
/**
* Last time the condition transitioned from one status to another.
*/
lastTransitionTime?: string;
/**
* Human-readable message indicating details about last transition.
*/
message?: string;
/**
* Unique, one-word, CamelCase reason for the condition's last transition.
*/
reason?: string;
/**
* Status is the status of the condition.
*/
status?: string;
/**
* Type is the type of the condition.
*/
type?: string;
}[];
/**
* Resource Generation to which the Reconciled Condition refers.
*/
observedGeneration?: number | string;
/**
* Includes any errors or warnings detected by Istio's analyzers.
*/
validationMessages?: {
/**
* A url pointing to the Istio documentation for this specific error type.
*/
documentationUrl?: string;
/**
* Represents how severe a message is.
*
* Valid Options: UNKNOWN, ERROR, WARNING, INFO
*/
level?: "UNKNOWN" | "ERROR" | "WARNING" | "INFO";
type?: {
/**
* A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
*/
code?: string;
/**
* A human-readable name for the message type.
*/
name?: string;
};
}[];
};
}

View File

@@ -0,0 +1,463 @@
{
"properties": {
"spec": {
"description": "Configuration for access control on workloads. See more details at: https://istio.io/docs/reference/config/security/authorization-policy.html",
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"provider"
]
}
]
}
},
{
"required": [
"provider"
]
}
],
"properties": {
"action": {
"description": "Optional.\n\nValid Options: ALLOW, DENY, AUDIT, CUSTOM",
"_enum": [
"ALLOW",
"DENY",
"AUDIT",
"CUSTOM"
],
"type": "string"
},
"provider": {
"description": "Specifies detailed configuration of the CUSTOM action.",
"properties": {
"name": {
"description": "Specifies the name of the extension provider.",
"type": "string"
}
},
"type": "object"
},
"rules": {
"description": "Optional.",
"items": {
"type": "object",
"properties": {
"from": {
"description": "Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"description": "Source specifies the source of a request.",
"type": "object",
"properties": {
"ipBlocks": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"namespaces": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notIpBlocks": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notNamespaces": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notPrincipals": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notRemoteIpBlocks": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notRequestPrincipals": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"principals": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"remoteIpBlocks": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"requestPrincipals": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"to": {
"description": "Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"operation": {
"description": "Operation specifies the operation of a request.",
"type": "object",
"properties": {
"hosts": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"methods": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notHosts": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notMethods": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notPaths": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"notPorts": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"paths": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"ports": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"when": {
"description": "Optional.",
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The name of an Istio attribute.",
"type": "string"
},
"notValues": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
},
"values": {
"description": "Optional.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"type": "array"
},
"selector": {
"description": "Optional.",
"properties": {
"matchLabels": {
"additionalProperties": {
"type": "string",
"maxLength": 63,
"x-kubernetes-validations": [
{
"rule": "!self.contains('*')",
"message": "wildcard not allowed in label value match"
}
]
},
"description": "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.",
"maxProperties": 4096,
"type": "object",
"x_kubernetes_validations": [
{
"message": "wildcard not allowed in label key match",
"rule": "self.all(key, !key.contains('*'))"
},
{
"message": "key must not be empty",
"rule": "self.all(key, key.size() != 0)"
}
]
}
},
"type": "object"
},
"targetRef": {
"properties": {
"group": {
"description": "group is the group of the target resource.",
"maxLength": 253,
"pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
"type": "string"
},
"kind": {
"description": "kind is kind of the target resource.",
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$",
"type": "string"
},
"name": {
"description": "name is the name of the target resource.",
"maxLength": 253,
"minLength": 1,
"type": "string"
},
"namespace": {
"description": "namespace is the namespace of the referent.",
"type": "string",
"x_kubernetes_validations": [
{
"message": "cross namespace referencing is not currently supported",
"rule": "self.size() == 0"
}
]
}
},
"required": [
"kind",
"name"
],
"type": "object",
"x_kubernetes_validations": [
{
"message": "Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway",
"rule": "[self.group, self.kind] in [['core','Service'], ['','Service'], ['gateway.networking.k8s.io','Gateway'], ['networking.istio.io','ServiceEntry']]"
}
]
},
"targetRefs": {
"description": "Optional.",
"items": {
"type": "object",
"required": [
"kind",
"name"
],
"properties": {
"group": {
"description": "group is the group of the target resource.",
"type": "string",
"maxLength": 253,
"pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"
},
"kind": {
"description": "kind is kind of the target resource.",
"type": "string",
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$"
},
"name": {
"description": "name is the name of the target resource.",
"type": "string",
"maxLength": 253,
"minLength": 1
},
"namespace": {
"description": "namespace is the namespace of the referent.",
"type": "string",
"x-kubernetes-validations": [
{
"rule": "self.size() == 0",
"message": "cross namespace referencing is not currently supported"
}
]
}
},
"x-kubernetes-validations": [
{
"rule": "[self.group, self.kind] in [['core','Service'], ['','Service'], ['gateway.networking.k8s.io','Gateway'], ['networking.istio.io','ServiceEntry']]",
"message": "Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway"
}
]
},
"maxItems": 16,
"type": "array"
}
},
"type": "object",
"x_kubernetes_validations": [
{
"message": "only one of targetRefs or selector can be set",
"rule": "(has(self.selector)?1:0)+(has(self.targetRef)?1:0)+(has(self.targetRefs)?1:0)<=1"
}
]
},
"status": {
"properties": {
"conditions": {
"description": "Current service state of the resource.",
"items": {
"type": "object",
"properties": {
"lastProbeTime": {
"description": "Last time we probed the condition.",
"type": "string",
"format": "date-time"
},
"lastTransitionTime": {
"description": "Last time the condition transitioned from one status to another.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status is the status of the condition.",
"type": "string"
},
"type": {
"description": "Type is the type of the condition.",
"type": "string"
}
}
},
"type": "array"
},
"observedGeneration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Resource Generation to which the Reconciled Condition refers.",
"x_kubernetes_int_or_string": true
},
"validationMessages": {
"description": "Includes any errors or warnings detected by Istio's analyzers.",
"items": {
"type": "object",
"properties": {
"documentationUrl": {
"description": "A url pointing to the Istio documentation for this specific error type.",
"type": "string"
},
"level": {
"description": "Represents how severe a message is.\n\nValid Options: UNKNOWN, ERROR, WARNING, INFO",
"type": "string",
"enum": [
"UNKNOWN",
"ERROR",
"WARNING",
"INFO"
]
},
"type": {
"type": "object",
"properties": {
"code": {
"description": "A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.",
"type": "string"
},
"name": {
"description": "A human-readable name for the message type.",
"type": "string"
}
}
}
}
},
"type": "array"
}
},
"type": "object",
"x_kubernetes_preserve_unknown_fields": true
}
},
"type": "object"
}

View File

@@ -0,0 +1,75 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SAuthorizationPolicyV1Beta1 {
/**
* Configuration for access control on workloads. See more details at: https://istio.io/docs/reference/config/security/authorization-policy.html
*/
spec?: {
[k: string]: unknown;
};
status?: {
/**
* Current service state of the resource.
*/
conditions?: {
/**
* Last time we probed the condition.
*/
lastProbeTime?: string;
/**
* Last time the condition transitioned from one status to another.
*/
lastTransitionTime?: string;
/**
* Human-readable message indicating details about last transition.
*/
message?: string;
/**
* Unique, one-word, CamelCase reason for the condition's last transition.
*/
reason?: string;
/**
* Status is the status of the condition.
*/
status?: string;
/**
* Type is the type of the condition.
*/
type?: string;
}[];
/**
* Resource Generation to which the Reconciled Condition refers.
*/
observedGeneration?: number | string;
/**
* Includes any errors or warnings detected by Istio's analyzers.
*/
validationMessages?: {
/**
* A url pointing to the Istio documentation for this specific error type.
*/
documentationUrl?: string;
/**
* Represents how severe a message is.
*
* Valid Options: UNKNOWN, ERROR, WARNING, INFO
*/
level?: "UNKNOWN" | "ERROR" | "WARNING" | "INFO";
type?: {
/**
* A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
*/
code?: string;
/**
* A human-readable name for the message type.
*/
name?: string;
};
}[];
};
}

View File

@@ -0,0 +1,315 @@
{
"description": "Bucket is the Schema for the buckets API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "BucketSpec specifies the required configuration to produce an Artifact for\nan object storage bucket.",
"properties": {
"bucketName": {
"description": "BucketName is the name of the object storage bucket.",
"type": "string"
},
"certSecretRef": {
"description": "CertSecretRef can be given the name of a Secret containing\neither or both of\n\n- a PEM-encoded client certificate (`tls.crt`) and private\nkey (`tls.key`);\n- a PEM-encoded CA certificate (`ca.crt`)\n\nand whichever are supplied, will be used for connecting to the\nbucket. The client cert and key are useful if you are\nauthenticating with a certificate; the CA cert is useful if\nyou are using a self-signed server certificate. The Secret must\nbe of type `Opaque` or `kubernetes.io/tls`.\n\nThis field is only supported for the `generic` provider.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"endpoint": {
"description": "Endpoint is the object storage address the BucketName is located at.",
"type": "string"
},
"ignore": {
"description": "Ignore overrides the set of excluded patterns in the .sourceignore format\n(which is the same as .gitignore). If not provided, a default will be used,\nconsult the documentation for your version to find out what those are.",
"type": "string"
},
"insecure": {
"description": "Insecure allows connecting to a non-TLS HTTP Endpoint.",
"type": "boolean"
},
"interval": {
"description": "Interval at which the Bucket Endpoint is checked for updates.\nThis interval is approximate and may be subject to jitter to ensure\nefficient use of resources.",
"pattern": "^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$",
"type": "string"
},
"prefix": {
"description": "Prefix to use for server-side filtering of files in the Bucket.",
"type": "string"
},
"provider": {
"_default": "generic",
"description": "Provider of the object storage bucket.\nDefaults to 'generic', which expects an S3 (API) compatible object\nstorage.",
"_enum": [
"generic",
"aws",
"gcp",
"azure"
],
"type": "string"
},
"proxySecretRef": {
"description": "ProxySecretRef specifies the Secret containing the proxy configuration\nto use while communicating with the Bucket server.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"region": {
"description": "Region of the Endpoint where the BucketName is located in.",
"type": "string"
},
"secretRef": {
"description": "SecretRef specifies the Secret containing authentication credentials\nfor the Bucket.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"sts": {
"description": "STS specifies the required configuration to use a Security Token\nService for fetching temporary credentials to authenticate in a\nBucket provider.\n\nThis field is only supported for the `aws` and `generic` providers.",
"properties": {
"certSecretRef": {
"description": "CertSecretRef can be given the name of a Secret containing\neither or both of\n\n- a PEM-encoded client certificate (`tls.crt`) and private\nkey (`tls.key`);\n- a PEM-encoded CA certificate (`ca.crt`)\n\nand whichever are supplied, will be used for connecting to the\nSTS endpoint. The client cert and key are useful if you are\nauthenticating with a certificate; the CA cert is useful if\nyou are using a self-signed server certificate. The Secret must\nbe of type `Opaque` or `kubernetes.io/tls`.\n\nThis field is only supported for the `ldap` provider.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"endpoint": {
"description": "Endpoint is the HTTP/S endpoint of the Security Token Service from\nwhere temporary credentials will be fetched.",
"pattern": "^(http|https)://.*$",
"type": "string"
},
"provider": {
"description": "Provider of the Security Token Service.",
"_enum": [
"aws",
"ldap"
],
"type": "string"
},
"secretRef": {
"description": "SecretRef specifies the Secret containing authentication credentials\nfor the STS endpoint. This Secret must contain the fields `username`\nand `password` and is supported only for the `ldap` provider.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"endpoint",
"provider"
],
"type": "object"
},
"suspend": {
"description": "Suspend tells the controller to suspend the reconciliation of this\nBucket.",
"type": "boolean"
},
"timeout": {
"_default": "60s",
"description": "Timeout for fetch operations, defaults to 60s.",
"pattern": "^([0-9]+(\\.[0-9]+)?(ms|s|m))+$",
"type": "string"
}
},
"required": [
"bucketName",
"endpoint",
"interval"
],
"type": "object",
"x_kubernetes_validations": [
{
"message": "STS configuration is only supported for the 'aws' and 'generic' Bucket providers",
"rule": "self.provider == 'aws' || self.provider == 'generic' || !has(self.sts)"
},
{
"message": "'aws' is the only supported STS provider for the 'aws' Bucket provider",
"rule": "self.provider != 'aws' || !has(self.sts) || self.sts.provider == 'aws'"
},
{
"message": "'ldap' is the only supported STS provider for the 'generic' Bucket provider",
"rule": "self.provider != 'generic' || !has(self.sts) || self.sts.provider == 'ldap'"
},
{
"message": "spec.sts.secretRef is not required for the 'aws' STS provider",
"rule": "!has(self.sts) || self.sts.provider != 'aws' || !has(self.sts.secretRef)"
},
{
"message": "spec.sts.certSecretRef is not required for the 'aws' STS provider",
"rule": "!has(self.sts) || self.sts.provider != 'aws' || !has(self.sts.certSecretRef)"
}
]
},
"status": {
"_default": {
"observedGeneration": -1
},
"description": "BucketStatus records the observed state of a Bucket.",
"properties": {
"artifact": {
"description": "Artifact represents the last successful Bucket reconciliation.",
"properties": {
"digest": {
"description": "Digest is the digest of the file in the form of '<algorithm>:<checksum>'.",
"pattern": "^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of the\nArtifact.",
"format": "date-time",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Metadata holds upstream information such as OCI annotations.",
"type": "object"
},
"path": {
"description": "Path is the relative file path of the Artifact. It can be used to locate\nthe file in the root of the Artifact storage on the local file system of\nthe controller managing the Source.",
"type": "string"
},
"revision": {
"description": "Revision is a human-readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm chart version, etc.",
"type": "string"
},
"size": {
"description": "Size is the number of bytes in the file.",
"format": "int64",
"type": "integer"
},
"url": {
"description": "URL is the HTTP address of the Artifact as exposed by the controller\nmanaging the Source. It can be used to retrieve the Artifact for\nconsumption, e.g. by another controller applying the Artifact contents.",
"type": "string"
}
},
"required": [
"lastUpdateTime",
"path",
"revision",
"url"
],
"type": "object"
},
"conditions": {
"description": "Conditions holds the conditions for the Bucket.",
"items": {
"description": "Condition contains details for one aspect of the current state of this API Resource.",
"type": "object",
"required": [
"lastTransitionTime",
"message",
"reason",
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
"type": "string",
"maxLength": 32768
},
"observedGeneration": {
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"type": "integer",
"format": "int64",
"minimum": 0
},
"reason": {
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
"type": "string",
"maxLength": 1024,
"minLength": 1,
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"
},
"status": {
"description": "status of the condition, one of True, False, Unknown.",
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
"type": "string",
"maxLength": 316,
"pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}
}
},
"type": "array"
},
"lastHandledReconcileAt": {
"description": "LastHandledReconcileAt holds the value of the most recent\nreconcile request value, so a change of the annotation value\ncan be detected.",
"type": "string"
},
"observedGeneration": {
"description": "ObservedGeneration is the last observed generation of the Bucket object.",
"format": "int64",
"type": "integer"
},
"observedIgnore": {
"description": "ObservedIgnore is the observed exclusion patterns used for constructing\nthe source artifact.",
"type": "string"
},
"url": {
"description": "URL is the dynamic fetch link for the latest Artifact.\nIt is provided on a \"best effort\" basis, and using the precise\nBucketStatus.Artifact data is recommended.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,278 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* Bucket is the Schema for the buckets API.
*/
export interface K8SBucketV1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* BucketSpec specifies the required configuration to produce an Artifact for
* an object storage bucket.
*/
spec?: {
/**
* BucketName is the name of the object storage bucket.
*/
bucketName: string;
/**
* CertSecretRef can be given the name of a Secret containing
* either or both of
*
* - a PEM-encoded client certificate (`tls.crt`) and private
* key (`tls.key`);
* - a PEM-encoded CA certificate (`ca.crt`)
*
* and whichever are supplied, will be used for connecting to the
* bucket. The client cert and key are useful if you are
* authenticating with a certificate; the CA cert is useful if
* you are using a self-signed server certificate. The Secret must
* be of type `Opaque` or `kubernetes.io/tls`.
*
* This field is only supported for the `generic` provider.
*/
certSecretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* Endpoint is the object storage address the BucketName is located at.
*/
endpoint: string;
/**
* Ignore overrides the set of excluded patterns in the .sourceignore format
* (which is the same as .gitignore). If not provided, a default will be used,
* consult the documentation for your version to find out what those are.
*/
ignore?: string;
/**
* Insecure allows connecting to a non-TLS HTTP Endpoint.
*/
insecure?: boolean;
/**
* Interval at which the Bucket Endpoint is checked for updates.
* This interval is approximate and may be subject to jitter to ensure
* efficient use of resources.
*/
interval: string;
/**
* Prefix to use for server-side filtering of files in the Bucket.
*/
prefix?: string;
/**
* Provider of the object storage bucket.
* Defaults to 'generic', which expects an S3 (API) compatible object
* storage.
*/
provider?: string;
/**
* ProxySecretRef specifies the Secret containing the proxy configuration
* to use while communicating with the Bucket server.
*/
proxySecretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* Region of the Endpoint where the BucketName is located in.
*/
region?: string;
/**
* SecretRef specifies the Secret containing authentication credentials
* for the Bucket.
*/
secretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* STS specifies the required configuration to use a Security Token
* Service for fetching temporary credentials to authenticate in a
* Bucket provider.
*
* This field is only supported for the `aws` and `generic` providers.
*/
sts?: {
/**
* CertSecretRef can be given the name of a Secret containing
* either or both of
*
* - a PEM-encoded client certificate (`tls.crt`) and private
* key (`tls.key`);
* - a PEM-encoded CA certificate (`ca.crt`)
*
* and whichever are supplied, will be used for connecting to the
* STS endpoint. The client cert and key are useful if you are
* authenticating with a certificate; the CA cert is useful if
* you are using a self-signed server certificate. The Secret must
* be of type `Opaque` or `kubernetes.io/tls`.
*
* This field is only supported for the `ldap` provider.
*/
certSecretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* Endpoint is the HTTP/S endpoint of the Security Token Service from
* where temporary credentials will be fetched.
*/
endpoint: string;
/**
* Provider of the Security Token Service.
*/
provider: string;
/**
* SecretRef specifies the Secret containing authentication credentials
* for the STS endpoint. This Secret must contain the fields `username`
* and `password` and is supported only for the `ldap` provider.
*/
secretRef?: {
/**
* Name of the referent.
*/
name: string;
};
};
/**
* Suspend tells the controller to suspend the reconciliation of this
* Bucket.
*/
suspend?: boolean;
/**
* Timeout for fetch operations, defaults to 60s.
*/
timeout?: string;
};
/**
* BucketStatus records the observed state of a Bucket.
*/
status?: {
/**
* Artifact represents the last successful Bucket reconciliation.
*/
artifact?: {
/**
* Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
*/
digest?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of the
* Artifact.
*/
lastUpdateTime: string;
/**
* Metadata holds upstream information such as OCI annotations.
*/
metadata?: {
[k: string]: string;
};
/**
* Path is the relative file path of the Artifact. It can be used to locate
* the file in the root of the Artifact storage on the local file system of
* the controller managing the Source.
*/
path: string;
/**
* Revision is a human-readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
*/
revision: string;
/**
* Size is the number of bytes in the file.
*/
size?: number;
/**
* URL is the HTTP address of the Artifact as exposed by the controller
* managing the Source. It can be used to retrieve the Artifact for
* consumption, e.g. by another controller applying the Artifact contents.
*/
url: string;
};
/**
* Conditions holds the conditions for the Bucket.
*/
conditions?: {
/**
* lastTransitionTime is the last time the condition transitioned from one status to another.
* This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
*/
lastTransitionTime: string;
/**
* message is a human readable message indicating details about the transition.
* This may be an empty string.
*/
message: string;
/**
* observedGeneration represents the .metadata.generation that the condition was set based upon.
* For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
* with respect to the current state of the instance.
*/
observedGeneration?: number;
/**
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
* Producers of specific condition types may define expected values and meanings for this field,
* and whether the values are considered a guaranteed API.
* The value should be a CamelCase string.
* This field may not be empty.
*/
reason: string;
/**
* status of the condition, one of True, False, Unknown.
*/
status: "True" | "False" | "Unknown";
/**
* type of condition in CamelCase or in foo.example.com/CamelCase.
*/
type: string;
}[];
/**
* LastHandledReconcileAt holds the value of the most recent
* reconcile request value, so a change of the annotation value
* can be detected.
*/
lastHandledReconcileAt?: string;
/**
* ObservedGeneration is the last observed generation of the Bucket object.
*/
observedGeneration?: number;
/**
* ObservedIgnore is the observed exclusion patterns used for constructing
* the source artifact.
*/
observedIgnore?: string;
/**
* URL is the dynamic fetch link for the latest Artifact.
* It is provided on a "best effort" basis, and using the precise
* BucketStatus.Artifact data is recommended.
*/
url?: string;
};
}

View File

@@ -0,0 +1,219 @@
{
"description": "Bucket is the Schema for the buckets API",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "BucketSpec defines the desired state of an S3 compatible bucket",
"properties": {
"accessFrom": {
"description": "AccessFrom defines an Access Control List for allowing cross-namespace references to this object.",
"properties": {
"namespaceSelectors": {
"description": "NamespaceSelectors is the list of namespace selectors to which this ACL applies.\nItems in this list are evaluated using a logical OR operation.",
"items": {
"description": "NamespaceSelector selects the namespaces to which this ACL applies.\nAn empty map of MatchLabels matches all namespaces in a cluster.",
"type": "object",
"properties": {
"matchLabels": {
"description": "MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"type": "array"
}
},
"required": [
"namespaceSelectors"
],
"type": "object"
},
"bucketName": {
"description": "The bucket name.",
"type": "string"
},
"endpoint": {
"description": "The bucket endpoint address.",
"type": "string"
},
"ignore": {
"description": "Ignore overrides the set of excluded patterns in the .sourceignore format\n(which is the same as .gitignore). If not provided, a default will be used,\nconsult the documentation for your version to find out what those are.",
"type": "string"
},
"insecure": {
"description": "Insecure allows connecting to a non-TLS S3 HTTP endpoint.",
"type": "boolean"
},
"interval": {
"description": "The interval at which to check for bucket updates.",
"type": "string"
},
"provider": {
"_default": "generic",
"description": "The S3 compatible storage provider name, default ('generic').",
"_enum": [
"generic",
"aws",
"gcp"
],
"type": "string"
},
"region": {
"description": "The bucket region.",
"type": "string"
},
"secretRef": {
"description": "The name of the secret containing authentication credentials\nfor the Bucket.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"suspend": {
"description": "This flag tells the controller to suspend the reconciliation of this source.",
"type": "boolean"
},
"timeout": {
"_default": "60s",
"description": "The timeout for download operations, defaults to 60s.",
"type": "string"
}
},
"required": [
"bucketName",
"endpoint",
"interval"
],
"type": "object"
},
"status": {
"_default": {
"observedGeneration": -1
},
"description": "BucketStatus defines the observed state of a bucket",
"properties": {
"artifact": {
"description": "Artifact represents the output of the last successful Bucket sync.",
"properties": {
"checksum": {
"description": "Checksum is the SHA256 checksum of the artifact.",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of this\nartifact.",
"format": "date-time",
"type": "string"
},
"path": {
"description": "Path is the relative file path of this artifact.",
"type": "string"
},
"revision": {
"description": "Revision is a human readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm\nchart version, etc.",
"type": "string"
},
"url": {
"description": "URL is the HTTP address of this artifact.",
"type": "string"
}
},
"required": [
"lastUpdateTime",
"path",
"url"
],
"type": "object"
},
"conditions": {
"description": "Conditions holds the conditions for the Bucket.",
"items": {
"description": "Condition contains details for one aspect of the current state of this API Resource.",
"type": "object",
"required": [
"lastTransitionTime",
"message",
"reason",
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
"type": "string",
"maxLength": 32768
},
"observedGeneration": {
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"type": "integer",
"format": "int64",
"minimum": 0
},
"reason": {
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
"type": "string",
"maxLength": 1024,
"minLength": 1,
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"
},
"status": {
"description": "status of the condition, one of True, False, Unknown.",
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
"type": "string",
"maxLength": 316,
"pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}
}
},
"type": "array"
},
"lastHandledReconcileAt": {
"description": "LastHandledReconcileAt holds the value of the most recent\nreconcile request value, so a change of the annotation value\ncan be detected.",
"type": "string"
},
"observedGeneration": {
"description": "ObservedGeneration is the last observed generation.",
"format": "int64",
"type": "integer"
},
"url": {
"description": "URL is the download link for the artifact output of the last Bucket sync.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,184 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* Bucket is the Schema for the buckets API
*/
export interface K8SBucketV1Beta1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* BucketSpec defines the desired state of an S3 compatible bucket
*/
spec?: {
/**
* AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
*/
accessFrom?: {
/**
* NamespaceSelectors is the list of namespace selectors to which this ACL applies.
* Items in this list are evaluated using a logical OR operation.
*/
namespaceSelectors: {
/**
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
* map is equivalent to an element of matchExpressions, whose key field is "key", the
* operator is "In", and the values array contains only "value". The requirements are ANDed.
*/
matchLabels?: {
[k: string]: string;
};
}[];
};
/**
* The bucket name.
*/
bucketName: string;
/**
* The bucket endpoint address.
*/
endpoint: string;
/**
* Ignore overrides the set of excluded patterns in the .sourceignore format
* (which is the same as .gitignore). If not provided, a default will be used,
* consult the documentation for your version to find out what those are.
*/
ignore?: string;
/**
* Insecure allows connecting to a non-TLS S3 HTTP endpoint.
*/
insecure?: boolean;
/**
* The interval at which to check for bucket updates.
*/
interval: string;
/**
* The S3 compatible storage provider name, default ('generic').
*/
provider?: string;
/**
* The bucket region.
*/
region?: string;
/**
* The name of the secret containing authentication credentials
* for the Bucket.
*/
secretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* This flag tells the controller to suspend the reconciliation of this source.
*/
suspend?: boolean;
/**
* The timeout for download operations, defaults to 60s.
*/
timeout?: string;
};
/**
* BucketStatus defines the observed state of a bucket
*/
status?: {
/**
* Artifact represents the output of the last successful Bucket sync.
*/
artifact?: {
/**
* Checksum is the SHA256 checksum of the artifact.
*/
checksum?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of this
* artifact.
*/
lastUpdateTime: string;
/**
* Path is the relative file path of this artifact.
*/
path: string;
/**
* Revision is a human readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
* chart version, etc.
*/
revision?: string;
/**
* URL is the HTTP address of this artifact.
*/
url: string;
};
/**
* Conditions holds the conditions for the Bucket.
*/
conditions?: {
/**
* lastTransitionTime is the last time the condition transitioned from one status to another.
* This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
*/
lastTransitionTime: string;
/**
* message is a human readable message indicating details about the transition.
* This may be an empty string.
*/
message: string;
/**
* observedGeneration represents the .metadata.generation that the condition was set based upon.
* For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
* with respect to the current state of the instance.
*/
observedGeneration?: number;
/**
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
* Producers of specific condition types may define expected values and meanings for this field,
* and whether the values are considered a guaranteed API.
* The value should be a CamelCase string.
* This field may not be empty.
*/
reason: string;
/**
* status of the condition, one of True, False, Unknown.
*/
status: "True" | "False" | "Unknown";
/**
* type of condition in CamelCase or in foo.example.com/CamelCase.
*/
type: string;
}[];
/**
* LastHandledReconcileAt holds the value of the most recent
* reconcile request value, so a change of the annotation value
* can be detected.
*/
lastHandledReconcileAt?: string;
/**
* ObservedGeneration is the last observed generation.
*/
observedGeneration?: number;
/**
* URL is the download link for the artifact output of the last Bucket sync.
*/
url?: string;
};
}

View File

@@ -0,0 +1,341 @@
{
"description": "Bucket is the Schema for the buckets API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "BucketSpec specifies the required configuration to produce an Artifact for\nan object storage bucket.",
"properties": {
"accessFrom": {
"description": "AccessFrom specifies an Access Control List for allowing cross-namespace\nreferences to this object.\nNOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092",
"properties": {
"namespaceSelectors": {
"description": "NamespaceSelectors is the list of namespace selectors to which this ACL applies.\nItems in this list are evaluated using a logical OR operation.",
"items": {
"description": "NamespaceSelector selects the namespaces to which this ACL applies.\nAn empty map of MatchLabels matches all namespaces in a cluster.",
"type": "object",
"properties": {
"matchLabels": {
"description": "MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"type": "array"
}
},
"required": [
"namespaceSelectors"
],
"type": "object"
},
"bucketName": {
"description": "BucketName is the name of the object storage bucket.",
"type": "string"
},
"certSecretRef": {
"description": "CertSecretRef can be given the name of a Secret containing\neither or both of\n\n- a PEM-encoded client certificate (`tls.crt`) and private\nkey (`tls.key`);\n- a PEM-encoded CA certificate (`ca.crt`)\n\nand whichever are supplied, will be used for connecting to the\nbucket. The client cert and key are useful if you are\nauthenticating with a certificate; the CA cert is useful if\nyou are using a self-signed server certificate. The Secret must\nbe of type `Opaque` or `kubernetes.io/tls`.\n\nThis field is only supported for the `generic` provider.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"endpoint": {
"description": "Endpoint is the object storage address the BucketName is located at.",
"type": "string"
},
"ignore": {
"description": "Ignore overrides the set of excluded patterns in the .sourceignore format\n(which is the same as .gitignore). If not provided, a default will be used,\nconsult the documentation for your version to find out what those are.",
"type": "string"
},
"insecure": {
"description": "Insecure allows connecting to a non-TLS HTTP Endpoint.",
"type": "boolean"
},
"interval": {
"description": "Interval at which the Bucket Endpoint is checked for updates.\nThis interval is approximate and may be subject to jitter to ensure\nefficient use of resources.",
"pattern": "^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$",
"type": "string"
},
"prefix": {
"description": "Prefix to use for server-side filtering of files in the Bucket.",
"type": "string"
},
"provider": {
"_default": "generic",
"description": "Provider of the object storage bucket.\nDefaults to 'generic', which expects an S3 (API) compatible object\nstorage.",
"_enum": [
"generic",
"aws",
"gcp",
"azure"
],
"type": "string"
},
"proxySecretRef": {
"description": "ProxySecretRef specifies the Secret containing the proxy configuration\nto use while communicating with the Bucket server.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"region": {
"description": "Region of the Endpoint where the BucketName is located in.",
"type": "string"
},
"secretRef": {
"description": "SecretRef specifies the Secret containing authentication credentials\nfor the Bucket.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"sts": {
"description": "STS specifies the required configuration to use a Security Token\nService for fetching temporary credentials to authenticate in a\nBucket provider.\n\nThis field is only supported for the `aws` and `generic` providers.",
"properties": {
"certSecretRef": {
"description": "CertSecretRef can be given the name of a Secret containing\neither or both of\n\n- a PEM-encoded client certificate (`tls.crt`) and private\nkey (`tls.key`);\n- a PEM-encoded CA certificate (`ca.crt`)\n\nand whichever are supplied, will be used for connecting to the\nSTS endpoint. The client cert and key are useful if you are\nauthenticating with a certificate; the CA cert is useful if\nyou are using a self-signed server certificate. The Secret must\nbe of type `Opaque` or `kubernetes.io/tls`.\n\nThis field is only supported for the `ldap` provider.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"endpoint": {
"description": "Endpoint is the HTTP/S endpoint of the Security Token Service from\nwhere temporary credentials will be fetched.",
"pattern": "^(http|https)://.*$",
"type": "string"
},
"provider": {
"description": "Provider of the Security Token Service.",
"_enum": [
"aws",
"ldap"
],
"type": "string"
},
"secretRef": {
"description": "SecretRef specifies the Secret containing authentication credentials\nfor the STS endpoint. This Secret must contain the fields `username`\nand `password` and is supported only for the `ldap` provider.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"endpoint",
"provider"
],
"type": "object"
},
"suspend": {
"description": "Suspend tells the controller to suspend the reconciliation of this\nBucket.",
"type": "boolean"
},
"timeout": {
"_default": "60s",
"description": "Timeout for fetch operations, defaults to 60s.",
"pattern": "^([0-9]+(\\.[0-9]+)?(ms|s|m))+$",
"type": "string"
}
},
"required": [
"bucketName",
"endpoint",
"interval"
],
"type": "object",
"x_kubernetes_validations": [
{
"message": "STS configuration is only supported for the 'aws' and 'generic' Bucket providers",
"rule": "self.provider == 'aws' || self.provider == 'generic' || !has(self.sts)"
},
{
"message": "'aws' is the only supported STS provider for the 'aws' Bucket provider",
"rule": "self.provider != 'aws' || !has(self.sts) || self.sts.provider == 'aws'"
},
{
"message": "'ldap' is the only supported STS provider for the 'generic' Bucket provider",
"rule": "self.provider != 'generic' || !has(self.sts) || self.sts.provider == 'ldap'"
},
{
"message": "spec.sts.secretRef is not required for the 'aws' STS provider",
"rule": "!has(self.sts) || self.sts.provider != 'aws' || !has(self.sts.secretRef)"
},
{
"message": "spec.sts.certSecretRef is not required for the 'aws' STS provider",
"rule": "!has(self.sts) || self.sts.provider != 'aws' || !has(self.sts.certSecretRef)"
}
]
},
"status": {
"_default": {
"observedGeneration": -1
},
"description": "BucketStatus records the observed state of a Bucket.",
"properties": {
"artifact": {
"description": "Artifact represents the last successful Bucket reconciliation.",
"properties": {
"digest": {
"description": "Digest is the digest of the file in the form of '<algorithm>:<checksum>'.",
"pattern": "^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of the\nArtifact.",
"format": "date-time",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Metadata holds upstream information such as OCI annotations.",
"type": "object"
},
"path": {
"description": "Path is the relative file path of the Artifact. It can be used to locate\nthe file in the root of the Artifact storage on the local file system of\nthe controller managing the Source.",
"type": "string"
},
"revision": {
"description": "Revision is a human-readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm chart version, etc.",
"type": "string"
},
"size": {
"description": "Size is the number of bytes in the file.",
"format": "int64",
"type": "integer"
},
"url": {
"description": "URL is the HTTP address of the Artifact as exposed by the controller\nmanaging the Source. It can be used to retrieve the Artifact for\nconsumption, e.g. by another controller applying the Artifact contents.",
"type": "string"
}
},
"required": [
"lastUpdateTime",
"path",
"revision",
"url"
],
"type": "object"
},
"conditions": {
"description": "Conditions holds the conditions for the Bucket.",
"items": {
"description": "Condition contains details for one aspect of the current state of this API Resource.",
"type": "object",
"required": [
"lastTransitionTime",
"message",
"reason",
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
"type": "string",
"maxLength": 32768
},
"observedGeneration": {
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"type": "integer",
"format": "int64",
"minimum": 0
},
"reason": {
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
"type": "string",
"maxLength": 1024,
"minLength": 1,
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"
},
"status": {
"description": "status of the condition, one of True, False, Unknown.",
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
"type": "string",
"maxLength": 316,
"pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}
}
},
"type": "array"
},
"lastHandledReconcileAt": {
"description": "LastHandledReconcileAt holds the value of the most recent\nreconcile request value, so a change of the annotation value\ncan be detected.",
"type": "string"
},
"observedGeneration": {
"description": "ObservedGeneration is the last observed generation of the Bucket object.",
"format": "int64",
"type": "integer"
},
"observedIgnore": {
"description": "ObservedIgnore is the observed exclusion patterns used for constructing\nthe source artifact.",
"type": "string"
},
"url": {
"description": "URL is the dynamic fetch link for the latest Artifact.\nIt is provided on a \"best effort\" basis, and using the precise\nBucketStatus.Artifact data is recommended.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,299 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* Bucket is the Schema for the buckets API.
*/
export interface K8SBucketV1Beta2 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* BucketSpec specifies the required configuration to produce an Artifact for
* an object storage bucket.
*/
spec?: {
/**
* AccessFrom specifies an Access Control List for allowing cross-namespace
* references to this object.
* NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
*/
accessFrom?: {
/**
* NamespaceSelectors is the list of namespace selectors to which this ACL applies.
* Items in this list are evaluated using a logical OR operation.
*/
namespaceSelectors: {
/**
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
* map is equivalent to an element of matchExpressions, whose key field is "key", the
* operator is "In", and the values array contains only "value". The requirements are ANDed.
*/
matchLabels?: {
[k: string]: string;
};
}[];
};
/**
* BucketName is the name of the object storage bucket.
*/
bucketName: string;
/**
* CertSecretRef can be given the name of a Secret containing
* either or both of
*
* - a PEM-encoded client certificate (`tls.crt`) and private
* key (`tls.key`);
* - a PEM-encoded CA certificate (`ca.crt`)
*
* and whichever are supplied, will be used for connecting to the
* bucket. The client cert and key are useful if you are
* authenticating with a certificate; the CA cert is useful if
* you are using a self-signed server certificate. The Secret must
* be of type `Opaque` or `kubernetes.io/tls`.
*
* This field is only supported for the `generic` provider.
*/
certSecretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* Endpoint is the object storage address the BucketName is located at.
*/
endpoint: string;
/**
* Ignore overrides the set of excluded patterns in the .sourceignore format
* (which is the same as .gitignore). If not provided, a default will be used,
* consult the documentation for your version to find out what those are.
*/
ignore?: string;
/**
* Insecure allows connecting to a non-TLS HTTP Endpoint.
*/
insecure?: boolean;
/**
* Interval at which the Bucket Endpoint is checked for updates.
* This interval is approximate and may be subject to jitter to ensure
* efficient use of resources.
*/
interval: string;
/**
* Prefix to use for server-side filtering of files in the Bucket.
*/
prefix?: string;
/**
* Provider of the object storage bucket.
* Defaults to 'generic', which expects an S3 (API) compatible object
* storage.
*/
provider?: string;
/**
* ProxySecretRef specifies the Secret containing the proxy configuration
* to use while communicating with the Bucket server.
*/
proxySecretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* Region of the Endpoint where the BucketName is located in.
*/
region?: string;
/**
* SecretRef specifies the Secret containing authentication credentials
* for the Bucket.
*/
secretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* STS specifies the required configuration to use a Security Token
* Service for fetching temporary credentials to authenticate in a
* Bucket provider.
*
* This field is only supported for the `aws` and `generic` providers.
*/
sts?: {
/**
* CertSecretRef can be given the name of a Secret containing
* either or both of
*
* - a PEM-encoded client certificate (`tls.crt`) and private
* key (`tls.key`);
* - a PEM-encoded CA certificate (`ca.crt`)
*
* and whichever are supplied, will be used for connecting to the
* STS endpoint. The client cert and key are useful if you are
* authenticating with a certificate; the CA cert is useful if
* you are using a self-signed server certificate. The Secret must
* be of type `Opaque` or `kubernetes.io/tls`.
*
* This field is only supported for the `ldap` provider.
*/
certSecretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* Endpoint is the HTTP/S endpoint of the Security Token Service from
* where temporary credentials will be fetched.
*/
endpoint: string;
/**
* Provider of the Security Token Service.
*/
provider: string;
/**
* SecretRef specifies the Secret containing authentication credentials
* for the STS endpoint. This Secret must contain the fields `username`
* and `password` and is supported only for the `ldap` provider.
*/
secretRef?: {
/**
* Name of the referent.
*/
name: string;
};
};
/**
* Suspend tells the controller to suspend the reconciliation of this
* Bucket.
*/
suspend?: boolean;
/**
* Timeout for fetch operations, defaults to 60s.
*/
timeout?: string;
};
/**
* BucketStatus records the observed state of a Bucket.
*/
status?: {
/**
* Artifact represents the last successful Bucket reconciliation.
*/
artifact?: {
/**
* Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
*/
digest?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of the
* Artifact.
*/
lastUpdateTime: string;
/**
* Metadata holds upstream information such as OCI annotations.
*/
metadata?: {
[k: string]: string;
};
/**
* Path is the relative file path of the Artifact. It can be used to locate
* the file in the root of the Artifact storage on the local file system of
* the controller managing the Source.
*/
path: string;
/**
* Revision is a human-readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
*/
revision: string;
/**
* Size is the number of bytes in the file.
*/
size?: number;
/**
* URL is the HTTP address of the Artifact as exposed by the controller
* managing the Source. It can be used to retrieve the Artifact for
* consumption, e.g. by another controller applying the Artifact contents.
*/
url: string;
};
/**
* Conditions holds the conditions for the Bucket.
*/
conditions?: {
/**
* lastTransitionTime is the last time the condition transitioned from one status to another.
* This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
*/
lastTransitionTime: string;
/**
* message is a human readable message indicating details about the transition.
* This may be an empty string.
*/
message: string;
/**
* observedGeneration represents the .metadata.generation that the condition was set based upon.
* For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
* with respect to the current state of the instance.
*/
observedGeneration?: number;
/**
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
* Producers of specific condition types may define expected values and meanings for this field,
* and whether the values are considered a guaranteed API.
* The value should be a CamelCase string.
* This field may not be empty.
*/
reason: string;
/**
* status of the condition, one of True, False, Unknown.
*/
status: "True" | "False" | "Unknown";
/**
* type of condition in CamelCase or in foo.example.com/CamelCase.
*/
type: string;
}[];
/**
* LastHandledReconcileAt holds the value of the most recent
* reconcile request value, so a change of the annotation value
* can be detected.
*/
lastHandledReconcileAt?: string;
/**
* ObservedGeneration is the last observed generation of the Bucket object.
*/
observedGeneration?: number;
/**
* ObservedIgnore is the observed exclusion patterns used for constructing
* the source artifact.
*/
observedIgnore?: string;
/**
* URL is the dynamic fetch link for the latest Artifact.
* It is provided on a "best effort" basis, and using the precise
* BucketStatus.Artifact data is recommended.
*/
url?: string;
};
}

View File

@@ -0,0 +1,185 @@
{
"description": "A CertificateRequest is used to request a signed certificate from one of the\nconfigured issuers.\n\nAll fields within the CertificateRequest's `spec` are immutable after creation.\nA CertificateRequest will either succeed or fail, as denoted by its `Ready` status\ncondition and its `status.failureTime` field.\n\nA CertificateRequest is a one-shot resource, meaning it represents a single\npoint in time request for a certificate and cannot be re-used.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "Specification of the desired state of the CertificateRequest resource.\nhttps://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
"properties": {
"duration": {
"description": "Requested 'duration' (i.e. lifetime) of the Certificate. Note that the\nissuer may choose to ignore the requested duration, just like any other\nrequested attribute.",
"type": "string"
},
"extra": {
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "Extra contains extra attributes of the user that created the CertificateRequest.\nPopulated by the cert-manager webhook on creation and immutable.",
"type": "object"
},
"groups": {
"description": "Groups contains group membership of the user that created the CertificateRequest.\nPopulated by the cert-manager webhook on creation and immutable.",
"items": {
"type": "string"
},
"type": "array",
"x_kubernetes_list_type": "atomic"
},
"isCA": {
"description": "Requested basic constraints isCA value. Note that the issuer may choose\nto ignore the requested isCA value, just like any other requested attribute.\n\nNOTE: If the CSR in the `Request` field has a BasicConstraints extension,\nit must have the same isCA value as specified here.\n\nIf true, this will automatically add the `cert sign` usage to the list\nof requested `usages`.",
"type": "boolean"
},
"issuerRef": {
"description": "Reference to the issuer responsible for issuing the certificate.\nIf the issuer is namespace-scoped, it must be in the same namespace\nas the Certificate. If the issuer is cluster-scoped, it can be used\nfrom any namespace.\n\nThe `name` field of the reference must always be specified.",
"properties": {
"group": {
"description": "Group of the resource being referred to.",
"type": "string"
},
"kind": {
"description": "Kind of the resource being referred to.",
"type": "string"
},
"name": {
"description": "Name of the resource being referred to.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"request": {
"description": "The PEM-encoded X.509 certificate signing request to be submitted to the\nissuer for signing.\n\nIf the CSR has a BasicConstraints extension, its isCA attribute must\nmatch the `isCA` value of this CertificateRequest.\nIf the CSR has a KeyUsage extension, its key usages must match the\nkey usages in the `usages` field of this CertificateRequest.\nIf the CSR has a ExtKeyUsage extension, its extended key usages\nmust match the extended key usages in the `usages` field of this\nCertificateRequest.",
"format": "byte",
"type": "string"
},
"uid": {
"description": "UID contains the uid of the user that created the CertificateRequest.\nPopulated by the cert-manager webhook on creation and immutable.",
"type": "string"
},
"usages": {
"description": "Requested key usages and extended key usages.\n\nNOTE: If the CSR in the `Request` field has uses the KeyUsage or\nExtKeyUsage extension, these extensions must have the same values\nas specified here without any additional values.\n\nIf unset, defaults to `digital signature` and `key encipherment`.",
"items": {
"description": "KeyUsage specifies valid usage contexts for keys.\nSee:\nhttps://tools.ietf.org/html/rfc5280#section-4.2.1.3\nhttps://tools.ietf.org/html/rfc5280#section-4.2.1.12\n\nValid KeyUsage values are as follows:\n\"signing\",\n\"digital signature\",\n\"content commitment\",\n\"key encipherment\",\n\"key agreement\",\n\"data encipherment\",\n\"cert sign\",\n\"crl sign\",\n\"encipher only\",\n\"decipher only\",\n\"any\",\n\"server auth\",\n\"client auth\",\n\"code signing\",\n\"email protection\",\n\"s/mime\",\n\"ipsec end system\",\n\"ipsec tunnel\",\n\"ipsec user\",\n\"timestamping\",\n\"ocsp signing\",\n\"microsoft sgc\",\n\"netscape sgc\"",
"type": "string",
"enum": [
"signing",
"digital signature",
"content commitment",
"key encipherment",
"key agreement",
"data encipherment",
"cert sign",
"crl sign",
"encipher only",
"decipher only",
"any",
"server auth",
"client auth",
"code signing",
"email protection",
"s/mime",
"ipsec end system",
"ipsec tunnel",
"ipsec user",
"timestamping",
"ocsp signing",
"microsoft sgc",
"netscape sgc"
]
},
"type": "array"
},
"username": {
"description": "Username contains the name of the user that created the CertificateRequest.\nPopulated by the cert-manager webhook on creation and immutable.",
"type": "string"
}
},
"required": [
"issuerRef",
"request"
],
"type": "object"
},
"status": {
"description": "Status of the CertificateRequest.\nThis is set and managed automatically.\nRead-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
"properties": {
"ca": {
"description": "The PEM encoded X.509 certificate of the signer, also known as the CA\n(Certificate Authority).\nThis is set on a best-effort basis by different issuers.\nIf not set, the CA is assumed to be unknown/not available.",
"format": "byte",
"type": "string"
},
"certificate": {
"description": "The PEM encoded X.509 certificate resulting from the certificate\nsigning request.\nIf not set, the CertificateRequest has either not been completed or has\nfailed. More information on failure can be found by checking the\n`conditions` field.",
"format": "byte",
"type": "string"
},
"conditions": {
"description": "List of status conditions to indicate the status of a CertificateRequest.\nKnown condition types are `Ready`, `InvalidRequest`, `Approved` and `Denied`.",
"items": {
"description": "CertificateRequestCondition contains condition information for a CertificateRequest.",
"type": "object",
"required": [
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"description": "LastTransitionTime is the timestamp corresponding to the last status\nchange of this condition.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "Message is a human readable description of the details of the last\ntransition, complementing reason.",
"type": "string"
},
"reason": {
"description": "Reason is a brief machine readable explanation for the condition's last\ntransition.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of (`True`, `False`, `Unknown`).",
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"description": "Type of the condition, known values are (`Ready`, `InvalidRequest`,\n`Approved`, `Denied`).",
"type": "string"
}
}
},
"type": "array",
"x_kubernetes_list_map_keys": [
"type"
],
"x_kubernetes_list_type": "map"
},
"failureTime": {
"description": "FailureTime stores the time that this CertificateRequest failed. This is\nused to influence garbage collection and back-off.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,208 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* A CertificateRequest is used to request a signed certificate from one of the
* configured issuers.
*
* All fields within the CertificateRequest's `spec` are immutable after creation.
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
* condition and its `status.failureTime` field.
*
* A CertificateRequest is a one-shot resource, meaning it represents a single
* point in time request for a certificate and cannot be re-used.
*/
export interface K8SCertificateRequestV1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* Specification of the desired state of the CertificateRequest resource.
* https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
*/
spec?: {
/**
* Requested 'duration' (i.e. lifetime) of the Certificate. Note that the
* issuer may choose to ignore the requested duration, just like any other
* requested attribute.
*/
duration?: string;
/**
* Extra contains extra attributes of the user that created the CertificateRequest.
* Populated by the cert-manager webhook on creation and immutable.
*/
extra?: {
[k: string]: string[];
};
/**
* Groups contains group membership of the user that created the CertificateRequest.
* Populated by the cert-manager webhook on creation and immutable.
*/
groups?: string[];
/**
* Requested basic constraints isCA value. Note that the issuer may choose
* to ignore the requested isCA value, just like any other requested attribute.
*
* NOTE: If the CSR in the `Request` field has a BasicConstraints extension,
* it must have the same isCA value as specified here.
*
* If true, this will automatically add the `cert sign` usage to the list
* of requested `usages`.
*/
isCA?: boolean;
/**
* Reference to the issuer responsible for issuing the certificate.
* If the issuer is namespace-scoped, it must be in the same namespace
* as the Certificate. If the issuer is cluster-scoped, it can be used
* from any namespace.
*
* The `name` field of the reference must always be specified.
*/
issuerRef: {
/**
* Group of the resource being referred to.
*/
group?: string;
/**
* Kind of the resource being referred to.
*/
kind?: string;
/**
* Name of the resource being referred to.
*/
name: string;
};
/**
* The PEM-encoded X.509 certificate signing request to be submitted to the
* issuer for signing.
*
* If the CSR has a BasicConstraints extension, its isCA attribute must
* match the `isCA` value of this CertificateRequest.
* If the CSR has a KeyUsage extension, its key usages must match the
* key usages in the `usages` field of this CertificateRequest.
* If the CSR has a ExtKeyUsage extension, its extended key usages
* must match the extended key usages in the `usages` field of this
* CertificateRequest.
*/
request: string;
/**
* UID contains the uid of the user that created the CertificateRequest.
* Populated by the cert-manager webhook on creation and immutable.
*/
uid?: string;
/**
* Requested key usages and extended key usages.
*
* NOTE: If the CSR in the `Request` field has uses the KeyUsage or
* ExtKeyUsage extension, these extensions must have the same values
* as specified here without any additional values.
*
* If unset, defaults to `digital signature` and `key encipherment`.
*/
usages?: (
| "signing"
| "digital signature"
| "content commitment"
| "key encipherment"
| "key agreement"
| "data encipherment"
| "cert sign"
| "crl sign"
| "encipher only"
| "decipher only"
| "any"
| "server auth"
| "client auth"
| "code signing"
| "email protection"
| "s/mime"
| "ipsec end system"
| "ipsec tunnel"
| "ipsec user"
| "timestamping"
| "ocsp signing"
| "microsoft sgc"
| "netscape sgc"
)[];
/**
* Username contains the name of the user that created the CertificateRequest.
* Populated by the cert-manager webhook on creation and immutable.
*/
username?: string;
};
/**
* Status of the CertificateRequest.
* This is set and managed automatically.
* Read-only.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
*/
status?: {
/**
* The PEM encoded X.509 certificate of the signer, also known as the CA
* (Certificate Authority).
* This is set on a best-effort basis by different issuers.
* If not set, the CA is assumed to be unknown/not available.
*/
ca?: string;
/**
* The PEM encoded X.509 certificate resulting from the certificate
* signing request.
* If not set, the CertificateRequest has either not been completed or has
* failed. More information on failure can be found by checking the
* `conditions` field.
*/
certificate?: string;
/**
* List of status conditions to indicate the status of a CertificateRequest.
* Known condition types are `Ready`, `InvalidRequest`, `Approved` and `Denied`.
*/
conditions?: {
/**
* LastTransitionTime is the timestamp corresponding to the last status
* change of this condition.
*/
lastTransitionTime?: string;
/**
* Message is a human readable description of the details of the last
* transition, complementing reason.
*/
message?: string;
/**
* Reason is a brief machine readable explanation for the condition's last
* transition.
*/
reason?: string;
/**
* Status of the condition, one of (`True`, `False`, `Unknown`).
*/
status: "True" | "False" | "Unknown";
/**
* Type of the condition, known values are (`Ready`, `InvalidRequest`,
* `Approved`, `Denied`).
*/
type: string;
}[];
/**
* FailureTime stores the time that this CertificateRequest failed. This is
* used to influence garbage collection and back-off.
*/
failureTime?: string;
};
}

View File

@@ -0,0 +1,564 @@
{
"description": "A Certificate resource should be created to ensure an up to date and signed\nX.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.\n\nThe stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "Specification of the desired state of the Certificate resource.\nhttps://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
"properties": {
"additionalOutputFormats": {
"description": "Defines extra output formats of the private key and signed certificate chain\nto be written to this Certificate's target Secret.",
"items": {
"description": "CertificateAdditionalOutputFormat defines an additional output format of a\nCertificate resource. These contain supplementary data formats of the signed\ncertificate chain and paired private key.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"description": "Type is the name of the format type that should be written to the\nCertificate's target Secret.",
"type": "string",
"enum": [
"DER",
"CombinedPEM"
]
}
}
},
"type": "array"
},
"commonName": {
"description": "Requested common name X509 certificate subject attribute.\nMore info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6\nNOTE: TLS clients will ignore this value when any subject alternative name is\nset (see https://tools.ietf.org/html/rfc6125#section-6.4.4).\n\nShould have a length of 64 characters or fewer to avoid generating invalid CSRs.\nCannot be set if the `literalSubject` field is set.",
"type": "string"
},
"dnsNames": {
"description": "Requested DNS subject alternative names.",
"items": {
"type": "string"
},
"type": "array"
},
"duration": {
"description": "Requested 'duration' (i.e. lifetime) of the Certificate. Note that the\nissuer may choose to ignore the requested duration, just like any other\nrequested attribute.\n\nIf unset, this defaults to 90 days.\nMinimum accepted duration is 1 hour.\nValue must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration.",
"type": "string"
},
"emailAddresses": {
"description": "Requested email subject alternative names.",
"items": {
"type": "string"
},
"type": "array"
},
"encodeUsagesInRequest": {
"description": "Whether the KeyUsage and ExtKeyUsage extensions should be set in the encoded CSR.\n\nThis option defaults to true, and should only be disabled if the target\nissuer does not support CSRs with these X509 KeyUsage/ ExtKeyUsage extensions.",
"type": "boolean"
},
"ipAddresses": {
"description": "Requested IP address subject alternative names.",
"items": {
"type": "string"
},
"type": "array"
},
"isCA": {
"description": "Requested basic constraints isCA value.\nThe isCA value is used to set the `isCA` field on the created CertificateRequest\nresources. Note that the issuer may choose to ignore the requested isCA value, just\nlike any other requested attribute.\n\nIf true, this will automatically add the `cert sign` usage to the list\nof requested `usages`.",
"type": "boolean"
},
"issuerRef": {
"description": "Reference to the issuer responsible for issuing the certificate.\nIf the issuer is namespace-scoped, it must be in the same namespace\nas the Certificate. If the issuer is cluster-scoped, it can be used\nfrom any namespace.\n\nThe `name` field of the reference must always be specified.",
"properties": {
"group": {
"description": "Group of the resource being referred to.",
"type": "string"
},
"kind": {
"description": "Kind of the resource being referred to.",
"type": "string"
},
"name": {
"description": "Name of the resource being referred to.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"keystores": {
"description": "Additional keystore output formats to be stored in the Certificate's Secret.",
"properties": {
"jks": {
"description": "JKS configures options for storing a JKS keystore in the\n`spec.secretName` Secret resource.",
"properties": {
"alias": {
"description": "Alias specifies the alias of the key in the keystore, required by the JKS format.\nIf not provided, the default alias `certificate` will be used.",
"type": "string"
},
"create": {
"description": "Create enables JKS keystore creation for the Certificate.\nIf true, a file named `keystore.jks` will be created in the target\nSecret resource, encrypted using the password stored in\n`passwordSecretRef` or `password`.\nThe keystore file will be updated immediately.\nIf the issuer provided a CA certificate, a file named `truststore.jks`\nwill also be created in the target Secret resource, encrypted using the\npassword stored in `passwordSecretRef`\ncontaining the issuing Certificate Authority",
"type": "boolean"
},
"password": {
"description": "Password provides a literal password used to encrypt the JKS keystore.\nMutually exclusive with passwordSecretRef.\nOne of password or passwordSecretRef must provide a password with a non-zero length.",
"type": "string"
},
"passwordSecretRef": {
"description": "PasswordSecretRef is a reference to a non-empty key in a Secret resource\ncontaining the password used to encrypt the JKS keystore.\nMutually exclusive with password.\nOne of password or passwordSecretRef must provide a password with a non-zero length.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.",
"type": "string"
},
"name": {
"description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"create"
],
"type": "object"
},
"pkcs12": {
"description": "PKCS12 configures options for storing a PKCS12 keystore in the\n`spec.secretName` Secret resource.",
"properties": {
"create": {
"description": "Create enables PKCS12 keystore creation for the Certificate.\nIf true, a file named `keystore.p12` will be created in the target\nSecret resource, encrypted using the password stored in\n`passwordSecretRef` or in `password`.\nThe keystore file will be updated immediately.\nIf the issuer provided a CA certificate, a file named `truststore.p12` will\nalso be created in the target Secret resource, encrypted using the\npassword stored in `passwordSecretRef` containing the issuing Certificate\nAuthority",
"type": "boolean"
},
"password": {
"description": "Password provides a literal password used to encrypt the PKCS#12 keystore.\nMutually exclusive with passwordSecretRef.\nOne of password or passwordSecretRef must provide a password with a non-zero length.",
"type": "string"
},
"passwordSecretRef": {
"description": "PasswordSecretRef is a reference to a non-empty key in a Secret resource\ncontaining the password used to encrypt the PKCS#12 keystore.\nMutually exclusive with password.\nOne of password or passwordSecretRef must provide a password with a non-zero length.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.",
"type": "string"
},
"name": {
"description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"profile": {
"description": "Profile specifies the key and certificate encryption algorithms and the HMAC algorithm\nused to create the PKCS12 keystore. Default value is `LegacyRC2` for backward compatibility.\n\nIf provided, allowed values are:\n`LegacyRC2`: Deprecated. Not supported by default in OpenSSL 3 or Java 20.\n`LegacyDES`: Less secure algorithm. Use this option for maximal compatibility.\n`Modern2023`: Secure algorithm. Use this option in case you have to always use secure algorithms\n(e.g., because of company policy). Please note that the security of the algorithm is not that important\nin reality, because the unencrypted certificate and private key are also stored in the Secret.",
"_enum": [
"LegacyRC2",
"LegacyDES",
"Modern2023"
],
"type": "string"
}
},
"required": [
"create"
],
"type": "object"
}
},
"type": "object"
},
"literalSubject": {
"description": "Requested X.509 certificate subject, represented using the LDAP \"String\nRepresentation of a Distinguished Name\" [1].\nImportant: the LDAP string format also specifies the order of the attributes\nin the subject, this is important when issuing certs for LDAP authentication.\nExample: `CN=foo,DC=corp,DC=example,DC=com`\nMore info [1]: https://datatracker.ietf.org/doc/html/rfc4514\nMore info: https://github.com/cert-manager/cert-manager/issues/3203\nMore info: https://github.com/cert-manager/cert-manager/issues/4424\n\nCannot be set if the `subject` or `commonName` field is set.",
"type": "string"
},
"nameConstraints": {
"description": "x.509 certificate NameConstraint extension which MUST NOT be used in a non-CA certificate.\nMore Info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.10\n\nThis is an Alpha Feature and is only enabled with the\n`--feature-gates=NameConstraints=true` option set on both\nthe controller and webhook components.",
"properties": {
"critical": {
"description": "if true then the name constraints are marked critical.",
"type": "boolean"
},
"excluded": {
"description": "Excluded contains the constraints which must be disallowed. Any name matching a\nrestriction in the excluded field is invalid regardless\nof information appearing in the permitted",
"properties": {
"dnsDomains": {
"description": "DNSDomains is a list of DNS domains that are permitted or excluded.",
"items": {
"type": "string"
},
"type": "array"
},
"emailAddresses": {
"description": "EmailAddresses is a list of Email Addresses that are permitted or excluded.",
"items": {
"type": "string"
},
"type": "array"
},
"ipRanges": {
"description": "IPRanges is a list of IP Ranges that are permitted or excluded.\nThis should be a valid CIDR notation.",
"items": {
"type": "string"
},
"type": "array"
},
"uriDomains": {
"description": "URIDomains is a list of URI domains that are permitted or excluded.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"permitted": {
"description": "Permitted contains the constraints in which the names must be located.",
"properties": {
"dnsDomains": {
"description": "DNSDomains is a list of DNS domains that are permitted or excluded.",
"items": {
"type": "string"
},
"type": "array"
},
"emailAddresses": {
"description": "EmailAddresses is a list of Email Addresses that are permitted or excluded.",
"items": {
"type": "string"
},
"type": "array"
},
"ipRanges": {
"description": "IPRanges is a list of IP Ranges that are permitted or excluded.\nThis should be a valid CIDR notation.",
"items": {
"type": "string"
},
"type": "array"
},
"uriDomains": {
"description": "URIDomains is a list of URI domains that are permitted or excluded.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"otherNames": {
"description": "`otherNames` is an escape hatch for SAN that allows any type. We currently restrict the support to string like otherNames, cf RFC 5280 p 37\nAny UTF8 String valued otherName can be passed with by setting the keys oid: x.x.x.x and UTF8Value: somevalue for `otherName`.\nMost commonly this would be UPN set with oid: 1.3.6.1.4.1.311.20.2.3\nYou should ensure that any OID passed is valid for the UTF8String type as we do not explicitly validate this.",
"items": {
"type": "object",
"properties": {
"oid": {
"description": "OID is the object identifier for the otherName SAN.\nThe object identifier must be expressed as a dotted string, for\nexample, \"1.2.840.113556.1.4.221\".",
"type": "string"
},
"utf8Value": {
"description": "utf8Value is the string value of the otherName SAN.\nThe utf8Value accepts any valid UTF8 string to set as value for the otherName SAN.",
"type": "string"
}
}
},
"type": "array"
},
"privateKey": {
"description": "Private key options. These include the key algorithm and size, the used\nencoding and the rotation policy.",
"properties": {
"algorithm": {
"description": "Algorithm is the private key algorithm of the corresponding private key\nfor this certificate.\n\nIf provided, allowed values are either `RSA`, `ECDSA` or `Ed25519`.\nIf `algorithm` is specified and `size` is not provided,\nkey size of 2048 will be used for `RSA` key algorithm and\nkey size of 256 will be used for `ECDSA` key algorithm.\nkey size is ignored when using the `Ed25519` key algorithm.",
"_enum": [
"RSA",
"ECDSA",
"Ed25519"
],
"type": "string"
},
"encoding": {
"description": "The private key cryptography standards (PKCS) encoding for this\ncertificate's private key to be encoded in.\n\nIf provided, allowed values are `PKCS1` and `PKCS8` standing for PKCS#1\nand PKCS#8, respectively.\nDefaults to `PKCS1` if not specified.",
"_enum": [
"PKCS1",
"PKCS8"
],
"type": "string"
},
"rotationPolicy": {
"description": "RotationPolicy controls how private keys should be regenerated when a\nre-issuance is being processed.\n\nIf set to `Never`, a private key will only be generated if one does not\nalready exist in the target `spec.secretName`. If one does exist but it\ndoes not have the correct algorithm or size, a warning will be raised\nto await user intervention.\nIf set to `Always`, a private key matching the specified requirements\nwill be generated whenever a re-issuance occurs.\nDefault is `Always`.\nThe default was changed from `Never` to `Always` in cert-manager >=v1.18.0.\nThe new default can be disabled by setting the\n`--feature-gates=DefaultPrivateKeyRotationPolicyAlways=false` option on\nthe controller component.",
"_enum": [
"Never",
"Always"
],
"type": "string"
},
"size": {
"description": "Size is the key bit size of the corresponding private key for this certificate.\n\nIf `algorithm` is set to `RSA`, valid values are `2048`, `4096` or `8192`,\nand will default to `2048` if not specified.\nIf `algorithm` is set to `ECDSA`, valid values are `256`, `384` or `521`,\nand will default to `256` if not specified.\nIf `algorithm` is set to `Ed25519`, Size is ignored.\nNo other values are allowed.",
"type": "integer"
}
},
"type": "object"
},
"renewBefore": {
"description": "How long before the currently issued certificate's expiry cert-manager should\nrenew the certificate. For example, if a certificate is valid for 60 minutes,\nand `renewBefore=10m`, cert-manager will begin to attempt to renew the certificate\n50 minutes after it was issued (i.e. when there are 10 minutes remaining until\nthe certificate is no longer valid).\n\nNOTE: The actual lifetime of the issued certificate is used to determine the\nrenewal time. If an issuer returns a certificate with a different lifetime than\nthe one requested, cert-manager will use the lifetime of the issued certificate.\n\nIf unset, this defaults to 1/3 of the issued certificate's lifetime.\nMinimum accepted value is 5 minutes.\nValue must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration.\nCannot be set if the `renewBeforePercentage` field is set.",
"type": "string"
},
"renewBeforePercentage": {
"description": "`renewBeforePercentage` is like `renewBefore`, except it is a relative percentage\nrather than an absolute duration. For example, if a certificate is valid for 60\nminutes, and `renewBeforePercentage=25`, cert-manager will begin to attempt to\nrenew the certificate 45 minutes after it was issued (i.e. when there are 15\nminutes (25%) remaining until the certificate is no longer valid).\n\nNOTE: The actual lifetime of the issued certificate is used to determine the\nrenewal time. If an issuer returns a certificate with a different lifetime than\nthe one requested, cert-manager will use the lifetime of the issued certificate.\n\nValue must be an integer in the range (0,100). The minimum effective\n`renewBefore` derived from the `renewBeforePercentage` and `duration` fields is 5\nminutes.\nCannot be set if the `renewBefore` field is set.",
"format": "int32",
"type": "integer"
},
"revisionHistoryLimit": {
"description": "The maximum number of CertificateRequest revisions that are maintained in\nthe Certificate's history. Each revision represents a single `CertificateRequest`\ncreated by this Certificate, either when it was created, renewed, or Spec\nwas changed. Revisions will be removed by oldest first if the number of\nrevisions exceeds this number.\n\nIf set, revisionHistoryLimit must be a value of `1` or greater.\nDefault value is `1`.",
"format": "int32",
"type": "integer"
},
"secretName": {
"description": "Name of the Secret resource that will be automatically created and\nmanaged by this Certificate resource. It will be populated with a\nprivate key and certificate, signed by the denoted issuer. The Secret\nresource lives in the same namespace as the Certificate resource.",
"type": "string"
},
"secretTemplate": {
"description": "Defines annotations and labels to be copied to the Certificate's Secret.\nLabels and annotations on the Secret will be changed as they appear on the\nSecretTemplate when added or removed. SecretTemplate annotations are added\nin conjunction with, and cannot overwrite, the base set of annotations\ncert-manager sets on the Certificate's Secret.",
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is a key value map to be copied to the target Kubernetes Secret.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels is a key value map to be copied to the target Kubernetes Secret.",
"type": "object"
}
},
"type": "object"
},
"signatureAlgorithm": {
"description": "Signature algorithm to use.\nAllowed values for RSA keys: SHA256WithRSA, SHA384WithRSA, SHA512WithRSA.\nAllowed values for ECDSA keys: ECDSAWithSHA256, ECDSAWithSHA384, ECDSAWithSHA512.\nAllowed values for Ed25519 keys: PureEd25519.",
"_enum": [
"SHA256WithRSA",
"SHA384WithRSA",
"SHA512WithRSA",
"ECDSAWithSHA256",
"ECDSAWithSHA384",
"ECDSAWithSHA512",
"PureEd25519"
],
"type": "string"
},
"subject": {
"description": "Requested set of X509 certificate subject attributes.\nMore info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6\n\nThe common name attribute is specified separately in the `commonName` field.\nCannot be set if the `literalSubject` field is set.",
"properties": {
"countries": {
"description": "Countries to be used on the Certificate.",
"items": {
"type": "string"
},
"type": "array"
},
"localities": {
"description": "Cities to be used on the Certificate.",
"items": {
"type": "string"
},
"type": "array"
},
"organizationalUnits": {
"description": "Organizational Units to be used on the Certificate.",
"items": {
"type": "string"
},
"type": "array"
},
"organizations": {
"description": "Organizations to be used on the Certificate.",
"items": {
"type": "string"
},
"type": "array"
},
"postalCodes": {
"description": "Postal codes to be used on the Certificate.",
"items": {
"type": "string"
},
"type": "array"
},
"provinces": {
"description": "State/Provinces to be used on the Certificate.",
"items": {
"type": "string"
},
"type": "array"
},
"serialNumber": {
"description": "Serial number to be used on the Certificate.",
"type": "string"
},
"streetAddresses": {
"description": "Street addresses to be used on the Certificate.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"uris": {
"description": "Requested URI subject alternative names.",
"items": {
"type": "string"
},
"type": "array"
},
"usages": {
"description": "Requested key usages and extended key usages.\nThese usages are used to set the `usages` field on the created CertificateRequest\nresources. If `encodeUsagesInRequest` is unset or set to `true`, the usages\nwill additionally be encoded in the `request` field which contains the CSR blob.\n\nIf unset, defaults to `digital signature` and `key encipherment`.",
"items": {
"description": "KeyUsage specifies valid usage contexts for keys.\nSee:\nhttps://tools.ietf.org/html/rfc5280#section-4.2.1.3\nhttps://tools.ietf.org/html/rfc5280#section-4.2.1.12\n\nValid KeyUsage values are as follows:\n\"signing\",\n\"digital signature\",\n\"content commitment\",\n\"key encipherment\",\n\"key agreement\",\n\"data encipherment\",\n\"cert sign\",\n\"crl sign\",\n\"encipher only\",\n\"decipher only\",\n\"any\",\n\"server auth\",\n\"client auth\",\n\"code signing\",\n\"email protection\",\n\"s/mime\",\n\"ipsec end system\",\n\"ipsec tunnel\",\n\"ipsec user\",\n\"timestamping\",\n\"ocsp signing\",\n\"microsoft sgc\",\n\"netscape sgc\"",
"type": "string",
"enum": [
"signing",
"digital signature",
"content commitment",
"key encipherment",
"key agreement",
"data encipherment",
"cert sign",
"crl sign",
"encipher only",
"decipher only",
"any",
"server auth",
"client auth",
"code signing",
"email protection",
"s/mime",
"ipsec end system",
"ipsec tunnel",
"ipsec user",
"timestamping",
"ocsp signing",
"microsoft sgc",
"netscape sgc"
]
},
"type": "array"
}
},
"required": [
"issuerRef",
"secretName"
],
"type": "object"
},
"status": {
"description": "Status of the Certificate.\nThis is set and managed automatically.\nRead-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
"properties": {
"conditions": {
"description": "List of status conditions to indicate the status of certificates.\nKnown condition types are `Ready` and `Issuing`.",
"items": {
"description": "CertificateCondition contains condition information for a Certificate.",
"type": "object",
"required": [
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"description": "LastTransitionTime is the timestamp corresponding to the last status\nchange of this condition.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "Message is a human readable description of the details of the last\ntransition, complementing reason.",
"type": "string"
},
"observedGeneration": {
"description": "If set, this represents the .metadata.generation that the condition was\nset based upon.\nFor instance, if .metadata.generation is currently 12, but the\n.status.condition[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the Certificate.",
"type": "integer",
"format": "int64"
},
"reason": {
"description": "Reason is a brief machine readable explanation for the condition's last\ntransition.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of (`True`, `False`, `Unknown`).",
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"description": "Type of the condition, known values are (`Ready`, `Issuing`).",
"type": "string"
}
}
},
"type": "array",
"x_kubernetes_list_map_keys": [
"type"
],
"x_kubernetes_list_type": "map"
},
"failedIssuanceAttempts": {
"description": "The number of continuous failed issuance attempts up till now. This\nfield gets removed (if set) on a successful issuance and gets set to\n1 if unset and an issuance has failed. If an issuance has failed, the\ndelay till the next issuance will be calculated using formula\ntime.Hour * 2 ^ (failedIssuanceAttempts - 1).",
"type": "integer"
},
"lastFailureTime": {
"description": "LastFailureTime is set only if the latest issuance for this\nCertificate failed and contains the time of the failure. If an\nissuance has failed, the delay till the next issuance will be\ncalculated using formula time.Hour * 2 ^ (failedIssuanceAttempts -\n1). If the latest issuance has succeeded this field will be unset.",
"format": "date-time",
"type": "string"
},
"nextPrivateKeySecretName": {
"description": "The name of the Secret resource containing the private key to be used\nfor the next certificate iteration.\nThe keymanager controller will automatically set this field if the\n`Issuing` condition is set to `True`.\nIt will automatically unset this field when the Issuing condition is\nnot set or False.",
"type": "string"
},
"notAfter": {
"description": "The expiration time of the certificate stored in the secret named\nby this resource in `spec.secretName`.",
"format": "date-time",
"type": "string"
},
"notBefore": {
"description": "The time after which the certificate stored in the secret named\nby this resource in `spec.secretName` is valid.",
"format": "date-time",
"type": "string"
},
"renewalTime": {
"description": "RenewalTime is the time at which the certificate will be next\nrenewed.\nIf not set, no upcoming renewal is scheduled.",
"format": "date-time",
"type": "string"
},
"revision": {
"description": "The current 'revision' of the certificate as issued.\n\nWhen a CertificateRequest resource is created, it will have the\n`cert-manager.io/certificate-revision` set to one greater than the\ncurrent value of this field.\n\nUpon issuance, this field will be set to the value of the annotation\non the CertificateRequest resource used to issue the certificate.\n\nPersisting the value on the CertificateRequest resource allows the\ncertificates controller to know whether a request is part of an old\nissuance or if it is part of the ongoing revision's issuance by\nchecking if the revision value in the annotation is greater than this\nfield.",
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,634 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* A Certificate resource should be created to ensure an up to date and signed
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
*
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
*/
export interface K8SCertificateV1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* Specification of the desired state of the Certificate resource.
* https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
*/
spec?: {
/**
* Defines extra output formats of the private key and signed certificate chain
* to be written to this Certificate's target Secret.
*/
additionalOutputFormats?: {
/**
* Type is the name of the format type that should be written to the
* Certificate's target Secret.
*/
type: "DER" | "CombinedPEM";
}[];
/**
* Requested common name X509 certificate subject attribute.
* More info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6
* NOTE: TLS clients will ignore this value when any subject alternative name is
* set (see https://tools.ietf.org/html/rfc6125#section-6.4.4).
*
* Should have a length of 64 characters or fewer to avoid generating invalid CSRs.
* Cannot be set if the `literalSubject` field is set.
*/
commonName?: string;
/**
* Requested DNS subject alternative names.
*/
dnsNames?: string[];
/**
* Requested 'duration' (i.e. lifetime) of the Certificate. Note that the
* issuer may choose to ignore the requested duration, just like any other
* requested attribute.
*
* If unset, this defaults to 90 days.
* Minimum accepted duration is 1 hour.
* Value must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration.
*/
duration?: string;
/**
* Requested email subject alternative names.
*/
emailAddresses?: string[];
/**
* Whether the KeyUsage and ExtKeyUsage extensions should be set in the encoded CSR.
*
* This option defaults to true, and should only be disabled if the target
* issuer does not support CSRs with these X509 KeyUsage/ ExtKeyUsage extensions.
*/
encodeUsagesInRequest?: boolean;
/**
* Requested IP address subject alternative names.
*/
ipAddresses?: string[];
/**
* Requested basic constraints isCA value.
* The isCA value is used to set the `isCA` field on the created CertificateRequest
* resources. Note that the issuer may choose to ignore the requested isCA value, just
* like any other requested attribute.
*
* If true, this will automatically add the `cert sign` usage to the list
* of requested `usages`.
*/
isCA?: boolean;
/**
* Reference to the issuer responsible for issuing the certificate.
* If the issuer is namespace-scoped, it must be in the same namespace
* as the Certificate. If the issuer is cluster-scoped, it can be used
* from any namespace.
*
* The `name` field of the reference must always be specified.
*/
issuerRef: {
/**
* Group of the resource being referred to.
*/
group?: string;
/**
* Kind of the resource being referred to.
*/
kind?: string;
/**
* Name of the resource being referred to.
*/
name: string;
};
/**
* Additional keystore output formats to be stored in the Certificate's Secret.
*/
keystores?: {
/**
* JKS configures options for storing a JKS keystore in the
* `spec.secretName` Secret resource.
*/
jks?: {
/**
* Alias specifies the alias of the key in the keystore, required by the JKS format.
* If not provided, the default alias `certificate` will be used.
*/
alias?: string;
/**
* Create enables JKS keystore creation for the Certificate.
* If true, a file named `keystore.jks` will be created in the target
* Secret resource, encrypted using the password stored in
* `passwordSecretRef` or `password`.
* The keystore file will be updated immediately.
* If the issuer provided a CA certificate, a file named `truststore.jks`
* will also be created in the target Secret resource, encrypted using the
* password stored in `passwordSecretRef`
* containing the issuing Certificate Authority
*/
create: boolean;
/**
* Password provides a literal password used to encrypt the JKS keystore.
* Mutually exclusive with passwordSecretRef.
* One of password or passwordSecretRef must provide a password with a non-zero length.
*/
password?: string;
/**
* PasswordSecretRef is a reference to a non-empty key in a Secret resource
* containing the password used to encrypt the JKS keystore.
* Mutually exclusive with password.
* One of password or passwordSecretRef must provide a password with a non-zero length.
*/
passwordSecretRef?: {
/**
* The key of the entry in the Secret resource's `data` field to be used.
* Some instances of this field may be defaulted, in others it may be
* required.
*/
key?: string;
/**
* Name of the resource being referred to.
* More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
*/
name: string;
};
};
/**
* PKCS12 configures options for storing a PKCS12 keystore in the
* `spec.secretName` Secret resource.
*/
pkcs12?: {
/**
* Create enables PKCS12 keystore creation for the Certificate.
* If true, a file named `keystore.p12` will be created in the target
* Secret resource, encrypted using the password stored in
* `passwordSecretRef` or in `password`.
* The keystore file will be updated immediately.
* If the issuer provided a CA certificate, a file named `truststore.p12` will
* also be created in the target Secret resource, encrypted using the
* password stored in `passwordSecretRef` containing the issuing Certificate
* Authority
*/
create: boolean;
/**
* Password provides a literal password used to encrypt the PKCS#12 keystore.
* Mutually exclusive with passwordSecretRef.
* One of password or passwordSecretRef must provide a password with a non-zero length.
*/
password?: string;
/**
* PasswordSecretRef is a reference to a non-empty key in a Secret resource
* containing the password used to encrypt the PKCS#12 keystore.
* Mutually exclusive with password.
* One of password or passwordSecretRef must provide a password with a non-zero length.
*/
passwordSecretRef?: {
/**
* The key of the entry in the Secret resource's `data` field to be used.
* Some instances of this field may be defaulted, in others it may be
* required.
*/
key?: string;
/**
* Name of the resource being referred to.
* More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
*/
name: string;
};
/**
* Profile specifies the key and certificate encryption algorithms and the HMAC algorithm
* used to create the PKCS12 keystore. Default value is `LegacyRC2` for backward compatibility.
*
* If provided, allowed values are:
* `LegacyRC2`: Deprecated. Not supported by default in OpenSSL 3 or Java 20.
* `LegacyDES`: Less secure algorithm. Use this option for maximal compatibility.
* `Modern2023`: Secure algorithm. Use this option in case you have to always use secure algorithms
* (e.g., because of company policy). Please note that the security of the algorithm is not that important
* in reality, because the unencrypted certificate and private key are also stored in the Secret.
*/
profile?: string;
};
};
/**
* Requested X.509 certificate subject, represented using the LDAP "String
* Representation of a Distinguished Name" [1].
* Important: the LDAP string format also specifies the order of the attributes
* in the subject, this is important when issuing certs for LDAP authentication.
* Example: `CN=foo,DC=corp,DC=example,DC=com`
* More info [1]: https://datatracker.ietf.org/doc/html/rfc4514
* More info: https://github.com/cert-manager/cert-manager/issues/3203
* More info: https://github.com/cert-manager/cert-manager/issues/4424
*
* Cannot be set if the `subject` or `commonName` field is set.
*/
literalSubject?: string;
/**
* x.509 certificate NameConstraint extension which MUST NOT be used in a non-CA certificate.
* More Info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.10
*
* This is an Alpha Feature and is only enabled with the
* `--feature-gates=NameConstraints=true` option set on both
* the controller and webhook components.
*/
nameConstraints?: {
/**
* if true then the name constraints are marked critical.
*/
critical?: boolean;
/**
* Excluded contains the constraints which must be disallowed. Any name matching a
* restriction in the excluded field is invalid regardless
* of information appearing in the permitted
*/
excluded?: {
/**
* DNSDomains is a list of DNS domains that are permitted or excluded.
*/
dnsDomains?: string[];
/**
* EmailAddresses is a list of Email Addresses that are permitted or excluded.
*/
emailAddresses?: string[];
/**
* IPRanges is a list of IP Ranges that are permitted or excluded.
* This should be a valid CIDR notation.
*/
ipRanges?: string[];
/**
* URIDomains is a list of URI domains that are permitted or excluded.
*/
uriDomains?: string[];
};
/**
* Permitted contains the constraints in which the names must be located.
*/
permitted?: {
/**
* DNSDomains is a list of DNS domains that are permitted or excluded.
*/
dnsDomains?: string[];
/**
* EmailAddresses is a list of Email Addresses that are permitted or excluded.
*/
emailAddresses?: string[];
/**
* IPRanges is a list of IP Ranges that are permitted or excluded.
* This should be a valid CIDR notation.
*/
ipRanges?: string[];
/**
* URIDomains is a list of URI domains that are permitted or excluded.
*/
uriDomains?: string[];
};
};
/**
* `otherNames` is an escape hatch for SAN that allows any type. We currently restrict the support to string like otherNames, cf RFC 5280 p 37
* Any UTF8 String valued otherName can be passed with by setting the keys oid: x.x.x.x and UTF8Value: somevalue for `otherName`.
* Most commonly this would be UPN set with oid: 1.3.6.1.4.1.311.20.2.3
* You should ensure that any OID passed is valid for the UTF8String type as we do not explicitly validate this.
*/
otherNames?: {
/**
* OID is the object identifier for the otherName SAN.
* The object identifier must be expressed as a dotted string, for
* example, "1.2.840.113556.1.4.221".
*/
oid?: string;
/**
* utf8Value is the string value of the otherName SAN.
* The utf8Value accepts any valid UTF8 string to set as value for the otherName SAN.
*/
utf8Value?: string;
}[];
/**
* Private key options. These include the key algorithm and size, the used
* encoding and the rotation policy.
*/
privateKey?: {
/**
* Algorithm is the private key algorithm of the corresponding private key
* for this certificate.
*
* If provided, allowed values are either `RSA`, `ECDSA` or `Ed25519`.
* If `algorithm` is specified and `size` is not provided,
* key size of 2048 will be used for `RSA` key algorithm and
* key size of 256 will be used for `ECDSA` key algorithm.
* key size is ignored when using the `Ed25519` key algorithm.
*/
algorithm?: string;
/**
* The private key cryptography standards (PKCS) encoding for this
* certificate's private key to be encoded in.
*
* If provided, allowed values are `PKCS1` and `PKCS8` standing for PKCS#1
* and PKCS#8, respectively.
* Defaults to `PKCS1` if not specified.
*/
encoding?: string;
/**
* RotationPolicy controls how private keys should be regenerated when a
* re-issuance is being processed.
*
* If set to `Never`, a private key will only be generated if one does not
* already exist in the target `spec.secretName`. If one does exist but it
* does not have the correct algorithm or size, a warning will be raised
* to await user intervention.
* If set to `Always`, a private key matching the specified requirements
* will be generated whenever a re-issuance occurs.
* Default is `Always`.
* The default was changed from `Never` to `Always` in cert-manager >=v1.18.0.
* The new default can be disabled by setting the
* `--feature-gates=DefaultPrivateKeyRotationPolicyAlways=false` option on
* the controller component.
*/
rotationPolicy?: string;
/**
* Size is the key bit size of the corresponding private key for this certificate.
*
* If `algorithm` is set to `RSA`, valid values are `2048`, `4096` or `8192`,
* and will default to `2048` if not specified.
* If `algorithm` is set to `ECDSA`, valid values are `256`, `384` or `521`,
* and will default to `256` if not specified.
* If `algorithm` is set to `Ed25519`, Size is ignored.
* No other values are allowed.
*/
size?: number;
};
/**
* How long before the currently issued certificate's expiry cert-manager should
* renew the certificate. For example, if a certificate is valid for 60 minutes,
* and `renewBefore=10m`, cert-manager will begin to attempt to renew the certificate
* 50 minutes after it was issued (i.e. when there are 10 minutes remaining until
* the certificate is no longer valid).
*
* NOTE: The actual lifetime of the issued certificate is used to determine the
* renewal time. If an issuer returns a certificate with a different lifetime than
* the one requested, cert-manager will use the lifetime of the issued certificate.
*
* If unset, this defaults to 1/3 of the issued certificate's lifetime.
* Minimum accepted value is 5 minutes.
* Value must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration.
* Cannot be set if the `renewBeforePercentage` field is set.
*/
renewBefore?: string;
/**
* `renewBeforePercentage` is like `renewBefore`, except it is a relative percentage
* rather than an absolute duration. For example, if a certificate is valid for 60
* minutes, and `renewBeforePercentage=25`, cert-manager will begin to attempt to
* renew the certificate 45 minutes after it was issued (i.e. when there are 15
* minutes (25%) remaining until the certificate is no longer valid).
*
* NOTE: The actual lifetime of the issued certificate is used to determine the
* renewal time. If an issuer returns a certificate with a different lifetime than
* the one requested, cert-manager will use the lifetime of the issued certificate.
*
* Value must be an integer in the range (0,100). The minimum effective
* `renewBefore` derived from the `renewBeforePercentage` and `duration` fields is 5
* minutes.
* Cannot be set if the `renewBefore` field is set.
*/
renewBeforePercentage?: number;
/**
* The maximum number of CertificateRequest revisions that are maintained in
* the Certificate's history. Each revision represents a single `CertificateRequest`
* created by this Certificate, either when it was created, renewed, or Spec
* was changed. Revisions will be removed by oldest first if the number of
* revisions exceeds this number.
*
* If set, revisionHistoryLimit must be a value of `1` or greater.
* Default value is `1`.
*/
revisionHistoryLimit?: number;
/**
* Name of the Secret resource that will be automatically created and
* managed by this Certificate resource. It will be populated with a
* private key and certificate, signed by the denoted issuer. The Secret
* resource lives in the same namespace as the Certificate resource.
*/
secretName: string;
/**
* Defines annotations and labels to be copied to the Certificate's Secret.
* Labels and annotations on the Secret will be changed as they appear on the
* SecretTemplate when added or removed. SecretTemplate annotations are added
* in conjunction with, and cannot overwrite, the base set of annotations
* cert-manager sets on the Certificate's Secret.
*/
secretTemplate?: {
/**
* Annotations is a key value map to be copied to the target Kubernetes Secret.
*/
annotations?: {
[k: string]: string;
};
/**
* Labels is a key value map to be copied to the target Kubernetes Secret.
*/
labels?: {
[k: string]: string;
};
};
/**
* Signature algorithm to use.
* Allowed values for RSA keys: SHA256WithRSA, SHA384WithRSA, SHA512WithRSA.
* Allowed values for ECDSA keys: ECDSAWithSHA256, ECDSAWithSHA384, ECDSAWithSHA512.
* Allowed values for Ed25519 keys: PureEd25519.
*/
signatureAlgorithm?: string;
/**
* Requested set of X509 certificate subject attributes.
* More info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6
*
* The common name attribute is specified separately in the `commonName` field.
* Cannot be set if the `literalSubject` field is set.
*/
subject?: {
/**
* Countries to be used on the Certificate.
*/
countries?: string[];
/**
* Cities to be used on the Certificate.
*/
localities?: string[];
/**
* Organizational Units to be used on the Certificate.
*/
organizationalUnits?: string[];
/**
* Organizations to be used on the Certificate.
*/
organizations?: string[];
/**
* Postal codes to be used on the Certificate.
*/
postalCodes?: string[];
/**
* State/Provinces to be used on the Certificate.
*/
provinces?: string[];
/**
* Serial number to be used on the Certificate.
*/
serialNumber?: string;
/**
* Street addresses to be used on the Certificate.
*/
streetAddresses?: string[];
};
/**
* Requested URI subject alternative names.
*/
uris?: string[];
/**
* Requested key usages and extended key usages.
* These usages are used to set the `usages` field on the created CertificateRequest
* resources. If `encodeUsagesInRequest` is unset or set to `true`, the usages
* will additionally be encoded in the `request` field which contains the CSR blob.
*
* If unset, defaults to `digital signature` and `key encipherment`.
*/
usages?: (
| "signing"
| "digital signature"
| "content commitment"
| "key encipherment"
| "key agreement"
| "data encipherment"
| "cert sign"
| "crl sign"
| "encipher only"
| "decipher only"
| "any"
| "server auth"
| "client auth"
| "code signing"
| "email protection"
| "s/mime"
| "ipsec end system"
| "ipsec tunnel"
| "ipsec user"
| "timestamping"
| "ocsp signing"
| "microsoft sgc"
| "netscape sgc"
)[];
};
/**
* Status of the Certificate.
* This is set and managed automatically.
* Read-only.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
*/
status?: {
/**
* List of status conditions to indicate the status of certificates.
* Known condition types are `Ready` and `Issuing`.
*/
conditions?: {
/**
* LastTransitionTime is the timestamp corresponding to the last status
* change of this condition.
*/
lastTransitionTime?: string;
/**
* Message is a human readable description of the details of the last
* transition, complementing reason.
*/
message?: string;
/**
* If set, this represents the .metadata.generation that the condition was
* set based upon.
* For instance, if .metadata.generation is currently 12, but the
* .status.condition[x].observedGeneration is 9, the condition is out of date
* with respect to the current state of the Certificate.
*/
observedGeneration?: number;
/**
* Reason is a brief machine readable explanation for the condition's last
* transition.
*/
reason?: string;
/**
* Status of the condition, one of (`True`, `False`, `Unknown`).
*/
status: "True" | "False" | "Unknown";
/**
* Type of the condition, known values are (`Ready`, `Issuing`).
*/
type: string;
}[];
/**
* The number of continuous failed issuance attempts up till now. This
* field gets removed (if set) on a successful issuance and gets set to
* 1 if unset and an issuance has failed. If an issuance has failed, the
* delay till the next issuance will be calculated using formula
* time.Hour * 2 ^ (failedIssuanceAttempts - 1).
*/
failedIssuanceAttempts?: number;
/**
* LastFailureTime is set only if the latest issuance for this
* Certificate failed and contains the time of the failure. If an
* issuance has failed, the delay till the next issuance will be
* calculated using formula time.Hour * 2 ^ (failedIssuanceAttempts -
* 1). If the latest issuance has succeeded this field will be unset.
*/
lastFailureTime?: string;
/**
* The name of the Secret resource containing the private key to be used
* for the next certificate iteration.
* The keymanager controller will automatically set this field if the
* `Issuing` condition is set to `True`.
* It will automatically unset this field when the Issuing condition is
* not set or False.
*/
nextPrivateKeySecretName?: string;
/**
* The expiration time of the certificate stored in the secret named
* by this resource in `spec.secretName`.
*/
notAfter?: string;
/**
* The time after which the certificate stored in the secret named
* by this resource in `spec.secretName` is valid.
*/
notBefore?: string;
/**
* RenewalTime is the time at which the certificate will be next
* renewed.
* If not set, no upcoming renewal is scheduled.
*/
renewalTime?: string;
/**
* The current 'revision' of the certificate as issued.
*
* When a CertificateRequest resource is created, it will have the
* `cert-manager.io/certificate-revision` set to one greater than the
* current value of this field.
*
* Upon issuance, this field will be set to the value of the annotation
* on the CertificateRequest resource used to issue the certificate.
*
* Persisting the value on the CertificateRequest resource allows the
* certificates controller to know whether a request is part of an old
* issuance or if it is part of the ongoing revision's issuance by
* checking if the revision value in the annotation is greater than this
* field.
*/
revision?: number;
};
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,852 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SDestinationRuleV1 {
/**
* Configuration affecting load balancing, outlier detection, etc. See more details at: https://istio.io/docs/reference/config/networking/destination-rule.html
*/
spec?: {
/**
* A list of namespaces to which this destination rule is exported.
*/
exportTo?: string[];
/**
* The name of a service from the service registry.
*/
host: string;
/**
* One or more named sets that represent individual versions of a service.
*/
subsets?: {
/**
* Labels apply a filter over the endpoints of a service in the service registry.
*/
labels?: {
[k: string]: string;
};
/**
* Name of the subset.
*/
name: string;
/**
* Traffic policies that apply to this subset.
*/
trafficPolicy?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: "DEFAULT" | "DO_NOT_UPGRADE" | "UPGRADE";
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Traffic policies specific to individual ports.
*
* @maxItems 4096
*/
portLevelSettings?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: "DEFAULT" | "DO_NOT_UPGRADE" | "UPGRADE";
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Specifies the number of a port on the destination service on which this policy is being applied.
*/
port?: {
number?: number;
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: "DISABLE" | "SIMPLE" | "MUTUAL" | "ISTIO_MUTUAL";
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
}[];
/**
* The upstream PROXY protocol settings.
*/
proxyProtocol?: {
/**
* The PROXY protocol version to use.
*
* Valid Options: V1, V2
*/
version?: "V1" | "V2";
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: "DISABLE" | "SIMPLE" | "MUTUAL" | "ISTIO_MUTUAL";
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
/**
* Configuration of tunneling TCP over other transport or application layers for the host configured in the DestinationRule.
*/
tunnel?: {
/**
* Specifies which protocol to use for tunneling the downstream connection.
*/
protocol?: string;
/**
* Specifies a host to which the downstream connection is tunneled.
*/
targetHost: string;
/**
* Specifies a port to which the downstream connection is tunneled.
*/
targetPort: number;
};
};
}[];
/**
* Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
*/
trafficPolicy?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: string;
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Traffic policies specific to individual ports.
*
* @maxItems 4096
*/
portLevelSettings?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: "DEFAULT" | "DO_NOT_UPGRADE" | "UPGRADE";
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Specifies the number of a port on the destination service on which this policy is being applied.
*/
port?: {
number?: number;
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: "DISABLE" | "SIMPLE" | "MUTUAL" | "ISTIO_MUTUAL";
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
}[];
/**
* The upstream PROXY protocol settings.
*/
proxyProtocol?: {
/**
* The PROXY protocol version to use.
*
* Valid Options: V1, V2
*/
version?: string;
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
/**
* Configuration of tunneling TCP over other transport or application layers for the host configured in the DestinationRule.
*/
tunnel?: {
/**
* Specifies which protocol to use for tunneling the downstream connection.
*/
protocol?: string;
/**
* Specifies a host to which the downstream connection is tunneled.
*/
targetHost: string;
/**
* Specifies a port to which the downstream connection is tunneled.
*/
targetPort: number;
};
};
/**
* Criteria used to select the specific set of pods/VMs on which this `DestinationRule` configuration should be applied.
*/
workloadSelector?: {
/**
* One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
*/
matchLabels?: {
[k: string]: string;
};
};
};
status?: {
/**
* Current service state of the resource.
*/
conditions?: {
/**
* Last time we probed the condition.
*/
lastProbeTime?: string;
/**
* Last time the condition transitioned from one status to another.
*/
lastTransitionTime?: string;
/**
* Human-readable message indicating details about last transition.
*/
message?: string;
/**
* Unique, one-word, CamelCase reason for the condition's last transition.
*/
reason?: string;
/**
* Status is the status of the condition.
*/
status?: string;
/**
* Type is the type of the condition.
*/
type?: string;
}[];
/**
* Resource Generation to which the Reconciled Condition refers.
*/
observedGeneration?: number | string;
/**
* Includes any errors or warnings detected by Istio's analyzers.
*/
validationMessages?: {
/**
* A url pointing to the Istio documentation for this specific error type.
*/
documentationUrl?: string;
/**
* Represents how severe a message is.
*
* Valid Options: UNKNOWN, ERROR, WARNING, INFO
*/
level?: "UNKNOWN" | "ERROR" | "WARNING" | "INFO";
type?: {
/**
* A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
*/
code?: string;
/**
* A human-readable name for the message type.
*/
name?: string;
};
}[];
};
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,852 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SDestinationRuleV1Alpha3 {
/**
* Configuration affecting load balancing, outlier detection, etc. See more details at: https://istio.io/docs/reference/config/networking/destination-rule.html
*/
spec?: {
/**
* A list of namespaces to which this destination rule is exported.
*/
exportTo?: string[];
/**
* The name of a service from the service registry.
*/
host: string;
/**
* One or more named sets that represent individual versions of a service.
*/
subsets?: {
/**
* Labels apply a filter over the endpoints of a service in the service registry.
*/
labels?: {
[k: string]: string;
};
/**
* Name of the subset.
*/
name: string;
/**
* Traffic policies that apply to this subset.
*/
trafficPolicy?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: "DEFAULT" | "DO_NOT_UPGRADE" | "UPGRADE";
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Traffic policies specific to individual ports.
*
* @maxItems 4096
*/
portLevelSettings?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: "DEFAULT" | "DO_NOT_UPGRADE" | "UPGRADE";
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Specifies the number of a port on the destination service on which this policy is being applied.
*/
port?: {
number?: number;
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: "DISABLE" | "SIMPLE" | "MUTUAL" | "ISTIO_MUTUAL";
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
}[];
/**
* The upstream PROXY protocol settings.
*/
proxyProtocol?: {
/**
* The PROXY protocol version to use.
*
* Valid Options: V1, V2
*/
version?: "V1" | "V2";
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: "DISABLE" | "SIMPLE" | "MUTUAL" | "ISTIO_MUTUAL";
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
/**
* Configuration of tunneling TCP over other transport or application layers for the host configured in the DestinationRule.
*/
tunnel?: {
/**
* Specifies which protocol to use for tunneling the downstream connection.
*/
protocol?: string;
/**
* Specifies a host to which the downstream connection is tunneled.
*/
targetHost: string;
/**
* Specifies a port to which the downstream connection is tunneled.
*/
targetPort: number;
};
};
}[];
/**
* Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
*/
trafficPolicy?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: string;
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Traffic policies specific to individual ports.
*
* @maxItems 4096
*/
portLevelSettings?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: "DEFAULT" | "DO_NOT_UPGRADE" | "UPGRADE";
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Specifies the number of a port on the destination service on which this policy is being applied.
*/
port?: {
number?: number;
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: "DISABLE" | "SIMPLE" | "MUTUAL" | "ISTIO_MUTUAL";
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
}[];
/**
* The upstream PROXY protocol settings.
*/
proxyProtocol?: {
/**
* The PROXY protocol version to use.
*
* Valid Options: V1, V2
*/
version?: string;
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
/**
* Configuration of tunneling TCP over other transport or application layers for the host configured in the DestinationRule.
*/
tunnel?: {
/**
* Specifies which protocol to use for tunneling the downstream connection.
*/
protocol?: string;
/**
* Specifies a host to which the downstream connection is tunneled.
*/
targetHost: string;
/**
* Specifies a port to which the downstream connection is tunneled.
*/
targetPort: number;
};
};
/**
* Criteria used to select the specific set of pods/VMs on which this `DestinationRule` configuration should be applied.
*/
workloadSelector?: {
/**
* One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
*/
matchLabels?: {
[k: string]: string;
};
};
};
status?: {
/**
* Current service state of the resource.
*/
conditions?: {
/**
* Last time we probed the condition.
*/
lastProbeTime?: string;
/**
* Last time the condition transitioned from one status to another.
*/
lastTransitionTime?: string;
/**
* Human-readable message indicating details about last transition.
*/
message?: string;
/**
* Unique, one-word, CamelCase reason for the condition's last transition.
*/
reason?: string;
/**
* Status is the status of the condition.
*/
status?: string;
/**
* Type is the type of the condition.
*/
type?: string;
}[];
/**
* Resource Generation to which the Reconciled Condition refers.
*/
observedGeneration?: number | string;
/**
* Includes any errors or warnings detected by Istio's analyzers.
*/
validationMessages?: {
/**
* A url pointing to the Istio documentation for this specific error type.
*/
documentationUrl?: string;
/**
* Represents how severe a message is.
*
* Valid Options: UNKNOWN, ERROR, WARNING, INFO
*/
level?: "UNKNOWN" | "ERROR" | "WARNING" | "INFO";
type?: {
/**
* A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
*/
code?: string;
/**
* A human-readable name for the message type.
*/
name?: string;
};
}[];
};
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,852 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SDestinationRuleV1Beta1 {
/**
* Configuration affecting load balancing, outlier detection, etc. See more details at: https://istio.io/docs/reference/config/networking/destination-rule.html
*/
spec?: {
/**
* A list of namespaces to which this destination rule is exported.
*/
exportTo?: string[];
/**
* The name of a service from the service registry.
*/
host: string;
/**
* One or more named sets that represent individual versions of a service.
*/
subsets?: {
/**
* Labels apply a filter over the endpoints of a service in the service registry.
*/
labels?: {
[k: string]: string;
};
/**
* Name of the subset.
*/
name: string;
/**
* Traffic policies that apply to this subset.
*/
trafficPolicy?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: "DEFAULT" | "DO_NOT_UPGRADE" | "UPGRADE";
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Traffic policies specific to individual ports.
*
* @maxItems 4096
*/
portLevelSettings?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: "DEFAULT" | "DO_NOT_UPGRADE" | "UPGRADE";
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Specifies the number of a port on the destination service on which this policy is being applied.
*/
port?: {
number?: number;
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: "DISABLE" | "SIMPLE" | "MUTUAL" | "ISTIO_MUTUAL";
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
}[];
/**
* The upstream PROXY protocol settings.
*/
proxyProtocol?: {
/**
* The PROXY protocol version to use.
*
* Valid Options: V1, V2
*/
version?: "V1" | "V2";
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: "DISABLE" | "SIMPLE" | "MUTUAL" | "ISTIO_MUTUAL";
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
/**
* Configuration of tunneling TCP over other transport or application layers for the host configured in the DestinationRule.
*/
tunnel?: {
/**
* Specifies which protocol to use for tunneling the downstream connection.
*/
protocol?: string;
/**
* Specifies a host to which the downstream connection is tunneled.
*/
targetHost: string;
/**
* Specifies a port to which the downstream connection is tunneled.
*/
targetPort: number;
};
};
}[];
/**
* Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
*/
trafficPolicy?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: string;
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Traffic policies specific to individual ports.
*
* @maxItems 4096
*/
portLevelSettings?: {
connectionPool?: {
/**
* HTTP connection pool settings.
*/
http?: {
/**
* Specify if http1.1 connection should be upgraded to http2 for the associated destination.
*
* Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
*/
h2UpgradePolicy?: "DEFAULT" | "DO_NOT_UPGRADE" | "UPGRADE";
/**
* Maximum number of requests that will be queued while waiting for a ready connection pool connection.
*/
http1MaxPendingRequests?: number;
/**
* Maximum number of active requests to a destination.
*/
http2MaxRequests?: number;
/**
* The idle timeout for upstream connection pool connections.
*/
idleTimeout?: string;
/**
* The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
*/
maxConcurrentStreams?: number;
/**
* Maximum number of requests per connection to a backend.
*/
maxRequestsPerConnection?: number;
/**
* Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.
*/
maxRetries?: number;
/**
* If set to true, client protocol will be preserved while initiating connection to backend.
*/
useClientProtocol?: boolean;
};
/**
* Settings common to both HTTP and TCP upstream connections.
*/
tcp?: {
/**
* TCP connection timeout.
*/
connectTimeout?: string;
/**
* The idle timeout for TCP connections.
*/
idleTimeout?: string;
/**
* The maximum duration of a connection.
*/
maxConnectionDuration?: string;
/**
* Maximum number of HTTP1 /TCP connections to a destination host.
*/
maxConnections?: number;
/**
* If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
*/
tcpKeepalive?: {
/**
* The time duration between keep-alive probes.
*/
interval?: string;
/**
* Maximum number of keepalive probes to send without response before deciding the connection is dead.
*/
probes?: number;
/**
* The time duration a connection needs to be idle before keep-alive probes start being sent.
*/
time?: string;
};
};
};
/**
* Settings controlling the load balancer algorithms.
*/
loadBalancer?: {
[k: string]: unknown;
};
outlierDetection?: {
/**
* Minimum ejection duration.
*/
baseEjectionTime?: string;
/**
* Number of 5xx errors before a host is ejected from the connection pool.
*/
consecutive5xxErrors?: number;
consecutiveErrors?: number;
/**
* Number of gateway errors before a host is ejected from the connection pool.
*/
consecutiveGatewayErrors?: number;
/**
* The number of consecutive locally originated failures before ejection occurs.
*/
consecutiveLocalOriginFailures?: number;
/**
* Time interval between ejection sweep analysis.
*/
interval?: string;
/**
* Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
*/
maxEjectionPercent?: number;
/**
* Outlier detection will be enabled as long as the associated load balancing pool has at least `minHealthPercent` hosts in healthy mode.
*/
minHealthPercent?: number;
/**
* Determines whether to distinguish local origin failures from external errors.
*/
splitExternalLocalOriginErrors?: boolean;
};
/**
* Specifies the number of a port on the destination service on which this policy is being applied.
*/
port?: {
number?: number;
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: "DISABLE" | "SIMPLE" | "MUTUAL" | "ISTIO_MUTUAL";
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
}[];
/**
* The upstream PROXY protocol settings.
*/
proxyProtocol?: {
/**
* The PROXY protocol version to use.
*
* Valid Options: V1, V2
*/
version?: string;
};
/**
* TLS related settings for connections to the upstream service.
*/
tls?: {
/**
* OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate.
*/
caCrl?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
clientCertificate?: string;
/**
* The name of the secret that holds the TLS certs for the client including the CA certificates.
*/
credentialName?: string;
/**
* `insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.
*/
insecureSkipVerify?: boolean;
/**
* Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
*/
mode?: string;
/**
* REQUIRED if mode is `MUTUAL`.
*/
privateKey?: string;
/**
* SNI string to present to the server during TLS handshake.
*/
sni?: string;
/**
* A list of alternate names to verify the subject identity in the certificate.
*/
subjectAltNames?: string[];
};
/**
* Configuration of tunneling TCP over other transport or application layers for the host configured in the DestinationRule.
*/
tunnel?: {
/**
* Specifies which protocol to use for tunneling the downstream connection.
*/
protocol?: string;
/**
* Specifies a host to which the downstream connection is tunneled.
*/
targetHost: string;
/**
* Specifies a port to which the downstream connection is tunneled.
*/
targetPort: number;
};
};
/**
* Criteria used to select the specific set of pods/VMs on which this `DestinationRule` configuration should be applied.
*/
workloadSelector?: {
/**
* One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
*/
matchLabels?: {
[k: string]: string;
};
};
};
status?: {
/**
* Current service state of the resource.
*/
conditions?: {
/**
* Last time we probed the condition.
*/
lastProbeTime?: string;
/**
* Last time the condition transitioned from one status to another.
*/
lastTransitionTime?: string;
/**
* Human-readable message indicating details about last transition.
*/
message?: string;
/**
* Unique, one-word, CamelCase reason for the condition's last transition.
*/
reason?: string;
/**
* Status is the status of the condition.
*/
status?: string;
/**
* Type is the type of the condition.
*/
type?: string;
}[];
/**
* Resource Generation to which the Reconciled Condition refers.
*/
observedGeneration?: number | string;
/**
* Includes any errors or warnings detected by Istio's analyzers.
*/
validationMessages?: {
/**
* A url pointing to the Istio documentation for this specific error type.
*/
documentationUrl?: string;
/**
* Represents how severe a message is.
*
* Valid Options: UNKNOWN, ERROR, WARNING, INFO
*/
level?: "UNKNOWN" | "ERROR" | "WARNING" | "INFO";
type?: {
/**
* A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
*/
code?: string;
/**
* A human-readable name for the message type.
*/
name?: string;
};
}[];
};
}

View File

@@ -0,0 +1,94 @@
{
"properties": {
"spec": {
"properties": {
"destination": {
"properties": {
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"properties": {
"number": {
"type": "number"
}
},
"required": [
"number"
],
"type": "object"
}
},
"required": [
"name",
"port"
],
"type": "object"
},
"domain": {
"type": "string"
},
"subdomain": {
"type": "string"
}
},
"required": [
"domain",
"subdomain",
"destination"
],
"type": "object"
},
"status": {
"properties": {
"conditions": {
"items": {
"type": "object",
"required": [
"type",
"status",
"lastTransitionTime"
],
"properties": {
"lastTransitionTime": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"message": {
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"type": "string"
}
}
},
"type": "array"
},
"observedGeneration": {
"type": "number"
}
},
"required": [
"observedGeneration",
"conditions"
],
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,30 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SDomainEndpointV1 {
spec?: {
destination: {
name: string;
namespace?: string;
port: {
number: number;
};
};
domain: string;
subdomain: string;
};
status?: {
conditions: {
lastTransitionTime: string;
message?: string;
reason?: string;
status: "True" | "False" | "Unknown";
type: string;
}[];
observedGeneration: number;
};
}

View File

@@ -0,0 +1,63 @@
{
"properties": {
"spec": {
"properties": {
"domain": {
"type": "string"
}
},
"required": [
"domain"
],
"type": "object"
},
"status": {
"properties": {
"conditions": {
"items": {
"type": "object",
"required": [
"type",
"status",
"lastTransitionTime"
],
"properties": {
"lastTransitionTime": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"message": {
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"type": "string"
}
}
},
"type": "array"
},
"observedGeneration": {
"type": "number"
}
},
"required": [
"observedGeneration",
"conditions"
],
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,22 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SDomainV1 {
spec?: {
domain: string;
};
status?: {
conditions: {
lastTransitionTime: string;
message?: string;
reason?: string;
status: "True" | "False" | "Unknown";
type: string;
}[];
observedGeneration: number;
};
}

View File

@@ -0,0 +1,128 @@
{
"description": "ETCDSnapshot tracks a point-in-time snapshot of the etcd datastore.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "Spec defines properties of an etcd snapshot file",
"properties": {
"location": {
"description": "Location is the absolute file:// or s3:// URI address of the snapshot.",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Metadata contains point-in-time snapshot of the contents of the\nk3s-etcd-snapshot-extra-metadata ConfigMap's data field, at the time the\nsnapshot was taken. This is intended to contain data about cluster state\nthat may be important for an external system to have available when restoring\nthe snapshot.",
"type": "object"
},
"nodeName": {
"description": "NodeName contains the name of the node that took the snapshot.",
"type": "string"
},
"s3": {
"description": "S3 contains extra metadata about the S3 storage system holding the\nsnapshot. This is guaranteed to be set for all snapshots uploaded to S3.\nIf not specified, the snapshot was not uploaded to S3.",
"properties": {
"bucket": {
"description": "Bucket is the bucket holding the snapshot",
"type": "string"
},
"bucketLookup": {
"description": "BucketLookup is the bucket lookup type, one of 'auto', 'dns', 'path'. Default if empty is 'auto'.",
"type": "string"
},
"endpoint": {
"description": "Endpoint is the host or host:port of the S3 service",
"type": "string"
},
"endpointCA": {
"description": "EndpointCA is the path on disk to the S3 service's trusted CA list. Leave empty to use the OS CA bundle.",
"type": "string"
},
"insecure": {
"description": "Insecure is true if the S3 service uses HTTP instead of HTTPS",
"type": "boolean"
},
"prefix": {
"description": "Prefix is the prefix in which the snapshot file is stored.",
"type": "string"
},
"region": {
"description": "Region is the region of the S3 service",
"type": "string"
},
"skipSSLVerify": {
"description": "SkipSSLVerify is true if TLS certificate verification is disabled",
"type": "boolean"
}
},
"type": "object"
},
"snapshotName": {
"description": "SnapshotName contains the base name of the snapshot file. CLI actions that act\non snapshots stored locally or within a pre-configured S3 bucket and\nprefix usually take the snapshot name as their argument.",
"type": "string"
}
},
"required": [
"location",
"nodeName",
"snapshotName"
],
"type": "object"
},
"status": {
"description": "Status represents current information about a snapshot.",
"properties": {
"creationTime": {
"description": "CreationTime is the timestamp when the snapshot was taken by etcd.",
"format": "date-time",
"type": "string"
},
"error": {
"description": "Error is the last observed error during snapshot creation, if any.\nIf the snapshot is retried, this field will be cleared on success.",
"properties": {
"message": {
"description": "Message is a string detailing the encountered error during snapshot creation if specified.\nNOTE: message may be logged, and it should not contain sensitive information.",
"type": "string"
},
"time": {
"description": "Time is the timestamp when the error was encountered.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
},
"readyToUse": {
"description": "ReadyToUse indicates that the snapshot is available to be restored.",
"type": "boolean"
},
"size": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Size is the size of the snapshot file, in bytes. If not specified, the snapshot failed.",
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
"x_kubernetes_int_or_string": true
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,128 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* ETCDSnapshot tracks a point-in-time snapshot of the etcd datastore.
*/
export interface K8SETCDSnapshotFileV1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* Spec defines properties of an etcd snapshot file
*/
spec?: {
/**
* Location is the absolute file:// or s3:// URI address of the snapshot.
*/
location: string;
/**
* Metadata contains point-in-time snapshot of the contents of the
* k3s-etcd-snapshot-extra-metadata ConfigMap's data field, at the time the
* snapshot was taken. This is intended to contain data about cluster state
* that may be important for an external system to have available when restoring
* the snapshot.
*/
metadata?: {
[k: string]: string;
};
/**
* NodeName contains the name of the node that took the snapshot.
*/
nodeName: string;
/**
* S3 contains extra metadata about the S3 storage system holding the
* snapshot. This is guaranteed to be set for all snapshots uploaded to S3.
* If not specified, the snapshot was not uploaded to S3.
*/
s3?: {
/**
* Bucket is the bucket holding the snapshot
*/
bucket?: string;
/**
* BucketLookup is the bucket lookup type, one of 'auto', 'dns', 'path'. Default if empty is 'auto'.
*/
bucketLookup?: string;
/**
* Endpoint is the host or host:port of the S3 service
*/
endpoint?: string;
/**
* EndpointCA is the path on disk to the S3 service's trusted CA list. Leave empty to use the OS CA bundle.
*/
endpointCA?: string;
/**
* Insecure is true if the S3 service uses HTTP instead of HTTPS
*/
insecure?: boolean;
/**
* Prefix is the prefix in which the snapshot file is stored.
*/
prefix?: string;
/**
* Region is the region of the S3 service
*/
region?: string;
/**
* SkipSSLVerify is true if TLS certificate verification is disabled
*/
skipSSLVerify?: boolean;
};
/**
* SnapshotName contains the base name of the snapshot file. CLI actions that act
* on snapshots stored locally or within a pre-configured S3 bucket and
* prefix usually take the snapshot name as their argument.
*/
snapshotName: string;
};
/**
* Status represents current information about a snapshot.
*/
status?: {
/**
* CreationTime is the timestamp when the snapshot was taken by etcd.
*/
creationTime?: string;
/**
* Error is the last observed error during snapshot creation, if any.
* If the snapshot is retried, this field will be cleared on success.
*/
error?: {
/**
* Message is a string detailing the encountered error during snapshot creation if specified.
* NOTE: message may be logged, and it should not contain sensitive information.
*/
message?: string;
/**
* Time is the timestamp when the error was encountered.
*/
time?: string;
};
/**
* ReadyToUse indicates that the snapshot is available to be restored.
*/
readyToUse?: boolean;
/**
* Size is the size of the snapshot file, in bytes. If not specified, the snapshot failed.
*/
size?: number | string;
};
}

View File

@@ -0,0 +1,463 @@
{
"properties": {
"spec": {
"description": "Customizing Envoy configuration generated by Istio. See more details at: https://istio.io/docs/reference/config/networking/envoy-filter.html",
"properties": {
"configPatches": {
"description": "One or more patches with match conditions.",
"items": {
"type": "object",
"properties": {
"applyTo": {
"description": "Specifies where in the Envoy configuration, the patch should be applied.\n\nValid Options: LISTENER, FILTER_CHAIN, NETWORK_FILTER, HTTP_FILTER, ROUTE_CONFIGURATION, VIRTUAL_HOST, HTTP_ROUTE, CLUSTER, EXTENSION_CONFIG, BOOTSTRAP, LISTENER_FILTER",
"type": "string",
"enum": [
"INVALID",
"LISTENER",
"FILTER_CHAIN",
"NETWORK_FILTER",
"HTTP_FILTER",
"ROUTE_CONFIGURATION",
"VIRTUAL_HOST",
"HTTP_ROUTE",
"CLUSTER",
"EXTENSION_CONFIG",
"BOOTSTRAP",
"LISTENER_FILTER"
]
},
"match": {
"description": "Match on listener/route configuration/cluster.",
"type": "object",
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"listener"
]
},
{
"required": [
"routeConfiguration"
]
},
{
"required": [
"cluster"
]
}
]
}
},
{
"required": [
"listener"
]
},
{
"required": [
"routeConfiguration"
]
},
{
"required": [
"cluster"
]
}
],
"properties": {
"cluster": {
"description": "Match on envoy cluster attributes.",
"type": "object",
"properties": {
"name": {
"description": "The exact name of the cluster to match.",
"type": "string"
},
"portNumber": {
"description": "The service port for which this cluster was generated.",
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"service": {
"description": "The fully qualified service name for this cluster.",
"type": "string"
},
"subset": {
"description": "The subset associated with the service.",
"type": "string"
}
}
},
"context": {
"description": "The specific config generation context to match on.\n\nValid Options: ANY, SIDECAR_INBOUND, SIDECAR_OUTBOUND, GATEWAY",
"type": "string",
"enum": [
"ANY",
"SIDECAR_INBOUND",
"SIDECAR_OUTBOUND",
"GATEWAY"
]
},
"listener": {
"description": "Match on envoy listener attributes.",
"type": "object",
"properties": {
"filterChain": {
"description": "Match a specific filter chain in a listener.",
"type": "object",
"properties": {
"applicationProtocols": {
"description": "Applies only to sidecars.",
"type": "string"
},
"destinationPort": {
"description": "The destination_port value used by a filter chain's match condition.",
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"filter": {
"description": "The name of a specific filter to apply the patch to.",
"type": "object",
"properties": {
"name": {
"description": "The filter name to match on.",
"type": "string"
},
"subFilter": {
"description": "The next level filter within this filter to match upon.",
"type": "object",
"properties": {
"name": {
"description": "The filter name to match on.",
"type": "string"
}
}
}
}
},
"name": {
"description": "The name assigned to the filter chain.",
"type": "string"
},
"sni": {
"description": "The SNI value used by a filter chain's match condition.",
"type": "string"
},
"transportProtocol": {
"description": "Applies only to `SIDECAR_INBOUND` context.",
"type": "string"
}
}
},
"listenerFilter": {
"description": "Match a specific listener filter.",
"type": "string"
},
"name": {
"description": "Match a specific listener by its name.",
"type": "string"
},
"portName": {
"type": "string"
},
"portNumber": {
"description": "The service port/gateway port to which traffic is being sent/received.",
"type": "integer",
"maximum": 4294967295,
"minimum": 0
}
}
},
"proxy": {
"description": "Match on properties associated with a proxy.",
"type": "object",
"properties": {
"metadata": {
"description": "Match on the node metadata supplied by a proxy when connecting to istiod.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"proxyVersion": {
"description": "A regular expression in golang regex format (RE2) that can be used to select proxies using a specific version of istio proxy.",
"type": "string"
}
}
},
"routeConfiguration": {
"description": "Match on envoy HTTP route configuration attributes.",
"type": "object",
"properties": {
"gateway": {
"description": "The Istio gateway config's namespace/name for which this route configuration was generated.",
"type": "string"
},
"name": {
"description": "Route configuration name to match on.",
"type": "string"
},
"portName": {
"description": "Applicable only for GATEWAY context.",
"type": "string"
},
"portNumber": {
"description": "The service port number or gateway server port number for which this route configuration was generated.",
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"vhost": {
"description": "Match a specific virtual host in a route configuration and apply the patch to the virtual host.",
"type": "object",
"properties": {
"name": {
"description": "The VirtualHosts objects generated by Istio are named as host:port, where the host typically corresponds to the VirtualService's host field or the hostname of a service in the registry.",
"type": "string"
},
"route": {
"description": "Match a specific route within the virtual host.",
"type": "object",
"properties": {
"action": {
"description": "Match a route with specific action type.\n\nValid Options: ANY, ROUTE, REDIRECT, DIRECT_RESPONSE",
"type": "string",
"enum": [
"ANY",
"ROUTE",
"REDIRECT",
"DIRECT_RESPONSE"
]
},
"name": {
"description": "The Route objects generated by default are named as default.",
"type": "string"
}
}
}
}
}
}
}
}
},
"patch": {
"description": "The patch to apply along with the operation.",
"type": "object",
"properties": {
"filterClass": {
"description": "Determines the filter insertion order.\n\nValid Options: AUTHN, AUTHZ, STATS",
"type": "string",
"enum": [
"UNSPECIFIED",
"AUTHN",
"AUTHZ",
"STATS"
]
},
"operation": {
"description": "Determines how the patch should be applied.\n\nValid Options: MERGE, ADD, REMOVE, INSERT_BEFORE, INSERT_AFTER, INSERT_FIRST, REPLACE",
"type": "string",
"enum": [
"INVALID",
"MERGE",
"ADD",
"REMOVE",
"INSERT_BEFORE",
"INSERT_AFTER",
"INSERT_FIRST",
"REPLACE"
]
},
"value": {
"description": "The JSON config of the object being patched.",
"type": "object",
"x-kubernetes-preserve-unknown-fields": true
}
}
}
}
},
"type": "array"
},
"priority": {
"description": "Priority defines the order in which patch sets are applied within a context.",
"format": "int32",
"type": "integer"
},
"targetRefs": {
"description": "Optional.",
"items": {
"type": "object",
"required": [
"kind",
"name"
],
"properties": {
"group": {
"description": "group is the group of the target resource.",
"type": "string",
"maxLength": 253,
"pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"
},
"kind": {
"description": "kind is kind of the target resource.",
"type": "string",
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$"
},
"name": {
"description": "name is the name of the target resource.",
"type": "string",
"maxLength": 253,
"minLength": 1
},
"namespace": {
"description": "namespace is the namespace of the referent.",
"type": "string",
"x-kubernetes-validations": [
{
"rule": "self.size() == 0",
"message": "cross namespace referencing is not currently supported"
}
]
}
},
"x-kubernetes-validations": [
{
"rule": "[self.group, self.kind] in [['core','Service'], ['','Service'], ['gateway.networking.k8s.io','Gateway'], ['networking.istio.io','ServiceEntry']]",
"message": "Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway"
}
]
},
"maxItems": 16,
"type": "array"
},
"workloadSelector": {
"description": "Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied.",
"properties": {
"labels": {
"additionalProperties": {
"type": "string",
"maxLength": 63,
"x-kubernetes-validations": [
{
"rule": "!self.contains('*')",
"message": "wildcard is not supported in selector"
}
]
},
"description": "One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.",
"maxProperties": 256,
"type": "object"
}
},
"type": "object"
}
},
"type": "object",
"x_kubernetes_validations": [
{
"message": "only one of targetRefs or workloadSelector can be set",
"rule": "(has(self.workloadSelector)?1:0)+(has(self.targetRefs)?1:0)<=1"
}
]
},
"status": {
"properties": {
"conditions": {
"description": "Current service state of the resource.",
"items": {
"type": "object",
"properties": {
"lastProbeTime": {
"description": "Last time we probed the condition.",
"type": "string",
"format": "date-time"
},
"lastTransitionTime": {
"description": "Last time the condition transitioned from one status to another.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status is the status of the condition.",
"type": "string"
},
"type": {
"description": "Type is the type of the condition.",
"type": "string"
}
}
},
"type": "array"
},
"observedGeneration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Resource Generation to which the Reconciled Condition refers.",
"x_kubernetes_int_or_string": true
},
"validationMessages": {
"description": "Includes any errors or warnings detected by Istio's analyzers.",
"items": {
"type": "object",
"properties": {
"documentationUrl": {
"description": "A url pointing to the Istio documentation for this specific error type.",
"type": "string"
},
"level": {
"description": "Represents how severe a message is.\n\nValid Options: UNKNOWN, ERROR, WARNING, INFO",
"type": "string",
"enum": [
"UNKNOWN",
"ERROR",
"WARNING",
"INFO"
]
},
"type": {
"type": "object",
"properties": {
"code": {
"description": "A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.",
"type": "string"
},
"name": {
"description": "A human-readable name for the message type.",
"type": "string"
}
}
}
}
},
"type": "array"
}
},
"type": "object",
"x_kubernetes_preserve_unknown_fields": true
}
},
"type": "object"
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,260 @@
{
"properties": {
"spec": {
"description": "Configuration affecting edge load balancer. See more details at: https://istio.io/docs/reference/config/networking/gateway.html",
"properties": {
"selector": {
"additionalProperties": {
"type": "string"
},
"description": "One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.",
"type": "object"
},
"servers": {
"description": "A list of server specifications.",
"items": {
"type": "object",
"required": [
"port",
"hosts"
],
"properties": {
"bind": {
"description": "The ip or the Unix domain socket to which the listener should be bound to.",
"type": "string"
},
"defaultEndpoint": {
"type": "string"
},
"hosts": {
"description": "One or more hosts exposed by this gateway.",
"type": "array",
"items": {
"type": "string"
}
},
"name": {
"description": "An optional name of the server, when set must be unique across all servers.",
"type": "string"
},
"port": {
"description": "The Port on which the proxy should listen for incoming connections.",
"type": "object",
"required": [
"number",
"protocol",
"name"
],
"properties": {
"name": {
"description": "Label assigned to the port.",
"type": "string"
},
"number": {
"description": "A valid non-negative integer port number.",
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"protocol": {
"description": "The protocol exposed on the port.",
"type": "string"
},
"targetPort": {
"type": "integer",
"maximum": 4294967295,
"minimum": 0
}
}
},
"tls": {
"description": "Set of TLS related options that govern the server's behavior.",
"type": "object",
"properties": {
"caCertificates": {
"description": "REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.",
"type": "string"
},
"caCrl": {
"description": "OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.",
"type": "string"
},
"cipherSuites": {
"description": "Optional: If specified, only support the specified cipher list.",
"type": "array",
"items": {
"type": "string"
}
},
"credentialName": {
"description": "For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.",
"type": "string"
},
"httpsRedirect": {
"description": "If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.",
"type": "boolean"
},
"maxProtocolVersion": {
"description": "Optional: Maximum TLS protocol version.\n\nValid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3",
"type": "string",
"enum": [
"TLS_AUTO",
"TLSV1_0",
"TLSV1_1",
"TLSV1_2",
"TLSV1_3"
]
},
"minProtocolVersion": {
"description": "Optional: Minimum TLS protocol version.\n\nValid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3",
"type": "string",
"enum": [
"TLS_AUTO",
"TLSV1_0",
"TLSV1_1",
"TLSV1_2",
"TLSV1_3"
]
},
"mode": {
"description": "Optional: Indicates whether connections to this port should be secured using TLS.\n\nValid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL",
"type": "string",
"enum": [
"PASSTHROUGH",
"SIMPLE",
"MUTUAL",
"AUTO_PASSTHROUGH",
"ISTIO_MUTUAL",
"OPTIONAL_MUTUAL"
]
},
"privateKey": {
"description": "REQUIRED if mode is `SIMPLE` or `MUTUAL`.",
"type": "string"
},
"serverCertificate": {
"description": "REQUIRED if mode is `SIMPLE` or `MUTUAL`.",
"type": "string"
},
"subjectAltNames": {
"description": "A list of alternate names to verify the subject identity in the certificate presented by the client.",
"type": "array",
"items": {
"type": "string"
}
},
"verifyCertificateHash": {
"description": "An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.",
"type": "array",
"items": {
"type": "string"
}
},
"verifyCertificateSpki": {
"description": "An optional list of base64-encoded SHA-256 hashes of the SPKIs of authorized client certificates.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"type": "array"
}
},
"type": "object"
},
"status": {
"properties": {
"conditions": {
"description": "Current service state of the resource.",
"items": {
"type": "object",
"properties": {
"lastProbeTime": {
"description": "Last time we probed the condition.",
"type": "string",
"format": "date-time"
},
"lastTransitionTime": {
"description": "Last time the condition transitioned from one status to another.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status is the status of the condition.",
"type": "string"
},
"type": {
"description": "Type is the type of the condition.",
"type": "string"
}
}
},
"type": "array"
},
"observedGeneration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Resource Generation to which the Reconciled Condition refers.",
"x_kubernetes_int_or_string": true
},
"validationMessages": {
"description": "Includes any errors or warnings detected by Istio's analyzers.",
"items": {
"type": "object",
"properties": {
"documentationUrl": {
"description": "A url pointing to the Istio documentation for this specific error type.",
"type": "string"
},
"level": {
"description": "Represents how severe a message is.\n\nValid Options: UNKNOWN, ERROR, WARNING, INFO",
"type": "string",
"enum": [
"UNKNOWN",
"ERROR",
"WARNING",
"INFO"
]
},
"type": {
"type": "object",
"properties": {
"code": {
"description": "A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.",
"type": "string"
},
"name": {
"description": "A human-readable name for the message type.",
"type": "string"
}
}
}
}
},
"type": "array"
}
},
"type": "object",
"x_kubernetes_preserve_unknown_fields": true
}
},
"type": "object"
}

View File

@@ -0,0 +1,179 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SGatewayV1 {
/**
* Configuration affecting edge load balancer. See more details at: https://istio.io/docs/reference/config/networking/gateway.html
*/
spec?: {
/**
* One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.
*/
selector?: {
[k: string]: string;
};
/**
* A list of server specifications.
*/
servers?: {
/**
* The ip or the Unix domain socket to which the listener should be bound to.
*/
bind?: string;
defaultEndpoint?: string;
/**
* One or more hosts exposed by this gateway.
*/
hosts: string[];
/**
* An optional name of the server, when set must be unique across all servers.
*/
name?: string;
/**
* The Port on which the proxy should listen for incoming connections.
*/
port: {
/**
* Label assigned to the port.
*/
name: string;
/**
* A valid non-negative integer port number.
*/
number: number;
/**
* The protocol exposed on the port.
*/
protocol: string;
targetPort?: number;
};
/**
* Set of TLS related options that govern the server's behavior.
*/
tls?: {
/**
* REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.
*/
caCrl?: string;
/**
* Optional: If specified, only support the specified cipher list.
*/
cipherSuites?: string[];
/**
* For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.
*/
credentialName?: string;
/**
* If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.
*/
httpsRedirect?: boolean;
/**
* Optional: Maximum TLS protocol version.
*
* Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
*/
maxProtocolVersion?: "TLS_AUTO" | "TLSV1_0" | "TLSV1_1" | "TLSV1_2" | "TLSV1_3";
/**
* Optional: Minimum TLS protocol version.
*
* Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
*/
minProtocolVersion?: "TLS_AUTO" | "TLSV1_0" | "TLSV1_1" | "TLSV1_2" | "TLSV1_3";
/**
* Optional: Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL
*/
mode?: "PASSTHROUGH" | "SIMPLE" | "MUTUAL" | "AUTO_PASSTHROUGH" | "ISTIO_MUTUAL" | "OPTIONAL_MUTUAL";
/**
* REQUIRED if mode is `SIMPLE` or `MUTUAL`.
*/
privateKey?: string;
/**
* REQUIRED if mode is `SIMPLE` or `MUTUAL`.
*/
serverCertificate?: string;
/**
* A list of alternate names to verify the subject identity in the certificate presented by the client.
*/
subjectAltNames?: string[];
/**
* An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.
*/
verifyCertificateHash?: string[];
/**
* An optional list of base64-encoded SHA-256 hashes of the SPKIs of authorized client certificates.
*/
verifyCertificateSpki?: string[];
};
}[];
};
status?: {
/**
* Current service state of the resource.
*/
conditions?: {
/**
* Last time we probed the condition.
*/
lastProbeTime?: string;
/**
* Last time the condition transitioned from one status to another.
*/
lastTransitionTime?: string;
/**
* Human-readable message indicating details about last transition.
*/
message?: string;
/**
* Unique, one-word, CamelCase reason for the condition's last transition.
*/
reason?: string;
/**
* Status is the status of the condition.
*/
status?: string;
/**
* Type is the type of the condition.
*/
type?: string;
}[];
/**
* Resource Generation to which the Reconciled Condition refers.
*/
observedGeneration?: number | string;
/**
* Includes any errors or warnings detected by Istio's analyzers.
*/
validationMessages?: {
/**
* A url pointing to the Istio documentation for this specific error type.
*/
documentationUrl?: string;
/**
* Represents how severe a message is.
*
* Valid Options: UNKNOWN, ERROR, WARNING, INFO
*/
level?: "UNKNOWN" | "ERROR" | "WARNING" | "INFO";
type?: {
/**
* A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
*/
code?: string;
/**
* A human-readable name for the message type.
*/
name?: string;
};
}[];
};
}

View File

@@ -0,0 +1,260 @@
{
"properties": {
"spec": {
"description": "Configuration affecting edge load balancer. See more details at: https://istio.io/docs/reference/config/networking/gateway.html",
"properties": {
"selector": {
"additionalProperties": {
"type": "string"
},
"description": "One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.",
"type": "object"
},
"servers": {
"description": "A list of server specifications.",
"items": {
"type": "object",
"required": [
"port",
"hosts"
],
"properties": {
"bind": {
"description": "The ip or the Unix domain socket to which the listener should be bound to.",
"type": "string"
},
"defaultEndpoint": {
"type": "string"
},
"hosts": {
"description": "One or more hosts exposed by this gateway.",
"type": "array",
"items": {
"type": "string"
}
},
"name": {
"description": "An optional name of the server, when set must be unique across all servers.",
"type": "string"
},
"port": {
"description": "The Port on which the proxy should listen for incoming connections.",
"type": "object",
"required": [
"number",
"protocol",
"name"
],
"properties": {
"name": {
"description": "Label assigned to the port.",
"type": "string"
},
"number": {
"description": "A valid non-negative integer port number.",
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"protocol": {
"description": "The protocol exposed on the port.",
"type": "string"
},
"targetPort": {
"type": "integer",
"maximum": 4294967295,
"minimum": 0
}
}
},
"tls": {
"description": "Set of TLS related options that govern the server's behavior.",
"type": "object",
"properties": {
"caCertificates": {
"description": "REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.",
"type": "string"
},
"caCrl": {
"description": "OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.",
"type": "string"
},
"cipherSuites": {
"description": "Optional: If specified, only support the specified cipher list.",
"type": "array",
"items": {
"type": "string"
}
},
"credentialName": {
"description": "For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.",
"type": "string"
},
"httpsRedirect": {
"description": "If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.",
"type": "boolean"
},
"maxProtocolVersion": {
"description": "Optional: Maximum TLS protocol version.\n\nValid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3",
"type": "string",
"enum": [
"TLS_AUTO",
"TLSV1_0",
"TLSV1_1",
"TLSV1_2",
"TLSV1_3"
]
},
"minProtocolVersion": {
"description": "Optional: Minimum TLS protocol version.\n\nValid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3",
"type": "string",
"enum": [
"TLS_AUTO",
"TLSV1_0",
"TLSV1_1",
"TLSV1_2",
"TLSV1_3"
]
},
"mode": {
"description": "Optional: Indicates whether connections to this port should be secured using TLS.\n\nValid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL",
"type": "string",
"enum": [
"PASSTHROUGH",
"SIMPLE",
"MUTUAL",
"AUTO_PASSTHROUGH",
"ISTIO_MUTUAL",
"OPTIONAL_MUTUAL"
]
},
"privateKey": {
"description": "REQUIRED if mode is `SIMPLE` or `MUTUAL`.",
"type": "string"
},
"serverCertificate": {
"description": "REQUIRED if mode is `SIMPLE` or `MUTUAL`.",
"type": "string"
},
"subjectAltNames": {
"description": "A list of alternate names to verify the subject identity in the certificate presented by the client.",
"type": "array",
"items": {
"type": "string"
}
},
"verifyCertificateHash": {
"description": "An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.",
"type": "array",
"items": {
"type": "string"
}
},
"verifyCertificateSpki": {
"description": "An optional list of base64-encoded SHA-256 hashes of the SPKIs of authorized client certificates.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"type": "array"
}
},
"type": "object"
},
"status": {
"properties": {
"conditions": {
"description": "Current service state of the resource.",
"items": {
"type": "object",
"properties": {
"lastProbeTime": {
"description": "Last time we probed the condition.",
"type": "string",
"format": "date-time"
},
"lastTransitionTime": {
"description": "Last time the condition transitioned from one status to another.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status is the status of the condition.",
"type": "string"
},
"type": {
"description": "Type is the type of the condition.",
"type": "string"
}
}
},
"type": "array"
},
"observedGeneration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Resource Generation to which the Reconciled Condition refers.",
"x_kubernetes_int_or_string": true
},
"validationMessages": {
"description": "Includes any errors or warnings detected by Istio's analyzers.",
"items": {
"type": "object",
"properties": {
"documentationUrl": {
"description": "A url pointing to the Istio documentation for this specific error type.",
"type": "string"
},
"level": {
"description": "Represents how severe a message is.\n\nValid Options: UNKNOWN, ERROR, WARNING, INFO",
"type": "string",
"enum": [
"UNKNOWN",
"ERROR",
"WARNING",
"INFO"
]
},
"type": {
"type": "object",
"properties": {
"code": {
"description": "A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.",
"type": "string"
},
"name": {
"description": "A human-readable name for the message type.",
"type": "string"
}
}
}
}
},
"type": "array"
}
},
"type": "object",
"x_kubernetes_preserve_unknown_fields": true
}
},
"type": "object"
}

View File

@@ -0,0 +1,179 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SGatewayV1Alpha3 {
/**
* Configuration affecting edge load balancer. See more details at: https://istio.io/docs/reference/config/networking/gateway.html
*/
spec?: {
/**
* One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.
*/
selector?: {
[k: string]: string;
};
/**
* A list of server specifications.
*/
servers?: {
/**
* The ip or the Unix domain socket to which the listener should be bound to.
*/
bind?: string;
defaultEndpoint?: string;
/**
* One or more hosts exposed by this gateway.
*/
hosts: string[];
/**
* An optional name of the server, when set must be unique across all servers.
*/
name?: string;
/**
* The Port on which the proxy should listen for incoming connections.
*/
port: {
/**
* Label assigned to the port.
*/
name: string;
/**
* A valid non-negative integer port number.
*/
number: number;
/**
* The protocol exposed on the port.
*/
protocol: string;
targetPort?: number;
};
/**
* Set of TLS related options that govern the server's behavior.
*/
tls?: {
/**
* REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.
*/
caCrl?: string;
/**
* Optional: If specified, only support the specified cipher list.
*/
cipherSuites?: string[];
/**
* For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.
*/
credentialName?: string;
/**
* If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.
*/
httpsRedirect?: boolean;
/**
* Optional: Maximum TLS protocol version.
*
* Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
*/
maxProtocolVersion?: "TLS_AUTO" | "TLSV1_0" | "TLSV1_1" | "TLSV1_2" | "TLSV1_3";
/**
* Optional: Minimum TLS protocol version.
*
* Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
*/
minProtocolVersion?: "TLS_AUTO" | "TLSV1_0" | "TLSV1_1" | "TLSV1_2" | "TLSV1_3";
/**
* Optional: Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL
*/
mode?: "PASSTHROUGH" | "SIMPLE" | "MUTUAL" | "AUTO_PASSTHROUGH" | "ISTIO_MUTUAL" | "OPTIONAL_MUTUAL";
/**
* REQUIRED if mode is `SIMPLE` or `MUTUAL`.
*/
privateKey?: string;
/**
* REQUIRED if mode is `SIMPLE` or `MUTUAL`.
*/
serverCertificate?: string;
/**
* A list of alternate names to verify the subject identity in the certificate presented by the client.
*/
subjectAltNames?: string[];
/**
* An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.
*/
verifyCertificateHash?: string[];
/**
* An optional list of base64-encoded SHA-256 hashes of the SPKIs of authorized client certificates.
*/
verifyCertificateSpki?: string[];
};
}[];
};
status?: {
/**
* Current service state of the resource.
*/
conditions?: {
/**
* Last time we probed the condition.
*/
lastProbeTime?: string;
/**
* Last time the condition transitioned from one status to another.
*/
lastTransitionTime?: string;
/**
* Human-readable message indicating details about last transition.
*/
message?: string;
/**
* Unique, one-word, CamelCase reason for the condition's last transition.
*/
reason?: string;
/**
* Status is the status of the condition.
*/
status?: string;
/**
* Type is the type of the condition.
*/
type?: string;
}[];
/**
* Resource Generation to which the Reconciled Condition refers.
*/
observedGeneration?: number | string;
/**
* Includes any errors or warnings detected by Istio's analyzers.
*/
validationMessages?: {
/**
* A url pointing to the Istio documentation for this specific error type.
*/
documentationUrl?: string;
/**
* Represents how severe a message is.
*
* Valid Options: UNKNOWN, ERROR, WARNING, INFO
*/
level?: "UNKNOWN" | "ERROR" | "WARNING" | "INFO";
type?: {
/**
* A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
*/
code?: string;
/**
* A human-readable name for the message type.
*/
name?: string;
};
}[];
};
}

View File

@@ -0,0 +1,260 @@
{
"properties": {
"spec": {
"description": "Configuration affecting edge load balancer. See more details at: https://istio.io/docs/reference/config/networking/gateway.html",
"properties": {
"selector": {
"additionalProperties": {
"type": "string"
},
"description": "One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.",
"type": "object"
},
"servers": {
"description": "A list of server specifications.",
"items": {
"type": "object",
"required": [
"port",
"hosts"
],
"properties": {
"bind": {
"description": "The ip or the Unix domain socket to which the listener should be bound to.",
"type": "string"
},
"defaultEndpoint": {
"type": "string"
},
"hosts": {
"description": "One or more hosts exposed by this gateway.",
"type": "array",
"items": {
"type": "string"
}
},
"name": {
"description": "An optional name of the server, when set must be unique across all servers.",
"type": "string"
},
"port": {
"description": "The Port on which the proxy should listen for incoming connections.",
"type": "object",
"required": [
"number",
"protocol",
"name"
],
"properties": {
"name": {
"description": "Label assigned to the port.",
"type": "string"
},
"number": {
"description": "A valid non-negative integer port number.",
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"protocol": {
"description": "The protocol exposed on the port.",
"type": "string"
},
"targetPort": {
"type": "integer",
"maximum": 4294967295,
"minimum": 0
}
}
},
"tls": {
"description": "Set of TLS related options that govern the server's behavior.",
"type": "object",
"properties": {
"caCertificates": {
"description": "REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.",
"type": "string"
},
"caCrl": {
"description": "OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.",
"type": "string"
},
"cipherSuites": {
"description": "Optional: If specified, only support the specified cipher list.",
"type": "array",
"items": {
"type": "string"
}
},
"credentialName": {
"description": "For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.",
"type": "string"
},
"httpsRedirect": {
"description": "If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.",
"type": "boolean"
},
"maxProtocolVersion": {
"description": "Optional: Maximum TLS protocol version.\n\nValid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3",
"type": "string",
"enum": [
"TLS_AUTO",
"TLSV1_0",
"TLSV1_1",
"TLSV1_2",
"TLSV1_3"
]
},
"minProtocolVersion": {
"description": "Optional: Minimum TLS protocol version.\n\nValid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3",
"type": "string",
"enum": [
"TLS_AUTO",
"TLSV1_0",
"TLSV1_1",
"TLSV1_2",
"TLSV1_3"
]
},
"mode": {
"description": "Optional: Indicates whether connections to this port should be secured using TLS.\n\nValid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL",
"type": "string",
"enum": [
"PASSTHROUGH",
"SIMPLE",
"MUTUAL",
"AUTO_PASSTHROUGH",
"ISTIO_MUTUAL",
"OPTIONAL_MUTUAL"
]
},
"privateKey": {
"description": "REQUIRED if mode is `SIMPLE` or `MUTUAL`.",
"type": "string"
},
"serverCertificate": {
"description": "REQUIRED if mode is `SIMPLE` or `MUTUAL`.",
"type": "string"
},
"subjectAltNames": {
"description": "A list of alternate names to verify the subject identity in the certificate presented by the client.",
"type": "array",
"items": {
"type": "string"
}
},
"verifyCertificateHash": {
"description": "An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.",
"type": "array",
"items": {
"type": "string"
}
},
"verifyCertificateSpki": {
"description": "An optional list of base64-encoded SHA-256 hashes of the SPKIs of authorized client certificates.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"type": "array"
}
},
"type": "object"
},
"status": {
"properties": {
"conditions": {
"description": "Current service state of the resource.",
"items": {
"type": "object",
"properties": {
"lastProbeTime": {
"description": "Last time we probed the condition.",
"type": "string",
"format": "date-time"
},
"lastTransitionTime": {
"description": "Last time the condition transitioned from one status to another.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status is the status of the condition.",
"type": "string"
},
"type": {
"description": "Type is the type of the condition.",
"type": "string"
}
}
},
"type": "array"
},
"observedGeneration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Resource Generation to which the Reconciled Condition refers.",
"x_kubernetes_int_or_string": true
},
"validationMessages": {
"description": "Includes any errors or warnings detected by Istio's analyzers.",
"items": {
"type": "object",
"properties": {
"documentationUrl": {
"description": "A url pointing to the Istio documentation for this specific error type.",
"type": "string"
},
"level": {
"description": "Represents how severe a message is.\n\nValid Options: UNKNOWN, ERROR, WARNING, INFO",
"type": "string",
"enum": [
"UNKNOWN",
"ERROR",
"WARNING",
"INFO"
]
},
"type": {
"type": "object",
"properties": {
"code": {
"description": "A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.",
"type": "string"
},
"name": {
"description": "A human-readable name for the message type.",
"type": "string"
}
}
}
}
},
"type": "array"
}
},
"type": "object",
"x_kubernetes_preserve_unknown_fields": true
}
},
"type": "object"
}

View File

@@ -0,0 +1,179 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface K8SGatewayV1Beta1 {
/**
* Configuration affecting edge load balancer. See more details at: https://istio.io/docs/reference/config/networking/gateway.html
*/
spec?: {
/**
* One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.
*/
selector?: {
[k: string]: string;
};
/**
* A list of server specifications.
*/
servers?: {
/**
* The ip or the Unix domain socket to which the listener should be bound to.
*/
bind?: string;
defaultEndpoint?: string;
/**
* One or more hosts exposed by this gateway.
*/
hosts: string[];
/**
* An optional name of the server, when set must be unique across all servers.
*/
name?: string;
/**
* The Port on which the proxy should listen for incoming connections.
*/
port: {
/**
* Label assigned to the port.
*/
name: string;
/**
* A valid non-negative integer port number.
*/
number: number;
/**
* The protocol exposed on the port.
*/
protocol: string;
targetPort?: number;
};
/**
* Set of TLS related options that govern the server's behavior.
*/
tls?: {
/**
* REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
*/
caCertificates?: string;
/**
* OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.
*/
caCrl?: string;
/**
* Optional: If specified, only support the specified cipher list.
*/
cipherSuites?: string[];
/**
* For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.
*/
credentialName?: string;
/**
* If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.
*/
httpsRedirect?: boolean;
/**
* Optional: Maximum TLS protocol version.
*
* Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
*/
maxProtocolVersion?: "TLS_AUTO" | "TLSV1_0" | "TLSV1_1" | "TLSV1_2" | "TLSV1_3";
/**
* Optional: Minimum TLS protocol version.
*
* Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
*/
minProtocolVersion?: "TLS_AUTO" | "TLSV1_0" | "TLSV1_1" | "TLSV1_2" | "TLSV1_3";
/**
* Optional: Indicates whether connections to this port should be secured using TLS.
*
* Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL
*/
mode?: "PASSTHROUGH" | "SIMPLE" | "MUTUAL" | "AUTO_PASSTHROUGH" | "ISTIO_MUTUAL" | "OPTIONAL_MUTUAL";
/**
* REQUIRED if mode is `SIMPLE` or `MUTUAL`.
*/
privateKey?: string;
/**
* REQUIRED if mode is `SIMPLE` or `MUTUAL`.
*/
serverCertificate?: string;
/**
* A list of alternate names to verify the subject identity in the certificate presented by the client.
*/
subjectAltNames?: string[];
/**
* An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.
*/
verifyCertificateHash?: string[];
/**
* An optional list of base64-encoded SHA-256 hashes of the SPKIs of authorized client certificates.
*/
verifyCertificateSpki?: string[];
};
}[];
};
status?: {
/**
* Current service state of the resource.
*/
conditions?: {
/**
* Last time we probed the condition.
*/
lastProbeTime?: string;
/**
* Last time the condition transitioned from one status to another.
*/
lastTransitionTime?: string;
/**
* Human-readable message indicating details about last transition.
*/
message?: string;
/**
* Unique, one-word, CamelCase reason for the condition's last transition.
*/
reason?: string;
/**
* Status is the status of the condition.
*/
status?: string;
/**
* Type is the type of the condition.
*/
type?: string;
}[];
/**
* Resource Generation to which the Reconciled Condition refers.
*/
observedGeneration?: number | string;
/**
* Includes any errors or warnings detected by Istio's analyzers.
*/
validationMessages?: {
/**
* A url pointing to the Istio documentation for this specific error type.
*/
documentationUrl?: string;
/**
* Represents how severe a message is.
*
* Valid Options: UNKNOWN, ERROR, WARNING, INFO
*/
level?: "UNKNOWN" | "ERROR" | "WARNING" | "INFO";
type?: {
/**
* A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
*/
code?: string;
/**
* A human-readable name for the message type.
*/
name?: string;
};
}[];
};
}

View File

@@ -0,0 +1,412 @@
{
"description": "GitRepository is the Schema for the gitrepositories API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "GitRepositorySpec specifies the required configuration to produce an\nArtifact for a Git repository.",
"properties": {
"ignore": {
"description": "Ignore overrides the set of excluded patterns in the .sourceignore format\n(which is the same as .gitignore). If not provided, a default will be used,\nconsult the documentation for your version to find out what those are.",
"type": "string"
},
"include": {
"description": "Include specifies a list of GitRepository resources which Artifacts\nshould be included in the Artifact produced for this GitRepository.",
"items": {
"description": "GitRepositoryInclude specifies a local reference to a GitRepository which\nArtifact (sub-)contents must be included, and where they should be placed.",
"type": "object",
"required": [
"repository"
],
"properties": {
"fromPath": {
"description": "FromPath specifies the path to copy contents from, defaults to the root\nof the Artifact.",
"type": "string"
},
"repository": {
"description": "GitRepositoryRef specifies the GitRepository which Artifact contents\nmust be included.",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
}
},
"toPath": {
"description": "ToPath specifies the path to copy contents to, defaults to the name of\nthe GitRepositoryRef.",
"type": "string"
}
}
},
"type": "array"
},
"interval": {
"description": "Interval at which the GitRepository URL is checked for updates.\nThis interval is approximate and may be subject to jitter to ensure\nefficient use of resources.",
"pattern": "^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$",
"type": "string"
},
"provider": {
"description": "Provider used for authentication, can be 'azure', 'github', 'generic'.\nWhen not specified, defaults to 'generic'.",
"_enum": [
"generic",
"azure",
"github"
],
"type": "string"
},
"proxySecretRef": {
"description": "ProxySecretRef specifies the Secret containing the proxy configuration\nto use while communicating with the Git server.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"recurseSubmodules": {
"description": "RecurseSubmodules enables the initialization of all submodules within\nthe GitRepository as cloned from the URL, using their default settings.",
"type": "boolean"
},
"ref": {
"description": "Reference specifies the Git reference to resolve and monitor for\nchanges, defaults to the 'master' branch.",
"properties": {
"branch": {
"description": "Branch to check out, defaults to 'master' if no other field is defined.",
"type": "string"
},
"commit": {
"description": "Commit SHA to check out, takes precedence over all reference fields.\n\nThis can be combined with Branch to shallow clone the branch, in which\nthe commit is expected to exist.",
"type": "string"
},
"name": {
"description": "Name of the reference to check out; takes precedence over Branch, Tag and SemVer.\n\nIt must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description\nExamples: \"refs/heads/main\", \"refs/tags/v0.1.0\", \"refs/pull/420/head\", \"refs/merge-requests/1/head\"",
"type": "string"
},
"semver": {
"description": "SemVer tag expression to check out, takes precedence over Tag.",
"type": "string"
},
"tag": {
"description": "Tag to check out, takes precedence over Branch.",
"type": "string"
}
},
"type": "object"
},
"secretRef": {
"description": "SecretRef specifies the Secret containing authentication credentials for\nthe GitRepository.\nFor HTTPS repositories the Secret must contain 'username' and 'password'\nfields for basic auth or 'bearerToken' field for token auth.\nFor SSH repositories the Secret must contain 'identity'\nand 'known_hosts' fields.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"sparseCheckout": {
"description": "SparseCheckout specifies a list of directories to checkout when cloning\nthe repository. If specified, only these directories are included in the\nArtifact produced for this GitRepository.",
"items": {
"type": "string"
},
"type": "array"
},
"suspend": {
"description": "Suspend tells the controller to suspend the reconciliation of this\nGitRepository.",
"type": "boolean"
},
"timeout": {
"_default": "60s",
"description": "Timeout for Git operations like cloning, defaults to 60s.",
"pattern": "^([0-9]+(\\.[0-9]+)?(ms|s|m))+$",
"type": "string"
},
"url": {
"description": "URL specifies the Git repository URL, it can be an HTTP/S or SSH address.",
"pattern": "^(http|https|ssh)://.*$",
"type": "string"
},
"verify": {
"description": "Verification specifies the configuration to verify the Git commit\nsignature(s).",
"properties": {
"mode": {
"_default": "HEAD",
"description": "Mode specifies which Git object(s) should be verified.\n\nThe variants \"head\" and \"HEAD\" both imply the same thing, i.e. verify\nthe commit that the HEAD of the Git repository points to. The variant\n\"head\" solely exists to ensure backwards compatibility.",
"_enum": [
"head",
"HEAD",
"Tag",
"TagAndHEAD"
],
"type": "string"
},
"secretRef": {
"description": "SecretRef specifies the Secret containing the public keys of trusted Git\nauthors.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"secretRef"
],
"type": "object"
}
},
"required": [
"interval",
"url"
],
"type": "object"
},
"status": {
"_default": {
"observedGeneration": -1
},
"description": "GitRepositoryStatus records the observed state of a Git repository.",
"properties": {
"artifact": {
"description": "Artifact represents the last successful GitRepository reconciliation.",
"properties": {
"digest": {
"description": "Digest is the digest of the file in the form of '<algorithm>:<checksum>'.",
"pattern": "^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of the\nArtifact.",
"format": "date-time",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Metadata holds upstream information such as OCI annotations.",
"type": "object"
},
"path": {
"description": "Path is the relative file path of the Artifact. It can be used to locate\nthe file in the root of the Artifact storage on the local file system of\nthe controller managing the Source.",
"type": "string"
},
"revision": {
"description": "Revision is a human-readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm chart version, etc.",
"type": "string"
},
"size": {
"description": "Size is the number of bytes in the file.",
"format": "int64",
"type": "integer"
},
"url": {
"description": "URL is the HTTP address of the Artifact as exposed by the controller\nmanaging the Source. It can be used to retrieve the Artifact for\nconsumption, e.g. by another controller applying the Artifact contents.",
"type": "string"
}
},
"required": [
"lastUpdateTime",
"path",
"revision",
"url"
],
"type": "object"
},
"conditions": {
"description": "Conditions holds the conditions for the GitRepository.",
"items": {
"description": "Condition contains details for one aspect of the current state of this API Resource.",
"type": "object",
"required": [
"lastTransitionTime",
"message",
"reason",
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
"type": "string",
"maxLength": 32768
},
"observedGeneration": {
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"type": "integer",
"format": "int64",
"minimum": 0
},
"reason": {
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
"type": "string",
"maxLength": 1024,
"minLength": 1,
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"
},
"status": {
"description": "status of the condition, one of True, False, Unknown.",
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
"type": "string",
"maxLength": 316,
"pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}
}
},
"type": "array"
},
"includedArtifacts": {
"description": "IncludedArtifacts contains a list of the last successfully included\nArtifacts as instructed by GitRepositorySpec.Include.",
"items": {
"description": "Artifact represents the output of a Source reconciliation.",
"type": "object",
"required": [
"lastUpdateTime",
"path",
"revision",
"url"
],
"properties": {
"digest": {
"description": "Digest is the digest of the file in the form of '<algorithm>:<checksum>'.",
"type": "string",
"pattern": "^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of the\nArtifact.",
"type": "string",
"format": "date-time"
},
"metadata": {
"description": "Metadata holds upstream information such as OCI annotations.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"path": {
"description": "Path is the relative file path of the Artifact. It can be used to locate\nthe file in the root of the Artifact storage on the local file system of\nthe controller managing the Source.",
"type": "string"
},
"revision": {
"description": "Revision is a human-readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm chart version, etc.",
"type": "string"
},
"size": {
"description": "Size is the number of bytes in the file.",
"type": "integer",
"format": "int64"
},
"url": {
"description": "URL is the HTTP address of the Artifact as exposed by the controller\nmanaging the Source. It can be used to retrieve the Artifact for\nconsumption, e.g. by another controller applying the Artifact contents.",
"type": "string"
}
}
},
"type": "array"
},
"lastHandledReconcileAt": {
"description": "LastHandledReconcileAt holds the value of the most recent\nreconcile request value, so a change of the annotation value\ncan be detected.",
"type": "string"
},
"observedGeneration": {
"description": "ObservedGeneration is the last observed generation of the GitRepository\nobject.",
"format": "int64",
"type": "integer"
},
"observedIgnore": {
"description": "ObservedIgnore is the observed exclusion patterns used for constructing\nthe source artifact.",
"type": "string"
},
"observedInclude": {
"description": "ObservedInclude is the observed list of GitRepository resources used to\nproduce the current Artifact.",
"items": {
"description": "GitRepositoryInclude specifies a local reference to a GitRepository which\nArtifact (sub-)contents must be included, and where they should be placed.",
"type": "object",
"required": [
"repository"
],
"properties": {
"fromPath": {
"description": "FromPath specifies the path to copy contents from, defaults to the root\nof the Artifact.",
"type": "string"
},
"repository": {
"description": "GitRepositoryRef specifies the GitRepository which Artifact contents\nmust be included.",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
}
},
"toPath": {
"description": "ToPath specifies the path to copy contents to, defaults to the name of\nthe GitRepositoryRef.",
"type": "string"
}
}
},
"type": "array"
},
"observedRecurseSubmodules": {
"description": "ObservedRecurseSubmodules is the observed resource submodules\nconfiguration used to produce the current Artifact.",
"type": "boolean"
},
"observedSparseCheckout": {
"description": "ObservedSparseCheckout is the observed list of directories used to\nproduce the current Artifact.",
"items": {
"type": "string"
},
"type": "array"
},
"sourceVerificationMode": {
"description": "SourceVerificationMode is the last used verification mode indicating\nwhich Git object(s) have been verified.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,363 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* GitRepository is the Schema for the gitrepositories API.
*/
export interface K8SGitRepositoryV1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* GitRepositorySpec specifies the required configuration to produce an
* Artifact for a Git repository.
*/
spec?: {
/**
* Ignore overrides the set of excluded patterns in the .sourceignore format
* (which is the same as .gitignore). If not provided, a default will be used,
* consult the documentation for your version to find out what those are.
*/
ignore?: string;
/**
* Include specifies a list of GitRepository resources which Artifacts
* should be included in the Artifact produced for this GitRepository.
*/
include?: {
/**
* FromPath specifies the path to copy contents from, defaults to the root
* of the Artifact.
*/
fromPath?: string;
/**
* GitRepositoryRef specifies the GitRepository which Artifact contents
* must be included.
*/
repository: {
/**
* Name of the referent.
*/
name: string;
};
/**
* ToPath specifies the path to copy contents to, defaults to the name of
* the GitRepositoryRef.
*/
toPath?: string;
}[];
/**
* Interval at which the GitRepository URL is checked for updates.
* This interval is approximate and may be subject to jitter to ensure
* efficient use of resources.
*/
interval: string;
/**
* Provider used for authentication, can be 'azure', 'github', 'generic'.
* When not specified, defaults to 'generic'.
*/
provider?: string;
/**
* ProxySecretRef specifies the Secret containing the proxy configuration
* to use while communicating with the Git server.
*/
proxySecretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* RecurseSubmodules enables the initialization of all submodules within
* the GitRepository as cloned from the URL, using their default settings.
*/
recurseSubmodules?: boolean;
/**
* Reference specifies the Git reference to resolve and monitor for
* changes, defaults to the 'master' branch.
*/
ref?: {
/**
* Branch to check out, defaults to 'master' if no other field is defined.
*/
branch?: string;
/**
* Commit SHA to check out, takes precedence over all reference fields.
*
* This can be combined with Branch to shallow clone the branch, in which
* the commit is expected to exist.
*/
commit?: string;
/**
* Name of the reference to check out; takes precedence over Branch, Tag and SemVer.
*
* It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description
* Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head", "refs/merge-requests/1/head"
*/
name?: string;
/**
* SemVer tag expression to check out, takes precedence over Tag.
*/
semver?: string;
/**
* Tag to check out, takes precedence over Branch.
*/
tag?: string;
};
/**
* SecretRef specifies the Secret containing authentication credentials for
* the GitRepository.
* For HTTPS repositories the Secret must contain 'username' and 'password'
* fields for basic auth or 'bearerToken' field for token auth.
* For SSH repositories the Secret must contain 'identity'
* and 'known_hosts' fields.
*/
secretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* SparseCheckout specifies a list of directories to checkout when cloning
* the repository. If specified, only these directories are included in the
* Artifact produced for this GitRepository.
*/
sparseCheckout?: string[];
/**
* Suspend tells the controller to suspend the reconciliation of this
* GitRepository.
*/
suspend?: boolean;
/**
* Timeout for Git operations like cloning, defaults to 60s.
*/
timeout?: string;
/**
* URL specifies the Git repository URL, it can be an HTTP/S or SSH address.
*/
url: string;
/**
* Verification specifies the configuration to verify the Git commit
* signature(s).
*/
verify?: {
/**
* Mode specifies which Git object(s) should be verified.
*
* The variants "head" and "HEAD" both imply the same thing, i.e. verify
* the commit that the HEAD of the Git repository points to. The variant
* "head" solely exists to ensure backwards compatibility.
*/
mode?: string;
/**
* SecretRef specifies the Secret containing the public keys of trusted Git
* authors.
*/
secretRef: {
/**
* Name of the referent.
*/
name: string;
};
};
};
/**
* GitRepositoryStatus records the observed state of a Git repository.
*/
status?: {
/**
* Artifact represents the last successful GitRepository reconciliation.
*/
artifact?: {
/**
* Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
*/
digest?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of the
* Artifact.
*/
lastUpdateTime: string;
/**
* Metadata holds upstream information such as OCI annotations.
*/
metadata?: {
[k: string]: string;
};
/**
* Path is the relative file path of the Artifact. It can be used to locate
* the file in the root of the Artifact storage on the local file system of
* the controller managing the Source.
*/
path: string;
/**
* Revision is a human-readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
*/
revision: string;
/**
* Size is the number of bytes in the file.
*/
size?: number;
/**
* URL is the HTTP address of the Artifact as exposed by the controller
* managing the Source. It can be used to retrieve the Artifact for
* consumption, e.g. by another controller applying the Artifact contents.
*/
url: string;
};
/**
* Conditions holds the conditions for the GitRepository.
*/
conditions?: {
/**
* lastTransitionTime is the last time the condition transitioned from one status to another.
* This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
*/
lastTransitionTime: string;
/**
* message is a human readable message indicating details about the transition.
* This may be an empty string.
*/
message: string;
/**
* observedGeneration represents the .metadata.generation that the condition was set based upon.
* For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
* with respect to the current state of the instance.
*/
observedGeneration?: number;
/**
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
* Producers of specific condition types may define expected values and meanings for this field,
* and whether the values are considered a guaranteed API.
* The value should be a CamelCase string.
* This field may not be empty.
*/
reason: string;
/**
* status of the condition, one of True, False, Unknown.
*/
status: "True" | "False" | "Unknown";
/**
* type of condition in CamelCase or in foo.example.com/CamelCase.
*/
type: string;
}[];
/**
* IncludedArtifacts contains a list of the last successfully included
* Artifacts as instructed by GitRepositorySpec.Include.
*/
includedArtifacts?: {
/**
* Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
*/
digest?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of the
* Artifact.
*/
lastUpdateTime: string;
/**
* Metadata holds upstream information such as OCI annotations.
*/
metadata?: {
[k: string]: string;
};
/**
* Path is the relative file path of the Artifact. It can be used to locate
* the file in the root of the Artifact storage on the local file system of
* the controller managing the Source.
*/
path: string;
/**
* Revision is a human-readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
*/
revision: string;
/**
* Size is the number of bytes in the file.
*/
size?: number;
/**
* URL is the HTTP address of the Artifact as exposed by the controller
* managing the Source. It can be used to retrieve the Artifact for
* consumption, e.g. by another controller applying the Artifact contents.
*/
url: string;
}[];
/**
* LastHandledReconcileAt holds the value of the most recent
* reconcile request value, so a change of the annotation value
* can be detected.
*/
lastHandledReconcileAt?: string;
/**
* ObservedGeneration is the last observed generation of the GitRepository
* object.
*/
observedGeneration?: number;
/**
* ObservedIgnore is the observed exclusion patterns used for constructing
* the source artifact.
*/
observedIgnore?: string;
/**
* ObservedInclude is the observed list of GitRepository resources used to
* produce the current Artifact.
*/
observedInclude?: {
/**
* FromPath specifies the path to copy contents from, defaults to the root
* of the Artifact.
*/
fromPath?: string;
/**
* GitRepositoryRef specifies the GitRepository which Artifact contents
* must be included.
*/
repository: {
/**
* Name of the referent.
*/
name: string;
};
/**
* ToPath specifies the path to copy contents to, defaults to the name of
* the GitRepositoryRef.
*/
toPath?: string;
}[];
/**
* ObservedRecurseSubmodules is the observed resource submodules
* configuration used to produce the current Artifact.
*/
observedRecurseSubmodules?: boolean;
/**
* ObservedSparseCheckout is the observed list of directories used to
* produce the current Artifact.
*/
observedSparseCheckout?: string[];
/**
* SourceVerificationMode is the last used verification mode indicating
* which Git object(s) have been verified.
*/
sourceVerificationMode?: string;
};
}

View File

@@ -0,0 +1,331 @@
{
"description": "GitRepository is the Schema for the gitrepositories API",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "GitRepositorySpec defines the desired state of a Git repository.",
"properties": {
"accessFrom": {
"description": "AccessFrom defines an Access Control List for allowing cross-namespace references to this object.",
"properties": {
"namespaceSelectors": {
"description": "NamespaceSelectors is the list of namespace selectors to which this ACL applies.\nItems in this list are evaluated using a logical OR operation.",
"items": {
"description": "NamespaceSelector selects the namespaces to which this ACL applies.\nAn empty map of MatchLabels matches all namespaces in a cluster.",
"type": "object",
"properties": {
"matchLabels": {
"description": "MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"type": "array"
}
},
"required": [
"namespaceSelectors"
],
"type": "object"
},
"gitImplementation": {
"_default": "go-git",
"description": "Determines which git client library to use.\nDefaults to go-git, valid values are ('go-git', 'libgit2').",
"_enum": [
"go-git",
"libgit2"
],
"type": "string"
},
"ignore": {
"description": "Ignore overrides the set of excluded patterns in the .sourceignore format\n(which is the same as .gitignore). If not provided, a default will be used,\nconsult the documentation for your version to find out what those are.",
"type": "string"
},
"include": {
"description": "Extra git repositories to map into the repository",
"items": {
"description": "GitRepositoryInclude defines a source with a from and to path.",
"type": "object",
"required": [
"repository"
],
"properties": {
"fromPath": {
"description": "The path to copy contents from, defaults to the root directory.",
"type": "string"
},
"repository": {
"description": "Reference to a GitRepository to include.",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
}
},
"toPath": {
"description": "The path to copy contents to, defaults to the name of the source ref.",
"type": "string"
}
}
},
"type": "array"
},
"interval": {
"description": "The interval at which to check for repository updates.",
"type": "string"
},
"recurseSubmodules": {
"description": "When enabled, after the clone is created, initializes all submodules within,\nusing their default settings.\nThis option is available only when using the 'go-git' GitImplementation.",
"type": "boolean"
},
"ref": {
"description": "The Git reference to checkout and monitor for changes, defaults to\nmaster branch.",
"properties": {
"branch": {
"description": "The Git branch to checkout, defaults to master.",
"type": "string"
},
"commit": {
"description": "The Git commit SHA to checkout, if specified Tag filters will be ignored.",
"type": "string"
},
"semver": {
"description": "The Git tag semver expression, takes precedence over Tag.",
"type": "string"
},
"tag": {
"description": "The Git tag to checkout, takes precedence over Branch.",
"type": "string"
}
},
"type": "object"
},
"secretRef": {
"description": "The secret name containing the Git credentials.\nFor HTTPS repositories the secret must contain username and password\nfields.\nFor SSH repositories the secret must contain identity and known_hosts\nfields.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"suspend": {
"description": "This flag tells the controller to suspend the reconciliation of this source.",
"type": "boolean"
},
"timeout": {
"_default": "60s",
"description": "The timeout for remote Git operations like cloning, defaults to 60s.",
"type": "string"
},
"url": {
"description": "The repository URL, can be a HTTP/S or SSH address.",
"pattern": "^(http|https|ssh)://.*$",
"type": "string"
},
"verify": {
"description": "Verify OpenPGP signature for the Git commit HEAD points to.",
"properties": {
"mode": {
"description": "Mode describes what git object should be verified, currently ('head').",
"_enum": [
"head"
],
"type": "string"
},
"secretRef": {
"description": "The secret name containing the public keys of all trusted Git authors.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"mode"
],
"type": "object"
}
},
"required": [
"interval",
"url"
],
"type": "object"
},
"status": {
"_default": {
"observedGeneration": -1
},
"description": "GitRepositoryStatus defines the observed state of a Git repository.",
"properties": {
"artifact": {
"description": "Artifact represents the output of the last successful repository sync.",
"properties": {
"checksum": {
"description": "Checksum is the SHA256 checksum of the artifact.",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of this\nartifact.",
"format": "date-time",
"type": "string"
},
"path": {
"description": "Path is the relative file path of this artifact.",
"type": "string"
},
"revision": {
"description": "Revision is a human readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm\nchart version, etc.",
"type": "string"
},
"url": {
"description": "URL is the HTTP address of this artifact.",
"type": "string"
}
},
"required": [
"lastUpdateTime",
"path",
"url"
],
"type": "object"
},
"conditions": {
"description": "Conditions holds the conditions for the GitRepository.",
"items": {
"description": "Condition contains details for one aspect of the current state of this API Resource.",
"type": "object",
"required": [
"lastTransitionTime",
"message",
"reason",
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
"type": "string",
"maxLength": 32768
},
"observedGeneration": {
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"type": "integer",
"format": "int64",
"minimum": 0
},
"reason": {
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
"type": "string",
"maxLength": 1024,
"minLength": 1,
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"
},
"status": {
"description": "status of the condition, one of True, False, Unknown.",
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
"type": "string",
"maxLength": 316,
"pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}
}
},
"type": "array"
},
"includedArtifacts": {
"description": "IncludedArtifacts represents the included artifacts from the last successful repository sync.",
"items": {
"description": "Artifact represents the output of a source synchronisation.",
"type": "object",
"required": [
"lastUpdateTime",
"path",
"url"
],
"properties": {
"checksum": {
"description": "Checksum is the SHA256 checksum of the artifact.",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of this\nartifact.",
"type": "string",
"format": "date-time"
},
"path": {
"description": "Path is the relative file path of this artifact.",
"type": "string"
},
"revision": {
"description": "Revision is a human readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm\nchart version, etc.",
"type": "string"
},
"url": {
"description": "URL is the HTTP address of this artifact.",
"type": "string"
}
}
},
"type": "array"
},
"lastHandledReconcileAt": {
"description": "LastHandledReconcileAt holds the value of the most recent\nreconcile request value, so a change of the annotation value\ncan be detected.",
"type": "string"
},
"observedGeneration": {
"description": "ObservedGeneration is the last observed generation.",
"format": "int64",
"type": "integer"
},
"url": {
"description": "URL is the download link for the artifact output of the last repository\nsync.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,273 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* GitRepository is the Schema for the gitrepositories API
*/
export interface K8SGitRepositoryV1Beta1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* GitRepositorySpec defines the desired state of a Git repository.
*/
spec?: {
/**
* AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
*/
accessFrom?: {
/**
* NamespaceSelectors is the list of namespace selectors to which this ACL applies.
* Items in this list are evaluated using a logical OR operation.
*/
namespaceSelectors: {
/**
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
* map is equivalent to an element of matchExpressions, whose key field is "key", the
* operator is "In", and the values array contains only "value". The requirements are ANDed.
*/
matchLabels?: {
[k: string]: string;
};
}[];
};
/**
* Determines which git client library to use.
* Defaults to go-git, valid values are ('go-git', 'libgit2').
*/
gitImplementation?: string;
/**
* Ignore overrides the set of excluded patterns in the .sourceignore format
* (which is the same as .gitignore). If not provided, a default will be used,
* consult the documentation for your version to find out what those are.
*/
ignore?: string;
/**
* Extra git repositories to map into the repository
*/
include?: {
/**
* The path to copy contents from, defaults to the root directory.
*/
fromPath?: string;
/**
* Reference to a GitRepository to include.
*/
repository: {
/**
* Name of the referent.
*/
name: string;
};
/**
* The path to copy contents to, defaults to the name of the source ref.
*/
toPath?: string;
}[];
/**
* The interval at which to check for repository updates.
*/
interval: string;
/**
* When enabled, after the clone is created, initializes all submodules within,
* using their default settings.
* This option is available only when using the 'go-git' GitImplementation.
*/
recurseSubmodules?: boolean;
/**
* The Git reference to checkout and monitor for changes, defaults to
* master branch.
*/
ref?: {
/**
* The Git branch to checkout, defaults to master.
*/
branch?: string;
/**
* The Git commit SHA to checkout, if specified Tag filters will be ignored.
*/
commit?: string;
/**
* The Git tag semver expression, takes precedence over Tag.
*/
semver?: string;
/**
* The Git tag to checkout, takes precedence over Branch.
*/
tag?: string;
};
/**
* The secret name containing the Git credentials.
* For HTTPS repositories the secret must contain username and password
* fields.
* For SSH repositories the secret must contain identity and known_hosts
* fields.
*/
secretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* This flag tells the controller to suspend the reconciliation of this source.
*/
suspend?: boolean;
/**
* The timeout for remote Git operations like cloning, defaults to 60s.
*/
timeout?: string;
/**
* The repository URL, can be a HTTP/S or SSH address.
*/
url: string;
/**
* Verify OpenPGP signature for the Git commit HEAD points to.
*/
verify?: {
/**
* Mode describes what git object should be verified, currently ('head').
*/
mode: string;
/**
* The secret name containing the public keys of all trusted Git authors.
*/
secretRef?: {
/**
* Name of the referent.
*/
name: string;
};
};
};
/**
* GitRepositoryStatus defines the observed state of a Git repository.
*/
status?: {
/**
* Artifact represents the output of the last successful repository sync.
*/
artifact?: {
/**
* Checksum is the SHA256 checksum of the artifact.
*/
checksum?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of this
* artifact.
*/
lastUpdateTime: string;
/**
* Path is the relative file path of this artifact.
*/
path: string;
/**
* Revision is a human readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
* chart version, etc.
*/
revision?: string;
/**
* URL is the HTTP address of this artifact.
*/
url: string;
};
/**
* Conditions holds the conditions for the GitRepository.
*/
conditions?: {
/**
* lastTransitionTime is the last time the condition transitioned from one status to another.
* This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
*/
lastTransitionTime: string;
/**
* message is a human readable message indicating details about the transition.
* This may be an empty string.
*/
message: string;
/**
* observedGeneration represents the .metadata.generation that the condition was set based upon.
* For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
* with respect to the current state of the instance.
*/
observedGeneration?: number;
/**
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
* Producers of specific condition types may define expected values and meanings for this field,
* and whether the values are considered a guaranteed API.
* The value should be a CamelCase string.
* This field may not be empty.
*/
reason: string;
/**
* status of the condition, one of True, False, Unknown.
*/
status: "True" | "False" | "Unknown";
/**
* type of condition in CamelCase or in foo.example.com/CamelCase.
*/
type: string;
}[];
/**
* IncludedArtifacts represents the included artifacts from the last successful repository sync.
*/
includedArtifacts?: {
/**
* Checksum is the SHA256 checksum of the artifact.
*/
checksum?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of this
* artifact.
*/
lastUpdateTime: string;
/**
* Path is the relative file path of this artifact.
*/
path: string;
/**
* Revision is a human readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
* chart version, etc.
*/
revision?: string;
/**
* URL is the HTTP address of this artifact.
*/
url: string;
}[];
/**
* LastHandledReconcileAt holds the value of the most recent
* reconcile request value, so a change of the annotation value
* can be detected.
*/
lastHandledReconcileAt?: string;
/**
* ObservedGeneration is the last observed generation.
*/
observedGeneration?: number;
/**
* URL is the download link for the artifact output of the last repository
* sync.
*/
url?: string;
};
}

View File

@@ -0,0 +1,412 @@
{
"description": "GitRepository is the Schema for the gitrepositories API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "GitRepositorySpec specifies the required configuration to produce an\nArtifact for a Git repository.",
"properties": {
"accessFrom": {
"description": "AccessFrom specifies an Access Control List for allowing cross-namespace\nreferences to this object.\nNOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092",
"properties": {
"namespaceSelectors": {
"description": "NamespaceSelectors is the list of namespace selectors to which this ACL applies.\nItems in this list are evaluated using a logical OR operation.",
"items": {
"description": "NamespaceSelector selects the namespaces to which this ACL applies.\nAn empty map of MatchLabels matches all namespaces in a cluster.",
"type": "object",
"properties": {
"matchLabels": {
"description": "MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"type": "array"
}
},
"required": [
"namespaceSelectors"
],
"type": "object"
},
"gitImplementation": {
"_default": "go-git",
"description": "GitImplementation specifies which Git client library implementation to\nuse. Defaults to 'go-git', valid values are ('go-git', 'libgit2').\nDeprecated: gitImplementation is deprecated now that 'go-git' is the\nonly supported implementation.",
"_enum": [
"go-git",
"libgit2"
],
"type": "string"
},
"ignore": {
"description": "Ignore overrides the set of excluded patterns in the .sourceignore format\n(which is the same as .gitignore). If not provided, a default will be used,\nconsult the documentation for your version to find out what those are.",
"type": "string"
},
"include": {
"description": "Include specifies a list of GitRepository resources which Artifacts\nshould be included in the Artifact produced for this GitRepository.",
"items": {
"description": "GitRepositoryInclude specifies a local reference to a GitRepository which\nArtifact (sub-)contents must be included, and where they should be placed.",
"type": "object",
"required": [
"repository"
],
"properties": {
"fromPath": {
"description": "FromPath specifies the path to copy contents from, defaults to the root\nof the Artifact.",
"type": "string"
},
"repository": {
"description": "GitRepositoryRef specifies the GitRepository which Artifact contents\nmust be included.",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
}
},
"toPath": {
"description": "ToPath specifies the path to copy contents to, defaults to the name of\nthe GitRepositoryRef.",
"type": "string"
}
}
},
"type": "array"
},
"interval": {
"description": "Interval at which to check the GitRepository for updates.",
"pattern": "^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$",
"type": "string"
},
"recurseSubmodules": {
"description": "RecurseSubmodules enables the initialization of all submodules within\nthe GitRepository as cloned from the URL, using their default settings.",
"type": "boolean"
},
"ref": {
"description": "Reference specifies the Git reference to resolve and monitor for\nchanges, defaults to the 'master' branch.",
"properties": {
"branch": {
"description": "Branch to check out, defaults to 'master' if no other field is defined.",
"type": "string"
},
"commit": {
"description": "Commit SHA to check out, takes precedence over all reference fields.\n\nThis can be combined with Branch to shallow clone the branch, in which\nthe commit is expected to exist.",
"type": "string"
},
"name": {
"description": "Name of the reference to check out; takes precedence over Branch, Tag and SemVer.\n\nIt must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description\nExamples: \"refs/heads/main\", \"refs/tags/v0.1.0\", \"refs/pull/420/head\", \"refs/merge-requests/1/head\"",
"type": "string"
},
"semver": {
"description": "SemVer tag expression to check out, takes precedence over Tag.",
"type": "string"
},
"tag": {
"description": "Tag to check out, takes precedence over Branch.",
"type": "string"
}
},
"type": "object"
},
"secretRef": {
"description": "SecretRef specifies the Secret containing authentication credentials for\nthe GitRepository.\nFor HTTPS repositories the Secret must contain 'username' and 'password'\nfields for basic auth or 'bearerToken' field for token auth.\nFor SSH repositories the Secret must contain 'identity'\nand 'known_hosts' fields.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"suspend": {
"description": "Suspend tells the controller to suspend the reconciliation of this\nGitRepository.",
"type": "boolean"
},
"timeout": {
"_default": "60s",
"description": "Timeout for Git operations like cloning, defaults to 60s.",
"pattern": "^([0-9]+(\\.[0-9]+)?(ms|s|m))+$",
"type": "string"
},
"url": {
"description": "URL specifies the Git repository URL, it can be an HTTP/S or SSH address.",
"pattern": "^(http|https|ssh)://.*$",
"type": "string"
},
"verify": {
"description": "Verification specifies the configuration to verify the Git commit\nsignature(s).",
"properties": {
"mode": {
"description": "Mode specifies what Git object should be verified, currently ('head').",
"_enum": [
"head"
],
"type": "string"
},
"secretRef": {
"description": "SecretRef specifies the Secret containing the public keys of trusted Git\nauthors.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"mode",
"secretRef"
],
"type": "object"
}
},
"required": [
"interval",
"url"
],
"type": "object"
},
"status": {
"_default": {
"observedGeneration": -1
},
"description": "GitRepositoryStatus records the observed state of a Git repository.",
"properties": {
"artifact": {
"description": "Artifact represents the last successful GitRepository reconciliation.",
"properties": {
"digest": {
"description": "Digest is the digest of the file in the form of '<algorithm>:<checksum>'.",
"pattern": "^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of the\nArtifact.",
"format": "date-time",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Metadata holds upstream information such as OCI annotations.",
"type": "object"
},
"path": {
"description": "Path is the relative file path of the Artifact. It can be used to locate\nthe file in the root of the Artifact storage on the local file system of\nthe controller managing the Source.",
"type": "string"
},
"revision": {
"description": "Revision is a human-readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm chart version, etc.",
"type": "string"
},
"size": {
"description": "Size is the number of bytes in the file.",
"format": "int64",
"type": "integer"
},
"url": {
"description": "URL is the HTTP address of the Artifact as exposed by the controller\nmanaging the Source. It can be used to retrieve the Artifact for\nconsumption, e.g. by another controller applying the Artifact contents.",
"type": "string"
}
},
"required": [
"lastUpdateTime",
"path",
"revision",
"url"
],
"type": "object"
},
"conditions": {
"description": "Conditions holds the conditions for the GitRepository.",
"items": {
"description": "Condition contains details for one aspect of the current state of this API Resource.",
"type": "object",
"required": [
"lastTransitionTime",
"message",
"reason",
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
"type": "string",
"maxLength": 32768
},
"observedGeneration": {
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"type": "integer",
"format": "int64",
"minimum": 0
},
"reason": {
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
"type": "string",
"maxLength": 1024,
"minLength": 1,
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"
},
"status": {
"description": "status of the condition, one of True, False, Unknown.",
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
"type": "string",
"maxLength": 316,
"pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}
}
},
"type": "array"
},
"contentConfigChecksum": {
"description": "ContentConfigChecksum is a checksum of all the configurations related to\nthe content of the source artifact:\n - .spec.ignore\n - .spec.recurseSubmodules\n - .spec.included and the checksum of the included artifacts\nobserved in .status.observedGeneration version of the object. This can\nbe used to determine if the content of the included repository has\nchanged.\nIt has the format of `<algo>:<checksum>`, for example: `sha256:<checksum>`.\n\nDeprecated: Replaced with explicit fields for observed artifact content\nconfig in the status.",
"type": "string"
},
"includedArtifacts": {
"description": "IncludedArtifacts contains a list of the last successfully included\nArtifacts as instructed by GitRepositorySpec.Include.",
"items": {
"description": "Artifact represents the output of a Source reconciliation.",
"type": "object",
"required": [
"lastUpdateTime",
"path",
"revision",
"url"
],
"properties": {
"digest": {
"description": "Digest is the digest of the file in the form of '<algorithm>:<checksum>'.",
"type": "string",
"pattern": "^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of the\nArtifact.",
"type": "string",
"format": "date-time"
},
"metadata": {
"description": "Metadata holds upstream information such as OCI annotations.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"path": {
"description": "Path is the relative file path of the Artifact. It can be used to locate\nthe file in the root of the Artifact storage on the local file system of\nthe controller managing the Source.",
"type": "string"
},
"revision": {
"description": "Revision is a human-readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm chart version, etc.",
"type": "string"
},
"size": {
"description": "Size is the number of bytes in the file.",
"type": "integer",
"format": "int64"
},
"url": {
"description": "URL is the HTTP address of the Artifact as exposed by the controller\nmanaging the Source. It can be used to retrieve the Artifact for\nconsumption, e.g. by another controller applying the Artifact contents.",
"type": "string"
}
}
},
"type": "array"
},
"lastHandledReconcileAt": {
"description": "LastHandledReconcileAt holds the value of the most recent\nreconcile request value, so a change of the annotation value\ncan be detected.",
"type": "string"
},
"observedGeneration": {
"description": "ObservedGeneration is the last observed generation of the GitRepository\nobject.",
"format": "int64",
"type": "integer"
},
"observedIgnore": {
"description": "ObservedIgnore is the observed exclusion patterns used for constructing\nthe source artifact.",
"type": "string"
},
"observedInclude": {
"description": "ObservedInclude is the observed list of GitRepository resources used to\nto produce the current Artifact.",
"items": {
"description": "GitRepositoryInclude specifies a local reference to a GitRepository which\nArtifact (sub-)contents must be included, and where they should be placed.",
"type": "object",
"required": [
"repository"
],
"properties": {
"fromPath": {
"description": "FromPath specifies the path to copy contents from, defaults to the root\nof the Artifact.",
"type": "string"
},
"repository": {
"description": "GitRepositoryRef specifies the GitRepository which Artifact contents\nmust be included.",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
}
},
"toPath": {
"description": "ToPath specifies the path to copy contents to, defaults to the name of\nthe GitRepositoryRef.",
"type": "string"
}
}
},
"type": "array"
},
"observedRecurseSubmodules": {
"description": "ObservedRecurseSubmodules is the observed resource submodules\nconfiguration used to produce the current Artifact.",
"type": "boolean"
},
"url": {
"description": "URL is the dynamic fetch link for the latest Artifact.\nIt is provided on a \"best effort\" basis, and using the precise\nGitRepositoryStatus.Artifact data is recommended.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,375 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* GitRepository is the Schema for the gitrepositories API.
*/
export interface K8SGitRepositoryV1Beta2 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* GitRepositorySpec specifies the required configuration to produce an
* Artifact for a Git repository.
*/
spec?: {
/**
* AccessFrom specifies an Access Control List for allowing cross-namespace
* references to this object.
* NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
*/
accessFrom?: {
/**
* NamespaceSelectors is the list of namespace selectors to which this ACL applies.
* Items in this list are evaluated using a logical OR operation.
*/
namespaceSelectors: {
/**
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
* map is equivalent to an element of matchExpressions, whose key field is "key", the
* operator is "In", and the values array contains only "value". The requirements are ANDed.
*/
matchLabels?: {
[k: string]: string;
};
}[];
};
/**
* GitImplementation specifies which Git client library implementation to
* use. Defaults to 'go-git', valid values are ('go-git', 'libgit2').
* Deprecated: gitImplementation is deprecated now that 'go-git' is the
* only supported implementation.
*/
gitImplementation?: string;
/**
* Ignore overrides the set of excluded patterns in the .sourceignore format
* (which is the same as .gitignore). If not provided, a default will be used,
* consult the documentation for your version to find out what those are.
*/
ignore?: string;
/**
* Include specifies a list of GitRepository resources which Artifacts
* should be included in the Artifact produced for this GitRepository.
*/
include?: {
/**
* FromPath specifies the path to copy contents from, defaults to the root
* of the Artifact.
*/
fromPath?: string;
/**
* GitRepositoryRef specifies the GitRepository which Artifact contents
* must be included.
*/
repository: {
/**
* Name of the referent.
*/
name: string;
};
/**
* ToPath specifies the path to copy contents to, defaults to the name of
* the GitRepositoryRef.
*/
toPath?: string;
}[];
/**
* Interval at which to check the GitRepository for updates.
*/
interval: string;
/**
* RecurseSubmodules enables the initialization of all submodules within
* the GitRepository as cloned from the URL, using their default settings.
*/
recurseSubmodules?: boolean;
/**
* Reference specifies the Git reference to resolve and monitor for
* changes, defaults to the 'master' branch.
*/
ref?: {
/**
* Branch to check out, defaults to 'master' if no other field is defined.
*/
branch?: string;
/**
* Commit SHA to check out, takes precedence over all reference fields.
*
* This can be combined with Branch to shallow clone the branch, in which
* the commit is expected to exist.
*/
commit?: string;
/**
* Name of the reference to check out; takes precedence over Branch, Tag and SemVer.
*
* It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description
* Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head", "refs/merge-requests/1/head"
*/
name?: string;
/**
* SemVer tag expression to check out, takes precedence over Tag.
*/
semver?: string;
/**
* Tag to check out, takes precedence over Branch.
*/
tag?: string;
};
/**
* SecretRef specifies the Secret containing authentication credentials for
* the GitRepository.
* For HTTPS repositories the Secret must contain 'username' and 'password'
* fields for basic auth or 'bearerToken' field for token auth.
* For SSH repositories the Secret must contain 'identity'
* and 'known_hosts' fields.
*/
secretRef?: {
/**
* Name of the referent.
*/
name: string;
};
/**
* Suspend tells the controller to suspend the reconciliation of this
* GitRepository.
*/
suspend?: boolean;
/**
* Timeout for Git operations like cloning, defaults to 60s.
*/
timeout?: string;
/**
* URL specifies the Git repository URL, it can be an HTTP/S or SSH address.
*/
url: string;
/**
* Verification specifies the configuration to verify the Git commit
* signature(s).
*/
verify?: {
/**
* Mode specifies what Git object should be verified, currently ('head').
*/
mode: string;
/**
* SecretRef specifies the Secret containing the public keys of trusted Git
* authors.
*/
secretRef: {
/**
* Name of the referent.
*/
name: string;
};
};
};
/**
* GitRepositoryStatus records the observed state of a Git repository.
*/
status?: {
/**
* Artifact represents the last successful GitRepository reconciliation.
*/
artifact?: {
/**
* Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
*/
digest?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of the
* Artifact.
*/
lastUpdateTime: string;
/**
* Metadata holds upstream information such as OCI annotations.
*/
metadata?: {
[k: string]: string;
};
/**
* Path is the relative file path of the Artifact. It can be used to locate
* the file in the root of the Artifact storage on the local file system of
* the controller managing the Source.
*/
path: string;
/**
* Revision is a human-readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
*/
revision: string;
/**
* Size is the number of bytes in the file.
*/
size?: number;
/**
* URL is the HTTP address of the Artifact as exposed by the controller
* managing the Source. It can be used to retrieve the Artifact for
* consumption, e.g. by another controller applying the Artifact contents.
*/
url: string;
};
/**
* Conditions holds the conditions for the GitRepository.
*/
conditions?: {
/**
* lastTransitionTime is the last time the condition transitioned from one status to another.
* This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
*/
lastTransitionTime: string;
/**
* message is a human readable message indicating details about the transition.
* This may be an empty string.
*/
message: string;
/**
* observedGeneration represents the .metadata.generation that the condition was set based upon.
* For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
* with respect to the current state of the instance.
*/
observedGeneration?: number;
/**
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
* Producers of specific condition types may define expected values and meanings for this field,
* and whether the values are considered a guaranteed API.
* The value should be a CamelCase string.
* This field may not be empty.
*/
reason: string;
/**
* status of the condition, one of True, False, Unknown.
*/
status: "True" | "False" | "Unknown";
/**
* type of condition in CamelCase or in foo.example.com/CamelCase.
*/
type: string;
}[];
/**
* ContentConfigChecksum is a checksum of all the configurations related to
* the content of the source artifact:
* - .spec.ignore
* - .spec.recurseSubmodules
* - .spec.included and the checksum of the included artifacts
* observed in .status.observedGeneration version of the object. This can
* be used to determine if the content of the included repository has
* changed.
* It has the format of `<algo>:<checksum>`, for example: `sha256:<checksum>`.
*
* Deprecated: Replaced with explicit fields for observed artifact content
* config in the status.
*/
contentConfigChecksum?: string;
/**
* IncludedArtifacts contains a list of the last successfully included
* Artifacts as instructed by GitRepositorySpec.Include.
*/
includedArtifacts?: {
/**
* Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
*/
digest?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of the
* Artifact.
*/
lastUpdateTime: string;
/**
* Metadata holds upstream information such as OCI annotations.
*/
metadata?: {
[k: string]: string;
};
/**
* Path is the relative file path of the Artifact. It can be used to locate
* the file in the root of the Artifact storage on the local file system of
* the controller managing the Source.
*/
path: string;
/**
* Revision is a human-readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
*/
revision: string;
/**
* Size is the number of bytes in the file.
*/
size?: number;
/**
* URL is the HTTP address of the Artifact as exposed by the controller
* managing the Source. It can be used to retrieve the Artifact for
* consumption, e.g. by another controller applying the Artifact contents.
*/
url: string;
}[];
/**
* LastHandledReconcileAt holds the value of the most recent
* reconcile request value, so a change of the annotation value
* can be detected.
*/
lastHandledReconcileAt?: string;
/**
* ObservedGeneration is the last observed generation of the GitRepository
* object.
*/
observedGeneration?: number;
/**
* ObservedIgnore is the observed exclusion patterns used for constructing
* the source artifact.
*/
observedIgnore?: string;
/**
* ObservedInclude is the observed list of GitRepository resources used to
* to produce the current Artifact.
*/
observedInclude?: {
/**
* FromPath specifies the path to copy contents from, defaults to the root
* of the Artifact.
*/
fromPath?: string;
/**
* GitRepositoryRef specifies the GitRepository which Artifact contents
* must be included.
*/
repository: {
/**
* Name of the referent.
*/
name: string;
};
/**
* ToPath specifies the path to copy contents to, defaults to the name of
* the GitRepositoryRef.
*/
toPath?: string;
}[];
/**
* ObservedRecurseSubmodules is the observed resource submodules
* configuration used to produce the current Artifact.
*/
observedRecurseSubmodules?: boolean;
/**
* URL is the dynamic fetch link for the latest Artifact.
* It is provided on a "best effort" basis, and using the precise
* GitRepositoryStatus.Artifact data is recommended.
*/
url?: string;
};
}

View File

@@ -0,0 +1,61 @@
{
"description": "HelmChartConfig represents additional configuration for the installation of Helm chart release.\nThis resource is intended for use when additional configuration needs to be passed to a HelmChart\nthat is managed by an external system.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "HelmChartConfigSpec represents additional user-configurable details of an installed and configured Helm chart release.\nThese fields are merged with or override the corresponding fields on the related HelmChart resource.",
"properties": {
"failurePolicy": {
"_default": "reinstall",
"description": "Configures handling of failed chart installation or upgrades.\n- `reinstall` will perform a clean uninstall and reinstall of the chart.\n- `abort` will take no action and leave the chart in a failed state so that the administrator can manually resolve the error.",
"_enum": [
"abort",
"reinstall"
],
"type": "string"
},
"valuesContent": {
"description": "Override complex Chart values via inline YAML content.\nHelm CLI positional argument/flag: `--values`",
"type": "string"
},
"valuesSecrets": {
"description": "Override complex Chart values via references to external Secrets.\nHelm CLI positional argument/flag: `--values`",
"items": {
"description": "SecretSpec describes a key in a secret to load chart values from.",
"type": "object",
"properties": {
"ignoreUpdates": {
"description": "Ignore changes to the secret, and mark the secret as optional.\nBy default, the secret must exist, and changes to the secret will trigger an upgrade of the chart to apply the updated values.\nIf `ignoreUpdates` is true, the secret is optional, and changes to the secret will not trigger an upgrade of the chart.",
"type": "boolean"
},
"keys": {
"description": "Keys to read values content from. If no keys are specified, the secret is not used.",
"type": "array",
"items": {
"type": "string"
}
},
"name": {
"description": "Name of the secret. Must be in the same namespace as the HelmChart resource.",
"type": "string"
}
}
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,67 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* HelmChartConfig represents additional configuration for the installation of Helm chart release.
* This resource is intended for use when additional configuration needs to be passed to a HelmChart
* that is managed by an external system.
*/
export interface K8SHelmChartConfigV1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* HelmChartConfigSpec represents additional user-configurable details of an installed and configured Helm chart release.
* These fields are merged with or override the corresponding fields on the related HelmChart resource.
*/
spec?: {
/**
* Configures handling of failed chart installation or upgrades.
* - `reinstall` will perform a clean uninstall and reinstall of the chart.
* - `abort` will take no action and leave the chart in a failed state so that the administrator can manually resolve the error.
*/
failurePolicy?: string;
/**
* Override complex Chart values via inline YAML content.
* Helm CLI positional argument/flag: `--values`
*/
valuesContent?: string;
/**
* Override complex Chart values via references to external Secrets.
* Helm CLI positional argument/flag: `--values`
*/
valuesSecrets?: {
/**
* Ignore changes to the secret, and mark the secret as optional.
* By default, the secret must exist, and changes to the secret will trigger an upgrade of the chart to apply the updated values.
* If `ignoreUpdates` is true, the secret is optional, and changes to the secret will not trigger an upgrade of the chart.
*/
ignoreUpdates?: boolean;
/**
* Keys to read values content from. If no keys are specified, the secret is not used.
*/
keys?: string[];
/**
* Name of the secret. Must be in the same namespace as the HelmChart resource.
*/
name?: string;
}[];
};
}

View File

@@ -0,0 +1,284 @@
{
"description": "HelmChart is the Schema for the helmcharts API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "HelmChartSpec specifies the desired state of a Helm chart.",
"properties": {
"chart": {
"description": "Chart is the name or path the Helm chart is available at in the\nSourceRef.",
"type": "string"
},
"ignoreMissingValuesFiles": {
"description": "IgnoreMissingValuesFiles controls whether to silently ignore missing values\nfiles rather than failing.",
"type": "boolean"
},
"interval": {
"description": "Interval at which the HelmChart SourceRef is checked for updates.\nThis interval is approximate and may be subject to jitter to ensure\nefficient use of resources.",
"pattern": "^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$",
"type": "string"
},
"reconcileStrategy": {
"_default": "ChartVersion",
"description": "ReconcileStrategy determines what enables the creation of a new artifact.\nValid values are ('ChartVersion', 'Revision').\nSee the documentation of the values for an explanation on their behavior.\nDefaults to ChartVersion when omitted.",
"_enum": [
"ChartVersion",
"Revision"
],
"type": "string"
},
"sourceRef": {
"description": "SourceRef is the reference to the Source the chart is available at.",
"properties": {
"apiVersion": {
"description": "APIVersion of the referent.",
"type": "string"
},
"kind": {
"description": "Kind of the referent, valid values are ('HelmRepository', 'GitRepository',\n'Bucket').",
"_enum": [
"HelmRepository",
"GitRepository",
"Bucket"
],
"type": "string"
},
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"kind",
"name"
],
"type": "object"
},
"suspend": {
"description": "Suspend tells the controller to suspend the reconciliation of this\nsource.",
"type": "boolean"
},
"valuesFiles": {
"description": "ValuesFiles is an alternative list of values files to use as the chart\nvalues (values.yaml is not included by default), expected to be a\nrelative path in the SourceRef.\nValues files are merged in the order of this list with the last file\noverriding the first. Ignored when omitted.",
"items": {
"type": "string"
},
"type": "array"
},
"verify": {
"description": "Verify contains the secret name containing the trusted public keys\nused to verify the signature and specifies which provider to use to check\nwhether OCI image is authentic.\nThis field is only supported when using HelmRepository source with spec.type 'oci'.\nChart dependencies, which are not bundled in the umbrella chart artifact, are not verified.",
"properties": {
"matchOIDCIdentity": {
"description": "MatchOIDCIdentity specifies the identity matching criteria to use\nwhile verifying an OCI artifact which was signed using Cosign keyless\nsigning. The artifact's identity is deemed to be verified if any of the\nspecified matchers match against the identity.",
"items": {
"description": "OIDCIdentityMatch specifies options for verifying the certificate identity,\ni.e. the issuer and the subject of the certificate.",
"type": "object",
"required": [
"issuer",
"subject"
],
"properties": {
"issuer": {
"description": "Issuer specifies the regex pattern to match against to verify\nthe OIDC issuer in the Fulcio certificate. The pattern must be a\nvalid Go regular expression.",
"type": "string"
},
"subject": {
"description": "Subject specifies the regex pattern to match against to verify\nthe identity subject in the Fulcio certificate. The pattern must\nbe a valid Go regular expression.",
"type": "string"
}
}
},
"type": "array"
},
"provider": {
"_default": "cosign",
"description": "Provider specifies the technology used to sign the OCI Artifact.",
"_enum": [
"cosign",
"notation"
],
"type": "string"
},
"secretRef": {
"description": "SecretRef specifies the Kubernetes Secret containing the\ntrusted public keys.",
"properties": {
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"provider"
],
"type": "object"
},
"version": {
"_default": "*",
"description": "Version is the chart version semver expression, ignored for charts from\nGitRepository and Bucket sources. Defaults to latest when omitted.",
"type": "string"
}
},
"required": [
"chart",
"interval",
"sourceRef"
],
"type": "object"
},
"status": {
"_default": {
"observedGeneration": -1
},
"description": "HelmChartStatus records the observed state of the HelmChart.",
"properties": {
"artifact": {
"description": "Artifact represents the output of the last successful reconciliation.",
"properties": {
"digest": {
"description": "Digest is the digest of the file in the form of '<algorithm>:<checksum>'.",
"pattern": "^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of the\nArtifact.",
"format": "date-time",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Metadata holds upstream information such as OCI annotations.",
"type": "object"
},
"path": {
"description": "Path is the relative file path of the Artifact. It can be used to locate\nthe file in the root of the Artifact storage on the local file system of\nthe controller managing the Source.",
"type": "string"
},
"revision": {
"description": "Revision is a human-readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm chart version, etc.",
"type": "string"
},
"size": {
"description": "Size is the number of bytes in the file.",
"format": "int64",
"type": "integer"
},
"url": {
"description": "URL is the HTTP address of the Artifact as exposed by the controller\nmanaging the Source. It can be used to retrieve the Artifact for\nconsumption, e.g. by another controller applying the Artifact contents.",
"type": "string"
}
},
"required": [
"lastUpdateTime",
"path",
"revision",
"url"
],
"type": "object"
},
"conditions": {
"description": "Conditions holds the conditions for the HelmChart.",
"items": {
"description": "Condition contains details for one aspect of the current state of this API Resource.",
"type": "object",
"required": [
"lastTransitionTime",
"message",
"reason",
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
"type": "string",
"maxLength": 32768
},
"observedGeneration": {
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"type": "integer",
"format": "int64",
"minimum": 0
},
"reason": {
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
"type": "string",
"maxLength": 1024,
"minLength": 1,
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"
},
"status": {
"description": "status of the condition, one of True, False, Unknown.",
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
"type": "string",
"maxLength": 316,
"pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}
}
},
"type": "array"
},
"lastHandledReconcileAt": {
"description": "LastHandledReconcileAt holds the value of the most recent\nreconcile request value, so a change of the annotation value\ncan be detected.",
"type": "string"
},
"observedChartName": {
"description": "ObservedChartName is the last observed chart name as specified by the\nresolved chart reference.",
"type": "string"
},
"observedGeneration": {
"description": "ObservedGeneration is the last observed generation of the HelmChart\nobject.",
"format": "int64",
"type": "integer"
},
"observedSourceArtifactRevision": {
"description": "ObservedSourceArtifactRevision is the last observed Artifact.Revision\nof the HelmChartSpec.SourceRef.",
"type": "string"
},
"observedValuesFiles": {
"description": "ObservedValuesFiles are the observed value files of the last successful\nreconciliation.\nIt matches the chart in the last successfully reconciled artifact.",
"items": {
"type": "string"
},
"type": "array"
},
"url": {
"description": "URL is the dynamic fetch link for the latest Artifact.\nIt is provided on a \"best effort\" basis, and using the precise\nBucketStatus.Artifact data is recommended.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,251 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* HelmChart is the Schema for the helmcharts API.
*/
export interface K8SHelmChartV1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* HelmChartSpec specifies the desired state of a Helm chart.
*/
spec?: {
/**
* Chart is the name or path the Helm chart is available at in the
* SourceRef.
*/
chart: string;
/**
* IgnoreMissingValuesFiles controls whether to silently ignore missing values
* files rather than failing.
*/
ignoreMissingValuesFiles?: boolean;
/**
* Interval at which the HelmChart SourceRef is checked for updates.
* This interval is approximate and may be subject to jitter to ensure
* efficient use of resources.
*/
interval: string;
/**
* ReconcileStrategy determines what enables the creation of a new artifact.
* Valid values are ('ChartVersion', 'Revision').
* See the documentation of the values for an explanation on their behavior.
* Defaults to ChartVersion when omitted.
*/
reconcileStrategy?: string;
/**
* SourceRef is the reference to the Source the chart is available at.
*/
sourceRef: {
/**
* APIVersion of the referent.
*/
apiVersion?: string;
/**
* Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
* 'Bucket').
*/
kind: string;
/**
* Name of the referent.
*/
name: string;
};
/**
* Suspend tells the controller to suspend the reconciliation of this
* source.
*/
suspend?: boolean;
/**
* ValuesFiles is an alternative list of values files to use as the chart
* values (values.yaml is not included by default), expected to be a
* relative path in the SourceRef.
* Values files are merged in the order of this list with the last file
* overriding the first. Ignored when omitted.
*/
valuesFiles?: string[];
/**
* Verify contains the secret name containing the trusted public keys
* used to verify the signature and specifies which provider to use to check
* whether OCI image is authentic.
* This field is only supported when using HelmRepository source with spec.type 'oci'.
* Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
*/
verify?: {
/**
* MatchOIDCIdentity specifies the identity matching criteria to use
* while verifying an OCI artifact which was signed using Cosign keyless
* signing. The artifact's identity is deemed to be verified if any of the
* specified matchers match against the identity.
*/
matchOIDCIdentity?: {
/**
* Issuer specifies the regex pattern to match against to verify
* the OIDC issuer in the Fulcio certificate. The pattern must be a
* valid Go regular expression.
*/
issuer: string;
/**
* Subject specifies the regex pattern to match against to verify
* the identity subject in the Fulcio certificate. The pattern must
* be a valid Go regular expression.
*/
subject: string;
}[];
/**
* Provider specifies the technology used to sign the OCI Artifact.
*/
provider: string;
/**
* SecretRef specifies the Kubernetes Secret containing the
* trusted public keys.
*/
secretRef?: {
/**
* Name of the referent.
*/
name: string;
};
};
/**
* Version is the chart version semver expression, ignored for charts from
* GitRepository and Bucket sources. Defaults to latest when omitted.
*/
version?: string;
};
/**
* HelmChartStatus records the observed state of the HelmChart.
*/
status?: {
/**
* Artifact represents the output of the last successful reconciliation.
*/
artifact?: {
/**
* Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
*/
digest?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of the
* Artifact.
*/
lastUpdateTime: string;
/**
* Metadata holds upstream information such as OCI annotations.
*/
metadata?: {
[k: string]: string;
};
/**
* Path is the relative file path of the Artifact. It can be used to locate
* the file in the root of the Artifact storage on the local file system of
* the controller managing the Source.
*/
path: string;
/**
* Revision is a human-readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
*/
revision: string;
/**
* Size is the number of bytes in the file.
*/
size?: number;
/**
* URL is the HTTP address of the Artifact as exposed by the controller
* managing the Source. It can be used to retrieve the Artifact for
* consumption, e.g. by another controller applying the Artifact contents.
*/
url: string;
};
/**
* Conditions holds the conditions for the HelmChart.
*/
conditions?: {
/**
* lastTransitionTime is the last time the condition transitioned from one status to another.
* This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
*/
lastTransitionTime: string;
/**
* message is a human readable message indicating details about the transition.
* This may be an empty string.
*/
message: string;
/**
* observedGeneration represents the .metadata.generation that the condition was set based upon.
* For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
* with respect to the current state of the instance.
*/
observedGeneration?: number;
/**
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
* Producers of specific condition types may define expected values and meanings for this field,
* and whether the values are considered a guaranteed API.
* The value should be a CamelCase string.
* This field may not be empty.
*/
reason: string;
/**
* status of the condition, one of True, False, Unknown.
*/
status: "True" | "False" | "Unknown";
/**
* type of condition in CamelCase or in foo.example.com/CamelCase.
*/
type: string;
}[];
/**
* LastHandledReconcileAt holds the value of the most recent
* reconcile request value, so a change of the annotation value
* can be detected.
*/
lastHandledReconcileAt?: string;
/**
* ObservedChartName is the last observed chart name as specified by the
* resolved chart reference.
*/
observedChartName?: string;
/**
* ObservedGeneration is the last observed generation of the HelmChart
* object.
*/
observedGeneration?: number;
/**
* ObservedSourceArtifactRevision is the last observed Artifact.Revision
* of the HelmChartSpec.SourceRef.
*/
observedSourceArtifactRevision?: string;
/**
* ObservedValuesFiles are the observed value files of the last successful
* reconciliation.
* It matches the chart in the last successfully reconciled artifact.
*/
observedValuesFiles?: string[];
/**
* URL is the dynamic fetch link for the latest Artifact.
* It is provided on a "best effort" basis, and using the precise
* BucketStatus.Artifact data is recommended.
*/
url?: string;
};
}

View File

@@ -0,0 +1,227 @@
{
"description": "HelmChart is the Schema for the helmcharts API",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "HelmChartSpec defines the desired state of a Helm chart.",
"properties": {
"accessFrom": {
"description": "AccessFrom defines an Access Control List for allowing cross-namespace references to this object.",
"properties": {
"namespaceSelectors": {
"description": "NamespaceSelectors is the list of namespace selectors to which this ACL applies.\nItems in this list are evaluated using a logical OR operation.",
"items": {
"description": "NamespaceSelector selects the namespaces to which this ACL applies.\nAn empty map of MatchLabels matches all namespaces in a cluster.",
"type": "object",
"properties": {
"matchLabels": {
"description": "MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"type": "array"
}
},
"required": [
"namespaceSelectors"
],
"type": "object"
},
"chart": {
"description": "The name or path the Helm chart is available at in the SourceRef.",
"type": "string"
},
"interval": {
"description": "The interval at which to check the Source for updates.",
"type": "string"
},
"reconcileStrategy": {
"_default": "ChartVersion",
"description": "Determines what enables the creation of a new artifact. Valid values are\n('ChartVersion', 'Revision').\nSee the documentation of the values for an explanation on their behavior.\nDefaults to ChartVersion when omitted.",
"_enum": [
"ChartVersion",
"Revision"
],
"type": "string"
},
"sourceRef": {
"description": "The reference to the Source the chart is available at.",
"properties": {
"apiVersion": {
"description": "APIVersion of the referent.",
"type": "string"
},
"kind": {
"description": "Kind of the referent, valid values are ('HelmRepository', 'GitRepository',\n'Bucket').",
"_enum": [
"HelmRepository",
"GitRepository",
"Bucket"
],
"type": "string"
},
"name": {
"description": "Name of the referent.",
"type": "string"
}
},
"required": [
"kind",
"name"
],
"type": "object"
},
"suspend": {
"description": "This flag tells the controller to suspend the reconciliation of this source.",
"type": "boolean"
},
"valuesFile": {
"description": "Alternative values file to use as the default chart values, expected to\nbe a relative path in the SourceRef. Deprecated in favor of ValuesFiles,\nfor backwards compatibility the file defined here is merged before the\nValuesFiles items. Ignored when omitted.",
"type": "string"
},
"valuesFiles": {
"description": "Alternative list of values files to use as the chart values (values.yaml\nis not included by default), expected to be a relative path in the SourceRef.\nValues files are merged in the order of this list with the last file overriding\nthe first. Ignored when omitted.",
"items": {
"type": "string"
},
"type": "array"
},
"version": {
"_default": "*",
"description": "The chart version semver expression, ignored for charts from GitRepository\nand Bucket sources. Defaults to latest when omitted.",
"type": "string"
}
},
"required": [
"chart",
"interval",
"sourceRef"
],
"type": "object"
},
"status": {
"_default": {
"observedGeneration": -1
},
"description": "HelmChartStatus defines the observed state of the HelmChart.",
"properties": {
"artifact": {
"description": "Artifact represents the output of the last successful chart sync.",
"properties": {
"checksum": {
"description": "Checksum is the SHA256 checksum of the artifact.",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the timestamp corresponding to the last update of this\nartifact.",
"format": "date-time",
"type": "string"
},
"path": {
"description": "Path is the relative file path of this artifact.",
"type": "string"
},
"revision": {
"description": "Revision is a human readable identifier traceable in the origin source\nsystem. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm\nchart version, etc.",
"type": "string"
},
"url": {
"description": "URL is the HTTP address of this artifact.",
"type": "string"
}
},
"required": [
"lastUpdateTime",
"path",
"url"
],
"type": "object"
},
"conditions": {
"description": "Conditions holds the conditions for the HelmChart.",
"items": {
"description": "Condition contains details for one aspect of the current state of this API Resource.",
"type": "object",
"required": [
"lastTransitionTime",
"message",
"reason",
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
"type": "string",
"format": "date-time"
},
"message": {
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
"type": "string",
"maxLength": 32768
},
"observedGeneration": {
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"type": "integer",
"format": "int64",
"minimum": 0
},
"reason": {
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
"type": "string",
"maxLength": 1024,
"minLength": 1,
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"
},
"status": {
"description": "status of the condition, one of True, False, Unknown.",
"type": "string",
"enum": [
"True",
"False",
"Unknown"
]
},
"type": {
"description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
"type": "string",
"maxLength": 316,
"pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}
}
},
"type": "array"
},
"lastHandledReconcileAt": {
"description": "LastHandledReconcileAt holds the value of the most recent\nreconcile request value, so a change of the annotation value\ncan be detected.",
"type": "string"
},
"observedGeneration": {
"description": "ObservedGeneration is the last observed generation.",
"format": "int64",
"type": "integer"
},
"url": {
"description": "URL is the download link for the last chart pulled.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,192 @@
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* HelmChart is the Schema for the helmcharts API
*/
export interface K8SHelmChartV1Beta1 {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value, and
* may reject unrecognized values.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
* Cannot be updated.
* In CamelCase.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: string;
metadata?: {};
/**
* HelmChartSpec defines the desired state of a Helm chart.
*/
spec?: {
/**
* AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
*/
accessFrom?: {
/**
* NamespaceSelectors is the list of namespace selectors to which this ACL applies.
* Items in this list are evaluated using a logical OR operation.
*/
namespaceSelectors: {
/**
* MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
* map is equivalent to an element of matchExpressions, whose key field is "key", the
* operator is "In", and the values array contains only "value". The requirements are ANDed.
*/
matchLabels?: {
[k: string]: string;
};
}[];
};
/**
* The name or path the Helm chart is available at in the SourceRef.
*/
chart: string;
/**
* The interval at which to check the Source for updates.
*/
interval: string;
/**
* Determines what enables the creation of a new artifact. Valid values are
* ('ChartVersion', 'Revision').
* See the documentation of the values for an explanation on their behavior.
* Defaults to ChartVersion when omitted.
*/
reconcileStrategy?: string;
/**
* The reference to the Source the chart is available at.
*/
sourceRef: {
/**
* APIVersion of the referent.
*/
apiVersion?: string;
/**
* Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
* 'Bucket').
*/
kind: string;
/**
* Name of the referent.
*/
name: string;
};
/**
* This flag tells the controller to suspend the reconciliation of this source.
*/
suspend?: boolean;
/**
* Alternative values file to use as the default chart values, expected to
* be a relative path in the SourceRef. Deprecated in favor of ValuesFiles,
* for backwards compatibility the file defined here is merged before the
* ValuesFiles items. Ignored when omitted.
*/
valuesFile?: string;
/**
* Alternative list of values files to use as the chart values (values.yaml
* is not included by default), expected to be a relative path in the SourceRef.
* Values files are merged in the order of this list with the last file overriding
* the first. Ignored when omitted.
*/
valuesFiles?: string[];
/**
* The chart version semver expression, ignored for charts from GitRepository
* and Bucket sources. Defaults to latest when omitted.
*/
version?: string;
};
/**
* HelmChartStatus defines the observed state of the HelmChart.
*/
status?: {
/**
* Artifact represents the output of the last successful chart sync.
*/
artifact?: {
/**
* Checksum is the SHA256 checksum of the artifact.
*/
checksum?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of this
* artifact.
*/
lastUpdateTime: string;
/**
* Path is the relative file path of this artifact.
*/
path: string;
/**
* Revision is a human readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
* chart version, etc.
*/
revision?: string;
/**
* URL is the HTTP address of this artifact.
*/
url: string;
};
/**
* Conditions holds the conditions for the HelmChart.
*/
conditions?: {
/**
* lastTransitionTime is the last time the condition transitioned from one status to another.
* This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
*/
lastTransitionTime: string;
/**
* message is a human readable message indicating details about the transition.
* This may be an empty string.
*/
message: string;
/**
* observedGeneration represents the .metadata.generation that the condition was set based upon.
* For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
* with respect to the current state of the instance.
*/
observedGeneration?: number;
/**
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
* Producers of specific condition types may define expected values and meanings for this field,
* and whether the values are considered a guaranteed API.
* The value should be a CamelCase string.
* This field may not be empty.
*/
reason: string;
/**
* status of the condition, one of True, False, Unknown.
*/
status: "True" | "False" | "Unknown";
/**
* type of condition in CamelCase or in foo.example.com/CamelCase.
*/
type: string;
}[];
/**
* LastHandledReconcileAt holds the value of the most recent
* reconcile request value, so a change of the annotation value
* can be detected.
*/
lastHandledReconcileAt?: string;
/**
* ObservedGeneration is the last observed generation.
*/
observedGeneration?: number;
/**
* URL is the download link for the last chart pulled.
*/
url?: string;
};
}

Some files were not shown because too many files have changed in this diff Show More