Merge pull request #46597 from dixudx/implement_proposal_34058

Automatic merge from submit-queue (batch tested with PRs 51113, 46597, 50397, 51052, 51166)

implement proposal 34058: hostPath volume type

**What this PR does / why we need it**:
implement proposal #34058

**Which issue this PR fixes** : fixes #46549

**Special notes for your reviewer**:
cc @thockin @luxas @euank PTAL
This commit is contained in:
Kubernetes Submit Queue
2017-08-23 23:16:27 -07:00
committed by GitHub
64 changed files with 2314 additions and 896 deletions

View File

@@ -59407,7 +59407,11 @@
],
"properties": {
"path": {
"description": "Path of the directory on the host. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
"type": "string"
},
"type": {
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
"type": "string"
}
}

View File

@@ -4135,10 +4135,18 @@
"properties": {
"path": {
"type": "string",
"description": "Path of the directory on the host. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
"type": {
"$ref": "v1.HostPathType",
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
}
}
},
"v1.HostPathType": {
"id": "v1.HostPathType",
"properties": {}
},
"v1.EmptyDirVolumeSource": {
"id": "v1.EmptyDirVolumeSource",
"description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",

View File

@@ -6273,10 +6273,18 @@
"properties": {
"path": {
"type": "string",
"description": "Path of the directory on the host. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
"type": {
"$ref": "v1.HostPathType",
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
}
}
},
"v1.HostPathType": {
"id": "v1.HostPathType",
"properties": {}
},
"v1.EmptyDirVolumeSource": {
"id": "v1.EmptyDirVolumeSource",
"description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",

View File

@@ -1717,10 +1717,18 @@
"properties": {
"path": {
"type": "string",
"description": "Path of the directory on the host. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
"type": {
"$ref": "v1.HostPathType",
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
}
}
},
"v1.HostPathType": {
"id": "v1.HostPathType",
"properties": {}
},
"v1.EmptyDirVolumeSource": {
"id": "v1.EmptyDirVolumeSource",
"description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",

View File

@@ -1772,10 +1772,18 @@
"properties": {
"path": {
"type": "string",
"description": "Path of the directory on the host. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
"type": {
"$ref": "v1.HostPathType",
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
}
}
},
"v1.HostPathType": {
"id": "v1.HostPathType",
"properties": {}
},
"v1.EmptyDirVolumeSource": {
"id": "v1.EmptyDirVolumeSource",
"description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",

View File

@@ -1772,10 +1772,18 @@
"properties": {
"path": {
"type": "string",
"description": "Path of the directory on the host. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
"type": {
"$ref": "v1.HostPathType",
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
}
}
},
"v1.HostPathType": {
"id": "v1.HostPathType",
"properties": {}
},
"v1.EmptyDirVolumeSource": {
"id": "v1.EmptyDirVolumeSource",
"description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",

View File

@@ -6827,10 +6827,18 @@
"properties": {
"path": {
"type": "string",
"description": "Path of the directory on the host. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
"type": {
"$ref": "v1.HostPathType",
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
}
}
},
"v1.HostPathType": {
"id": "v1.HostPathType",
"properties": {}
},
"v1.EmptyDirVolumeSource": {
"id": "v1.EmptyDirVolumeSource",
"description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",

View File

@@ -1573,10 +1573,18 @@
"properties": {
"path": {
"type": "string",
"description": "Path of the directory on the host. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
"type": {
"$ref": "v1.HostPathType",
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
}
}
},
"v1.HostPathType": {
"id": "v1.HostPathType",
"properties": {}
},
"v1.EmptyDirVolumeSource": {
"id": "v1.EmptyDirVolumeSource",
"description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",

View File

@@ -18998,10 +18998,18 @@
"properties": {
"path": {
"type": "string",
"description": "Path of the directory on the host. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
"type": {
"$ref": "v1.HostPathType",
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
}
}
},
"v1.HostPathType": {
"id": "v1.HostPathType",
"properties": {}
},
"v1.GlusterfsVolumeSource": {
"id": "v1.GlusterfsVolumeSource",
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",