mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 08:47:27 +00:00
Use the group version for HR APIVersion
This commit is contained in:
parent
2096532f5d
commit
0b14328024
1 changed files with 1 additions and 2 deletions
|
|
@ -179,9 +179,8 @@ func createKsCmdRun(cmd *cobra.Command, args []string) error {
|
|||
Namespace: nameNs[1],
|
||||
}
|
||||
|
||||
//TODO: (stefan) define the API version as a constant in the API package
|
||||
if kind == helmv2.HelmReleaseKind {
|
||||
check.APIVersion = "helm.toolkit.fluxcd.io/v2alpha1"
|
||||
check.APIVersion = helmv2.GroupVersion.String()
|
||||
}
|
||||
healthChecks = append(healthChecks, check)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue