Skip to content

Commit

Permalink
fix: remove doc related from release hack
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Rolland <[email protected]>
  • Loading branch information
rollandf committed Aug 12, 2024
1 parent 23f5e24 commit e4119a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions hack/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -77,7 +75,6 @@ type Release struct {
DOCATelemetryService *ReleaseImageSpec
OVSCni *ReleaseImageSpec
RDMACni *ReleaseImageSpec
Nfd *ReleaseImageSpec
}

func readDefaults(releaseDefaults string) Release {
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 0 additions & 2 deletions hack/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,3 @@ rdmaCni:
image: rdma-cni
repository: ghcr.io/k8snetworkplumbingwg
version: v1.2.0
Nfd:
version: v0.15.6

0 comments on commit e4119a8

Please sign in to comment.