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 secrets API and fix #287 for inlets-operator app #288

Merged
merged 1 commit into from Dec 5, 2020

Conversation

alexellis
Copy link
Owner

Signed-off-by: Alex Ellis (OpenFaaS Ltd) alexellis2@gmail.com

Description

Add secrets API and fix #287 for inlets-operator app

The secrets API allows for re-creation of existing secrets in
the cluster when reinstalling apps. This also refactors to a
pattern that can be reused in other apps.

Motivation and Context

Fixes #287

Reduces duplication across apps

How Has This Been Tested?

Tested with the app it was added to for taking in a token to DO. First by using /etc/hosts as the key, then providing a real API token file.

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)

The secrets API allows for re-creation of existing secrets in
the cluster when reinstalling apps. This also refactors to a
pattern that can be reused in other apps.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Copy link
Contributor

@Waterdrips Waterdrips left a comment

Choose a reason for hiding this comment

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

Lgtm

@alexellis alexellis merged commit e9186bf into master Dec 5, 2020
@alexellis alexellis deleted the openfaasltd/secrets-api branch February 21, 2021 09:49
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.

Update secrets when reinstalling apps
2 participants