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

Add Namespace to Secret type #1334

Merged
merged 2 commits into from
Oct 5, 2019
Merged

Add Namespace to Secret type #1334

merged 2 commits into from
Oct 5, 2019

Conversation

jonatasbaldin
Copy link

Signed-off-by: Jonatas Baldin [email protected]

Description

Enables Namespace in Secret. Depends on faas-provider #28.

Motivation and Context

  • I have raised an issue to propose this change (required) faas-netes #511.
  • My issue has received approval from the maintainers or lead with the design/approved label

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Signed-off-by: Jonatas Baldin <[email protected]>
@@ -19,6 +19,7 @@ type DeleteFunctionRequest struct {

// Secret for underlying orchestrator
type Secret struct {
Name string `json:"name"`
Value string `json:"value,omitempty"`
Name string `json:"name"`
Copy link
Member

Choose a reason for hiding this comment

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

Why are we using the Secret struct from faas, if we have it in faas-provider too? Can we delete this copy?

Copy link
Author

Choose a reason for hiding this comment

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

Yeah, took a look here and it's not being used anywhere. Removing it.

Copy link
Member

@alexellis alexellis left a comment

Choose a reason for hiding this comment

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

Comment added.

Signed-off-by: Jonatas Baldin <[email protected]>
@jonatasbaldin
Copy link
Author

Can I update the faas-provider version already?

Copy link
Member

@alexellis alexellis left a comment

Choose a reason for hiding this comment

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

Approved

@alexellis alexellis merged commit 22b15fb into openfaas:master Oct 5, 2019
@alexellis
Copy link
Member

Sure, I cut a new release for you.

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