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
Move sed a few lines higher #532
Conversation
build/generate-manifests.sh
Outdated
# workaround for https://github.com/kubernetes-sigs/controller-tools/issues/457 | ||
#sed -i -e "s/\( *\)\(description\: The IP protocol for this port\)/\1default: TCP\n\1\2/" \ | ||
# deploy/crds/maistra.io_servicemeshcontrolplanes.yaml | ||
sed -i -e '/x-kubernetes-list-map-keys:/,/x-kubernetes-list-type: map/ { /- protocol/d }' deploy/crds/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really think this should be constrained to just the SMCP crd.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I can constrain this one to just the SMCP crd. Are you ok with the next one on all CRDs? All of them are currently broken.
#sed -i -e "s/\( *\)\(description\: The IP protocol for this port\)/\1default: TCP\n\1\2/" \ | ||
# deploy/crds/maistra.io_servicemeshcontrolplanes.yaml | ||
sed -i -e '/x-kubernetes-list-map-keys:/,/x-kubernetes-list-type: map/ { /- protocol/d }' deploy/crds/* | ||
sed -i -e '/---/d' deploy/crds/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment about why we're doing this. It's not obvious, because it shouldn't be a problem applying the resource and there's nothing to tie it back to problems with OLM metadata builds.
ee1af0c
to
394a465
Compare
394a465
to
7dd7709
Compare
@@ -0,0 +1,148 @@ | |||
|
|||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rcernich what makes these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run make generate-manifests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran make generate-manifests
. All of the new files are still there though. I'm assuming that's good.
Closed the previous PR without addressing the request to move the sed. This PR accomplishes that.