diff --git a/hack/release.go b/hack/release.go index a6d4473e..2311c27c 100644 --- a/hack/release.go +++ b/hack/release.go @@ -55,8 +55,6 @@ type SHA256ImageRef struct { // Release contains versions for operator release templates. type Release struct { - OcpDefaulChannel string - HelmChartVersion string NetworkOperator *ReleaseImageSpec NetworkOperatorInitContainer *ReleaseImageSpec SriovNetworkOperator *ReleaseImageSpec @@ -77,7 +75,6 @@ type Release struct { DOCATelemetryService *ReleaseImageSpec OVSCni *ReleaseImageSpec RDMACni *ReleaseImageSpec - Nfd *ReleaseImageSpec } func readDefaults(releaseDefaults string) Release { @@ -143,9 +140,6 @@ func main() { os.Exit(1) } } - parts := strings.Split(release.NetworkOperator.Version, ".") - release.OcpDefaulChannel = fmt.Sprintf("%s.%s", parts[0], parts[1]) - release.HelmChartVersion = strings.TrimPrefix(release.NetworkOperator.Version, "v") var files []string err := filepath.Walk(*templateDir, func(path string, info os.FileInfo, err error) error { diff --git a/hack/release.yaml b/hack/release.yaml index f76a90d2..a44b41fa 100644 --- a/hack/release.yaml +++ b/hack/release.yaml @@ -78,5 +78,3 @@ rdmaCni: image: rdma-cni repository: ghcr.io/k8snetworkplumbingwg version: v1.2.0 -Nfd: - version: v0.15.6