Skip to content

Commit 4e724a6

Browse files
authored
Test k3s edge (#28)
* Change k3s.yaml from 127.0.0.1 to correct IP Signed-off-by: Alexandre Peixoto Ferreira <[email protected]> * Fix chart version so artifacts are created Signed-off-by: Alexandre Peixoto Ferreira <[email protected]> * Fix k3s-start.sh script Signed-off-by: Alexandre Peixoto Ferreira <[email protected]> --------- Signed-off-by: Alexandre Peixoto Ferreira <[email protected]>
1 parent 12b1bc0 commit 4e724a6

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

charts/smarter-k3s-edge/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: smarter-k3s-edge
3-
version: 0.0.4
3+
version: 0.0.5
44
type: application
55
appVersion: v1.25.3-k3s1
66
description: K3s server on kubernetes

charts/smarter-k3s-edge/templates/common.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ data:
118118
export K3S_TOKEN=$(cat token.{{ .Values.configuration.id }})
119119
export K3S_URL=$(grep server: k3s.yaml.{{ .Values.configuration.id }} | sed -e "s/^ *.server: *//")
120120
121-
curl -sfL https://get.k3s.io | \\
122-
sh -s - \\
123-
--kubelet-arg cluster-dns=169.254.0.2 \\
124-
--log /var/log/k3s.log \\
125-
--node-label smarter.nodetype=unknown \\
126-
--node-label smarter.nodemodel=unknown \\
127-
--node-label smarter.type=edge \\
128-
--node-taint smarter.type=edge:NoSchedule \\
121+
curl -sfL https://get.k3s.io | \
122+
sh -s - \
123+
--kubelet-arg cluster-dns=169.254.0.2 \
124+
--log /var/log/k3s.log \
125+
--node-label smarter.nodetype=unknown \
126+
--node-label smarter.nodemodel=unknown \
127+
--node-label smarter.type=edge \
128+
--node-taint smarter.type=edge:NoSchedule \
129129
--node-label smarter-build=user-installed
130130
nginx-start.sh: |
131131
#!/bin/bash

0 commit comments

Comments
 (0)