Allow blank value for namespace
This commit add changes to allow blank value for namespace, which removes namespace field from CRD definition file. Also updated year for the copyright. Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) OpenFaaS Author(s) 2017. All rights reserved.
|
// Copyright (c) OpenFaaS Author(s) 2018. All rights reserved.
|
||||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
package commands
|
package commands
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) OpenFaaS Author(s) 2017. All rights reserved.
|
// Copyright (c) OpenFaaS Author(s) 2018. All rights reserved.
|
||||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
package schema
|
package schema
|
||||||
@@ -8,7 +8,7 @@ import "github.com/openfaas/faas-cli/stack"
|
|||||||
//Metadata metadata of the object
|
//Metadata metadata of the object
|
||||||
type Metadata struct {
|
type Metadata struct {
|
||||||
Name string `yaml:"name"`
|
Name string `yaml:"name"`
|
||||||
Namespace string `yaml:"namespace"`
|
Namespace string `yaml:"namespace,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//Spec describe characteristics of the object
|
//Spec describe characteristics of the object
|
||||||
|
|||||||
Reference in New Issue
Block a user