-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the rendered ClusterInstance's type to siteconfig.ClusterInsta…
…nce (#195) The ClusterInstance template is explicitly defined and delivered within the IMS operator. When new fields are available in the Siteconfig operator, we will need to update the ClusterInstance template and upversion the IMS operator to support the new fields. Given this, we could switch to rendering the ClusterInstance into the ClusterInstance struct type imported from the siteconfig package instead of using the unstructured type, which will simplify data manipulation. It's safe to directly manipulate with the ClusterInstance data, as the non-empty parameters have been verified in the ClusterInstance template and validated with dry-run previously. When we need to update the ClusterInstance template to support new fields, the imported siteconfig package should be upversioned as well.
- Loading branch information
1 parent
09525b5
commit d8bce30
Showing
4 changed files
with
95 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.