Skip to content

Commit

Permalink
Bump to v1.14.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone committed Feb 26, 2019
1 parent 737f8f4 commit fe25d6a
Show file tree
Hide file tree
Showing 17 changed files with 1,229 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PROVIDER := pulumi-resource-${PACK}
CODEGEN := pulumi-gen-${PACK}
VERSION ?= $(shell scripts/get-version)
PYPI_VERSION := $(shell scripts/get-py-version)
KUBE_VERSION ?= v1.14.0-beta.0
KUBE_VERSION ?= v1.14.0-beta.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
397 changes: 389 additions & 8 deletions sdk/nodejs/provider.ts

Large diffs are not rendered by default.

360 changes: 349 additions & 11 deletions sdk/nodejs/types/input.ts

Large diffs are not rendered by default.

337 changes: 326 additions & 11 deletions sdk/nodejs/types/output.ts

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions sdk/python/pulumi_kubernetes/coordination/v1/Lease.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import pulumi
import pulumi.runtime

from ... import tables


class Lease(pulumi.CustomResource):
"""
Lease defines a lease concept.
Expand Down
4 changes: 3 additions & 1 deletion sdk/python/pulumi_kubernetes/extensions/v1beta1/Ingress.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ class Ingress(pulumi.CustomResource):
"""
Ingress is a collection of rules that allow inbound connections to reach the endpoints defined
by a backend. An Ingress can be configured to give services externally-reachable urls, load
balance traffic, terminate SSL, offer name based virtual hosting etc.
balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group
version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for
more information.
"""
def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None):
if not __name__:
Expand Down
1 change: 1 addition & 0 deletions sdk/python/pulumi_kubernetes/networking/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
# Make subpackages available:
__all__ = [
"v1",
"v1beta1",
]
42 changes: 42 additions & 0 deletions sdk/python/pulumi_kubernetes/networking/v1beta1/Ingress.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import pulumi
import pulumi.runtime

from ... import tables


class Ingress(pulumi.CustomResource):
"""
Ingress is a collection of rules that allow inbound connections to reach the endpoints defined
by a backend. An Ingress can be configured to give services externally-reachable urls, load
balance traffic, terminate SSL, offer name based virtual hosting etc.
"""
def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None):
if not __name__:
raise TypeError('Missing resource name argument (for URN creation)')
if not isinstance(__name__, str):
raise TypeError('Expected resource name to be a string')
if __opts__ and not isinstance(__opts__, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')

__props__ = dict()

__props__['apiVersion'] = 'networking.k8s.io/v1beta1'
__props__['kind'] = 'Ingress'
__props__['metadata'] = metadata
__props__['spec'] = spec
__props__['status'] = status

super(Ingress, self).__init__(
"kubernetes:networking.k8s.io/v1beta1:Ingress",
__name__,
__props__,
__opts__)

def translate_output_property(self, prop: str) -> str:
return tables._CASING_FORWARD_TABLE.get(prop) or prop

def translate_input_property(self, prop: str) -> str:
return tables._CASING_BACKWARD_TABLE.get(prop) or prop
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
from ... import tables


class InitializerConfigurationList(pulumi.CustomResource):
class IngressList(pulumi.CustomResource):
"""
InitializerConfigurationList is a list of InitializerConfiguration.
IngressList is a collection of Ingress.
"""
def __init__(self, __name__, __opts__=None, items=None, metadata=None):
if not __name__:
Expand All @@ -21,15 +21,15 @@ def __init__(self, __name__, __opts__=None, items=None, metadata=None):

__props__ = dict()

__props__['apiVersion'] = 'admissionregistration.k8s.io/v1alpha1'
__props__['kind'] = 'InitializerConfigurationList'
__props__['apiVersion'] = 'networking.k8s.io/v1beta1'
__props__['kind'] = 'IngressList'
if items is None:
raise TypeError('Missing required property items')
__props__['items'] = items
__props__['metadata'] = metadata

super(InitializerConfigurationList, self).__init__(
"kubernetes:admissionregistration.k8s.io/v1alpha1:InitializerConfigurationList",
super(IngressList, self).__init__(
"kubernetes:networking.k8s.io/v1beta1:IngressList",
__name__,
__props__,
__opts__)
Expand Down
7 changes: 7 additions & 0 deletions sdk/python/pulumi_kubernetes/networking/v1beta1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

# Export this package's modules as members:
from .Ingress import *
from .IngressList import *
1 change: 1 addition & 0 deletions sdk/python/pulumi_kubernetes/scheduling/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# Make subpackages available:
__all__ = [
"v1",
"v1alpha1",
"v1beta1",
]
44 changes: 44 additions & 0 deletions sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClass.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import pulumi
import pulumi.runtime

from ... import tables


class PriorityClass(pulumi.CustomResource):
"""
PriorityClass defines mapping from a priority class name to the priority integer value. The
value can be any valid integer.
"""
def __init__(self, __name__, __opts__=None, description=None, global_default=None, metadata=None, value=None):
if not __name__:
raise TypeError('Missing resource name argument (for URN creation)')
if not isinstance(__name__, str):
raise TypeError('Expected resource name to be a string')
if __opts__ and not isinstance(__opts__, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')

__props__ = dict()

__props__['apiVersion'] = 'scheduling.k8s.io/v1'
__props__['kind'] = 'PriorityClass'
if value is None:
raise TypeError('Missing required property value')
__props__['value'] = value
__props__['description'] = description
__props__['globalDefault'] = global_default
__props__['metadata'] = metadata

super(PriorityClass, self).__init__(
"kubernetes:scheduling.k8s.io/v1:PriorityClass",
__name__,
__props__,
__opts__)

def translate_output_property(self, prop: str) -> str:
return tables._CASING_FORWARD_TABLE.get(prop) or prop

def translate_input_property(self, prop: str) -> str:
return tables._CASING_BACKWARD_TABLE.get(prop) or prop
41 changes: 41 additions & 0 deletions sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClassList.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import pulumi
import pulumi.runtime

from ... import tables


class PriorityClassList(pulumi.CustomResource):
"""
PriorityClassList is a collection of priority classes.
"""
def __init__(self, __name__, __opts__=None, items=None, metadata=None):
if not __name__:
raise TypeError('Missing resource name argument (for URN creation)')
if not isinstance(__name__, str):
raise TypeError('Expected resource name to be a string')
if __opts__ and not isinstance(__opts__, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')

__props__ = dict()

__props__['apiVersion'] = 'scheduling.k8s.io/v1'
__props__['kind'] = 'PriorityClassList'
if items is None:
raise TypeError('Missing required property items')
__props__['items'] = items
__props__['metadata'] = metadata

super(PriorityClassList, self).__init__(
"kubernetes:scheduling.k8s.io/v1:PriorityClassList",
__name__,
__props__,
__opts__)

def translate_output_property(self, prop: str) -> str:
return tables._CASING_FORWARD_TABLE.get(prop) or prop

def translate_input_property(self, prop: str) -> str:
return tables._CASING_BACKWARD_TABLE.get(prop) or prop
7 changes: 7 additions & 0 deletions sdk/python/pulumi_kubernetes/scheduling/v1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

# Export this package's modules as members:
from .PriorityClass import *
from .PriorityClassList import *
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

class PriorityClass(pulumi.CustomResource):
"""
PriorityClass defines mapping from a priority class name to the priority integer value. The
value can be any valid integer.
DEPRECATED - This group version of PriorityClass is deprecated by
scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to
the priority integer value. The value can be any valid integer.
"""
def __init__(self, __name__, __opts__=None, description=None, global_default=None, metadata=None, value=None):
if not __name__:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

class PriorityClass(pulumi.CustomResource):
"""
PriorityClass defines mapping from a priority class name to the priority integer value. The
value can be any valid integer.
DEPRECATED - This group version of PriorityClass is deprecated by
scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to
the priority integer value. The value can be any valid integer.
"""
def __init__(self, __name__, __opts__=None, description=None, global_default=None, metadata=None, value=None):
if not __name__:
Expand Down
2 changes: 2 additions & 0 deletions sdk/python/pulumi_kubernetes/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@
"storedVersions": "stored_versions",
"stringData": "string_data",
"subPath": "sub_path",
"subPathExpr": "sub_path_expr",
"successThreshold": "success_threshold",
"successfulJobsHistoryLimit": "successful_jobs_history_limit",
"supplementalGroups": "supplemental_groups",
Expand Down Expand Up @@ -738,6 +739,7 @@
"stored_versions": "storedVersions",
"string_data": "stringData",
"sub_path": "subPath",
"sub_path_expr": "subPathExpr",
"success_threshold": "successThreshold",
"successful_jobs_history_limit": "successfulJobsHistoryLimit",
"supplemental_groups": "supplementalGroups",
Expand Down

0 comments on commit fe25d6a

Please sign in to comment.