Skip to content

Add release note and docs to credentials refactoring. #3299

Description

@twoGiants

Summary

After merging #3298 the following feature is now available:

  • The FUNC_[USERNAME|PASSWORD] environment variables now work also for the pushers other that the host pusher.

This needs to be added as a release note and into the official Knative func documentation.

You can create a small PR with some typo corrections for example, reference this issue and the mentioned PR and add a release note there with a link to another PR in the docs repo with the documentation update.

/kind documentation
/kind enhancement

Activity

  1. twoGiants commented on Dec 16, 2025

    @twoGiants
    ContributorAuthor

    /help

  2. knative-prow commented on Dec 16, 2025

    @knative-prow

    @twoGiants:
    This request has been marked as needing help from a contributor.

    Please ensure the request meets the requirements listed here.

    If this request no longer meets these requirements, the label can be removed
    by commenting with the /remove-help command.

    Details

    In response to this:

    /help

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

  3. twoGiants commented on Dec 16, 2025

    @twoGiants
    ContributorAuthor

    /good-first-issue

  4. knative-prow commented on Dec 16, 2025

    @knative-prow

    @twoGiants:
    This request has been marked as suitable for new contributors.

    Please ensure the request meets the requirements listed here.

    If this request no longer meets these requirements, the label can be removed
    by commenting with the /remove-good-first-issue command.

    Details

    In response to this:

    /good-first-issue

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

  5. matejvasek commented on Dec 16, 2025

    @matejvasek
    Contributor

    The flags is still hidden tho.

  6. Kunal1522 commented on Dec 16, 2025

    @Kunal1522
    Contributor

    hey i would like to take up this issue

  7. intojhanurag commented on Dec 17, 2025

    @intojhanurag
    Member

    /assign @Kunal1522

  8. intojhanurag commented on Dec 17, 2025

    @intojhanurag
    Member

    Hey @Kunal1522 , Feel free to raise a PR.

  9. Kunal1522 commented on Dec 18, 2025

    @Kunal1522
    Contributor

    you can create a small PR with some typo corrections for example, reference this issue and the mentioned PR and add a release note there with a link to another PR in the docs repo with the documentation update

    hi @twoGiants i created the pr #knative/docs#6543 in docs repo and referenced this issue and #3298 there but i did not understand what
    u meant by

    add a release note there with a link to another PR in the docs repo

    do i need to make another pr in docs repo and add the release notes and reference pr or i have to do something in this repo ?

  10. gauron99 commented on Dec 19, 2025

    @gauron99
    Contributor

    I think few things need to be resolved first?

    We have these values hidden, so running func build won't show the flags.
    We have this code which comments that it's only available for host builder so it needs to be updated and they should not be hidden anymore if that is the intentional behavior.
    Also we should make sure there aren't any new test cases we are missing

  11. Kunal1522 commented on Dec 21, 2025

    @Kunal1522
    Contributor

    hi @gauron99 thanks for review
    I ran a quick experiment - reverted the codebase to the commit right before PR #3298 and tested the s2i builder with FUNC_USERNAME/FUNC_PASSWORD

    The push succeeded, which suggests the credential flow may have been working for other builders too - perhaps PR #3298 was more about consolidating/cleaning up the implementation rather than enabling new functionality
    That said, I agree with your points if these flags are meant to work across all builders, we should unhide the flags, update the comments, and add test coverage for s2i/pack credential scenarios.
    I'd be happy to take this on as a follow-up PR if that works!
    would be great if @matejvasek could give his thoughts on this

    Image
  12. gauron99 commented on Dec 21, 2025

    @gauron99
    Contributor

    I think we should make sure this works first before creating a release note/ updating docs. I would prefer we do this the other way around. tests,update comments, unhide flags etc. then update docs

  13. gauron99 commented on Dec 21, 2025

    @gauron99
    Contributor

    I ran a quick experiment - reverted the codebase to the commit right before PR #3298 and tested the s2i builder with FUNC_USERNAME/FUNC_PASSWORD

    thats interesting. Perhaps you are right. would be good to get to the bottom of this so we can clearly say if this works or not.

  14. gauron99 commented on Feb 6, 2026

    @gauron99
    Contributor

    @Kunal1522 hey, can this be closed with #3394? is that complete?
    also there is a docs PR from you knative/docs#6543.
    Can we make that up-to-date and merge, if relevant still?

  15. Kunal1522 commented on Feb 6, 2026

    @Kunal1522
    Contributor

    hey @gauron99
    the flags were still hidden so i have attached a pr which unhides them.
    after merger of that pr we can update the docs ..
    also one thing that i wanted to mention in docs was that using FUNC_PASSWORD env var is more secure than --password flag because command-line args are visible to all users via ps .so i will update that in docs as well.
    after that i believe we can probably close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions