Add ResolvePodSpec to podspec.go and move the related utilities to podspec_helper#1024
Conversation
f01df84 to
89a44ab
Compare
89a44ab to
4cfdb6e
Compare
4cfdb6e to
610519d
Compare
|
/test pull-knative-client-integration-tests-latest-release |
610519d to
a2993c7
Compare
a2993c7 to
8a07eea
Compare
|
/retest |
|
I will rebase it when #1068 gets merged. Let's see if the lint test could pass. |
3158cdc to
487b022
Compare
|
@maximilien @rhuss @navidshaikh @dsimansk I think this one is ready for review. Will you take a look ? Thank you. |
maximilien
left a comment
There was a problem hiding this comment.
As per meeting yesterday, this is good to go, right @navidshaikh ?
LGTM
c5ac135 to
753a0f3
Compare
753a0f3 to
da55b40
Compare
navidshaikh
left a comment
There was a problem hiding this comment.
lgtm, please remove the commented code and add a CHANGELOG entry, we should be good to merge then.
|
The following is the coverage report on the affected files.
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: daisy-ycguo, maximilien, navidshaikh 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 |
Description
It's a refactor PR. The goal is to add a method
in
flags/podspec.goso that the logic to resolve a PodSpec from flags can be used by both service commands group and ContainerSource commands group.This PR demonstrates how
PodSpecFlags.ResolvePodSpecis used in service commands. PR #1016 demonstrates howPodSpecFlagsandPodSpecFlags.ResolvePodSpecis used in container source commands.Changes
ResolvePodSpecinflags/podspec.goserving/config_changes.gotoflags/podspec_helper.goserving/config_changes.gotoutils/corev1_helper.goReference
Refer to PR #1016 and see how
PodSpecFlags.ResolvePodSpecis used in container source commands group.