cleanup comments

This commit is contained in:
Samuel Archambault
2021-09-24 14:02:46 -04:00
parent b25f943b3a
commit d9e003bdb7

View File

@@ -74,14 +74,11 @@ func TestAppendUpdatedContainerSecretsParsesEnvFromEnv(t *testing.T) {
containers := generateContainersWithSecretRefsFromEnvFrom(containerSecretNames)
//fmt.Println(containers)
updatedDeploymentSecrets := map[string]*corev1.Secret{}
updatedDeploymentSecrets = AppendUpdatedContainerSecrets(containers, secretNamesToSearch, updatedDeploymentSecrets)
secretKeyName := "onepassword-api-key"
//fmt.Println(updatedDeploymentSecrets)
//fmt.Println(secretNamesToSearch)
if updatedDeploymentSecrets[secretKeyName] != secretNamesToSearch[secretKeyName] {
t.Errorf("Expected that updated Secret from envfrom is found.")
}