Skip to content

Commit

Permalink
Remove old fernet key loop
Browse files Browse the repository at this point in the history
  • Loading branch information
d34dh0r53 committed Dec 9, 2024
1 parent 4a64a83 commit 19ceb88
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions controllers/keystoneapi_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1517,11 +1517,6 @@ func (r *KeystoneAPIReconciler) ensureFernetKeys(
return nil
}

fernetKeys := make(map[string]string, len(secret.Data))
for k, v := range secret.Data {
fernetKeys[k] = string(v[:])
}

secret.Annotations[fernetAnnotation] = now.Format(time.RFC3339)

// use update to apply changes to the secret, since EnsureSecrets
Expand Down

0 comments on commit 19ceb88

Please sign in to comment.