Remove the redundant resources in channel-broker and mt-channel-broker#3032
Conversation
| ["mt-channel-broker.yaml"]="config/brokers/mt-channel-broker" | ||
| ["in-memory-channel.yaml"]="config/channels/in-memory-channel" | ||
| ["upgrade-to-v0.14.0.yaml"]="config/upgrade/v0.14.0" | ||
| ["eventing-core.yaml"]="-R -f config/core" |
There was a problem hiding this comment.
I do not like that declaration here. I liked it before better
how about doing some more explicit ko resolve runs, like serving:
https://github.com/knative/serving/blob/master/hack/generate-yamls.sh#L86-L104
| TAG="latest" | ||
| fi | ||
|
|
||
| readonly UPGRADE_JOB="upgrade-to-${TAG}.yaml" |
There was a problem hiding this comment.
Do you also need to update the config/upgrade/v0.14/README.md to point to the newly renamed file?
There was a problem hiding this comment.
and than I think I find it strange that the 0.14 than would have a TAG that is different than 0.14 (e.g. latest or 0.15)
There was a problem hiding this comment.
I will keep the folder of config/upgrade/v0.14.0 unchanged. If we need script for upgrade in future version, we can change the release.sh later.
aliok
left a comment
There was a problem hiding this comment.
Can't we come up with a solution that does some post-processing to remove duplicate resources?
Or something that "remembers" if a file is added to an artifact or not?
IMO that would be more stable (as we won't have the problem of some artifacts have -R and some don't) and safe.
|
@aliok If we know how to pick up the content for the released yamls, why do we blindly consolidate everything, and then post-process? Why not just orchestrate the correct way at the beginning? |
|
/lgtm /assign @vaikas for final approverz |
|
@vaikas any comment? |
|
I'm so sorry for the hold up :( my bad |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: houshengbo, vaikas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold cancel |
Fixes #3033
Proposed Changes
Release Note
Docs