Skip to content

Commit

Permalink
storage-operator: regenerate files
Browse files Browse the repository at this point in the history
Using an unreleased version of `operator-sdk` which permits to build/run
the operator outside of `GOPATH` using Go modules properly.

Note: the CRD `scope` is manually changed to `Cluster` after
code/YAML-generation.

See: operator-framework/operator-sdk#1001
  • Loading branch information
NicolasT committed Jul 8, 2019
1 parent aa3e3e0 commit e370b83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// +build !ignore_autogenerated

// Code generated by openapi-gen. DO NOT EDIT.
// +build !

// This file was autogenerated by openapi-gen. Do not edit it manually!

Expand All @@ -13,9 +11,9 @@ import (

func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
return map[string]common.OpenAPIDefinition{
"github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.Volume": schema_pkg_apis_storage_v1alpha1_Volume(ref),
"github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.VolumeSpec": schema_pkg_apis_storage_v1alpha1_VolumeSpec(ref),
"github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.VolumeStatus": schema_pkg_apis_storage_v1alpha1_VolumeStatus(ref),
"./pkg/apis/storage/v1alpha1.Volume": schema_pkg_apis_storage_v1alpha1_Volume(ref),
"./pkg/apis/storage/v1alpha1.VolumeSpec": schema_pkg_apis_storage_v1alpha1_VolumeSpec(ref),
"./pkg/apis/storage/v1alpha1.VolumeStatus": schema_pkg_apis_storage_v1alpha1_VolumeStatus(ref),
}
}

Expand Down Expand Up @@ -46,19 +44,19 @@ func schema_pkg_apis_storage_v1alpha1_Volume(ref common.ReferenceCallback) commo
},
"spec": {
SchemaProps: spec.SchemaProps{
Ref: ref("github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.VolumeSpec"),
Ref: ref("./pkg/apis/storage/v1alpha1.VolumeSpec"),
},
},
"status": {
SchemaProps: spec.SchemaProps{
Ref: ref("github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.VolumeStatus"),
Ref: ref("./pkg/apis/storage/v1alpha1.VolumeStatus"),
},
},
},
},
},
Dependencies: []string{
"github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.VolumeSpec", "github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.VolumeStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
"./pkg/apis/storage/v1alpha1.VolumeSpec", "./pkg/apis/storage/v1alpha1.VolumeStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
}
}

Expand Down

0 comments on commit e370b83

Please sign in to comment.