Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Update pkg/handlers/generic/mutation/extraapiservercertsans/inject.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dimitri Koshkin <dimitri.koshkin@nutanix.com>
Signed-off-by: Faiq <faiq.raza@nutanix.com>
  • Loading branch information
faiq and dkoshkin authored Apr 4, 2024
1 parent b6505f3 commit da3bcb6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func (h *extraAPIServerCertSANsPatchHandler) Mutate(
if err := h.client.Get(ctx, clusterKey, cluster); err != nil {
return err
}
TODO: move the defaults to a mutating webhook
defaultAPICertSANs := getDefaultAPIServerSANs(cluster)
extraAPIServerCertSANsVar, found, err := variables.Get[v1alpha1.ExtraAPIServerCertSANs](
vars,
Expand Down

0 comments on commit da3bcb6

Please sign in to comment.