pulumi-kubernetes-cert-manager 0.2.0a1736827123__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_kubernetes_cert_manager/__init__.py +35 -0
- pulumi_kubernetes_cert_manager/_inputs.py +2517 -0
- pulumi_kubernetes_cert_manager/_utilities.py +327 -0
- pulumi_kubernetes_cert_manager/cert_manager.py +657 -0
- pulumi_kubernetes_cert_manager/outputs.py +121 -0
- pulumi_kubernetes_cert_manager/provider.py +76 -0
- pulumi_kubernetes_cert_manager/pulumi-plugin.json +5 -0
- pulumi_kubernetes_cert_manager/py.typed +0 -0
- pulumi_kubernetes_cert_manager-0.2.0a1736827123.dist-info/METADATA +47 -0
- pulumi_kubernetes_cert_manager-0.2.0a1736827123.dist-info/RECORD +12 -0
- pulumi_kubernetes_cert_manager-0.2.0a1736827123.dist-info/WHEEL +5 -0
- pulumi_kubernetes_cert_manager-0.2.0a1736827123.dist-info/top_level.txt +1 -0
@@ -0,0 +1,121 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from . import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'ReleaseStatus',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class ReleaseStatus(dict):
|
23
|
+
@staticmethod
|
24
|
+
def __key_warning(key: str):
|
25
|
+
suggest = None
|
26
|
+
if key == "appVersion":
|
27
|
+
suggest = "app_version"
|
28
|
+
|
29
|
+
if suggest:
|
30
|
+
pulumi.log.warn(f"Key '{key}' not found in ReleaseStatus. Access the value via the '{suggest}' property getter instead.")
|
31
|
+
|
32
|
+
def __getitem__(self, key: str) -> Any:
|
33
|
+
ReleaseStatus.__key_warning(key)
|
34
|
+
return super().__getitem__(key)
|
35
|
+
|
36
|
+
def get(self, key: str, default = None) -> Any:
|
37
|
+
ReleaseStatus.__key_warning(key)
|
38
|
+
return super().get(key, default)
|
39
|
+
|
40
|
+
def __init__(__self__, *,
|
41
|
+
app_version: str,
|
42
|
+
chart: str,
|
43
|
+
name: str,
|
44
|
+
namespace: str,
|
45
|
+
revision: int,
|
46
|
+
status: str,
|
47
|
+
version: str):
|
48
|
+
"""
|
49
|
+
:param str app_version: The version number of the application being deployed.
|
50
|
+
:param str chart: The name of the chart.
|
51
|
+
:param str name: Name is the name of the release.
|
52
|
+
:param str namespace: Namespace is the kubernetes namespace of the release.
|
53
|
+
:param int revision: Version is an int32 which represents the version of the release.
|
54
|
+
:param str status: Status of the release.
|
55
|
+
:param str version: A SemVer 2 conformant version string of the chart.
|
56
|
+
"""
|
57
|
+
pulumi.set(__self__, "app_version", app_version)
|
58
|
+
pulumi.set(__self__, "chart", chart)
|
59
|
+
pulumi.set(__self__, "name", name)
|
60
|
+
pulumi.set(__self__, "namespace", namespace)
|
61
|
+
pulumi.set(__self__, "revision", revision)
|
62
|
+
pulumi.set(__self__, "status", status)
|
63
|
+
pulumi.set(__self__, "version", version)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="appVersion")
|
67
|
+
def app_version(self) -> str:
|
68
|
+
"""
|
69
|
+
The version number of the application being deployed.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "app_version")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def chart(self) -> str:
|
76
|
+
"""
|
77
|
+
The name of the chart.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "chart")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def name(self) -> str:
|
84
|
+
"""
|
85
|
+
Name is the name of the release.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "name")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def namespace(self) -> str:
|
92
|
+
"""
|
93
|
+
Namespace is the kubernetes namespace of the release.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "namespace")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def revision(self) -> int:
|
100
|
+
"""
|
101
|
+
Version is an int32 which represents the version of the release.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "revision")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter
|
107
|
+
def status(self) -> str:
|
108
|
+
"""
|
109
|
+
Status of the release.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "status")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter
|
115
|
+
def version(self) -> str:
|
116
|
+
"""
|
117
|
+
A SemVer 2 conformant version string of the chart.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "version")
|
120
|
+
|
121
|
+
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from . import _utilities
|
16
|
+
|
17
|
+
__all__ = ['ProviderArgs', 'Provider']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ProviderArgs:
|
21
|
+
def __init__(__self__):
|
22
|
+
"""
|
23
|
+
The set of arguments for constructing a Provider resource.
|
24
|
+
"""
|
25
|
+
pass
|
26
|
+
|
27
|
+
|
28
|
+
class Provider(pulumi.ProviderResource):
|
29
|
+
@overload
|
30
|
+
def __init__(__self__,
|
31
|
+
resource_name: str,
|
32
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
33
|
+
__props__=None):
|
34
|
+
"""
|
35
|
+
Create a Kubernetes-cert-manager resource with the given unique name, props, and options.
|
36
|
+
:param str resource_name: The name of the resource.
|
37
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
38
|
+
"""
|
39
|
+
...
|
40
|
+
@overload
|
41
|
+
def __init__(__self__,
|
42
|
+
resource_name: str,
|
43
|
+
args: Optional[ProviderArgs] = None,
|
44
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
45
|
+
"""
|
46
|
+
Create a Kubernetes-cert-manager resource with the given unique name, props, and options.
|
47
|
+
:param str resource_name: The name of the resource.
|
48
|
+
:param ProviderArgs args: The arguments to use to populate this resource's properties.
|
49
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
50
|
+
"""
|
51
|
+
...
|
52
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
53
|
+
resource_args, opts = _utilities.get_resource_args_opts(ProviderArgs, pulumi.ResourceOptions, *args, **kwargs)
|
54
|
+
if resource_args is not None:
|
55
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
56
|
+
else:
|
57
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
58
|
+
|
59
|
+
def _internal_init(__self__,
|
60
|
+
resource_name: str,
|
61
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
62
|
+
__props__=None):
|
63
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
64
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
65
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
66
|
+
if opts.id is None:
|
67
|
+
if __props__ is not None:
|
68
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
69
|
+
__props__ = ProviderArgs.__new__(ProviderArgs)
|
70
|
+
|
71
|
+
super(Provider, __self__).__init__(
|
72
|
+
'kubernetes-cert-manager',
|
73
|
+
resource_name,
|
74
|
+
__props__,
|
75
|
+
opts)
|
76
|
+
|
File without changes
|
@@ -0,0 +1,47 @@
|
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: pulumi_kubernetes_cert_manager
|
3
|
+
Version: 0.2.0a1736827123
|
4
|
+
Summary: Strongly-typed Cert Manager installation
|
5
|
+
License: Apache-2.0
|
6
|
+
Project-URL: Homepage, https://pulumi.io
|
7
|
+
Project-URL: Repository, https://github.com/pulumi/pulumi-kubernetes-cert-manager
|
8
|
+
Keywords: pulumi,kubernetes,cert-manager,kind/component,category/infrastructure
|
9
|
+
Requires-Python: >=3.9
|
10
|
+
Description-Content-Type: text/markdown
|
11
|
+
Requires-Dist: parver>=0.2.1
|
12
|
+
Requires-Dist: pulumi<4.0.0,>=3.142.0
|
13
|
+
Requires-Dist: pulumi-kubernetes<5.0.0,>=4.0.0
|
14
|
+
Requires-Dist: semver>=2.8.1
|
15
|
+
Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
|
16
|
+
|
17
|
+
# Pulumi Cert Manager Component
|
18
|
+
|
19
|
+
This repo contains the Pulumi Cert Manager component for Kubernetes. This add-on automates the
|
20
|
+
management and issuance of TLS certificates from various issuing sources. It ensures certificates
|
21
|
+
are valid and up to date periodically, and attempts to renew certificates at an appropriate time
|
22
|
+
before expiry.
|
23
|
+
|
24
|
+
This component wraps [the Jetstack Cert Manager Helm Chart](https://github.com/jetstack/cert-manager),
|
25
|
+
and offers a Pulumi-friendly and strongly-typed way to manage Cert Manager installations.
|
26
|
+
|
27
|
+
For examples of usage, see [the official documentation](https://cert-manager.io/docs/),
|
28
|
+
or refer to [the examples](/examples) in this repo.
|
29
|
+
|
30
|
+
## To Use
|
31
|
+
|
32
|
+
To use this component, first install the Pulumi Package:
|
33
|
+
|
34
|
+
Afterwards, import the library and instantiate it within your Pulumi program:
|
35
|
+
|
36
|
+
## Configuration
|
37
|
+
|
38
|
+
This component supports all of the configuration options of the [official Helm chart](
|
39
|
+
https://github.com/jetstack/cert-manager/tree/master/deploy/charts/cert-manager), except that these
|
40
|
+
are strongly typed so you will get IDE support and static error checking.
|
41
|
+
|
42
|
+
The Helm deployment uses reasonable defaults, including the chart name and repo URL, however,
|
43
|
+
if you need to override them, you may do so using the `helmOptions` parameter. Refer to
|
44
|
+
[the API docs for the `kubernetes:helm/v3:Release` Pulumi type](
|
45
|
+
https://www.pulumi.com/docs/reference/pkg/kubernetes/helm/v3/release/#inputs) for a full set of choices.
|
46
|
+
|
47
|
+
For complete details, refer to the Pulumi Package details within the Pulumi Registry.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
pulumi_kubernetes_cert_manager/__init__.py,sha256=iWbK-zT-kQ_wCkzWhPzcl0VBIe58d3OLKJcNv2L8pUQ,784
|
2
|
+
pulumi_kubernetes_cert_manager/_inputs.py,sha256=IVtqyWalbhZPqkVbGHnyavbuue14SdzPdGCSqb2UcDo,113419
|
3
|
+
pulumi_kubernetes_cert_manager/_utilities.py,sha256=UL5vEmfNrBfiaeFQS69cz7xlHoBnPH8PY_UIVNwShcM,10486
|
4
|
+
pulumi_kubernetes_cert_manager/cert_manager.py,sha256=160rJiyFHPXYt3Vg8GS4EJ4hwj8ZKncfVYn98DcsZFo,38068
|
5
|
+
pulumi_kubernetes_cert_manager/outputs.py,sha256=r5MQVrc8y1x6cfQYkUtEcb3pJK2Cg4Tb1ziZ0QmbXRY,3559
|
6
|
+
pulumi_kubernetes_cert_manager/provider.py,sha256=uWRnQ8HC1Uqw8rvuDZXHyia-4C2uWaqGaGPVsMklOv4,2957
|
7
|
+
pulumi_kubernetes_cert_manager/pulumi-plugin.json,sha256=CLniPebkrdSIkEpRREqxzekwOceHnnTPlbGwxAHrZVQ,99
|
8
|
+
pulumi_kubernetes_cert_manager/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
|
+
pulumi_kubernetes_cert_manager-0.2.0a1736827123.dist-info/METADATA,sha256=gq3l2NIDydbU9YXZ9oM0_lfB8W4UXdjZTV5J2a4bwCU,2170
|
10
|
+
pulumi_kubernetes_cert_manager-0.2.0a1736827123.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
11
|
+
pulumi_kubernetes_cert_manager-0.2.0a1736827123.dist-info/top_level.txt,sha256=CRJ1c0Ei9-BbbfCWCD2gLhqo5gu6JKflVHGaAY7g93o,31
|
12
|
+
pulumi_kubernetes_cert_manager-0.2.0a1736827123.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
pulumi_kubernetes_cert_manager
|