From cd9b95aa48086d76798e17f13e238ba687ee0788 Mon Sep 17 00:00:00 2001 From: Zenghui Shi Date: Tue, 27 Apr 2021 17:38:54 +0800 Subject: [PATCH] upgrade PROJECT config file from 3-alpha to version 3 Hitting warning when create new api as below: WARN[0000] Config version 3-alpha has been stabilized as 3, and 3-alpha is no longer supported. Run `operator-sdk alpha config-3alpha-to-3` to upgrade your PROJECT config file to version 3. Upgraded PROJECT config via the following cmd: $ operator-sdk alpha config-3alpha-to-3 Signed-off-by: Zenghui Shi --- PROJECT | 42 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/PROJECT b/PROJECT index 2c94e721b..9d8321ff9 100644 --- a/PROJECT +++ b/PROJECT @@ -3,21 +3,51 @@ layout: go.kubebuilder.io/v2 projectName: sriov-network-operator repo: github.com/k8snetworkplumbingwg/sriov-network-operator resources: -- group: sriovnetwork +- + # TODO(user): Uncomment the below line if this resource implements a controller, else delete it. + controller: true + domain: openshift.io + group: sriovnetwork kind: SriovNetwork + # TODO(user): Update the package path for your API if the below value is incorrect. + path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 version: v1 -- group: sriovnetwork +- + # TODO(user): Uncomment the below line if this resource implements a controller, else delete it. + controller: true + domain: openshift.io + group: sriovnetwork kind: SriovIBNetwork + # TODO(user): Update the package path for your API if the below value is incorrect. + path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 version: v1 -- group: sriovnetwork +- + # TODO(user): Uncomment the below line if this resource implements a controller, else delete it. + controller: true + domain: openshift.io + group: sriovnetwork kind: SriovNetworkNodePolicy + # TODO(user): Update the package path for your API if the below value is incorrect. + path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 version: v1 -- group: sriovnetwork +- + # TODO(user): Uncomment the below line if this resource implements a controller, else delete it. + controller: true + domain: openshift.io + group: sriovnetwork kind: SriovNetworkNodeState + # TODO(user): Update the package path for your API if the below value is incorrect. + path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 version: v1 -- group: sriovnetwork +- + # TODO(user): Uncomment the below line if this resource implements a controller, else delete it. + controller: true + domain: openshift.io + group: sriovnetwork kind: SriovOperatorConfig + # TODO(user): Update the package path for your API if the below value is incorrect. + path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 version: v1 -version: 3-alpha +version: "3" plugins: go.sdk.operatorframework.io/v2-alpha: {}