@highstate/talos 0.5.3 → 0.5.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.
@@ -0,0 +1,191 @@
1
+ apiVersion: v1
2
+ kind: Namespace
3
+ metadata:
4
+ labels:
5
+ pod-security.kubernetes.io/enforce: privileged
6
+ name: local-path-storage
7
+ ---
8
+ apiVersion: storage.k8s.io/v1
9
+ kind: StorageClass
10
+ metadata:
11
+ annotations:
12
+ storageclass.kubernetes.io/is-default-class: "true"
13
+ name: local-path
14
+ provisioner: rancher.io/local-path
15
+ reclaimPolicy: Delete
16
+ volumeBindingMode: WaitForFirstConsumer
17
+ ---
18
+ apiVersion: v1
19
+ kind: ServiceAccount
20
+ metadata:
21
+ name: local-path-provisioner-service-account
22
+ namespace: local-path-storage
23
+ ---
24
+ apiVersion: rbac.authorization.k8s.io/v1
25
+ kind: Role
26
+ metadata:
27
+ name: local-path-provisioner-role
28
+ namespace: local-path-storage
29
+ rules:
30
+ - apiGroups:
31
+ - ""
32
+ resources:
33
+ - pods
34
+ verbs:
35
+ - get
36
+ - list
37
+ - watch
38
+ - create
39
+ - patch
40
+ - update
41
+ - delete
42
+ ---
43
+ apiVersion: rbac.authorization.k8s.io/v1
44
+ kind: ClusterRole
45
+ metadata:
46
+ name: local-path-provisioner-role
47
+ rules:
48
+ - apiGroups:
49
+ - ""
50
+ resources:
51
+ - nodes
52
+ - persistentvolumeclaims
53
+ - configmaps
54
+ - pods
55
+ - pods/log
56
+ verbs:
57
+ - get
58
+ - list
59
+ - watch
60
+ - apiGroups:
61
+ - ""
62
+ resources:
63
+ - persistentvolumes
64
+ verbs:
65
+ - get
66
+ - list
67
+ - watch
68
+ - create
69
+ - patch
70
+ - update
71
+ - delete
72
+ - apiGroups:
73
+ - ""
74
+ resources:
75
+ - events
76
+ verbs:
77
+ - create
78
+ - patch
79
+ - apiGroups:
80
+ - storage.k8s.io
81
+ resources:
82
+ - storageclasses
83
+ verbs:
84
+ - get
85
+ - list
86
+ - watch
87
+ ---
88
+ apiVersion: rbac.authorization.k8s.io/v1
89
+ kind: RoleBinding
90
+ metadata:
91
+ name: local-path-provisioner-bind
92
+ namespace: local-path-storage
93
+ roleRef:
94
+ apiGroup: rbac.authorization.k8s.io
95
+ kind: Role
96
+ name: local-path-provisioner-role
97
+ subjects:
98
+ - kind: ServiceAccount
99
+ name: local-path-provisioner-service-account
100
+ namespace: local-path-storage
101
+ ---
102
+ apiVersion: rbac.authorization.k8s.io/v1
103
+ kind: ClusterRoleBinding
104
+ metadata:
105
+ name: local-path-provisioner-bind
106
+ roleRef:
107
+ apiGroup: rbac.authorization.k8s.io
108
+ kind: ClusterRole
109
+ name: local-path-provisioner-role
110
+ subjects:
111
+ - kind: ServiceAccount
112
+ name: local-path-provisioner-service-account
113
+ namespace: local-path-storage
114
+ ---
115
+ apiVersion: v1
116
+ data:
117
+ config.json: |-
118
+ {
119
+ "nodePathMap": [
120
+ {
121
+ "node": "DEFAULT_PATH_FOR_NON_LISTED_NODES",
122
+ "paths": ["/var/local-path-provisioner"]
123
+ }
124
+ ]
125
+ }
126
+ helperPod.yaml: |-
127
+ apiVersion: v1
128
+ kind: Pod
129
+ metadata:
130
+ name: helper-pod
131
+ spec:
132
+ priorityClassName: system-node-critical
133
+ tolerations:
134
+ - key: node.kubernetes.io/disk-pressure
135
+ operator: Exists
136
+ effect: NoSchedule
137
+ containers:
138
+ - name: helper-pod
139
+ image: busybox
140
+ imagePullPolicy: IfNotPresent
141
+ setup: |-
142
+ #!/bin/sh
143
+ set -eu
144
+ mkdir -m 0777 -p "$VOL_DIR"
145
+ teardown: |-
146
+ #!/bin/sh
147
+ set -eu
148
+ rm -rf "$VOL_DIR"
149
+ kind: ConfigMap
150
+ metadata:
151
+ name: local-path-config
152
+ namespace: local-path-storage
153
+ ---
154
+ apiVersion: apps/v1
155
+ kind: Deployment
156
+ metadata:
157
+ name: local-path-provisioner
158
+ namespace: local-path-storage
159
+ spec:
160
+ replicas: 1
161
+ selector:
162
+ matchLabels:
163
+ app: local-path-provisioner
164
+ template:
165
+ metadata:
166
+ labels:
167
+ app: local-path-provisioner
168
+ spec:
169
+ containers:
170
+ - command:
171
+ - local-path-provisioner
172
+ - --debug
173
+ - start
174
+ - --config
175
+ - /etc/config/config.json
176
+ env:
177
+ - name: POD_NAMESPACE
178
+ valueFrom:
179
+ fieldRef:
180
+ fieldPath: metadata.namespace
181
+ image: rancher/local-path-provisioner:v0.0.26
182
+ imagePullPolicy: IfNotPresent
183
+ name: local-path-provisioner
184
+ volumeMounts:
185
+ - mountPath: /etc/config/
186
+ name: config-volume
187
+ serviceAccountName: local-path-provisioner-service-account
188
+ volumes:
189
+ - configMap:
190
+ name: local-path-config
191
+ name: config-volume
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@highstate/talos",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "type": "module",
5
5
  "files": [
6
- "assets/manifests",
6
+ "assets",
7
7
  "dist"
8
8
  ],
9
9
  "exports": {
@@ -17,11 +17,11 @@
17
17
  "generate-local-path-provisioner": "bash ./scripts/generate-local-path-provisioner.sh"
18
18
  },
19
19
  "dependencies": {
20
- "@highstate/cilium": "^0.5.3",
21
- "@highstate/common": "^0.5.3",
22
- "@highstate/contract": "^0.5.3",
23
- "@highstate/k8s": "^0.5.3",
24
- "@highstate/pulumi": "^0.5.3",
20
+ "@highstate/cilium": "^0.5.4",
21
+ "@highstate/common": "^0.5.4",
22
+ "@highstate/contract": "^0.5.4",
23
+ "@highstate/k8s": "^0.5.4",
24
+ "@highstate/pulumi": "^0.5.4",
25
25
  "@pulumi/command": "^1.0.2",
26
26
  "@pulumiverse/talos": "^0.4.1"
27
27
  },
@@ -31,5 +31,5 @@
31
31
  "devDependencies": {
32
32
  "pkgroll": "^2.5.1"
33
33
  },
34
- "gitHead": "e6ff8cbad1d33641d6871ca159e1589db6844203"
34
+ "gitHead": "d185cf2269127b4a82156121fc493dea9b7108c3"
35
35
  }