Skip to content

Commit

Permalink
Read secret.Data since secret.StringData is write-only
Browse files Browse the repository at this point in the history
  • Loading branch information
ctavan committed Mar 24, 2017
1 parent 6a393bb commit 6341110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/kubernetes/resource_kubernetes_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func resourceKubernetesSecretRead(d *schema.ResourceData, meta interface{}) erro
return err
}

d.Set("data", secret.StringData)
d.Set("data", secret.Data)

return nil
}
Expand Down

0 comments on commit 6341110

Please sign in to comment.