Skip to content

Commit

Permalink
fix(xo-web/kubernetes): remove required property from search domain
Browse files Browse the repository at this point in the history
Make this field optional for the cluster creation.
  • Loading branch information
ggunullu committed Sep 22, 2023
1 parent 1c9d104 commit 405e924
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
> Users must be able to say: “Nice enhancement, I'm eager to test it”
- [Netbox] Don't delete VMs that have been created manually in XO-synced cluster [Forum#7639](https://xcp-ng.org/forum/topic/7639) (PR [#7008](https://github.com/vatesfr/xen-orchestra/pull/7008))
- [Kubernetes] *Search domains* field is now optional [#7028](https://github.com/vatesfr/xen-orchestra/pull/7028)

### Bug fixes

Expand All @@ -30,5 +31,6 @@
<!--packages-start-->

- xo-server-netbox minor
- xo-web patch

<!--packages-end-->
1 change: 0 additions & 1 deletion packages/xo-web/src/xo-app/hub/recipes/recipe-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ export default decorate([
name='search'
onChange={effects.onChangeSearch}
placeholder={formatMessage(messages.recipeSearchesExample)}
required
type='text'
value={value.search}
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/xo-web/src/xo-app/hub/recipes/recipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default decorate([
nameservers,
nbNodes: +nbNodes,
network: network.id,
searches,
searches: searches,
sr: sr.id,
sshKey,
vipAddress,
Expand Down

0 comments on commit 405e924

Please sign in to comment.