Skip to content

Commit 509be9f

Browse files
committed
storage-operator: regenerate files
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
1 parent d4b172c commit 509be9f

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

storage-operator/pkg/apis/storage/v1alpha1/zz_generated.deepcopy.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

storage-operator/pkg/apis/storage/v1alpha1/zz_generated.openapi.go

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// +build !ignore_autogenerated
2-
3-
// Code generated by openapi-gen. DO NOT EDIT.
1+
// +build !
42

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

@@ -13,9 +11,9 @@ import (
1311

1412
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
1513
return map[string]common.OpenAPIDefinition{
16-
"github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.Volume": schema_pkg_apis_storage_v1alpha1_Volume(ref),
17-
"github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.VolumeSpec": schema_pkg_apis_storage_v1alpha1_VolumeSpec(ref),
18-
"github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.VolumeStatus": schema_pkg_apis_storage_v1alpha1_VolumeStatus(ref),
14+
"./pkg/apis/storage/v1alpha1.Volume": schema_pkg_apis_storage_v1alpha1_Volume(ref),
15+
"./pkg/apis/storage/v1alpha1.VolumeSpec": schema_pkg_apis_storage_v1alpha1_VolumeSpec(ref),
16+
"./pkg/apis/storage/v1alpha1.VolumeStatus": schema_pkg_apis_storage_v1alpha1_VolumeStatus(ref),
1917
}
2018
}
2119

@@ -46,19 +44,19 @@ func schema_pkg_apis_storage_v1alpha1_Volume(ref common.ReferenceCallback) commo
4644
},
4745
"spec": {
4846
SchemaProps: spec.SchemaProps{
49-
Ref: ref("github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.VolumeSpec"),
47+
Ref: ref("./pkg/apis/storage/v1alpha1.VolumeSpec"),
5048
},
5149
},
5250
"status": {
5351
SchemaProps: spec.SchemaProps{
54-
Ref: ref("github.com/scality/metalk8s/storage-operator/pkg/apis/storage/v1alpha1.VolumeStatus"),
52+
Ref: ref("./pkg/apis/storage/v1alpha1.VolumeStatus"),
5553
},
5654
},
5755
},
5856
},
5957
},
6058
Dependencies: []string{
61-
"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"},
59+
"./pkg/apis/storage/v1alpha1.VolumeSpec", "./pkg/apis/storage/v1alpha1.VolumeStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
6260
}
6361
}
6462

0 commit comments

Comments
 (0)