You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for App resources having a dependency on HelmReleases (#1267)
* Add support for App resources having a dependency on HelmReleases
* Update k8s dependencies to the latest patch version
* Update k8smetadata to the latest patch version
* Upgrade controller-runtime to the latest patch
* Update ClusterRole to read HelmReleases
returnresult, microerror.Maskf(propertyNotFoundError, "trying to get property '%s' from the unstructured object, but property '%s' is of type %T and not an object", propertyPath, propertyName, propertyRaw)
618
+
}
619
+
continue
620
+
}
621
+
622
+
// we are reading desired property of type T at path "x.y.z" (this is the last loop iteration)
623
+
ifproperty[propertyName] !=nil {
624
+
result, ok=property[propertyName].(T)
625
+
if!ok {
626
+
// Returns error only when the property is set to some non-nil value. When the value is nil,
627
+
// the empty value of the desired type will be returned.
628
+
returnresult, microerror.Maskf(wrongTypeError, "property at path %s is of type %T, expected type %T", propertyPath, property[propertyName], result)
0 commit comments