Skip to content

Commit

Permalink
Update presets
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed May 3, 2024
1 parent 5130f96 commit 7570872
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion charts/cozystack/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- define "talos.common.config" }}
{{- define "talos.config" }}
machine:
type: {{ .MachineType }}
kubelet:
Expand Down
2 changes: 1 addition & 1 deletion charts/cozystack/templates/controlplane.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{- $_ := set . "MachineType" "controlplane" -}}
{{- include "talos.common.config" . }}
{{- include "talos.config" . }}
2 changes: 1 addition & 1 deletion charts/cozystack/templates/worker.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{- $_ := set . "MachineType" "worker" -}}
{{- include "talos.common.config" . }}
{{- include "talos.config" . }}
2 changes: 1 addition & 1 deletion charts/generic/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ templateOptions:
fileValues: []
jsonValues: []
literalValues: []
talosVersion: "v1.6"
talosVersion: ""
withSecrets: "secrets.yaml"
kubernetesVersion: ""
full: false
Expand Down
2 changes: 1 addition & 1 deletion charts/generic/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- define "talos.common.config" }}
{{- define "talos.config" }}
machine:
type: {{ .MachineType }}
kubelet:
Expand Down
2 changes: 1 addition & 1 deletion charts/generic/templates/controlplane.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{- $_ := set . "MachineType" "controlplane" -}}
{{- include "talos.common.config" . }}
{{- include "talos.config" . }}
2 changes: 1 addition & 1 deletion charts/generic/templates/worker.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{- $_ := set . "MachineType" "worker" -}}
{{- include "talos.common.config" . }}
{{- include "talos.config" . }}
14 changes: 7 additions & 7 deletions pkg/generated/presets.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ upgradeOptions:
stage: false
force: false
`,
"cozystack/templates/_helpers.tpl": `{{- define "talos.common.config" }}
"cozystack/templates/_helpers.tpl": `{{- define "talos.config" }}
machine:
type: {{ .MachineType }}
kubelet:
Expand Down Expand Up @@ -107,10 +107,10 @@ cluster:
{{- end }}
`,
"cozystack/templates/controlplane.yaml": `{{- $_ := set . "MachineType" "controlplane" -}}
{{- include "talos.common.config" . }}
{{- include "talos.config" . }}
`,
"cozystack/templates/worker.yaml": `{{- $_ := set . "MachineType" "worker" -}}
{{- include "talos.common.config" . }}
{{- include "talos.config" . }}
`,
"cozystack/values.yaml": `endpoint: "https://192.168.100.10:6443"
floatingIP: 192.168.100.10
Expand All @@ -136,7 +136,7 @@ templateOptions:
fileValues: []
jsonValues: []
literalValues: []
talosVersion: "v1.6"
talosVersion: ""
withSecrets: "secrets.yaml"
kubernetesVersion: ""
full: false
Expand All @@ -149,7 +149,7 @@ upgradeOptions:
stage: false
force: false
`,
"generic/templates/_helpers.tpl": `{{- define "talos.common.config" }}
"generic/templates/_helpers.tpl": `{{- define "talos.config" }}
machine:
type: {{ .MachineType }}
kubelet:
Expand Down Expand Up @@ -192,10 +192,10 @@ cluster:
{{- end }}
`,
"generic/templates/controlplane.yaml": `{{- $_ := set . "MachineType" "controlplane" -}}
{{- include "talos.common.config" . }}
{{- include "talos.config" . }}
`,
"generic/templates/worker.yaml": `{{- $_ := set . "MachineType" "worker" -}}
{{- include "talos.common.config" . }}
{{- include "talos.config" . }}
`,
"generic/values.yaml": `endpoint: "https://192.168.100.10:6443"
podSubnets:
Expand Down

0 comments on commit 7570872

Please sign in to comment.