Skip to content

Conversation

@lkingland
Copy link
Member

Adds flags for manipulating volumes via cli flags

Note that tests are not included because the commands were not developed in a way conducive to testing. Tests are included in the forthcoming E2E test refactor, and will be included when the various config subcommands are refactored to match the architecture of other commands.

Configuring volumes now supports noninteractive CLI flow

@knative-prow knative-prow bot requested review from nainaz and vyasgun June 24, 2025 10:26
@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 24, 2025
@lkingland lkingland force-pushed the push-xqlkmpkwwqvr branch from 074cc62 to 6b92bb3 Compare June 24, 2025 10:26
@codecov
Copy link

codecov bot commented Jun 24, 2025

Codecov Report

Attention: Patch coverage is 26.66667% with 88 lines in your changes missing coverage. Please review.

Project coverage is 62.43%. Comparing base (1cccfd3) to head (6b92bb3).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
cmd/config_volumes.go 26.66% 86 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2883      +/-   ##
==========================================
+ Coverage   57.96%   62.43%   +4.46%     
==========================================
  Files         129      129              
  Lines       15767    15925     +158     
==========================================
+ Hits         9140     9942     +802     
+ Misses       5785     5038     -747     
- Partials      842      945     +103     
Flag Coverage Δ
e2e-tests 43.00% <26.66%> (+7.82%) ⬆️
integration-tests 48.70% <25.00%> (?)
unit-tests 48.80% <25.00%> (-0.32%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@gauron99 gauron99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jun 27, 2025
@knative-prow
Copy link

knative-prow bot commented Jun 27, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gauron99, lkingland

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot merged commit a384d6e into knative:main Jun 27, 2025
39 checks passed
@lkingland lkingland deleted the push-xqlkmpkwwqvr branch June 30, 2025 00:39
matejvasek pushed a commit to openshift-knative/kn-plugin-func that referenced this pull request Oct 14, 2025
openshift-merge-bot bot pushed a commit to openshift-knative/kn-plugin-func that referenced this pull request Oct 14, 2025
* feat: add noninteractive flow to volume config

picking knative#2883

* feat: add noninteractive flow to labels config

picking knative#2886

Signed-off-by: Matej Vašek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
Co-authored-by: Luke Kingland <luke@lukekingland.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants