-
Notifications
You must be signed in to change notification settings - Fork 110
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
support filtering resources by label in kapp deploy #272
Comments
@jdef it sounds like you want to filter resources for the deploy operation. we have --filter-* flags; however, we do not currently have a flag that filter by label. would be good to add it though. |
Thanks for clarifying
…On Fri, Aug 13, 2021, 10:51 PM Dmitriy Kalinin ***@***.***> wrote:
@jdef <https://github.com/jdef> -a label:... is not used to filter
resources within given yaml. for deploy command it's used to determine what
label to apply to resources that are deployed. (e.g. -a label:foo=bar will
result in foo label being set on all deployed resources). for inspect
command -a label:... is used to determine what resources to select from
the cluster. same goes for delete command.
it sounds like you want to filter resources for the deploy operation. we
have --filter-* flags; however, we do not currently have a flag that filter
by label. would be good to add it though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#272 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR5KLDAIXC2P5KWCIOBS2DT4XK3VANCNFSM5CCLQWEA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
per similar design, in a slightly different enhancement [0], we should probably introduce /cc @renuy [0] #182 (comment) |
Summarising: Introduction of a new resource filter flag (--filter-labels). This would be applicable for the following kapp commands:
|
@jdef , adding this issue to the backlog. It is currently not prioritised. |
I'm still waiting for corporate approval on other OSS patches I submitted
for review, internally, *last year*. So while I'd like to be able to push a
PR for this, my hands are tied for now.
…On Tue, Aug 17, 2021 at 12:09 PM Renu Yarday ***@***.***> wrote:
@jdef <https://github.com/jdef> , adding this issue to the backlog. It is
currently not prioritised.
However, we could prioritise a review, if you want to put together a pull
request for this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#272 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR5KLEZHLWRDPCUIXZOA5DT5KCVDANCNFSM5CCLQWEA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
James DeFelice
585.241.9488 (voice)
650.649.6071 (fax)
|
Will be available in release v0.40.0 |
release v0.40.0 |
What steps did you take:
What happened:
What did you expect:
I expected kapp to deploy all the resources in the yaml since none have a label w/ the key "undefined", and the expression in the attempted command line is supposed to be valid.
Anything else you would like to add:
[Additional information that will assist in solving the issue.]
Environment:
kapp --version
): 0.37.0/etc/os-release
):kubectl version
)Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: