Skip to content

Commit

Permalink
Rename volume.Builder to Mounter and volume.Cleaner to Unmounter
Browse files Browse the repository at this point in the history
  • Loading branch information
saad-ali committed Mar 25, 2016
1 parent a40a5ee commit 3dc5930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,11 +391,11 @@ type Host interface {

The secret volume plugin will be responsible for:

1. Returning a `volume.Builder` implementation from `NewBuilder` that:
1. Returning a `volume.Mounter` implementation from `NewMounter` that:
1. Retrieves the secret data for the volume from the API server
2. Places the secret data onto the container's filesystem
3. Sets the correct security attributes for the volume based on the pod's `SecurityContext`
2. Returning a `volume.Cleaner` implementation from `NewClear` that cleans the volume from the
2. Returning a `volume.Unmounter` implementation from `NewUnmounter` that cleans the volume from the
container's filesystem

### Kubelet: Node-level secret storage
Expand Down

0 comments on commit 3dc5930

Please sign in to comment.