Skip to content

Commit

Permalink
fix kubeovn yaml lint bug
Browse files Browse the repository at this point in the history
Signed-off-by: 24sama <leo@kubesphere.io>
  • Loading branch information
24sama committed Dec 13, 2021
1 parent 2b63e11 commit f900f21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/plugins/network/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ func (g *GenerateKubeOVNNew) Execute(runtime connector.Runtime) error {
}

templateAction := action.Template{
Template: templates.KubeOVNOld,
Dst: filepath.Join(common.KubeConfigDir, templates.KubeOVNOld.Name()),
Template: templates.KubeOVNNew,
Dst: filepath.Join(common.KubeConfigDir, templates.KubeOVNNew.Name()),
Data: util.Data{
"Address": address,
"Count": count,
Expand Down
4 changes: 2 additions & 2 deletions pkg/plugins/network/templates/kubeovn_v1.16+.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ kind: Deployment
apiVersion: apps/v1
metadata:
name: ovn-central
namespace: kube-system
namespace: kube-system
annotations:
kubernetes.io/description: |
OVN components: northd, nb and sb.
Expand Down Expand Up @@ -528,7 +528,7 @@ kind: DaemonSet
apiVersion: apps/v1
metadata:
name: ovs-ovn
namespace: kube-system
namespace: kube-system
annotations:
kubernetes.io/description: |
This daemon set launches the openvswitch daemon.
Expand Down

0 comments on commit f900f21

Please sign in to comment.