Skip to content

Convert jib.to.auth.username and jib.to.auth.password to properties #2905

@dubinsky

Description

@dubinsky

I think it makes sense to convert jib.to.auth.username and jib.to.auth.password from Strings to Property<String>s in AuthParameters, just as it was done in #2727 / #2739 for jib.to.image in TargetImageParameters.

Motivation is the same as withjib.to.image: make JIB configuration lazier, allowing setting the values (for instance) from other plugins. In my case, I'd like to be able to set the authentication parameters to the values exposed by a Cloud Run plugin and avoid duplicating the code that retrieves them.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions