Skip to content

Commit

Permalink
Add support for k8s 1.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone committed Mar 26, 2020
1 parent 138727c commit 95e6cb3
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
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 scripts/get-py-version)
KUBE_VERSION ?= v1.18.0
KUBE_VERSION ?= v1.19.0-alpha.1
SWAGGER_URL ?= https://github.com/kubernetes/kubernetes/raw/${KUBE_VERSION}/api/openapi-spec/swagger.json
OPENAPI_DIR := pkg/gen/openapi-specs
OPENAPI_FILE := ${OPENAPI_DIR}/swagger-${KUBE_VERSION}.json
Expand Down
4 changes: 2 additions & 2 deletions sdk/dotnet/Types/Input.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15845,7 +15845,7 @@ public class NodeSystemInfoArgs : Pulumi.ResourceArgs
/// <summary>
/// SystemUUID reported by the node. For unique machine identification MachineID is
/// preferred. This field is specific to Red Hat hosts
/// https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
/// https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
/// </summary>
[Input("systemUUID", required: true)]
public Input<string> SystemUUID { get; set; } = null!;
Expand Down Expand Up @@ -24927,7 +24927,7 @@ public InputList<Networking.V1.NetworkPolicyArgs> Items
}

/// <summary>
/// NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of
/// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of
/// fields are allowed
/// </summary>
public class NetworkPolicyPeerArgs : Pulumi.ResourceArgs
Expand Down
4 changes: 2 additions & 2 deletions sdk/dotnet/Types/Output.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18160,7 +18160,7 @@ public sealed class NodeSystemInfo
/// <summary>
/// SystemUUID reported by the node. For unique machine identification MachineID is
/// preferred. This field is specific to Red Hat hosts
/// https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
/// https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
/// </summary>
public readonly string SystemUUID;

Expand Down Expand Up @@ -28323,7 +28323,7 @@ public sealed class NetworkPolicyList

}
/// <summary>
/// NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of
/// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of
/// fields are allowed
/// </summary>
[OutputType]
Expand Down
8 changes: 4 additions & 4 deletions sdk/go/kubernetes/core/v1/pulumiTypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -13695,7 +13695,7 @@ type NodeSystemInfo struct {
OperatingSystem *string `pulumi:"operatingSystem"`
// OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
OsImage *string `pulumi:"osImage"`
// SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
// SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
SystemUUID *string `pulumi:"systemUUID"`
}

Expand Down Expand Up @@ -13726,7 +13726,7 @@ type NodeSystemInfoArgs struct {
OperatingSystem pulumi.StringPtrInput `pulumi:"operatingSystem"`
// OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
OsImage pulumi.StringPtrInput `pulumi:"osImage"`
// SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
// SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
SystemUUID pulumi.StringPtrInput `pulumi:"systemUUID"`
}

Expand Down Expand Up @@ -13845,7 +13845,7 @@ func (o NodeSystemInfoOutput) OsImage() pulumi.StringPtrOutput {
return o.ApplyT(func(v NodeSystemInfo) *string { return v.OsImage }).(pulumi.StringPtrOutput)
}

// SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
// SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
func (o NodeSystemInfoOutput) SystemUUID() pulumi.StringPtrOutput {
return o.ApplyT(func(v NodeSystemInfo) *string { return v.SystemUUID }).(pulumi.StringPtrOutput)
}
Expand Down Expand Up @@ -13913,7 +13913,7 @@ func (o NodeSystemInfoPtrOutput) OsImage() pulumi.StringPtrOutput {
return o.ApplyT(func(v NodeSystemInfo) *string { return v.OsImage }).(pulumi.StringPtrOutput)
}

// SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
// SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
func (o NodeSystemInfoPtrOutput) SystemUUID() pulumi.StringPtrOutput {
return o.ApplyT(func(v NodeSystemInfo) *string { return v.SystemUUID }).(pulumi.StringPtrOutput)
}
Expand Down
6 changes: 3 additions & 3 deletions sdk/go/kubernetes/networking/v1/pulumiTypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ func (o NetworkPolicyListTypeOutput) Metadata() metav1.ListMetaPtrOutput {
return o.ApplyT(func(v NetworkPolicyListType) *metav1.ListMeta { return v.Metadata }).(metav1.ListMetaPtrOutput)
}

// NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed
// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed
type NetworkPolicyPeer struct {
// IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
IpBlock *IPBlock `pulumi:"ipBlock"`
Expand All @@ -563,7 +563,7 @@ type NetworkPolicyPeerInput interface {
ToNetworkPolicyPeerOutputWithContext(context.Context) NetworkPolicyPeerOutput
}

// NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed
// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed
type NetworkPolicyPeerArgs struct {
// IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
IpBlock IPBlockPtrInput `pulumi:"ipBlock"`
Expand Down Expand Up @@ -610,7 +610,7 @@ func (i NetworkPolicyPeerArray) ToNetworkPolicyPeerArrayOutputWithContext(ctx co
return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyPeerArrayOutput)
}

// NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed
// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed
type NetworkPolicyPeerOutput struct{ *pulumi.OutputState }

func (NetworkPolicyPeerOutput) ElementType() reflect.Type {
Expand Down
6 changes: 3 additions & 3 deletions sdk/nodejs/types/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13152,7 +13152,7 @@ export namespace core {
/**
* SystemUUID reported by the node. For unique machine identification MachineID is preferred.
* This field is specific to Red Hat hosts
* https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
* https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
*/
systemUUID: pulumi.Input<string>

Expand Down Expand Up @@ -20560,8 +20560,8 @@ export namespace networking {
}

/**
* NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields
* are allowed
* NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of
* fields are allowed
*/
export interface NetworkPolicyPeer {
/**
Expand Down
6 changes: 3 additions & 3 deletions sdk/nodejs/types/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12725,7 +12725,7 @@ export namespace core {
/**
* SystemUUID reported by the node. For unique machine identification MachineID is preferred.
* This field is specific to Red Hat hosts
* https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
* https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
*/
readonly systemUUID: string

Expand Down Expand Up @@ -19881,8 +19881,8 @@ export namespace networking {
}

/**
* NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields
* are allowed
* NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of
* fields are allowed
*/
export interface NetworkPolicyPeer {
/**
Expand Down

0 comments on commit 95e6cb3

Please sign in to comment.