rename updateResoruce() to CreateOrUpdateResource()use annoataion RHOAIApplicationNamespace and ODHApplicationNamespace than hardcode
add predicate.Funcs for deployments to reduce reconciles on all components
use switch for better readiness in CreateOrUpdateResource for annotation handling
How Has This Been Tested?
local build: quay.io/wenzhou/opendatahub-operator-catalog:v2.13.11024-1
create default dsc in a new opendatahub namespace
manually delete component deployment, it got reconciled
update component replica/resource, it got remained
remove kserve and create again with rawdeployment
check inference CM is still able to set domainname with annotation
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/opendatahub-io/opendatahub-operator/blob/incubation/OWNERS)~~ [ykaliuta]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
Description
rename updateResoruce() to CreateOrUpdateResource()use annoataion RHOAIApplicationNamespace and ODHApplicationNamespace than hardcodeuse switch for better readiness in CreateOrUpdateResource for annotation handlingHow Has This Been Tested?
local build: quay.io/wenzhou/opendatahub-operator-catalog:v2.13.11024-1
Screenshot or short clip
Merge criteria