[1.5] Cleanup CRD fields in v1alpha2 of Release Candidate related fields#450
[1.5] Cleanup CRD fields in v1alpha2 of Release Candidate related fields#450jordigilh wants to merge 6 commits intorhdhorchestrator:mainfrom
Conversation
| type: object | ||
| targetNamespace: | ||
| default: rhdh-operator | ||
| description: The target namespace for the backstage CR in which |
There was a problem hiding this comment.
For the default namespace for the Backstage CR, we should pick a different one than the target namespace of the operator, perhaps the orchestrator as default (if namespace exists) or require the user to specify if the RHDH is disabled.
There was a problem hiding this comment.
On a second thought, I think we should remove it. Look at the logic where it is being referenced:
If the operator is enabled, why can't we use the subscription.namespace value and instead we have to have a new field? Maybe I'm missing something here, because I remember we had an extensive discussion about this field before, but my memory is failing me.
Thoughts @jenniferubah ?
There was a problem hiding this comment.
We use rhdhOperator.targetNamespace because that is used the user to indicate the namespace they want the RHDH instance deployed and that can be different from the RHDH operator namespace subscription.namespace and also less confusing.
There was a problem hiding this comment.
Maybe we could default the value of targetNamespace to rhdh if the operator is enabled instead of rhdh-operator since we want to keep those separate.
There was a problem hiding this comment.
Ah I see it now. Thanks for refreshing my memory :)
There was a problem hiding this comment.
@masayag I will change the default value to orchestrator as you suggest, to avoid the situation where the user is attempting to deploy the CR in the same namespace where rhdh is deployed by default
There was a problem hiding this comment.
@masayag should we also change the default location for RHDH in the setup.sh script? Currently it'srhdh-operator.
There was a problem hiding this comment.
I have a concern about this one, since the same script is used for all releases.
So not sure what will be the impact of it.
And yet, I'd prefer for 1.4 the default to be orchestrator.
| default: true | ||
| description: Enabled determines whether the operator should be deployed by the chart. Defaults to true | ||
| type: boolean | ||
| targetNamespace: |
There was a problem hiding this comment.
So we are removing all components related to RC for OSL and RHDH? That means we won't be able to use that as canaries to validate before they are officially GA
I see 54a11fc removed all templates already and this PR is simply removing the leftovers
Or is there a way to do that still? Is it documented? Maybe there is a RC branch to just to that in which the RC files still remain?
bundle/manifests/orchestrator-operator.clusterserviceversion.yaml
Outdated
Show resolved
Hide resolved
|
@jordigilh this PR is needed for 1.4 release, can you please rebase/address comments to finalize it? |
…e under orchestrator.sonataflowPlatform.jobServiceImage and orchestrator.sonataflowPlatform.dataIndexImage
9928818 to
f60b128
Compare
I think RC is main now, whatever version it is, so there's no need to support this capability anymore. In the past we didn't branch the charts when we were working with 1.1 and 1.2 (first operator release) at the same time, so we had to expose these values. |
Done rebasing. Addressing the comments now |
6bfbf3d to
7a31d8a
Compare
7a31d8a to
d15e518
Compare
|
Tested with |
|
This PR should be merged in milestone-5, changing it to draft to avoid accidental merge |
Somehow I thought we wanted this to 1.4. Thanks for the clarification. |
I thought so, but since we're in RC for 1.4, I think it's not a good idea to merge it there. But if QE is fine, I'm fine as well. |
Ok, so let's merge this one in milestone-5 to reduce instabilities. |
@jordigilh @masayag, please could we split this PR? There are changes pertaining to consistency with |
Will do. I'll raise a new PR shortly |
Changes to schema:
sourcefield name.isReleaseCandidatefield and validations.rhdh.imagefield used in RC.sonataflowPlatform.image.[dataIndexImage|jobServiceImage]subfields used in RC.get-cluster-versionhelper used to retrieve the OCP version in the clusterrhdhOperator.subscription.targetNamespacetorhdhOperator.targetNamespaceto avoid confusion as seen related to the subscription. @masayag @jenniferubah @chadcrum Please let me know about this change, since this is relocating a field not related to RC.I think that's pretty much it, any other field that lingers should be addressed in the upcoming schema revision.