diff --git a/CHANGELOG.md b/CHANGELOG.md index 1acb88e17..4fef09580 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Bug fixes - instance create: apply delete protection in the instance's zone, fixing a wrong-zone "Not Found" error when creating protected instances outside the default zone (#879) +- sks cluster update: fix oidc config drop (#881) ### ImprovementsāŽ diff --git a/cmd/compute/sks/sks_update.go b/cmd/compute/sks/sks_update.go index 5d110b090..ca2c941ab 100644 --- a/cmd/compute/sks/sks_update.go +++ b/cmd/compute/sks/sks_update.go @@ -79,7 +79,9 @@ func (c *sksUpdateCmd) CmdRun(cmd *cobra.Command, _ []string) error { return err } - updateReq := v3.UpdateSKSClusterRequest{} + updateReq := v3.UpdateSKSClusterRequest{ + Oidc: cluster.Oidc, + } if cmd.Flags().Changed(exocmd.MustCLICommandFlagName(c, &c.AutoUpgrade)) { updateReq.AutoUpgrade = &c.AutoUpgrade