Skip to content
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

(feat): show descriptions for params/creds at gen time #3089

Closed
wants to merge 1 commit into from

Conversation

schristoff
Copy link
Member

No description provided.

Signed-off-by: schristoff <28318173+schristoff@users.noreply.github.com>
@schristoff
Copy link
Member Author

As going through this I found the Hint: and Strategy: fields in Secret.Source. This would be the optimal way to implement this. I'm going to see if we can figure out how much wiring is needed to get those together.

@schristoff schristoff marked this pull request as ready for review May 1, 2024 02:09
@@ -15,7 +15,7 @@ import (
)

func TestNewParameterSet(t *testing.T) {
ps := NewParameterSet("dev", "myparams",
ps := NewParameterSet("dev", "myparams", "",
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't it make sense assert that the description is added correctly like this test does with the other inputs?

Copy link
Member Author

Choose a reason for hiding this comment

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

Correct, I'll update these

@@ -17,7 +17,7 @@ import (
)

func TestNewCredentialSet(t *testing.T) {
cs := NewCredentialSet("dev", "mycreds", secrets.SourceMap{
cs := NewCredentialSet("dev", "mycreds", "", secrets.SourceMap{
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't it make sense assert that the description is added correctly like this test does with the other inputs?

@schristoff
Copy link
Member Author

closing for #3112

@schristoff schristoff closed this May 12, 2024
@schristoff schristoff deleted the schristoff_3075 branch May 12, 2024 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants