Skip to content

feat: add parameters to the TierTemplateRevision CRD#451

Merged
mfrancisc merged 7 commits intocodeready-toolchain:masterfrom
mfrancisc:addparamsinttr
Dec 2, 2024
Merged

feat: add parameters to the TierTemplateRevision CRD#451
mfrancisc merged 7 commits intocodeready-toolchain:masterfrom
mfrancisc:addparamsinttr

Conversation

@mfrancisc
Copy link
Contributor

@mfrancisc mfrancisc commented Nov 28, 2024

Description

In order to parse the TierTemplate content only once ( when provisioning a space with the given tier) , we are introducing the parameter list to the TierTemplateRevision CRD.

The parameters will be copied from the NSTemplateTier when generating the TTR, and they will be used for:

  • comparison with those in the NSTemplateTier, to identify if something has changed and generate a new TTR
  • when provisioning/updating the Space , those parameters ( together with the dynamic ones like "SPACE_NAME" ) will be used to evaluate the variables present in the TierTemplateRevision.Spec.TemplateObjects

Checks

  1. Did you run make generate target? yes

  2. Did make generate change anything in other projects (host-operator, member-operator)? yes

  3. In case of new CRD, did you the following? N/A

  4. In case other projects are changed, please provides PR links.

@sonarqubecloud
Copy link

@mfrancisc mfrancisc merged commit 5453178 into codeready-toolchain:master Dec 2, 2024
@mfrancisc mfrancisc deleted the addparamsinttr branch December 2, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants