mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-26 09:24:58 +00:00
Replace helmv2.KubeConfig with meta.KubeConfig
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>
This commit is contained in:
parent
6eb3fdf863
commit
1cc7682d44
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ func createHelmReleaseCmdRun(cmd *cobra.Command, args []string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if helmReleaseArgs.kubeConfigSecretRef != "" {
|
if helmReleaseArgs.kubeConfigSecretRef != "" {
|
||||||
helmRelease.Spec.KubeConfig = &helmv2.KubeConfig{
|
helmRelease.Spec.KubeConfig = &meta.KubeConfigReference{
|
||||||
SecretRef: meta.SecretKeyReference{
|
SecretRef: meta.SecretKeyReference{
|
||||||
Name: helmReleaseArgs.kubeConfigSecretRef,
|
Name: helmReleaseArgs.kubeConfigSecretRef,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue