- 
                Notifications
    You must be signed in to change notification settings 
- Fork 255
          [WIP] HIVE-2859: Add ManifestsSecretRef to ClusterPool for manifest management
          #2745
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
  
    [WIP] HIVE-2859: Add ManifestsSecretRef to ClusterPool for manifest management
  
  #2745
              Conversation
| @eliorerz: This pull request references HIVE-2859 which is a valid jira issue. In response to this: 
 Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. | 
| /hold | 
| [APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: eliorerz The full list of commands accepted by this bot can be found here. 
Needs approval from an approver in each of these files:
 Approvers can indicate their approval by writing  | 
| Codecov Report❌ Patch coverage is  
 Additional details and impacted files@@            Coverage Diff             @@
##           master    #2745      +/-   ##
==========================================
- Coverage   50.17%   50.15%   -0.03%     
==========================================
  Files         288      288              
  Lines       34071    34124      +53     
==========================================
+ Hits        17096    17115      +19     
- Misses      15626    15657      +31     
- Partials     1349     1352       +3     
 🚀 New features to boost your workflow:
 | 
| At a glance, this looks sane as far as it goes, and I think it's something we want to do. However... It assumes that the manifests will want to be the same for all clusters in the pool. This isn't necessarily a bad thing, but it seems pretty likely that at some point we'll want them to be customizable per cluster. As such, they would want to be added to ClusterDeploymentCustomization so they can be part of the Inventory. But perhaps I'm getting ahead of myself, and we're not going to need that any time soon... WDYT? | 
| @2uasimojo I had similar thoughts about this. The main reasons I chose the current approach are: 
 | 
…ent. Add support for user-provided manifests in ClusterPool to apply custom manifests to all clusters created from the pool, similar to ClusterDeployment.
f044c4d    to
    633998e      
    Compare
  
    | Right, so on that note, we recently added the ability to patch installer manifests. And we did it by adding a field to the CDC. And we made it so a single CDC can be applied to all pool clusters as well as per cluster via Inventory. So fitting into that architecture, it seems like it would make the most sense to make the new field part of CDC, and then you would inherently get both the pool-wide and per-cluster behaviors at the same time. Mechanically for the consumer, it's a little more involved, because you have to create an extra CR -- the CDC -- but you only have to create one of them, not a whole inventory. | 
| @eliorerz: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. | 
Add support for user-provided manifests in
ClusterPoolto apply custom manifests to all clusters created from the pool, similar toClusterDeployment.This is done as part of the Nutanix provider support for supporting
ClusterPoolresource .This PR introduces support for user-provided manifests in
ClusterPool. This allows a common set of custom manifests to be applied to all clusters claimed from the pool, mirroring the existing functionality inClusterDeployment.Note: This is a prerequisite for adding
ClusterPoolsupport for the Nutanix provider.