pulumi-kubernetes-cert-manager 0.0.6__tar.gz → 0.0.7__tar.gz

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.
Files changed (21) hide show
  1. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/PKG-INFO +8 -3
  2. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager/__init__.py +1 -1
  3. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager/_inputs.py +491 -1
  4. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager/_utilities.py +42 -6
  5. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager/cert_manager.py +25 -20
  6. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager/outputs.py +6 -1
  7. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager/provider.py +6 -1
  8. pulumi_kubernetes_cert_manager-0.0.7/pulumi_kubernetes_cert_manager/pulumi-plugin.json +5 -0
  9. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager.egg-info/PKG-INFO +9 -4
  10. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager.egg-info/SOURCES.txt +1 -2
  11. pulumi_kubernetes_cert_manager-0.0.7/pulumi_kubernetes_cert_manager.egg-info/requires.txt +7 -0
  12. pulumi_kubernetes_cert_manager-0.0.7/pyproject.toml +22 -0
  13. pulumi_kubernetes_cert_manager-0.0.6/pulumi_kubernetes_cert_manager/pulumi-plugin.json +0 -4
  14. pulumi_kubernetes_cert_manager-0.0.6/pulumi_kubernetes_cert_manager.egg-info/not-zip-safe +0 -1
  15. pulumi_kubernetes_cert_manager-0.0.6/pulumi_kubernetes_cert_manager.egg-info/requires.txt +0 -4
  16. pulumi_kubernetes_cert_manager-0.0.6/setup.py +0 -45
  17. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/README.md +0 -0
  18. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager/py.typed +0 -0
  19. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager.egg-info/dependency_links.txt +0 -0
  20. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/pulumi_kubernetes_cert_manager.egg-info/top_level.txt +0 -0
  21. {pulumi_kubernetes_cert_manager-0.0.6 → pulumi_kubernetes_cert_manager-0.0.7}/setup.cfg +0 -0
@@ -1,13 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_kubernetes_cert_manager
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: Strongly-typed Cert Manager installation
5
- Home-page: https://pulumi.io
6
5
  License: Apache-2.0
6
+ Project-URL: Homepage, https://pulumi.io
7
7
  Project-URL: Repository, https://github.com/pulumi/pulumi-kubernetes-cert-manager
8
- Keywords: pulumi kubernetes cert-manager kind/component category/infrastructure
8
+ Keywords: pulumi,kubernetes,cert-manager,kind/component,category/infrastructure
9
9
  Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
+ Requires-Dist: parver>=0.2.1
12
+ Requires-Dist: pulumi<4.0.0,>=3.136.0
13
+ Requires-Dist: pulumi-kubernetes<5.0.0,>=3.7.1
14
+ Requires-Dist: semver>=2.8.1
15
+ Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
11
16
 
12
17
  # Pulumi Cert Manager Component
13
18
 
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by Pulumi SDK Generator. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  from . import _utilities
@@ -1,34 +1,95 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by Pulumi SDK Generator. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
  import pulumi_kubernetes
12
17
 
13
18
  __all__ = [
14
19
  'CertManagerCaInjectorArgs',
20
+ 'CertManagerCaInjectorArgsDict',
15
21
  'CertManagerGlobalLeaderElectionArgs',
22
+ 'CertManagerGlobalLeaderElectionArgsDict',
16
23
  'CertManagerGlobalPodSecurityPolicyArgs',
24
+ 'CertManagerGlobalPodSecurityPolicyArgsDict',
17
25
  'CertManagerGlobalRbacArgs',
26
+ 'CertManagerGlobalRbacArgsDict',
18
27
  'CertManagerGlobalArgs',
28
+ 'CertManagerGlobalArgsDict',
19
29
  'CertManagerImageArgs',
30
+ 'CertManagerImageArgsDict',
20
31
  'CertManagerIngressShimArgs',
32
+ 'CertManagerIngressShimArgsDict',
21
33
  'CertManagerPrometheusServiceMonitorArgs',
34
+ 'CertManagerPrometheusServiceMonitorArgsDict',
22
35
  'CertManagerPrometheusArgs',
36
+ 'CertManagerPrometheusArgsDict',
23
37
  'CertManagerServiceAccountArgs',
38
+ 'CertManagerServiceAccountArgsDict',
24
39
  'CertManagerStartupAPICheckRBACArgs',
40
+ 'CertManagerStartupAPICheckRBACArgsDict',
25
41
  'CertManagerStartupAPICheckArgs',
42
+ 'CertManagerStartupAPICheckArgsDict',
26
43
  'CertManagerWebhookURLArgs',
44
+ 'CertManagerWebhookURLArgsDict',
27
45
  'CertManagerWebhookArgs',
46
+ 'CertManagerWebhookArgsDict',
28
47
  'ReleaseArgs',
48
+ 'ReleaseArgsDict',
29
49
  'RepositoryOptsArgs',
50
+ 'RepositoryOptsArgsDict',
30
51
  ]
31
52
 
53
+ MYPY = False
54
+
55
+ if not MYPY:
56
+ class CertManagerCaInjectorArgsDict(TypedDict):
57
+ affinity: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.AffinityArgs']]
58
+ container_security_context: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.SecurityContextArgs']]
59
+ """
60
+ Container Security Context to be set on the cainjector component container. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
61
+ """
62
+ deployment_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
63
+ """
64
+ Optional additional annotations to add to the cainjector Deployment
65
+ """
66
+ extra_args: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
67
+ """
68
+ Optional additional arguments for cainjector
69
+ """
70
+ image: NotRequired[pulumi.Input['CertManagerImageArgsDict']]
71
+ node_selector: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
72
+ pod_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
73
+ """
74
+ Optional additional annotations to add to the cainjector Pods
75
+ """
76
+ pod_labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
77
+ """
78
+ Optional additional labels to add to the Webhook Pods
79
+ """
80
+ pod_security_context: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.PodSecurityContextArgs']]
81
+ """
82
+ Pod Security Context to be set on the cainjector component Pod. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
83
+ """
84
+ replica_count: NotRequired[pulumi.Input[int]]
85
+ resources: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.ResourceRequirementsArgs']]
86
+ service_account: NotRequired[pulumi.Input['CertManagerServiceAccountArgsDict']]
87
+ strategy: NotRequired[pulumi.Input['pulumi_kubernetes.apps.v1.DeploymentStrategyArgs']]
88
+ timeout_seconds: NotRequired[pulumi.Input[int]]
89
+ tolerations: NotRequired[pulumi.Input[Sequence[pulumi.Input['pulumi_kubernetes.core.v1.TolerationArgs']]]]
90
+ elif False:
91
+ CertManagerCaInjectorArgsDict: TypeAlias = Mapping[str, Any]
92
+
32
93
  @pulumi.input_type
