Skip to content

Commit

Permalink
Update to 1.19.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone committed Jul 21, 2020
1 parent bc89154 commit e476a37
Show file tree
Hide file tree
Showing 11 changed files with 93 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PROVIDER := pulumi-resource-${PACK}
CODEGEN := pulumi-gen-${PACK}
VERSION ?= $(shell scripts/get-version)
PYPI_VERSION := $(shell cd scripts && ./get-py-version)
KUBE_VERSION ?= v1.19.0-rc.1
KUBE_VERSION ?= v1.19.0-rc.2
SWAGGER_URL ?= https://github.com/kubernetes/kubernetes/raw/${KUBE_VERSION}/api/openapi-spec/swagger.json
OPENAPI_DIR := provider/pkg/gen/openapi-specs
OPENAPI_FILE := ${OPENAPI_DIR}/swagger-${KUBE_VERSION}.json
Expand Down
10 changes: 10 additions & 0 deletions provider/cmd/pulumi-resource-kubernetes/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26016,6 +26016,10 @@
"type": "boolean",
"description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."
},
"fsGroupPolicy": {
"type": "string",
"description": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."
},
"podInfoOnMount": {
"type": "boolean",
"description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver."
Expand All @@ -26037,6 +26041,7 @@
"nodejs": {
"requiredOutputs": [
"attachRequired",
"fsGroupPolicy",
"podInfoOnMount",
"storageCapacity",
"volumeLifecycleModes"
Expand Down Expand Up @@ -26792,6 +26797,10 @@
"type": "boolean",
"description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."
},
"fsGroupPolicy": {
"type": "string",
"description": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."
},
"podInfoOnMount": {
"type": "boolean",
"description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver."
Expand All @@ -26813,6 +26822,7 @@
"nodejs": {
"requiredOutputs": [
"attachRequired",
"fsGroupPolicy",
"podInfoOnMount",
"storageCapacity",
"volumeLifecycleModes"
Expand Down
6 changes: 6 additions & 0 deletions sdk/dotnet/Storage/V1/Inputs/CSIDriverSpecArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ public class CSIDriverSpecArgs : Pulumi.ResourceArgs
[Input("attachRequired")]
public Input<bool>? AttachRequired { get; set; }

/// <summary>
/// Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
/// </summary>
[Input("fsGroupPolicy")]
public Input<string>? FsGroupPolicy { get; set; }

/// <summary>
/// If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
/// defined by a CSIVolumeSource, otherwise "false"
Expand Down
7 changes: 7 additions & 0 deletions sdk/dotnet/Storage/V1/Outputs/CSIDriverSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ public sealed class CSIDriverSpec
/// </summary>
public readonly bool AttachRequired;
/// <summary>
/// Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
/// </summary>
public readonly string FsGroupPolicy;
/// <summary>
/// If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
/// defined by a CSIVolumeSource, otherwise "false"
///
Expand All @@ -43,13 +47,16 @@ public sealed class CSIDriverSpec
private CSIDriverSpec(
bool attachRequired,

string fsGroupPolicy,

bool podInfoOnMount,

bool storageCapacity,

ImmutableArray<string> volumeLifecycleModes)
{
AttachRequired = attachRequired;
FsGroupPolicy = fsGroupPolicy;
PodInfoOnMount = podInfoOnMount;
StorageCapacity = storageCapacity;
VolumeLifecycleModes = volumeLifecycleModes;
Expand Down
6 changes: 6 additions & 0 deletions sdk/dotnet/Storage/V1Beta1/Inputs/CSIDriverSpecArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ public class CSIDriverSpecArgs : Pulumi.ResourceArgs
[Input("attachRequired")]
public Input<bool>? AttachRequired { get; set; }

/// <summary>
/// Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
/// </summary>
[Input("fsGroupPolicy")]
public Input<string>? FsGroupPolicy { get; set; }

/// <summary>
/// If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
/// defined by a CSIVolumeSource, otherwise "false"
Expand Down
7 changes: 7 additions & 0 deletions sdk/dotnet/Storage/V1Beta1/Outputs/CSIDriverSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ public sealed class CSIDriverSpec
/// </summary>
public readonly bool AttachRequired;
/// <summary>
/// Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
/// </summary>
public readonly string FsGroupPolicy;
/// <summary>
/// If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
/// defined by a CSIVolumeSource, otherwise "false"
///
Expand All @@ -43,13 +47,16 @@ public sealed class CSIDriverSpec
private CSIDriverSpec(
bool attachRequired,

string fsGroupPolicy,

bool podInfoOnMount,

bool storageCapacity,

ImmutableArray<string> volumeLifecycleModes)
{
AttachRequired = attachRequired;
FsGroupPolicy = fsGroupPolicy;
PodInfoOnMount = podInfoOnMount;
StorageCapacity = storageCapacity;
VolumeLifecycleModes = volumeLifecycleModes;
Expand Down
Loading

0 comments on commit e476a37

Please sign in to comment.