@ydkn/pulumi-components 0.4.3 → 0.4.4
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/.gitlab-ci.yml +2 -1
- package/lib/hcloud/cluster.ts +0 -33
- package/lib/hcloud/kubernetes.ts +0 -12
- package/lib/hcloud/wireguard.ts +0 -9
- package/package.json +2 -1
package/.gitlab-ci.yml
CHANGED
package/lib/hcloud/cluster.ts
CHANGED
|
@@ -24,49 +24,16 @@ interface Node extends node.Node {
|
|
|
24
24
|
* Arguments for hcloud cluster resource
|
|
25
25
|
*/
|
|
26
26
|
export interface ClusterArgs extends k0s.ClusterArgs, fcos.IgnitionArgs {
|
|
27
|
-
/**
|
|
28
|
-
* Optional: Name
|
|
29
|
-
*/
|
|
30
27
|
name?: pulumi.Input<string>;
|
|
31
|
-
/**
|
|
32
|
-
* Hetzner cloud token
|
|
33
|
-
*/
|
|
34
28
|
token: pulumi.Input<string>;
|
|
35
|
-
/**
|
|
36
|
-
* Hetzner cloud location
|
|
37
|
-
*/
|
|
38
29
|
location: pulumi.Input<string>;
|
|
39
|
-
/**
|
|
40
|
-
* Hetzner cloud zone
|
|
41
|
-
*/
|
|
42
30
|
zone: pulumi.Input<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Network range
|
|
45
|
-
*/
|
|
46
31
|
networkRange: pulumi.Input<string>;
|
|
47
|
-
/**
|
|
48
|
-
* Node network range
|
|
49
|
-
*/
|
|
50
32
|
nodeRange: pulumi.Input<string>;
|
|
51
|
-
/**
|
|
52
|
-
* Nodes
|
|
53
|
-
*/
|
|
54
33
|
nodes: pulumi.Input<pulumi.Input<Nodes>[]>;
|
|
55
|
-
/**
|
|
56
|
-
* Optional: Enable external SSH access
|
|
57
|
-
*/
|
|
58
34
|
externalSshAccess?: pulumi.Input<boolean>;
|
|
59
|
-
/**
|
|
60
|
-
* Optional: Global network ranges
|
|
61
|
-
*/
|
|
62
35
|
trustedNetworkRanges?: pulumi.Input<pulumi.Input<string>[]>;
|
|
63
|
-
/**
|
|
64
|
-
* Optional: Enable external access
|
|
65
|
-
*/
|
|
66
36
|
externalAccess?: pulumi.Input<boolean>;
|
|
67
|
-
/**
|
|
68
|
-
* Optional: SSH authorized keys
|
|
69
|
-
*/
|
|
70
37
|
sshAuthorizedKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
71
38
|
}
|
|
72
39
|
|
package/lib/hcloud/kubernetes.ts
CHANGED
|
@@ -9,21 +9,9 @@ import { ServiceMonitor } from "../prometheus";
|
|
|
9
9
|
* Arguments for hcloud Kubernetes resource
|
|
10
10
|
*/
|
|
11
11
|
export interface KubernetesArgs {
|
|
12
|
-
/**
|
|
13
|
-
* Hetzner cloud token
|
|
14
|
-
*/
|
|
15
12
|
token: pulumi.Input<string>;
|
|
16
|
-
/**
|
|
17
|
-
* Optional: Name of the network
|
|
18
|
-
*/
|
|
19
13
|
network?: pulumi.Input<string>;
|
|
20
|
-
/**
|
|
21
|
-
* Optional: CIDR of the pods
|
|
22
|
-
*/
|
|
23
14
|
podCIDR?: pulumi.Input<string>;
|
|
24
|
-
/**
|
|
25
|
-
* Optional: Kubelet directory path
|
|
26
|
-
*/
|
|
27
15
|
kubeletDirPath?: pulumi.Input<string>;
|
|
28
16
|
}
|
|
29
17
|
|
package/lib/hcloud/wireguard.ts
CHANGED
|
@@ -7,17 +7,8 @@ import { Node } from "../node";
|
|
|
7
7
|
import { DnsEndpoint, DnsEndpointsArgs } from "../externalDns";
|
|
8
8
|
|
|
9
9
|
export interface WireguardArgs extends wireguard.WireguardArgs {
|
|
10
|
-
/**
|
|
11
|
-
* Nodes
|
|
12
|
-
*/
|
|
13
10
|
nodes: pulumi.Input<pulumi.Input<Node>[]>;
|
|
14
|
-
/**
|
|
15
|
-
* NetworkId
|
|
16
|
-
*/
|
|
17
11
|
networkId: pulumi.Input<number>;
|
|
18
|
-
/**
|
|
19
|
-
* Optional: Hostnames
|
|
20
|
-
*/
|
|
21
12
|
hostnames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
22
13
|
}
|
|
23
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ydkn/pulumi-components",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi"
|
|
6
6
|
],
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://gitlab.com/ydkn/pulumi-components/-/issues"
|
|
14
14
|
},
|
|
15
|
+
"type": "module",
|
|
15
16
|
"devDependencies": {
|
|
16
17
|
"@types/bcrypt": "^5.0.0",
|
|
17
18
|
"@types/js-yaml": "^4.0.5",
|