Skip to content

Commit 1f47f28

Browse files
fix: vnet recreation (#46)
* fix: vnet: recreation problem (#45) * preparation for a release Co-authored-by: Artashes Balabekyan <[email protected]>
1 parent bccd7f3 commit 1f47f28

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

controllers/vnetmeta_controller.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,7 @@ func (r *VNetMetaReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) {
124124
}
125125
logger.Info("VNet Created")
126126
} else {
127-
vnet, err := r.Cred.VNet().GetByID(vnetMeta.Spec.ID)
128-
if err != nil {
129-
logger.Error(fmt.Errorf("{GetVNetsByID} %s", err), "")
130-
return u.patchVNetStatus(vnetCR, "Failure", err.Error())
131-
}
127+
vnet, _ := r.Cred.VNet().GetByID(vnetMeta.Spec.ID)
132128
if vnet == nil {
133129
debugLogger.Info("VNet not found in Netris")
134130
debugLogger.Info("Going to create VNet")

deploy/charts/netris-operator/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.4.2
18+
version: 0.4.3
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: v1.0.2
23+
appVersion: v1.0.3
2424
home: https://github.com/netrisai/netris-operator
2525
icon: https://www.netris.ai/wp-content/uploads/2021/01/logo-300.png # [todo] Change url to permalink
2626
keywords:

0 commit comments

Comments
 (0)