8000 Refactor LocalSecretStore by pleshakov · Pull Request #1260 · nginx/kubernetes-ingress · GitHub
[go: up one dir, main page]

Skip to content

Conversation

pleshakov
Copy link
Contributor

Proposed changes

  • Move LocalSecretStore, SecretReference, secret validation
    to a new internal/k8s/secrets package
  • Refactor GetSecret into GetSecretReference

- Move LocalSecretStore, SecretReference, secret validation
to a new internal/k8s/secrets package
- Refactor GetSecret into GetSecretReference
secretType, secretPath, err := lbc.secretStore.GetSecret(secretKey)
if err != nil {
glog.Warningf("Error trying to get the secret %v for Ingress %v: %v", secretName, ing.Name, err)
secretRef := lbc.secretStore.GetSecretReference(secretKey)

Choose a reason for hiding this comment

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

Nice change Michael!

Copy link
@mikestephen mikestephen left a comment

Choose a reason for hiding this comment

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

Nice changes!

@pleshakov pleshakov merged commit 788477a into master Dec 4, 2020
@pleshakov pleshakov deleted the refactor-localsecretstore branch December 4, 2020 17:39
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.

3 participants
0