Skip to content

Commit 20f2e97

Browse files
committed
chore(kubernetes): get up to date
1 parent ac12062 commit 20f2e97

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

.taskfiles/talos/Taskfile.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ tasks:
1616
desc: Apply Talos config to a node [NODE=required] [MODE=auto]
1717
cmd: |-
1818
minijinja-cli {{.TALOS_DIR}}/{{.MACHINE_TYPE}}.yaml.j2 | op inject \
19-
| talosctl --nodes {{.NODE}} apply-config {{if eq .INSECURE "true"}}--insecure{{end}} \
19+
| talosctl --nodes {{.NODE}} apply-config \
2020
--mode {{.MODE}} \
2121
--config-patch @{{.TALOS_DIR}}/{{.MACHINE_TYPE}}/{{.NODE}}.yaml \
22-
--file /dev/stdin
22+
--file /dev/stdin {{if .INSECURE}}--insecure{{end}}
2323
vars:
2424
MODE: '{{.MODE | default "auto"}}'
2525
INSECURE:
26-
sh: talosctl --nodes {{.NODE}} get machineconfig &> /dev/null && echo false || echo true
26+
sh: talosctl --nodes {{.NODE}} get machineconfig &> /dev/null || echo true
2727
MACHINE_TYPE:
2828
sh: |-
2929
talosctl --nodes {{.NODE}} get machinetypes --output=jsonpath='{.spec}' 2> /dev/null \
@@ -44,13 +44,14 @@ tasks:
4444
MACHINE_TYPE:
4545
sh: talosctl --nodes {{.NODE}} get machinetypes --output=jsonpath='{.spec}'
4646
TALOS_IMAGE:
47-
sh: minijinja-cli {{.TALOS_DIR}}/{{.MACHINE_TYPE}}.yaml.j2 | yq '.machine.install.image'
47+
sh: |-
48+
talosctl --nodes {{.NODE}} get machineconfig --output=jsonpath='{.spec}' \
49+
| yq '.machine.install.image'
4850
requires:
4951
vars: [NODE]
5052
preconditions:
5153
- talosctl config info
5254
- talosctl --nodes {{.NODE}} get machineconfig
53-
- test -f {{.TALOS_DIR}}/{{.MACHINE_TYPE}}.yaml.j2
5455
- which minijinja-cli talosctl yq
5556

5657
upgrade-k8s:

kubernetes/apps/democratic-csi/democratic-csi/app/helmrelease.yaml

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ spec:
99
mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
1010
operation: copy
1111
ref:
12-
tag: 0.14.7
13-
url: oci://ghcr.io/home-operations/charts-mirror/democratic-csi
14-
verify:
15-
provider: cosign
12+
tag: 0.15.0
13+
url: oci://ghcr.io/democratic-csi/charts/democratic-csi
1614
---
1715
apiVersion: helm.toolkit.fluxcd.io/v2
1816
kind: HelmRelease

kubernetes/apps/volsync-system/snapshot-controller/app/helmrelease.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ spec:
1010
operation: copy
1111
ref:
1212
tag: 4.0.2
13-
url: oci://ghcr.io/home-operations/charts-mirror/snapshot-controller
14-
verify:
15-
provider: cosign
13+
url: oci://ghcr.io/piraeusdatastore/helm-charts/snapshot-controller
1614
---
1715
apiVersion: helm.toolkit.fluxcd.io/v2
1816
kind: HelmRelease

0 commit comments

Comments
 (0)