cdk8s-plus-34 2.0.30 → 2.0.31
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.
- package/.jsii +2 -2
- package/lib/api-resource.js +2 -2
- package/lib/base.js +2 -2
- package/lib/config-map.js +1 -1
- package/lib/container.js +6 -6
- package/lib/cron-job.js +1 -1
- package/lib/daemon-set.js +1 -1
- package/lib/deployment.js +3 -3
- package/lib/handler.js +1 -1
- package/lib/horizontal-pod-autoscaler.js +4 -4
- package/lib/imports/k8s.js +177 -177
- package/lib/ingress.js +2 -2
- package/lib/job.js +1 -1
- package/lib/namespace.js +2 -2
- package/lib/network-policy.js +3 -3
- package/lib/pod.js +16 -16
- package/lib/probe.js +1 -1
- package/lib/pv.js +4 -4
- package/lib/pvc.js +1 -1
- package/lib/role-binding.js +4 -4
- package/lib/role.js +2 -2
- package/lib/secret.js +6 -6
- package/lib/service-account.js +1 -1
- package/lib/service.js +1 -1
- package/lib/stateful-set.js +2 -2
- package/lib/volume.js +1 -1
- package/lib/workload.js +2 -2
- package/package.json +8 -8
package/.jsii
CHANGED
|
@@ -101644,6 +101644,6 @@
|
|
|
101644
101644
|
"symbolId": "src/imports/k8s:WindowsSecurityContextOptions"
|
|
101645
101645
|
}
|
|
101646
101646
|
},
|
|
101647
|
-
"version": "2.0.
|
|
101648
|
-
"fingerprint": "
|
|
101647
|
+
"version": "2.0.31",
|
|
101648
|
+
"fingerprint": "g07/Vq7yoDZmCSt/BrNTt9NCoO1gbe51ehZSwY+l/qI="
|
|
101649
101649
|
}
|
package/lib/api-resource.js
CHANGED
|
@@ -6,7 +6,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
6
6
|
* Represents information about an API resource type.
|
|
7
7
|
*/
|
|
8
8
|
class ApiResource {
|
|
9
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ApiResource", version: "2.0.
|
|
9
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ApiResource", version: "2.0.31" };
|
|
10
10
|
/**
|
|
11
11
|
* API resource information for Binding.
|
|
12
12
|
*/
|
|
@@ -419,7 +419,7 @@ exports.ApiResource = ApiResource;
|
|
|
419
419
|
*/
|
|
420
420
|
class NonApiResource {
|
|
421
421
|
nonResourceUrl;
|
|
422
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NonApiResource", version: "2.0.
|
|
422
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NonApiResource", version: "2.0.31" };
|
|
423
423
|
static of(url) {
|
|
424
424
|
return new NonApiResource(url);
|
|
425
425
|
}
|
package/lib/base.js
CHANGED
|
@@ -41,7 +41,7 @@ const constructs_1 = require("constructs");
|
|
|
41
41
|
* resource.
|
|
42
42
|
*/
|
|
43
43
|
class Resource extends constructs_1.Construct {
|
|
44
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Resource", version: "2.0.
|
|
44
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Resource", version: "2.0.31" };
|
|
45
45
|
permissions;
|
|
46
46
|
constructor(scope, id) {
|
|
47
47
|
super(scope, id);
|
|
@@ -90,7 +90,7 @@ exports.Resource = Resource;
|
|
|
90
90
|
*/
|
|
91
91
|
class ResourcePermissions {
|
|
92
92
|
instance;
|
|
93
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ResourcePermissions", version: "2.0.
|
|
93
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ResourcePermissions", version: "2.0.31" };
|
|
94
94
|
constructor(instance) {
|
|
95
95
|
this.instance = instance;
|
|
96
96
|
}
|
package/lib/config-map.js
CHANGED
|
@@ -70,7 +70,7 @@ class ImportedConfigMap extends constructs_1.Construct {
|
|
|
70
70
|
* ConfigMap holds configuration data for pods to consume.
|
|
71
71
|
*/
|
|
72
72
|
class ConfigMap extends base.Resource {
|
|
73
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ConfigMap", version: "2.0.
|
|
73
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ConfigMap", version: "2.0.31" };
|
|
74
74
|
/**
|
|
75
75
|
* Represents a ConfigMap created elsewhere.
|
|
76
76
|
*/
|
package/lib/container.js
CHANGED
|
@@ -251,7 +251,7 @@ var Protocol;
|
|
|
251
251
|
* Container security attributes and settings.
|
|
252
252
|
*/
|
|
253
253
|
class ContainerSecurityContext {
|
|
254
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ContainerSecurityContext", version: "2.0.
|
|
254
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ContainerSecurityContext", version: "2.0.31" };
|
|
255
255
|
ensureNonRoot;
|
|
256
256
|
privileged;
|
|
257
257
|
readOnlyRootFilesystem;
|
|
@@ -366,7 +366,7 @@ var ResourceFieldPaths;
|
|
|
366
366
|
class EnvValue {
|
|
367
367
|
value;
|
|
368
368
|
valueFrom;
|
|
369
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.EnvValue", version: "2.0.
|
|
369
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.EnvValue", version: "2.0.31" };
|
|
370
370
|
/**
|
|
371
371
|
* Create a value by reading a specific key inside a config map.
|
|
372
372
|
*
|
|
@@ -515,7 +515,7 @@ var ContainerRestartPolicy;
|
|
|
515
515
|
* A single application container that you want to run within a pod.
|
|
516
516
|
*/
|
|
517
517
|
class Container {
|
|
518
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Container", version: "2.0.
|
|
518
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Container", version: "2.0.31" };
|
|
519
519
|
/**
|
|
520
520
|
* The port number that was configured for this container.
|
|
521
521
|
* If undefined, either the container doesn't expose a port, or its
|
|
@@ -801,7 +801,7 @@ var MountPropagation;
|
|
|
801
801
|
* The amount can be passed as millis or units.
|
|
802
802
|
*/
|
|
803
803
|
class Cpu {
|
|
804
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Cpu", version: "2.0.
|
|
804
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Cpu", version: "2.0.31" };
|
|
805
805
|
static millis(amount) {
|
|
806
806
|
return new Cpu(amount + 'm');
|
|
807
807
|
}
|
|
@@ -821,7 +821,7 @@ class EnvFrom {
|
|
|
821
821
|
configMap;
|
|
822
822
|
prefix;
|
|
823
823
|
sec;
|
|
824
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.EnvFrom", version: "2.0.
|
|
824
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.EnvFrom", version: "2.0.31" };
|
|
825
825
|
constructor(configMap, prefix, sec) {
|
|
826
826
|
this.configMap = configMap;
|
|
827
827
|
this.prefix = prefix;
|
|
@@ -857,7 +857,7 @@ function extractContainerPorts(selector) {
|
|
|
857
857
|
* Container environment variables.
|
|
858
858
|
*/
|
|
859
859
|
class Env {
|
|
860
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Env", version: "2.0.
|
|
860
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Env", version: "2.0.31" };
|
|
861
861
|
/**
|
|
862
862
|
* Selects a ConfigMap to populate the environment variables with.
|
|
863
863
|
* The contents of the target ConfigMap's Data field will represent
|
package/lib/cron-job.js
CHANGED
|
@@ -61,7 +61,7 @@ var ConcurrencyPolicy;
|
|
|
61
61
|
* A CronJob is responsible for creating a Job and scheduling it based on provided cron schedule. This helps running Jobs in a recurring manner.
|
|
62
62
|
*/
|
|
63
63
|
class CronJob extends workload.Workload {
|
|
64
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.CronJob", version: "2.0.
|
|
64
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.CronJob", version: "2.0.31" };
|
|
65
65
|
/**
|
|
66
66
|
* The schedule this cron job is scheduled to run in.
|
|
67
67
|
*/
|
package/lib/daemon-set.js
CHANGED
|
@@ -55,7 +55,7 @@ const workload = __importStar(require("./workload"));
|
|
|
55
55
|
* but with different flags and/or different memory and cpu requests for different hardware types.
|
|
56
56
|
*/
|
|
57
57
|
class DaemonSet extends workload.Workload {
|
|
58
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.DaemonSet", version: "2.0.
|
|
58
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.DaemonSet", version: "2.0.31" };
|
|
59
59
|
/**
|
|
60
60
|
* @see base.Resource.apiObject
|
|
61
61
|
*/
|
package/lib/deployment.js
CHANGED
|
@@ -68,7 +68,7 @@ const workload = __importStar(require("./workload"));
|
|
|
68
68
|
*
|
|
69
69
|
**/
|
|
70
70
|
class Deployment extends workload.Workload {
|
|
71
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Deployment", version: "2.0.
|
|
71
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Deployment", version: "2.0.31" };
|
|
72
72
|
/**
|
|
73
73
|
* Number of desired pods.
|
|
74
74
|
*/
|
|
@@ -212,7 +212,7 @@ exports.Deployment = Deployment;
|
|
|
212
212
|
*/
|
|
213
213
|
class PercentOrAbsolute {
|
|
214
214
|
value;
|
|
215
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PercentOrAbsolute", version: "2.0.
|
|
215
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PercentOrAbsolute", version: "2.0.31" };
|
|
216
216
|
/**
|
|
217
217
|
* Percent ratio.
|
|
218
218
|
*/
|
|
@@ -238,7 +238,7 @@ exports.PercentOrAbsolute = PercentOrAbsolute;
|
|
|
238
238
|
*/
|
|
239
239
|
class DeploymentStrategy {
|
|
240
240
|
strategy;
|
|
241
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.DeploymentStrategy", version: "2.0.
|
|
241
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.DeploymentStrategy", version: "2.0.31" };
|
|
242
242
|
/**
|
|
243
243
|
* All existing Pods are killed before new ones are created.
|
|
244
244
|
*
|
package/lib/handler.js
CHANGED
|
@@ -43,7 +43,7 @@ class Handler {
|
|
|
43
43
|
tcpSocketOptions;
|
|
44
44
|
commandOptions;
|
|
45
45
|
httpGetOptions;
|
|
46
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Handler", version: "2.0.
|
|
46
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Handler", version: "2.0.31" };
|
|
47
47
|
/**
|
|
48
48
|
* Defines a handler based on an HTTP GET request to the IP address of the container.
|
|
49
49
|
*
|
|
@@ -86,7 +86,7 @@ const k8s = __importStar(require("./imports/k8s"));
|
|
|
86
86
|
* });
|
|
87
87
|
*/
|
|
88
88
|
class HorizontalPodAutoscaler extends base_1.Resource {
|
|
89
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.HorizontalPodAutoscaler", version: "2.0.
|
|
89
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.HorizontalPodAutoscaler", version: "2.0.31" };
|
|
90
90
|
/**
|
|
91
91
|
* @see base.Resource.apiObject
|
|
92
92
|
*/
|
|
@@ -295,7 +295,7 @@ exports.HorizontalPodAutoscaler = HorizontalPodAutoscaler;
|
|
|
295
295
|
*/
|
|
296
296
|
class Metric {
|
|
297
297
|
metric;
|
|
298
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Metric", version: "2.0.
|
|
298
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Metric", version: "2.0.31" };
|
|
299
299
|
/**
|
|
300
300
|
* Metric that tracks the CPU of a container. This metric
|
|
301
301
|
* will be tracked across all pods of the current scale target.
|
|
@@ -522,7 +522,7 @@ exports.Metric = Metric;
|
|
|
522
522
|
*/
|
|
523
523
|
class MetricTarget {
|
|
524
524
|
metric;
|
|
525
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.MetricTarget", version: "2.0.
|
|
525
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.MetricTarget", version: "2.0.31" };
|
|
526
526
|
/**
|
|
527
527
|
* Target a specific target value.
|
|
528
528
|
*
|
|
@@ -589,7 +589,7 @@ var ScalingStrategy;
|
|
|
589
589
|
*/
|
|
590
590
|
class Replicas {
|
|
591
591
|
replicas;
|
|
592
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Replicas", version: "2.0.
|
|
592
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Replicas", version: "2.0.31" };
|
|
593
593
|
/**
|
|
594
594
|
* Changes the pods by a percentage of the it's current value.
|
|
595
595
|
*
|