Bug 2040869

Summary: User cannot modify KlusterletAddonConfig on spoke clusters deployed with ztp solution
Product: OpenShift Container Platform Reporter: browsell
Component: Telco EdgeAssignee: Jim Ramsay <jramsay>
Telco Edge sub component: ZTP QA Contact: yliu1
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: imiller, keyoung, melserng
Version: 4.10   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2053209 (view as bug list) Environment:
Last Closed: 2022-08-26 16:43:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2053209    

Comment 1 melserng 2022-01-25 12:57:27 UTC
this is not a bug , it is expected behavior. The KlusterletAddonConfig CR definition in git repo must match what is applied on OCP.

Comment 2 Jim Ramsay 2022-02-01 17:51:57 UTC
We have added a template override mechanism to SiteConfig that allows overriding KlusterletAddonConfig in a scalable and maintainable way.
https://github.com/openshift-kni/cnf-features-deploy/pull/937

Comment 4 Jim Ramsay 2022-02-10 16:00:28 UTC
Resetting to 'POST' to get some additional documentation and an example of this override into 4.10 ZTP.

Comment 5 Jim Ramsay 2022-02-10 16:04:01 UTC
Wrong state; resetting to MODIFIED

Comment 9 yliu1 2022-06-09 19:04:31 UTC
Verified using ztp-site-generate-container-v4.10.0-55 image. searchCollector was overriden to true.

spec:
  applicationManager:
    enabled: false
  certPolicyController:
    enabled: false
  clusterLabels:
    cloud: auto-detect
    vendor: auto-detect
  clusterName: worker-2
  clusterNamespace: worker-2
  iamPolicyController:
    enabled: false
  policyController:
    enabled: true
  proxyConfig: {}
  searchCollector:
    enabled: true