Skip to content

Commit

Permalink
Replace helmv2.KubeConfig with meta.KubeConfig
Browse files Browse the repository at this point in the history
This is a backwards compatible change in terms of "YAML API", as they
spec still equals the previous one. Object type has just changed.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
  • Loading branch information
hiddeco committed Mar 8, 2023
1 parent 6eb3fdf commit 1cc7682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/flux/create_helmrelease.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func createHelmReleaseCmdRun(cmd *cobra.Command, args []string) error {
}

if helmReleaseArgs.kubeConfigSecretRef != "" {
helmRelease.Spec.KubeConfig = &helmv2.KubeConfig{
helmRelease.Spec.KubeConfig = &meta.KubeConfigReference{
SecretRef: meta.SecretKeyReference{
Name: helmReleaseArgs.kubeConfigSecretRef,
},
Expand Down

0 comments on commit 1cc7682

Please sign in to comment.