cdk8s-plus-34 2.0.30 → 2.0.32
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 +9 -9
package/lib/ingress.js
CHANGED
|
@@ -65,7 +65,7 @@ var HttpIngressPathType;
|
|
|
65
65
|
* based virtual hosting etc.
|
|
66
66
|
*/
|
|
67
67
|
class Ingress extends base.Resource {
|
|
68
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Ingress", version: "2.0.
|
|
68
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Ingress", version: "2.0.32" };
|
|
69
69
|
/**
|
|
70
70
|
* @see base.Resource.apiObject
|
|
71
71
|
*/
|
|
@@ -213,7 +213,7 @@ exports.Ingress = Ingress;
|
|
|
213
213
|
*/
|
|
214
214
|
class IngressBackend {
|
|
215
215
|
backend;
|
|
216
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.IngressBackend", version: "2.0.
|
|
216
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.IngressBackend", version: "2.0.32" };
|
|
217
217
|
/**
|
|
218
218
|
* A Kubernetes `Service` to use as the backend for this path.
|
|
219
219
|
* @param serv The service object.
|
package/lib/job.js
CHANGED
|
@@ -47,7 +47,7 @@ const workload = __importStar(require("./workload"));
|
|
|
47
47
|
* You can also use a Job to run multiple Pods in parallel.
|
|
48
48
|
*/
|
|
49
49
|
class Job extends workload.Workload {
|
|
50
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Job", version: "2.0.
|
|
50
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Job", version: "2.0.32" };
|
|
51
51
|
/**
|
|
52
52
|
* Duration before job is terminated. If undefined, there is no deadline.
|
|
53
53
|
*/
|
package/lib/namespace.js
CHANGED
|
@@ -47,7 +47,7 @@ const pod = __importStar(require("./pod"));
|
|
|
47
47
|
* not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc).
|
|
48
48
|
*/
|
|
49
49
|
class Namespace extends base.Resource {
|
|
50
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Namespace", version: "2.0.
|
|
50
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Namespace", version: "2.0.32" };
|
|
51
51
|
/**
|
|
52
52
|
* @see https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/#automatic-labelling
|
|
53
53
|
*/
|
|
@@ -101,7 +101,7 @@ class Namespaces extends constructs_1.Construct {
|
|
|
101
101
|
expressions;
|
|
102
102
|
names;
|
|
103
103
|
labels;
|
|
104
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Namespaces", version: "2.0.
|
|
104
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Namespaces", version: "2.0.32" };
|
|
105
105
|
/**
|
|
106
106
|
* Select specific namespaces.
|
|
107
107
|
*/
|
package/lib/network-policy.js
CHANGED
|
@@ -50,7 +50,7 @@ class NetworkPolicyPort {
|
|
|
50
50
|
port;
|
|
51
51
|
endPort;
|
|
52
52
|
protocol;
|
|
53
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NetworkPolicyPort", version: "2.0.
|
|
53
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NetworkPolicyPort", version: "2.0.32" };
|
|
54
54
|
/**
|
|
55
55
|
* Distinct TCP ports
|
|
56
56
|
*/
|
|
@@ -114,7 +114,7 @@ exports.NetworkPolicyPort = NetworkPolicyPort;
|
|
|
114
114
|
class NetworkPolicyIpBlock extends constructs_1.Construct {
|
|
115
115
|
cidr;
|
|
116
116
|
except;
|
|
117
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NetworkPolicyIpBlock", version: "2.0.
|
|
117
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NetworkPolicyIpBlock", version: "2.0.32" };
|
|
118
118
|
/**
|
|
119
119
|
* Create an IPv4 peer from a CIDR
|
|
120
120
|
*/
|
|
@@ -253,7 +253,7 @@ var NetworkPolicyTrafficDefault;
|
|
|
253
253
|
* @see https://kubernetes.io/docs/concepts/services-networking/network-policies/#networkpolicy-resource
|
|
254
254
|
*/
|
|
255
255
|
class NetworkPolicy extends base.Resource {
|
|
256
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NetworkPolicy", version: "2.0.
|
|
256
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NetworkPolicy", version: "2.0.32" };
|
|
257
257
|
/**
|
|
258
258
|
* @see base.Resource.apiObject
|
|
259
259
|
*/
|
package/lib/pod.js
CHANGED
|
@@ -43,7 +43,7 @@ const k8s = __importStar(require("./imports/k8s"));
|
|
|
43
43
|
const networkpolicy = __importStar(require("./network-policy"));
|
|
44
44
|
const utils_1 = require("./utils");
|
|
45
45
|
class AbstractPod extends base.Resource {
|
|
46
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.AbstractPod", version: "2.0.
|
|
46
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.AbstractPod", version: "2.0.32" };
|
|
47
47
|
restartPolicy;
|
|
48
48
|
serviceAccount;
|
|
49
49
|
securityContext;
|
|
@@ -256,7 +256,7 @@ exports.AbstractPod = AbstractPod;
|
|
|
256
256
|
class LabelSelector {
|
|
257
257
|
expressions;
|
|
258
258
|
labels;
|
|
259
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.LabelSelector", version: "2.0.
|
|
259
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.LabelSelector", version: "2.0.32" };
|
|
260
260
|
static of(options = {}) {
|
|
261
261
|
return new LabelSelector(options.expressions ?? [], options.labels ?? {});
|
|
262
262
|
}
|
|
@@ -290,7 +290,7 @@ exports.LabelSelector = LabelSelector;
|
|
|
290
290
|
* created by clients and scheduled onto hosts.
|
|
291
291
|
*/
|
|
292
292
|
class Pod extends AbstractPod {
|
|
293
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Pod", version: "2.0.
|
|
293
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Pod", version: "2.0.32" };
|
|
294
294
|
/**
|
|
295
295
|
* This label is autoamtically added by cdk8s to any pod. It provides
|
|
296
296
|
* a unique and stable identifier for the pod.
|
|
@@ -337,7 +337,7 @@ exports.Pod = Pod;
|
|
|
337
337
|
* Holds dns settings of the pod.
|
|
338
338
|
*/
|
|
339
339
|
class PodDns {
|
|
340
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PodDns", version: "2.0.
|
|
340
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PodDns", version: "2.0.32" };
|
|
341
341
|
/**
|
|
342
342
|
* The DNS policy of this pod.
|
|
343
343
|
*/
|
|
@@ -433,7 +433,7 @@ exports.PodDns = PodDns;
|
|
|
433
433
|
* Holds pod-level security attributes and common container settings.
|
|
434
434
|
*/
|
|
435
435
|
class PodSecurityContext {
|
|
436
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PodSecurityContext", version: "2.0.
|
|
436
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PodSecurityContext", version: "2.0.32" };
|
|
437
437
|
ensureNonRoot;
|
|
438
438
|
user;
|
|
439
439
|
group;
|
|
@@ -535,7 +535,7 @@ class NodeLabelQuery {
|
|
|
535
535
|
key;
|
|
536
536
|
operator;
|
|
537
537
|
values;
|
|
538
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NodeLabelQuery", version: "2.0.
|
|
538
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NodeLabelQuery", version: "2.0.32" };
|
|
539
539
|
/**
|
|
540
540
|
* Requires value of label `key` to equal `value`.
|
|
541
541
|
*/
|
|
@@ -602,7 +602,7 @@ class LabelExpression {
|
|
|
602
602
|
key;
|
|
603
603
|
operator;
|
|
604
604
|
values;
|
|
605
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.LabelExpression", version: "2.0.
|
|
605
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.LabelExpression", version: "2.0.32" };
|
|
606
606
|
/**
|
|
607
607
|
* Requires value of label `key` to be one of `values`.
|
|
608
608
|
*/
|
|
@@ -669,7 +669,7 @@ class NodeTaintQuery {
|
|
|
669
669
|
value;
|
|
670
670
|
effect;
|
|
671
671
|
evictAfter;
|
|
672
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NodeTaintQuery", version: "2.0.
|
|
672
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NodeTaintQuery", version: "2.0.32" };
|
|
673
673
|
/**
|
|
674
674
|
* Matches a taint with a specific key and value.
|
|
675
675
|
*/
|
|
@@ -719,7 +719,7 @@ class Pods extends constructs_1.Construct {
|
|
|
719
719
|
expressions;
|
|
720
720
|
labels;
|
|
721
721
|
namespaces;
|
|
722
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Pods", version: "2.0.
|
|
722
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Pods", version: "2.0.32" };
|
|
723
723
|
/**
|
|
724
724
|
* Select pods in the cluster with various selectors.
|
|
725
725
|
*/
|
|
@@ -766,7 +766,7 @@ exports.Pods = Pods;
|
|
|
766
766
|
*/
|
|
767
767
|
class LabeledNode {
|
|
768
768
|
labelSelector;
|
|
769
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.LabeledNode", version: "2.0.
|
|
769
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.LabeledNode", version: "2.0.32" };
|
|
770
770
|
constructor(labelSelector) {
|
|
771
771
|
this.labelSelector = labelSelector;
|
|
772
772
|
}
|
|
@@ -778,7 +778,7 @@ exports.LabeledNode = LabeledNode;
|
|
|
778
778
|
*/
|
|
779
779
|
class TaintedNode {
|
|
780
780
|
taintSelector;
|
|
781
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.TaintedNode", version: "2.0.
|
|
781
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.TaintedNode", version: "2.0.32" };
|
|
782
782
|
constructor(taintSelector) {
|
|
783
783
|
this.taintSelector = taintSelector;
|
|
784
784
|
}
|
|
@@ -790,7 +790,7 @@ exports.TaintedNode = TaintedNode;
|
|
|
790
790
|
*/
|
|
791
791
|
class NamedNode {
|
|
792
792
|
name;
|
|
793
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NamedNode", version: "2.0.
|
|
793
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.NamedNode", version: "2.0.32" };
|
|
794
794
|
constructor(name) {
|
|
795
795
|
this.name = name;
|
|
796
796
|
}
|
|
@@ -801,7 +801,7 @@ exports.NamedNode = NamedNode;
|
|
|
801
801
|
* Represents a node in the cluster.
|
|
802
802
|
*/
|
|
803
803
|
class Node {
|
|
804
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Node", version: "2.0.
|
|
804
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Node", version: "2.0.32" };
|
|
805
805
|
/**
|
|
806
806
|
* Match a node by its labels.
|
|
807
807
|
*/
|
|
@@ -827,7 +827,7 @@ exports.Node = Node;
|
|
|
827
827
|
*/
|
|
828
828
|
class Topology {
|
|
829
829
|
key;
|
|
830
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Topology", version: "2.0.
|
|
830
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Topology", version: "2.0.32" };
|
|
831
831
|
/**
|
|
832
832
|
* A hostname represents a single node in the cluster.
|
|
833
833
|
*
|
|
@@ -875,7 +875,7 @@ exports.Topology = Topology;
|
|
|
875
875
|
*/
|
|
876
876
|
class PodScheduling {
|
|
877
877
|
instance;
|
|
878
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PodScheduling", version: "2.0.
|
|
878
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PodScheduling", version: "2.0.32" };
|
|
879
879
|
_nodeAffinityPreferred = [];
|
|
880
880
|
_nodeAffinityRequired = [];
|
|
881
881
|
_podAffinityPreferred = [];
|
|
@@ -1087,7 +1087,7 @@ var PodConnectionsIsolation;
|
|
|
1087
1087
|
*/
|
|
1088
1088
|
class PodConnections {
|
|
1089
1089
|
instance;
|
|
1090
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PodConnections", version: "2.0.
|
|
1090
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PodConnections", version: "2.0.32" };
|
|
1091
1091
|
constructor(instance) {
|
|
1092
1092
|
this.instance = instance;
|
|
1093
1093
|
}
|
package/lib/probe.js
CHANGED
|
@@ -57,7 +57,7 @@ class Probe {
|
|
|
57
57
|
commandOptions;
|
|
58
58
|
httpGetOptions;
|
|
59
59
|
grpcOptions;
|
|
60
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Probe", version: "2.0.
|
|
60
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Probe", version: "2.0.32" };
|
|
61
61
|
/**
|
|
62
62
|
* Defines a probe based on an HTTP GET request to the IP address of the container.
|
|
63
63
|
*
|
package/lib/pv.js
CHANGED
|
@@ -74,7 +74,7 @@ class ImportedPersistentVolume extends constructs_1.Construct {
|
|
|
74
74
|
* cloud-provider-specific storage system.
|
|
75
75
|
*/
|
|
76
76
|
class PersistentVolume extends base.Resource {
|
|
77
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PersistentVolume", version: "2.0.
|
|
77
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PersistentVolume", version: "2.0.32" };
|
|
78
78
|
/**
|
|
79
79
|
* Imports a pv from the cluster as a reference.
|
|
80
80
|
*/
|
|
@@ -234,7 +234,7 @@ var PersistentVolumeReclaimPolicy;
|
|
|
234
234
|
* @see https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
|
|
235
235
|
*/
|
|
236
236
|
class AwsElasticBlockStorePersistentVolume extends PersistentVolume {
|
|
237
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.AwsElasticBlockStorePersistentVolume", version: "2.0.
|
|
237
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.AwsElasticBlockStorePersistentVolume", version: "2.0.32" };
|
|
238
238
|
/**
|
|
239
239
|
* Volume id of this volume.
|
|
240
240
|
*/
|
|
@@ -279,7 +279,7 @@ exports.AwsElasticBlockStorePersistentVolume = AwsElasticBlockStorePersistentVol
|
|
|
279
279
|
* AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
|
280
280
|
*/
|
|
281
281
|
class AzureDiskPersistentVolume extends PersistentVolume {
|
|
282
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.AzureDiskPersistentVolume", version: "2.0.
|
|
282
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.AzureDiskPersistentVolume", version: "2.0.32" };
|
|
283
283
|
/**
|
|
284
284
|
* Disk name of this volume.
|
|
285
285
|
*/
|
|
@@ -341,7 +341,7 @@ exports.AzureDiskPersistentVolume = AzureDiskPersistentVolume;
|
|
|
341
341
|
* @see https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
342
342
|
*/
|
|
343
343
|
class GCEPersistentDiskPersistentVolume extends PersistentVolume {
|
|
344
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.GCEPersistentDiskPersistentVolume", version: "2.0.
|
|
344
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.GCEPersistentDiskPersistentVolume", version: "2.0.32" };
|
|
345
345
|
/**
|
|
346
346
|
* PD resource in GCE of this volume.
|
|
347
347
|
*/
|
package/lib/pvc.js
CHANGED
|
@@ -69,7 +69,7 @@ class ImportedPersistentVolumeClaim extends constructs_1.Construct {
|
|
|
69
69
|
* Claims can request specific size and access modes
|
|
70
70
|
*/
|
|
71
71
|
class PersistentVolumeClaim extends base.Resource {
|
|
72
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PersistentVolumeClaim", version: "2.0.
|
|
72
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.PersistentVolumeClaim", version: "2.0.32" };
|
|
73
73
|
/**
|
|
74
74
|
* Imports a pvc from the cluster as a reference.
|
|
75
75
|
*/
|
package/lib/role-binding.js
CHANGED
|
@@ -45,7 +45,7 @@ const utils_1 = require("./utils");
|
|
|
45
45
|
* set of users.
|
|
46
46
|
*/
|
|
47
47
|
class RoleBinding extends base_1.Resource {
|
|
48
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.RoleBinding", version: "2.0.
|
|
48
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.RoleBinding", version: "2.0.32" };
|
|
49
49
|
/**
|
|
50
50
|
* @see base.Resource.apiObject
|
|
51
51
|
*/
|
|
@@ -97,7 +97,7 @@ exports.RoleBinding = RoleBinding;
|
|
|
97
97
|
* set of users.
|
|
98
98
|
*/
|
|
99
99
|
class ClusterRoleBinding extends base_1.Resource {
|
|
100
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ClusterRoleBinding", version: "2.0.
|
|
100
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ClusterRoleBinding", version: "2.0.32" };
|
|
101
101
|
/**
|
|
102
102
|
* @see base.Resource.apiObject
|
|
103
103
|
*/
|
|
@@ -148,7 +148,7 @@ exports.ClusterRoleBinding = ClusterRoleBinding;
|
|
|
148
148
|
* Represents a user.
|
|
149
149
|
*/
|
|
150
150
|
class User extends constructs_1.Construct {
|
|
151
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.User", version: "2.0.
|
|
151
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.User", version: "2.0.32" };
|
|
152
152
|
/**
|
|
153
153
|
* Reference a user in the cluster by name.
|
|
154
154
|
*/
|
|
@@ -178,7 +178,7 @@ exports.User = User;
|
|
|
178
178
|
* Represents a group.
|
|
179
179
|
*/
|
|
180
180
|
class Group extends constructs_1.Construct {
|
|
181
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Group", version: "2.0.
|
|
181
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Group", version: "2.0.32" };
|
|
182
182
|
/**
|
|
183
183
|
* Reference a group by name.
|
|
184
184
|
*/
|
package/lib/role.js
CHANGED
|
@@ -69,7 +69,7 @@ class ImportedRole extends constructs_1.Construct {
|
|
|
69
69
|
* as a unit by a RoleBinding.
|
|
70
70
|
*/
|
|
71
71
|
class Role extends base.Resource {
|
|
72
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Role", version: "2.0.
|
|
72
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Role", version: "2.0.32" };
|
|
73
73
|
/**
|
|
74
74
|
* Imports a role from the cluster as a reference.
|
|
75
75
|
*/
|
|
@@ -241,7 +241,7 @@ class ImportedClusterRole extends constructs_1.Construct {
|
|
|
241
241
|
* referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
|
242
242
|
*/
|
|
243
243
|
class ClusterRole extends base.Resource {
|
|
244
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ClusterRole", version: "2.0.
|
|
244
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ClusterRole", version: "2.0.32" };
|
|
245
245
|
/**
|
|
246
246
|
* Imports a role from the cluster as a reference.
|
|
247
247
|
*/
|
package/lib/secret.js
CHANGED
|
@@ -74,7 +74,7 @@ class ImportedSecret extends constructs_1.Construct {
|
|
|
74
74
|
* @see https://kubernetes.io/docs/concepts/configuration/secret
|
|
75
75
|
*/
|
|
76
76
|
class Secret extends base.Resource {
|
|
77
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Secret", version: "2.0.
|
|
77
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Secret", version: "2.0.32" };
|
|
78
78
|
/**
|
|
79
79
|
* Imports a secret from the cluster as a reference.
|
|
80
80
|
*/
|
|
@@ -128,7 +128,7 @@ exports.Secret = Secret;
|
|
|
128
128
|
* @see https://kubernetes.io/docs/concepts/configuration/secret/#basic-authentication-secret
|
|
129
129
|
*/
|
|
130
130
|
class BasicAuthSecret extends Secret {
|
|
131
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.BasicAuthSecret", version: "2.0.
|
|
131
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.BasicAuthSecret", version: "2.0.32" };
|
|
132
132
|
constructor(scope, id, props) {
|
|
133
133
|
super(scope, id, {
|
|
134
134
|
type: 'kubernetes.io/basic-auth',
|
|
@@ -148,7 +148,7 @@ exports.BasicAuthSecret = BasicAuthSecret;
|
|
|
148
148
|
* @see https://kubernetes.io/docs/concepts/configuration/secret/#ssh-authentication-secrets
|
|
149
149
|
*/
|
|
150
150
|
class SshAuthSecret extends Secret {
|
|
151
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.SshAuthSecret", version: "2.0.
|
|
151
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.SshAuthSecret", version: "2.0.32" };
|
|
152
152
|
constructor(scope, id, props) {
|
|
153
153
|
super(scope, id, {
|
|
154
154
|
type: 'kubernetes.io/ssh-auth',
|
|
@@ -167,7 +167,7 @@ exports.SshAuthSecret = SshAuthSecret;
|
|
|
167
167
|
* @see https://kubernetes.io/docs/concepts/configuration/secret/#service-account-token-secrets
|
|
168
168
|
*/
|
|
169
169
|
class ServiceAccountTokenSecret extends Secret {
|
|
170
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ServiceAccountTokenSecret", version: "2.0.
|
|
170
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ServiceAccountTokenSecret", version: "2.0.32" };
|
|
171
171
|
constructor(scope, id, props) {
|
|
172
172
|
super(scope, id, {
|
|
173
173
|
type: 'kubernetes.io/service-account-token',
|
|
@@ -184,7 +184,7 @@ exports.ServiceAccountTokenSecret = ServiceAccountTokenSecret;
|
|
|
184
184
|
* @see https://kubernetes.io/docs/concepts/configuration/secret/#tls-secrets
|
|
185
185
|
*/
|
|
186
186
|
class TlsSecret extends Secret {
|
|
187
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.TlsSecret", version: "2.0.
|
|
187
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.TlsSecret", version: "2.0.32" };
|
|
188
188
|
constructor(scope, id, props) {
|
|
189
189
|
super(scope, id, {
|
|
190
190
|
type: 'kubernetes.io/tls',
|
|
@@ -205,7 +205,7 @@ exports.TlsSecret = TlsSecret;
|
|
|
205
205
|
* @see https://kubernetes.io/docs/concepts/configuration/secret/#docker-config-secrets
|
|
206
206
|
*/
|
|
207
207
|
class DockerConfigSecret extends Secret {
|
|
208
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.DockerConfigSecret", version: "2.0.
|
|
208
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.DockerConfigSecret", version: "2.0.32" };
|
|
209
209
|
constructor(scope, id, props) {
|
|
210
210
|
super(scope, id, {
|
|
211
211
|
type: 'kubernetes.io/dockerconfigjson',
|
package/lib/service-account.js
CHANGED
|
@@ -86,7 +86,7 @@ class ImportedServiceAccount extends constructs_1.Construct {
|
|
|
86
86
|
* @see https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account
|
|
87
87
|
*/
|
|
88
88
|
class ServiceAccount extends base.Resource {
|
|
89
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ServiceAccount", version: "2.0.
|
|
89
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.ServiceAccount", version: "2.0.32" };
|
|
90
90
|
/**
|
|
91
91
|
* Imports a service account from the cluster as a reference.
|
|
92
92
|
* @param name The name of the service account resource.
|
package/lib/service.js
CHANGED
|
@@ -89,7 +89,7 @@ var ServiceType;
|
|
|
89
89
|
* or load balancer in between your application and the backend Pods.
|
|
90
90
|
*/
|
|
91
91
|
class Service extends base.Resource {
|
|
92
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Service", version: "2.0.
|
|
92
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Service", version: "2.0.32" };
|
|
93
93
|
/**
|
|
94
94
|
* The IP address of the service and is usually assigned randomly by the
|
|
95
95
|
* master.
|
package/lib/stateful-set.js
CHANGED
|
@@ -84,7 +84,7 @@ var PodManagementPolicy;
|
|
|
84
84
|
* - Ordered, automated rolling updates.
|
|
85
85
|
*/
|
|
86
86
|
class StatefulSet extends workload.Workload {
|
|
87
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.StatefulSet", version: "2.0.
|
|
87
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.StatefulSet", version: "2.0.32" };
|
|
88
88
|
/**
|
|
89
89
|
* Number of desired pods.
|
|
90
90
|
*/
|
|
@@ -261,7 +261,7 @@ exports.StatefulSet = StatefulSet;
|
|
|
261
261
|
*/
|
|
262
262
|
class StatefulSetUpdateStrategy {
|
|
263
263
|
strategy;
|
|
264
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.StatefulSetUpdateStrategy", version: "2.0.
|
|
264
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.StatefulSetUpdateStrategy", version: "2.0.32" };
|
|
265
265
|
/**
|
|
266
266
|
* The controller will not automatically update the Pods in a StatefulSet.
|
|
267
267
|
* Users must manually delete Pods to cause the controller to create new Pods
|
package/lib/volume.js
CHANGED
|
@@ -74,7 +74,7 @@ const k8s = __importStar(require("./imports/k8s"));
|
|
|
74
74
|
class Volume extends constructs_1.Construct {
|
|
75
75
|
name;
|
|
76
76
|
config;
|
|
77
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Volume", version: "2.0.
|
|
77
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Volume", version: "2.0.32" };
|
|
78
78
|
/**
|
|
79
79
|
* Mounts an Amazon Web Services (AWS) EBS volume into your pod.
|
|
80
80
|
* Unlike emptyDir, which is erased when a pod is removed, the contents of an EBS volume are
|
package/lib/workload.js
CHANGED
|
@@ -44,7 +44,7 @@ const utils_1 = require("./utils");
|
|
|
44
44
|
* In Kubernetes, a Pod represents a set of running containers on your cluster.
|
|
45
45
|
*/
|
|
46
46
|
class Workload extends pod.AbstractPod {
|
|
47
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Workload", version: "2.0.
|
|
47
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.Workload", version: "2.0.32" };
|
|
48
48
|
connections;
|
|
49
49
|
scheduling;
|
|
50
50
|
spread;
|
|
@@ -144,7 +144,7 @@ exports.Workload = Workload;
|
|
|
144
144
|
* It offers some additional API's on top of the core pod scheduling.
|
|
145
145
|
*/
|
|
146
146
|
class WorkloadScheduling extends pod.PodScheduling {
|
|
147
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.WorkloadScheduling", version: "2.0.
|
|
147
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk8s-plus-34.WorkloadScheduling", version: "2.0.32" };
|
|
148
148
|
/**
|
|
149
149
|
* Spread the pods in this workload by the topology key.
|
|
150
150
|
* A spread is a separation of the pod from itself and is used to
|
package/package.json
CHANGED
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"organization": false
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@cdk8s/projen-common": "^0.0
|
|
50
|
+
"@cdk8s/projen-common": "^0.1.0",
|
|
51
51
|
"@stylistic/eslint-plugin": "^2",
|
|
52
52
|
"@types/jest": "^27",
|
|
53
|
-
"@types/node": "
|
|
53
|
+
"@types/node": "^18",
|
|
54
54
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
55
55
|
"@typescript-eslint/parser": "^8",
|
|
56
|
-
"cdk8s": "2.70.
|
|
57
|
-
"cdk8s-cli": "^2.207.
|
|
56
|
+
"cdk8s": "2.70.80",
|
|
57
|
+
"cdk8s-cli": "^2.207.30",
|
|
58
58
|
"commit-and-tag-version": "^12",
|
|
59
59
|
"constructs": "10.3.0",
|
|
60
60
|
"eslint": "^9",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"jest": "^27",
|
|
64
64
|
"jest-junit": "^17",
|
|
65
65
|
"jsii": "~5.9.0",
|
|
66
|
-
"jsii-diff": "^1.
|
|
66
|
+
"jsii-diff": "^1.137.0",
|
|
67
67
|
"jsii-docgen": "^10.5.0",
|
|
68
|
-
"jsii-pacmak": "^1.
|
|
68
|
+
"jsii-pacmak": "^1.137.0",
|
|
69
69
|
"jsii-rosetta": "~5.9.0",
|
|
70
|
-
"projen": "^0.100.
|
|
70
|
+
"projen": "^0.100.6",
|
|
71
71
|
"snake-case": "^3.0.4",
|
|
72
72
|
"ts-jest": "^27",
|
|
73
73
|
"ts-node": "^10",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"publishConfig": {
|
|
105
105
|
"access": "public"
|
|
106
106
|
},
|
|
107
|
-
"version": "2.0.
|
|
107
|
+
"version": "2.0.32",
|
|
108
108
|
"jest": {
|
|
109
109
|
"coverageProvider": "v8",
|
|
110
110
|
"testMatch": [
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"preset": "ts-jest",
|
|
145
145
|
"globals": {
|
|
146
146
|
"ts-jest": {
|
|
147
|
-
"tsconfig": "tsconfig.
|
|
147
|
+
"tsconfig": "test/tsconfig.json"
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
},
|