Bug 2040869 - User cannot modify KlusterletAddonConfig on spoke clusters deployed with ztp solution
Summary: User cannot modify KlusterletAddonConfig on spoke clusters deployed with ztp ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telco Edge
Version: 4.10
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 4.11.0
Assignee: Jim Ramsay
QA Contact: yliu1
URL:
Whiteboard:
Depends On:
Blocks: 2053209
TreeView+ depends on / blocked
 
Reported: 2022-01-14 19:53 UTC by browsell
Modified: 2022-08-26 16:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2053209 (view as bug list)
Environment:
Last Closed: 2022-08-26 16:43:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift-kni cnf-features-deploy pull 937 0 None Merged ztp: SiteConfig template overrides 2022-02-01 17:51:57 UTC

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


Note You need to log in before you can comment on or make changes to this bug.