-
Notifications
You must be signed in to change notification settings - Fork 35
chore: update talos to v1.12.0-beta.0 #231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Run rekres to regenerate configs. Signed-off-by: Mateusz Urbanek <[email protected]>
b348b78 to
43ee484
Compare
bef85c8 to
bf2c097
Compare
5ae9619 to
32858ee
Compare
| assert.Equal(t, "192.168.0.0/16,fdaa:bbbb:cccc:15::/64", strings.Join(provider.Cluster().Network().ServiceCIDRs(), ",")) | ||
| }) | ||
|
|
||
| t.Run("ConfigPatches", func(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will always fail, as v1.12.0 is always multi-config (we always have HostnameConfig generated).
| if scope.Config.Spec.Hostname.Source == v1alpha3.HostnameSourceMachineName { | ||
| data.RawV1Alpha1().MachineConfig.MachineNetwork.NetworkHostname = scope.ConfigOwner.GetName() | ||
| if parseErr == nil && talosVersion.GreaterThanEqual(semver.MustParse("1.12.0-beta.0")) { | ||
| patches = append(patches, fmt.Sprintf("apiVersion: v1alpha1\nkind: HostnameConfig\nauto: off\nhostname: %s", scope.ConfigOwner.GetName())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't we use NewHostNameConfig and use string from it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right! Fixed.
Update talos to v1.12.0-beta.0 Signed-off-by: Mateusz Urbanek <[email protected]>
32858ee to
8141779
Compare
|
/m |
Closes siderolabs/talos#12183