Skip to content

Commit

Permalink
Merge pull request kubernetes#5794 from thockin/gcepd_name
Browse files Browse the repository at this point in the history
Rename the JSON for GCEPersistentDisk, fix examples
  • Loading branch information
roberthbailey committed Mar 24, 2015
2 parents fe65aa5 + 7ce59d9 commit 5c40bd6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/gce-pd/v1beta3/testpd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
mountPath: /testpd
volumes:
- name: testpd
persistentDisk:
gcePersistentDisk:
# This GCE PD must already exist.
pdName: %insert_pd_name_here%
fsType: ext4
2 changes: 1 addition & 1 deletion examples/mysql-wordpress-pd/v1beta3/mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
mountPath: /var/lib/mysql
volumes:
- name: mysql-persistent-storage
persistentDisk:
gcePersistentDisk:
# This GCE PD must already exist.
pdName: mysql-disk
fsType: ext4
Expand Down
2 changes: 1 addition & 1 deletion examples/mysql-wordpress-pd/v1beta3/wordpress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
mountPath: /var/www/html
volumes:
- name: wordpress-persistent-storage
persistentDisk:
gcePersistentDisk:
# This GCE PD must already exist.
pdName: wordpress-disk
fsType: ext4
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ type VolumeSource struct {
EmptyDir *EmptyDirVolumeSource `json:"emptyDir"`
// GCEPersistentDisk represents a GCE Disk resource that is attached to a
// kubelet's host machine and then exposed to the pod.
GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"persistentDisk"`
GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk"`
// GitRepo represents a git repository at a particular revision.
GitRepo *GitRepoVolumeSource `json:"gitRepo"`
// Secret represents a secret that should populate this volume.
Expand Down

0 comments on commit 5c40bd6

Please sign in to comment.