33
94
  class CertManagerCaInjectorArgs:
34
95
  def __init__(__self__, *,
@@ -240,6 +301,23 @@ class CertManagerCaInjectorArgs:
240
301
  pulumi.set(self, "tolerations", value)
241
302
 
242
303
 
304
+ if not MYPY:
305
+ class CertManagerGlobalLeaderElectionArgsDict(TypedDict):
306
+ lease_duration: NotRequired[pulumi.Input[str]]
307
+ """
308
+ The duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate.
309
+ """
310
+ namespace: NotRequired[pulumi.Input[str]]
311
+ """
312
+ Override the namespace used to store the ConfigMap for leader election.
313
+ """
314
+ renew_deadline: NotRequired[pulumi.Input[str]]
315
+ """
316
+ The interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration.
317
+ """
318
+ elif False:
319
+ CertManagerGlobalLeaderElectionArgsDict: TypeAlias = Mapping[str, Any]
320
+
243
321
  @pulumi.input_type
244
322
  class CertManagerGlobalLeaderElectionArgs:
245
323
  def __init__(__self__, *,
@@ -295,6 +373,13 @@ class CertManagerGlobalLeaderElectionArgs:
295
373
  pulumi.set(self, "renew_deadline", value)
296
374
 
297
375
 
376
+ if not MYPY:
377
+ class CertManagerGlobalPodSecurityPolicyArgsDict(TypedDict):
378
+ enabled: NotRequired[pulumi.Input[bool]]
379
+ use_app_armor: NotRequired[pulumi.Input[bool]]
380
+ elif False:
381
+ CertManagerGlobalPodSecurityPolicyArgsDict: TypeAlias = Mapping[str, Any]
382
+
298
383
  @pulumi.input_type
299
384
  class CertManagerGlobalPodSecurityPolicyArgs:
300
385
  def __init__(__self__, *,
@@ -324,6 +409,12 @@ class CertManagerGlobalPodSecurityPolicyArgs:
324
409
  pulumi.set(self, "use_app_armor", value)
325
410
 
326
411
 
412
+ if not MYPY:
413
+ class CertManagerGlobalRbacArgsDict(TypedDict):
414
+ create: NotRequired[pulumi.Input[bool]]
415
+ elif False:
416
+ CertManagerGlobalRbacArgsDict: TypeAlias = Mapping[str, Any]
417
+
327
418
  @pulumi.input_type
328
419
  class CertManagerGlobalRbacArgs:
329
420
  def __init__(__self__, *,
@@ -341,6 +432,26 @@ class CertManagerGlobalRbacArgs:
341
432
  pulumi.set(self, "create", value)
342
433
 
343
434
 
435
+ if not MYPY:
436
+ class CertManagerGlobalArgsDict(TypedDict):
437
+ image_pull_secrets: NotRequired[pulumi.Input[Sequence[pulumi.Input['pulumi_kubernetes.core.v1.LocalObjectReferenceArgs']]]]
438
+ """
439
+ Reference to one or more secrets to be used when pulling images. ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
440
+ """
441
+ leader_election: NotRequired[pulumi.Input['CertManagerGlobalLeaderElectionArgsDict']]
442
+ log_level: NotRequired[pulumi.Input[int]]
443
+ """
444
+ Set the verbosity of cert-manager. Range of 0 - 6 with 6 being the most verbose.
445
+ """
446
+ pod_security_policy: NotRequired[pulumi.Input['CertManagerGlobalPodSecurityPolicyArgsDict']]
447
+ priority_class_name: NotRequired[pulumi.Input[str]]
448
+ """
449
+ Optional priority class to be used for the cert-manager pods.
450
+ """
451
+ rbac: NotRequired[pulumi.Input['CertManagerGlobalRbacArgsDict']]
452
+ elif False:
453
+ CertManagerGlobalArgsDict: TypeAlias = Mapping[str, Any]
454
+
344
455
  @pulumi.input_type
345
456
  class CertManagerGlobalArgs:
346
457
  def __init__(__self__, *,
@@ -432,6 +543,28 @@ class CertManagerGlobalArgs:
432
543
  pulumi.set(self, "rbac", value)
433
544
 
434
545
 
546
+ if not MYPY:
547
+ class CertManagerImageArgsDict(TypedDict):
548
+ digest: NotRequired[pulumi.Input[str]]
549
+ """
550
+ Setting a digest will override any tag, e.g. `digest: sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20`.
551
+ """
552
+ pull_policy: NotRequired[pulumi.Input[str]]
553
+ registry: NotRequired[pulumi.Input[str]]
554
+ """
555
+ You can manage a registry with `registry: quay.io`.
556
+ """
557
+ repository: NotRequired[pulumi.Input[str]]
558
+ """
559
+ You can manage a registry with `repository: jetstack/cert-manager-controller`.
560
+ """
561
+ tag: NotRequired[pulumi.Input[str]]
562
+ """
563
+ Override the image tag to deploy by setting this variable. If no value is set, the chart's appVersion will be used.
564
+ """
565
+ elif False:
566
+ CertManagerImageArgsDict: TypeAlias = Mapping[str, Any]
567
+
435
568
  @pulumi.input_type
436
569
  class CertManagerImageArgs:
437
570
  def __init__(__self__, *,
@@ -515,6 +648,14 @@ class CertManagerImageArgs:
515
648
  pulumi.set(self, "tag", value)
516
649
 
517
650
 
651
+ if not MYPY:
652
+ class CertManagerIngressShimArgsDict(TypedDict):
653
+ default_issuer_group: NotRequired[pulumi.Input[str]]
654
+ default_issuer_kind: NotRequired[pulumi.Input[str]]
655
+ default_issuer_name: NotRequired[pulumi.Input[str]]
656
+ elif False:
657
+ CertManagerIngressShimArgsDict: TypeAlias = Mapping[str, Any]
658
+
518
659
  @pulumi.input_type
519
660
  class CertManagerIngressShimArgs:
520
661
  def __init__(__self__, *,
@@ -556,6 +697,18 @@ class CertManagerIngressShimArgs:
556
697
  pulumi.set(self, "default_issuer_name", value)
557
698
 
558
699
 
700
+ if not MYPY:
701
+ class CertManagerPrometheusServiceMonitorArgsDict(TypedDict):
702
+ enabled: NotRequired[pulumi.Input[bool]]
703
+ interval: NotRequired[pulumi.Input[str]]
704
+ labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
705
+ path: NotRequired[pulumi.Input[str]]
706
+ prometheus_instance: NotRequired[pulumi.Input[str]]
707
+ string: NotRequired[pulumi.Input[str]]
708
+ target_port: NotRequired[pulumi.Input[int]]
709
+ elif False:
710
+ CertManagerPrometheusServiceMonitorArgsDict: TypeAlias = Mapping[str, Any]
711
+
559
712
  @pulumi.input_type
560
713
  class CertManagerPrometheusServiceMonitorArgs:
561
714
  def __init__(__self__, *,
@@ -645,6 +798,13 @@ class CertManagerPrometheusServiceMonitorArgs:
645
798
  pulumi.set(self, "target_port", value)
646
799
 
647
800
 
801
+ if not MYPY:
802
+ class CertManagerPrometheusArgsDict(TypedDict):
803
+ enabled: NotRequired[pulumi.Input[bool]]
804
+ service_monitor: NotRequired[pulumi.Input['CertManagerPrometheusServiceMonitorArgsDict']]
805
+ elif False:
806
+ CertManagerPrometheusArgsDict: TypeAlias = Mapping[str, Any]
807
+
648
808
  @pulumi.input_type
649
809
  class CertManagerPrometheusArgs:
650
810
  def __init__(__self__, *,
@@ -674,6 +834,27 @@ class CertManagerPrometheusArgs:
674
834
  pulumi.set(self, "service_monitor", value)
675
835
 
676
836
 
837
+ if not MYPY:
838
+ class CertManagerServiceAccountArgsDict(TypedDict):
839
+ annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
840
+ """
841
+ Optional additional annotations to add to the controller's ServiceAccount.
842
+ """
843
+ automount_service_account_token: NotRequired[pulumi.Input[bool]]
844
+ """
845
+ Automount API credentials for a Service Account.
846
+ """
847
+ create: NotRequired[pulumi.Input[bool]]
848
+ """
849
+ Specifies whether a service account should be created
850
+ """
851
+ name: NotRequired[pulumi.Input[str]]
852
+ """
853
+ The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
854
+ """
855
+ elif False:
856
+ CertManagerServiceAccountArgsDict: TypeAlias = Mapping[str, Any]
857
+
677
858
  @pulumi.input_type
678
859
  class CertManagerServiceAccountArgs:
679
860
  def __init__(__self__, *,
@@ -745,6 +926,15 @@ class CertManagerServiceAccountArgs:
745
926
  pulumi.set(self, "name", value)
746
927
 
747
928
 
929
+ if not MYPY:
930
+ class CertManagerStartupAPICheckRBACArgsDict(TypedDict):
931
+ annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
932
+ """
933
+ annotations for the startup API Check job RBAC and PSP resources
934
+ """
935
+ elif False:
936
+ CertManagerStartupAPICheckRBACArgsDict: TypeAlias = Mapping[str, Any]
937
+
748
938
  @pulumi.input_type
749
939
  class CertManagerStartupAPICheckRBACArgs:
750
940
  def __init__(__self__, *,
@@ -768,6 +958,47 @@ class CertManagerStartupAPICheckRBACArgs:
768
958
  pulumi.set(self, "annotations", value)
769
959
 
770
960
 
961
+ if not MYPY:
962
+ class CertManagerStartupAPICheckArgsDict(TypedDict):
963
+ affinity: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.AffinityArgs']]
964
+ backoff_limit: NotRequired[pulumi.Input[int]]
965
+ """
966
+ Job backoffLimit
967
+ """
968
+ enabled: NotRequired[pulumi.Input[bool]]
969
+ extra_args: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
970
+ """
971
+ Optional additional arguments for startupapicheck
972
+ """
973
+ image: NotRequired[pulumi.Input['CertManagerImageArgsDict']]
974
+ job_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
975
+ """
976
+ Optional additional annotations to add to the startupapicheck Job
977
+ """
978
+ node_selector: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
979
+ pod_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
980
+ """
981
+ Optional additional annotations to add to the startupapicheck Pods
982
+ """
983
+ pod_labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
984
+ """
985
+ Optional additional labels to add to the startupapicheck Pods
986
+ """
987
+ rbac: NotRequired[pulumi.Input['CertManagerStartupAPICheckRBACArgsDict']]
988
+ resources: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.ResourceRequirementsArgs']]
989
+ security_context: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.PodSecurityContextArgs']]
990
+ """
991
+ Pod Security Context to be set on the startupapicheck component Pod. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
992
+ """
993
+ service_account: NotRequired[pulumi.Input['CertManagerServiceAccountArgsDict']]
994
+ timeout: NotRequired[pulumi.Input[str]]
995
+ """
996
+ Timeout for 'kubectl check api' command
997
+ """
998
+ tolerations: NotRequired[pulumi.Input[Sequence[pulumi.Input['pulumi_kubernetes.core.v1.TolerationArgs']]]]
999
+ elif False:
1000
+ CertManagerStartupAPICheckArgsDict: TypeAlias = Mapping[str, Any]
1001
+
771
1002
  @pulumi.input_type
772
1003
  class CertManagerStartupAPICheckArgs:
773
1004
  def __init__(__self__, *,
@@ -983,6 +1214,12 @@ class CertManagerStartupAPICheckArgs:
983
1214
  pulumi.set(self, "tolerations", value)
984
1215
 
985
1216
 
1217
+ if not MYPY:
1218
+ class CertManagerWebhookURLArgsDict(TypedDict):
1219
+ host: NotRequired[pulumi.Input[str]]
1220
+ elif False:
1221
+ CertManagerWebhookURLArgsDict: TypeAlias = Mapping[str, Any]
1222
+
986
1223
  @pulumi.input_type
987
1224
  class CertManagerWebhookURLArgs:
988
1225
  def __init__(__self__, *,
@@ -1000,6 +1237,85 @@ class CertManagerWebhookURLArgs:
1000
1237
  pulumi.set(self, "host", value)
1001
1238
 
1002
1239
 
1240
+ if not MYPY:
1241
+ class CertManagerWebhookArgsDict(TypedDict):
1242
+ affinity: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.AffinityArgs']]
1243
+ container_security_context: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.SecurityContextArgs']]
1244
+ """
1245
+ Container Security Context to be set on the webhook component container. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
1246
+ """
1247
+ deployment_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1248
+ """
1249
+ Optional additional annotations to add to the webhook Deployment
1250
+ """
1251
+ extra_args: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1252
+ """
1253
+ Optional additional arguments for webhook
1254
+ """
1255
+ host_network: NotRequired[pulumi.Input[bool]]
1256
+ """
1257
+ Specifies if the webhook should be started in hostNetwork mode. Required for use in some managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico), because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working Since the default port for the webhook conflicts with kubelet on the host network, `webhook.securePort` should be changed to an available port if running in hostNetwork mode.
1258
+ """
1259
+ image: NotRequired[pulumi.Input['CertManagerImageArgsDict']]
1260
+ liveness_probe: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.ProbeArgs']]
1261
+ """
1262
+ Liveness probe values. Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
1263
+ """
1264
+ load_balancer_ip: NotRequired[pulumi.Input[str]]
1265
+ mutating_webhook_configuration_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1266
+ """
1267
+ Optional additional annotations to add to the webhook MutatingWebhookConfiguration
1268
+ """
1269
+ node_selector: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1270
+ pod_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1271
+ """
1272
+ Optional additional annotations to add to the webhook Pods
1273
+ """
1274
+ pod_labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1275
+ """
1276
+ Optional additional labels to add to the Webhook Pods
1277
+ """
1278
+ readiness_probe: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.ProbeArgs']]
1279
+ """
1280
+ Readiness probe values. Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
1281
+ """
1282
+ replica_count: NotRequired[pulumi.Input[int]]
1283
+ resources: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.ResourceRequirementsArgs']]
1284
+ secure_port: NotRequired[pulumi.Input[int]]
1285
+ """
1286
+ The port that the webhook should listen on for requests. In GKE private clusters, by default kubernetes apiservers are allowed to talk to the cluster nodes only on 443 and 10250. so configuring securePort: 10250, will work out of the box without needing to add firewall rules or requiring NET_BIND_SERVICE capabilities to bind port numbers <1000
1287
+ """
1288
+ security_context: NotRequired[pulumi.Input['pulumi_kubernetes.core.v1.PodSecurityContextArgs']]
1289
+ """
1290
+ Pod Security Context to be set on the webhook component Pod. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
1291
+ """
1292
+ service_account: NotRequired[pulumi.Input['CertManagerServiceAccountArgsDict']]
1293
+ service_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1294
+ """
1295
+ Optional additional annotations to add to the webhook service
1296
+ """
1297
+ service_labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1298
+ """
1299
+ Optional additional labels to add to the Webhook Service
1300
+ """
1301
+ service_type: NotRequired[pulumi.Input[str]]
1302
+ """
1303
+ Specifies how the service should be handled. Useful if you want to expose the webhook to outside of the cluster. In some cases, the control plane cannot reach internal services.
1304
+ """
1305
+ strategy: NotRequired[pulumi.Input['pulumi_kubernetes.apps.v1.DeploymentStrategyArgs']]
1306
+ timeout_seconds: NotRequired[pulumi.Input[int]]
1307
+ tolerations: NotRequired[pulumi.Input[Sequence[pulumi.Input['pulumi_kubernetes.core.v1.TolerationArgs']]]]
1308
+ url: NotRequired[pulumi.Input['CertManagerWebhookURLArgsDict']]
1309
+ """
1310
+ Overrides the mutating webhook and validating webhook so they reach the webhook service using the `url` field instead of a service.
1311
+ """
1312
+ validating_webhook_configuration_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1313
+ """
1314
+ Optional additional annotations to add to the webhook ValidatingWebhookConfiguration
1315
+ """
1316
+ elif False:
1317
+ CertManagerWebhookArgsDict: TypeAlias = Mapping[str, Any]
1318
+
1003
1319
  @pulumi.input_type
1004
1320
  class CertManagerWebhookArgs:
1005
1321
  def __init__(__self__, *,
@@ -1383,6 +1699,148 @@ class CertManagerWebhookArgs:
1383
1699
  pulumi.set(self, "validating_webhook_configuration_annotations", value)
1384
1700
 
1385
1701
 
1702
+ if not MYPY:
1703
+ class ReleaseArgsDict(TypedDict):
1704
+ """
1705
+ A Release is an instance of a chart running in a Kubernetes cluster.
1706
+ A Chart is a Helm package. It contains all of the resource definitions necessary to run an application, tool, or service inside of a Kubernetes cluster.
1707
+ Note - Helm Release is currently in BETA and may change. Use in production environment is discouraged.
1708
+ """
1709
+ atomic: NotRequired[pulumi.Input[bool]]
1710
+ """
1711
+ If set, installation process purges chart on fail. `skipAwait` will be disabled automatically if atomic is used.
1712
+ """
1713
+ chart: NotRequired[pulumi.Input[str]]
1714
+ """
1715
+ Chart name to be installed. A path may be used.
1716
+ """
1717
+ cleanup_on_fail: NotRequired[pulumi.Input[bool]]
1718
+ """
1719
+ Allow deletion of new resources created in this upgrade when upgrade fails.
1720
+ """
1721
+ create_namespace: NotRequired[pulumi.Input[bool]]
1722
+ """
1723
+ Create the namespace if it does not exist.
1724
+ """
1725
+ dependency_update: NotRequired[pulumi.Input[bool]]
1726
+ """
1727
+ Run helm dependency update before installing the chart.
1728
+ """
1729
+ description: NotRequired[pulumi.Input[str]]
1730
+ """
1731
+ Add a custom description
1732
+ """
1733
+ devel: NotRequired[pulumi.Input[bool]]
1734
+ """
1735
+ Use chart development versions, too. Equivalent to version '>0.0.0-0'. If `version` is set, this is ignored.
1736
+ """
1737
+ disable_crd_hooks: NotRequired[pulumi.Input[bool]]
1738
+ """
1739
+ Prevent CRD hooks from, running, but run other hooks. See helm install --no-crd-hook
1740
+ """
1741
+ disable_openapi_validation: NotRequired[pulumi.Input[bool]]
1742
+ """
1743
+ If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema
1744
+ """
1745
+ disable_webhooks: NotRequired[pulumi.Input[bool]]
1746
+ """
1747
+ Prevent hooks from running.
1748
+ """
1749
+ force_update: NotRequired[pulumi.Input[bool]]
1750
+ """
1751
+ Force resource update through delete/recreate if needed.
1752
+ """
1753
+ keyring: NotRequired[pulumi.Input[str]]
1754
+ """
1755
+ Location of public keys used for verification. Used only if `verify` is true
1756
+ """
1757
+ lint: NotRequired[pulumi.Input[bool]]
1758
+ """
1759
+ Run helm lint when planning.
1760
+ """
1761
+ manifest: NotRequired[pulumi.Input[Mapping[str, Any]]]
1762
+ """
1763
+ The rendered manifests as JSON. Not yet supported.
1764
+ """
1765
+ max_history: NotRequired[pulumi.Input[int]]
1766
+ """
1767
+ Limit the maximum number of revisions saved per release. Use 0 for no limit.
1768
+ """
1769
+ name: NotRequired[pulumi.Input[str]]
1770
+ """
1771
+ Release name.
1772
+ """
1773
+ namespace: NotRequired[pulumi.Input[str]]
1774
+ """
1775
+ Namespace to install the release into.
1776
+ """
1777
+ postrender: NotRequired[pulumi.Input[str]]
1778
+ """
1779
+ Postrender command to run.
1780
+ """
1781
+ recreate_pods: NotRequired[pulumi.Input[bool]]
1782
+ """
1783
+ Perform pods restart during upgrade/rollback.
1784
+ """
1785
+ render_subchart_notes: NotRequired[pulumi.Input[bool]]
1786
+ """
1787
+ If set, render subchart notes along with the parent.
1788
+ """
1789
+ replace: NotRequired[pulumi.Input[bool]]
1790
+ """
1791
+ Re-use the given name, even if that name is already used. This is unsafe in production
1792
+ """
1793
+ repository_opts: NotRequired[pulumi.Input['RepositoryOptsArgsDict']]
1794
+ """
1795
+ Specification defining the Helm chart repository to use.
1796
+ """
1797
+ reset_values: NotRequired[pulumi.Input[bool]]
1798
+ """
1799
+ When upgrading, reset the values to the ones built into the chart.
1800
+ """
1801
+ resource_names: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]]]
1802
+ """
1803
+ Names of resources created by the release grouped by "kind/version".
1804
+ """
1805
+ reuse_values: NotRequired[pulumi.Input[bool]]
1806
+ """
1807
+ When upgrading, reuse the last release's values and merge in any overrides. If 'resetValues' is specified, this is ignored
1808
+ """
1809
+ skip_await: NotRequired[pulumi.Input[bool]]
1810
+ """
1811
+ By default, the provider waits until all resources are in a ready state before marking the release as successful. Setting this to true will skip such await logic.
1812
+ """
1813
+ skip_crds: NotRequired[pulumi.Input[bool]]
1814
+ """
1815
+ If set, no CRDs will be installed. By default, CRDs are installed if not already present.
1816
+ """
1817
+ timeout: NotRequired[pulumi.Input[int]]
1818
+ """
1819
+ Time in seconds to wait for any individual kubernetes operation.
1820
+ """
1821
+ value_yaml_files: NotRequired[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]]]
1822
+ """
1823
+ List of assets (raw yaml files). Content is read and merged with values. Not yet supported.
1824
+ """
1825
+ values: NotRequired[pulumi.Input[Mapping[str, Any]]]
1826
+ """
1827
+ Custom values set for the release.
1828
+ """
1829
+ verify: NotRequired[pulumi.Input[bool]]
1830
+ """
1831
+ Verify the package before installing it.
1832
+ """
1833
+ version: NotRequired[pulumi.Input[str]]
1834
+ """
1835
+ Specify the exact chart version to install. If this is not specified, the latest version is installed.
1836
+ """
1837
+ wait_for_jobs: NotRequired[pulumi.Input[bool]]
1838
+ """
1839
+ Will wait until all Jobs have been completed before marking the release as successful. This is ignored if `skipAwait` is enabled.
1840
+ """
1841
+ elif False:
1842
+ ReleaseArgsDict: TypeAlias = Mapping[str, Any]
1843
+
1386
1844
  @pulumi.input_type
1387
1845
  class ReleaseArgs:
1388
1846
  def __init__(__self__, *,
@@ -1921,6 +2379,38 @@ class ReleaseArgs:
1921
2379
  pulumi.set(self, "wait_for_jobs", value)
1922
2380
 
1923
2381
 
2382
+ if not MYPY:
2383
+ class RepositoryOptsArgsDict(TypedDict):
2384
+ """
2385
+ Specification defining the Helm chart repository to use.
2386
+ """
2387
+ ca_file: NotRequired[pulumi.Input[str]]
2388
+ """
2389
+ The Repository's CA File
2390
+ """
2391
+ cert_file: NotRequired[pulumi.Input[str]]
2392
+ """
2393
+ The repository's cert file
2394
+ """
2395
+ key_file: NotRequired[pulumi.Input[str]]
2396
+ """
2397
+ The repository's cert key file
2398
+ """
2399
+ password: NotRequired[pulumi.Input[str]]
2400
+ """
2401
+ Password for HTTP basic authentication
2402
+ """
2403
+ repo: NotRequired[pulumi.Input[str]]
2404
+ """
2405
+ Repository where to locate the requested chart. If is a URL the chart is installed without installing the repository.
2406
+ """
2407
+ username: NotRequired[pulumi.Input[str]]
2408
+ """
2409
+ Username for HTTP basic authentication
2410
+ """
2411
+ elif False:
2412
+ RepositoryOptsArgsDict: TypeAlias = Mapping[str, Any]
2413
+
1924
2414
  @pulumi.input_type
1925
2415
  class RepositoryOptsArgs:
1926
2416
  def __init__(__self__, *,
@@ -1,9 +1,10 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by Pulumi SDK Generator. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
 
6
6
  import asyncio
7
+ import functools
7
8
  import importlib.metadata
8
9
  import importlib.util
9
10
  import inspect
@@ -11,14 +12,19 @@ import json
11
12
  import os
12
13
  import sys
13
14
  import typing
15
+ import warnings
16
+ import base64
14
17
 
15
18
  import pulumi
16
19
  import pulumi.runtime
17
20
  from pulumi.runtime.sync_await import _sync_await
21
+ from pulumi.runtime.proto import resource_pb2
18
22
 
19
23
  from semver import VersionInfo as SemverVersion
20
24
  from parver import Version as PEP440Version
21
25
 
26
+ C = typing.TypeVar("C", bound=typing.Callable)
27
+
22
28
 
23
29
  def get_env(*args):
24
30
  for v in args:
@@ -96,10 +102,6 @@ def _get_semver_version():
96
102
  _version = _get_semver_version()
97
103
  _version_str = str(_version)
98
104
 
99
-
100
- def get_version():
101
- return _version_str
102
-
103
105
  def get_resource_opts_defaults() -> pulumi.ResourceOptions:
104
106
  return pulumi.ResourceOptions(
105
107
  version=get_version(),
@@ -262,7 +264,7 @@ def call_plain(
262
264
  output = pulumi.runtime.call(tok, props, res, typ)
263
265
 
264
266
  # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency.
265
- result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output)))
267
+ result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output)))
266
268
 
267
269
  problem = None
268
270
  if not known:
@@ -287,5 +289,39 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
287
289
  await o._resources,
288
290
  )
289
291
 
292
+
293
+ # This is included to provide an upgrade path for users who are using a version
294
+ # of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
295
+ def deprecated(message: str) -> typing.Callable[[C], C]:
296
+ """
297
+ Decorator to indicate a function is deprecated.
298
+
299
+ As well as inserting appropriate statements to indicate that the function is
300
+ deprecated, this decorator also tags the function with a special attribute
301
+ so that Pulumi code can detect that it is deprecated and react appropriately
302
+ in certain situations.
303
+
304
+ message is the deprecation message that should be printed if the function is called.
305
+ """
306
+
307
+ def decorator(fn: C) -> C:
308
+ if not callable(fn):
309
+ raise TypeError("Expected fn to be callable")
310
+
311
+ @functools.wraps(fn)
312
+ def deprecated_fn(*args, **kwargs):
313
+ warnings.warn(message)
314
+ pulumi.warn(f"{fn.__name__} is deprecated: {message}")
315
+
316
+ return fn(*args, **kwargs)
317
+
318
+ deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
319
+ return typing.cast(C, deprecated_fn)
320
+
321
+ return decorator
322
+
290
323
  def get_plugin_download_url():
291
324
  return None
325
+
326
+ def get_version():
327
+ return _version_str
@@ -1,12 +1,17 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by Pulumi SDK Generator. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -480,7 +485,7 @@ class CertManager(pulumi.ComponentResource):
480
485
  resource_name: str,
481
486
  opts: Optional[pulumi.ResourceOptions] = None,
482
487
  affinity: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.AffinityArgs']]] = None,
483
- cainjector: Optional[pulumi.Input[pulumi.InputType['CertManagerCaInjectorArgs']]] = None,
488
+ cainjector: Optional[pulumi.Input[Union['CertManagerCaInjectorArgs', 'CertManagerCaInjectorArgsDict']]] = None,
484
489
  cluster_resource_namespace: Optional[pulumi.Input[str]] = None,
485
490
  container_security_context: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.SecurityContextArgs']]] = None,
486
491
  deployment_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -489,12 +494,12 @@ class CertManager(pulumi.ComponentResource):
489
494
  extra_volume_mounts: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.VolumeMountArgs']]]]] = None,
490
495
  extra_volumes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.VolumeArgs']]]]] = None,
491
496
  feature_gates: Optional[pulumi.Input[str]] = None,
492
- global_: Optional[pulumi.Input[pulumi.InputType['CertManagerGlobalArgs']]] = None,
493
- helm_options: Optional[pulumi.Input[pulumi.InputType['ReleaseArgs']]] = None,
497
+ global_: Optional[pulumi.Input[Union['CertManagerGlobalArgs', 'CertManagerGlobalArgsDict']]] = None,
498
+ helm_options: Optional[pulumi.Input[Union['ReleaseArgs', 'ReleaseArgsDict']]] = None,
494
499
  http_proxy: Optional[pulumi.Input[str]] = None,
495
500
  https_proxy: Optional[pulumi.Input[str]] = None,
496
- image: Optional[pulumi.Input[pulumi.InputType['CertManagerImageArgs']]] = None,
497
- ingress_shim: Optional[pulumi.Input[pulumi.InputType['CertManagerIngressShimArgs']]] = None,
501
+ image: Optional[pulumi.Input[Union['CertManagerImageArgs', 'CertManagerImageArgsDict']]] = None,
502
+ ingress_shim: Optional[pulumi.Input[Union['CertManagerIngressShimArgs', 'CertManagerIngressShimArgsDict']]] = None,
498
503
  install_crds: Optional[pulumi.Input[bool]] = None,
499
504
  no_proxy: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
500
505
  node_selector: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.NodeSelectorArgs']]] = None,
@@ -502,17 +507,17 @@ class CertManager(pulumi.ComponentResource):
502
507
  pod_dns_config: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.PodDNSConfigArgs']]] = None,
503
508
  pod_dns_policy: Optional[pulumi.Input[str]] = None,
504
509
  pod_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
505
- prometheus: Optional[pulumi.Input[pulumi.InputType['CertManagerPrometheusArgs']]] = None,
510
+ prometheus: Optional[pulumi.Input[Union['CertManagerPrometheusArgs', 'CertManagerPrometheusArgsDict']]] = None,
506
511
  replica_count: Optional[pulumi.Input[int]] = None,
507
512
  resources: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.ResourceRequirementsArgs']]] = None,
508
513
  security_context: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.PodSecurityContextArgs']]] = None,
509
- service_account: Optional[pulumi.Input[pulumi.InputType['CertManagerServiceAccountArgs']]] = None,
514
+ service_account: Optional[pulumi.Input[Union['CertManagerServiceAccountArgs', 'CertManagerServiceAccountArgsDict']]] = None,
510
515
  service_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
511
516
  service_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
512
- startupapicheck: Optional[pulumi.Input[pulumi.InputType['CertManagerStartupAPICheckArgs']]] = None,
517
+ startupapicheck: Optional[pulumi.Input[Union['CertManagerStartupAPICheckArgs', 'CertManagerStartupAPICheckArgsDict']]] = None,
513
518
  strategy: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.apps.v1.DeploymentStrategyArgs']]] = None,
514
519
  tolerations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.TolerationArgs']]]]] = None,
515
- webhook: Optional[pulumi.Input[pulumi.InputType['CertManagerWebhookArgs']]] = None,
520
+ webhook: Optional[pulumi.Input[Union['CertManagerWebhookArgs', 'CertManagerWebhookArgsDict']]] = None,
516
521
  __props__=None):
517
522
  """
518
523
  Automates the management and issuance of TLS certificates from various issuing sources within Kubernetes
@@ -524,7 +529,7 @@ class CertManager(pulumi.ComponentResource):
524
529
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] deployment_annotations: Optional additional annotations to add to the controller Deployment
525
530
  :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_args: Optional additional arguments.
526
531
  :param pulumi.Input[str] feature_gates: Comma separated list of feature gates that should be enabled on the controller pod.
527
- :param pulumi.Input[pulumi.InputType['ReleaseArgs']] helm_options: HelmOptions is an escape hatch that lets the end user control any aspect of the Helm deployment. This exposes the entirety of the underlying Helm Release component args.
532
+ :param pulumi.Input[Union['ReleaseArgs', 'ReleaseArgsDict']] helm_options: HelmOptions is an escape hatch that lets the end user control any aspect of the Helm deployment. This exposes the entirety of the underlying Helm Release component args.
528
533
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pod_annotations: Optional additional annotations to add to the controller Pods
529
534
  :param pulumi.Input[str] pod_dns_policy: Optional DNS settings, useful if you have a public and private DNS zone for the same domain on Route 53. What follows is an example of ensuring cert-manager can access an ingress or DNS TXT records at all times. NOTE: This requires Kubernetes 1.10 or `CustomPodDNS` feature gate enabled for the cluster to work.
530
535
  :param pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.PodSecurityContextArgs']] security_context: Pod Security Context. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
@@ -556,7 +561,7 @@ class CertManager(pulumi.ComponentResource):
556
561
  resource_name: str,
557
562
  opts: Optional[pulumi.ResourceOptions] = None,
558
563
  affinity: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.AffinityArgs']]] = None,
559
- cainjector: Optional[pulumi.Input[pulumi.InputType['CertManagerCaInjectorArgs']]] = None,
564
+ cainjector: Optional[pulumi.Input[Union['CertManagerCaInjectorArgs', 'CertManagerCaInjectorArgsDict']]] = None,
560
565
  cluster_resource_namespace: Optional[pulumi.Input[str]] = None,
561
566
  container_security_context: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.SecurityContextArgs']]] = None,
562
567
  deployment_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -565,12 +570,12 @@ class CertManager(pulumi.ComponentResource):
565
570
  extra_volume_mounts: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.VolumeMountArgs']]]]] = None,
566
571
  extra_volumes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.VolumeArgs']]]]] = None,
567
572
  feature_gates: Optional[pulumi.Input[str]] = None,
568
- global_: Optional[pulumi.Input[pulumi.InputType['CertManagerGlobalArgs']]] = None,
569
- helm_options: Optional[pulumi.Input[pulumi.InputType['ReleaseArgs']]] = None,
573
+ global_: Optional[pulumi.Input[Union['CertManagerGlobalArgs', 'CertManagerGlobalArgsDict']]] = None,
574
+ helm_options: Optional[pulumi.Input[Union['ReleaseArgs', 'ReleaseArgsDict']]] = None,
570
575
  http_proxy: Optional[pulumi.Input[str]] = None,
571
576
  https_proxy: Optional[pulumi.Input[str]] = None,
572
- image: Optional[pulumi.Input[pulumi.InputType['CertManagerImageArgs']]] = None,
573
- ingress_shim: Optional[pulumi.Input[pulumi.InputType['CertManagerIngressShimArgs']]] = None,
577
+ image: Optional[pulumi.Input[Union['CertManagerImageArgs', 'CertManagerImageArgsDict']]] = None,
578
+ ingress_shim: Optional[pulumi.Input[Union['CertManagerIngressShimArgs', 'CertManagerIngressShimArgsDict']]] = None,
574
579
  install_crds: Optional[pulumi.Input[bool]] = None,
575
580
  no_proxy: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
576
581
  node_selector: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.NodeSelectorArgs']]] = None,
@@ -578,17 +583,17 @@ class CertManager(pulumi.ComponentResource):
578
583
  pod_dns_config: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.PodDNSConfigArgs']]] = None,
579
584
  pod_dns_policy: Optional[pulumi.Input[str]] = None,
580
585
  pod_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
581
- prometheus: Optional[pulumi.Input[pulumi.InputType['CertManagerPrometheusArgs']]] = None,
586
+ prometheus: Optional[pulumi.Input[Union['CertManagerPrometheusArgs', 'CertManagerPrometheusArgsDict']]] = None,
582
587
  replica_count: Optional[pulumi.Input[int]] = None,
583
588
  resources: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.ResourceRequirementsArgs']]] = None,
584
589
  security_context: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.PodSecurityContextArgs']]] = None,
585
- service_account: Optional[pulumi.Input[pulumi.InputType['CertManagerServiceAccountArgs']]] = None,
590
+ service_account: Optional[pulumi.Input[Union['CertManagerServiceAccountArgs', 'CertManagerServiceAccountArgsDict']]] = None,
586
591
  service_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
587
592
  service_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
588
- startupapicheck: Optional[pulumi.Input[pulumi.InputType['CertManagerStartupAPICheckArgs']]] = None,
593
+ startupapicheck: Optional[pulumi.Input[Union['CertManagerStartupAPICheckArgs', 'CertManagerStartupAPICheckArgsDict']]] = None,
589
594
  strategy: Optional[pulumi.Input[pulumi.InputType['pulumi_kubernetes.apps.v1.DeploymentStrategyArgs']]] = None,
590
595
  tolerations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['pulumi_kubernetes.core.v1.TolerationArgs']]]]] = None,
591
- webhook: Optional[pulumi.Input[pulumi.InputType['CertManagerWebhookArgs']]] = None,
596
+ webhook: Optional[pulumi.Input[Union['CertManagerWebhookArgs', 'CertManagerWebhookArgsDict']]] = None,
592
597
  __props__=None):
593
598
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
594
599
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -1,12 +1,17 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by Pulumi SDK Generator. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -1,12 +1,17 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by Pulumi SDK Generator. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['ProviderArgs', 'Provider']
@@ -0,0 +1,5 @@
1
+ {
2
+ "resource": true,
3
+ "name": "kubernetes-cert-manager",
4
+ "version": "0.0.7"
5
+ }
@@ -1,13 +1,18 @@
1
1
  Metadata-Version: 2.1
2
- Name: pulumi-kubernetes-cert-manager
3
- Version: 0.0.6
2
+ Name: pulumi_kubernetes_cert_manager
3
+ Version: 0.0.7
4
4
  Summary: Strongly-typed Cert Manager installation
5
- Home-page: https://pulumi.io
6
5
  License: Apache-2.0
6
+ Project-URL: Homepage, https://pulumi.io
7
7
  Project-URL: Repository, https://github.com/pulumi/pulumi-kubernetes-cert-manager
8
- Keywords: pulumi kubernetes cert-manager kind/component category/infrastructure
8
+ Keywords: pulumi,kubernetes,cert-manager,kind/component,category/infrastructure
9
9
  Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
+ Requires-Dist: parver>=0.2.1
12
+ Requires-Dist: pulumi<4.0.0,>=3.136.0
13
+ Requires-Dist: pulumi-kubernetes<5.0.0,>=3.7.1
14
+ Requires-Dist: semver>=2.8.1
15
+ Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
11
16
 
12
17
  # Pulumi Cert Manager Component
13
18
 
@@ -1,5 +1,5 @@
1
1
  README.md
2
- setup.py
2
+ pyproject.toml
3
3
  pulumi_kubernetes_cert_manager/__init__.py
4
4
  pulumi_kubernetes_cert_manager/_inputs.py
5
5
  pulumi_kubernetes_cert_manager/_utilities.py
@@ -11,6 +11,5 @@ pulumi_kubernetes_cert_manager/py.typed
11
11
  pulumi_kubernetes_cert_manager.egg-info/PKG-INFO
12
12
  pulumi_kubernetes_cert_manager.egg-info/SOURCES.txt
13
13
  pulumi_kubernetes_cert_manager.egg-info/dependency_links.txt
14
- pulumi_kubernetes_cert_manager.egg-info/not-zip-safe
15
14
  pulumi_kubernetes_cert_manager.egg-info/requires.txt
16
15
  pulumi_kubernetes_cert_manager.egg-info/top_level.txt
@@ -0,0 +1,7 @@
1
+ parver>=0.2.1
2
+ pulumi<4.0.0,>=3.136.0
3
+ pulumi-kubernetes<5.0.0,>=3.7.1
4
+ semver>=2.8.1
5
+
6
+ [:python_version < "3.11"]
7
+ typing-extensions>=4.11
@@ -0,0 +1,22 @@
1
+ [project]
2
+ name = "pulumi_kubernetes_cert_manager"
3
+ description = "Strongly-typed Cert Manager installation"
4
+ dependencies = ["parver>=0.2.1", "pulumi>=3.136.0,<4.0.0", "pulumi-kubernetes>=3.7.1,<5.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""]
5
+ keywords = ["pulumi", "kubernetes", "cert-manager", "kind/component", "category/infrastructure"]
6
+ readme = "README.md"
7
+ requires-python = ">=3.8"
8
+ version = "0.0.7"
9
+ [project.license]
10
+ text = "Apache-2.0"
11
+ [project.urls]
12
+ Homepage = "https://pulumi.io"
13
+ Repository = "https://github.com/pulumi/pulumi-kubernetes-cert-manager"
14
+
15
+ [build-system]
16
+ requires = ["setuptools>=61.0"]
17
+ build-backend = "setuptools.build_meta"
18
+
19
+ [tool]
20
+ [tool.setuptools]
21
+ [tool.setuptools.package-data]
22
+ pulumi_kubernetes_cert_manager = ["py.typed", "pulumi-plugin.json"]
@@ -1,4 +0,0 @@
1
- {
2
- "resource": true,
3
- "name": "kubernetes-cert-manager"
4
- }
@@ -1,4 +0,0 @@
1
- parver>=0.2.1
2
- pulumi<4.0.0,>=3.0.0
3
- pulumi-kubernetes<5.0.0,>=3.7.1
4
- semver>=2.8.1
@@ -1,45 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by Pulumi SDK Generator. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import errno
6
- from setuptools import setup, find_packages
7
- from setuptools.command.install import install
8
- from subprocess import check_call
9
-
10
-
11
- VERSION = "0.0.6"
12
- def readme():
13
- try:
14
- with open('README.md', encoding='utf-8') as f:
15
- return f.read()
16
- except FileNotFoundError:
17
- return "kubernetes-cert-manager Pulumi Package - Development Version"
18
-
19
-
20
- setup(name='pulumi_kubernetes_cert_manager',
21
- python_requires='>=3.8',
22
- version=VERSION,
23
- description="Strongly-typed Cert Manager installation",
24
- long_description=readme(),
25
- long_description_content_type='text/markdown',
26
- keywords='pulumi kubernetes cert-manager kind/component category/infrastructure',
27
- url='https://pulumi.io',
28
- project_urls={
29
- 'Repository': 'https://github.com/pulumi/pulumi-kubernetes-cert-manager'
30
- },
31
- license='Apache-2.0',
32
- packages=find_packages(),
33
- package_data={
34
- 'pulumi_kubernetes_cert_manager': [
35
- 'py.typed',
36
- 'pulumi-plugin.json',
37
- ]
38
- },
39
- install_requires=[
40
- 'parver>=0.2.1',
41
- 'pulumi>=3.0.0,<4.0.0',
42
- 'pulumi-kubernetes>=3.7.1,<5.0.0',
43
- 'semver>=2.8.1'
44
- ],
45
- zip_safe=False)