diff --git a/patches/allow-control-plane-workloads.yaml b/patches/allow-control-plane-workloads.yaml index 78ee123..d9ac291 100644 --- a/patches/allow-control-plane-workloads.yaml +++ b/patches/allow-control-plane-workloads.yaml @@ -1,2 +1,3 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json cluster: allowSchedulingOnControlPlanes: true diff --git a/patches/cilium.yaml b/patches/cilium.yaml index fcde5de..5ce0d69 100644 --- a/patches/cilium.yaml +++ b/patches/cilium.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json machine: features: hostDNS: diff --git a/patches/cluster-variables.yaml b/patches/cluster-variables.yaml index 190d325..63cd3de 100644 --- a/patches/cluster-variables.yaml +++ b/patches/cluster-variables.yaml @@ -1,16 +1,20 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json cluster: inlineManifests: - name: cluster-variables contents: | + --- + # yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/v1.34.1-standalone-strict/namespace.json apiVersion: v1 kind: Namespace metadata: name: flux-system --- + # yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/v1.34.1-standalone-strict/configmap.json apiVersion: v1 kind: ConfigMap metadata: name: cluster-variables namespace: flux-system data: - cluster_env: {%- if node.cluster.production %} production {%- else %} staging {%- endif %} + cluster_env: "{%- if node.cluster.production %} production {%- else %} staging {%- endif %}" diff --git a/patches/gateway-api.yaml b/patches/gateway-api.yaml index 87ca9f7..bb9f3be 100644 --- a/patches/gateway-api.yaml +++ b/patches/gateway-api.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json cluster: extraManifests: - https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.4.1/standard-install.yaml diff --git a/patches/hostname.yaml b/patches/hostname.yaml index 259a3f3..2506b2e 100644 --- a/patches/hostname.yaml +++ b/patches/hostname.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json machine: network: - hostname: {{node.hostname}} + hostname: "{{node.hostname}}" diff --git a/patches/install-disk.yaml b/patches/install-disk.yaml index ff13ab1..d9d983a 100644 --- a/patches/install-disk.yaml +++ b/patches/install-disk.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json machine: install: - disk: {{node.installDisk}} + disk: "{{node.installDisk}}" diff --git a/patches/limit-ephemeral.yaml b/patches/limit-ephemeral.yaml index fe663fb..0ae73ce 100644 --- a/patches/limit-ephemeral.yaml +++ b/patches/limit-ephemeral.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json apiVersion: v1alpha1 kind: VolumeConfig name: EPHEMERAL diff --git a/patches/local-path-provisioner-volume.yaml b/patches/local-path-provisioner-volume.yaml index 1aadf05..4fc940a 100644 --- a/patches/local-path-provisioner-volume.yaml +++ b/patches/local-path-provisioner-volume.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json apiVersion: v1alpha1 kind: UserVolumeConfig name: local-path-provisioner diff --git a/patches/longhorn-user-volume.yaml b/patches/longhorn-user-volume.yaml index e4472be..e94577f 100644 --- a/patches/longhorn-user-volume.yaml +++ b/patches/longhorn-user-volume.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json apiVersion: v1alpha1 kind: UserVolumeConfig name: longhorn diff --git a/patches/longhorn.yaml b/patches/longhorn.yaml index 9c26d7f..328e700 100644 --- a/patches/longhorn.yaml +++ b/patches/longhorn.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json machine: kubelet: extraMounts: diff --git a/patches/metrics-cluster.yaml b/patches/metrics-cluster.yaml index db18534..72637bb 100644 --- a/patches/metrics-cluster.yaml +++ b/patches/metrics-cluster.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json cluster: extraManifests: - https://raw.githubusercontent.com/alex1989hu/kubelet-serving-cert-approver/main/deploy/standalone-install.yaml diff --git a/patches/metrics.yaml b/patches/metrics.yaml index f5a9567..027ecd7 100644 --- a/patches/metrics.yaml +++ b/patches/metrics.yaml @@ -1,4 +1,5 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json machine: kubelet: extraArgs: - rotate-server-certificates: true + rotate-server-certificates: "true" diff --git a/patches/network.yaml b/patches/network.yaml index 57816ae..ab9d458 100644 --- a/patches/network.yaml +++ b/patches/network.yaml @@ -1,10 +1,11 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json machine: network: interfaces: - - interface: {{node.interface}} + - interface: "{{node.interface}}" dhcp: false addresses: - - {{node.ip}} + - "{{node.ip}}" routes: - network: 0.0.0.0/0 - gateway: {{node.gateway}} + gateway: "{{node.gateway}}" diff --git a/patches/openebs.yaml b/patches/openebs.yaml index 0f1f58a..676f22c 100644 --- a/patches/openebs.yaml +++ b/patches/openebs.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json machine: # This is only needed on nodes that will have storage sysctls: diff --git a/patches/sops.yaml b/patches/sops.yaml index b81cda3..7449275 100644 --- a/patches/sops.yaml +++ b/patches/sops.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json cluster: inlineManifests: - name: sops-key diff --git a/patches/spegel.yaml b/patches/spegel.yaml index f7aa7f1..2faef74 100644 --- a/patches/spegel.yaml +++ b/patches/spegel.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json machine: files: - path: /etc/cri/conf.d/20-customization.part diff --git a/patches/tailscale.yaml b/patches/tailscale.yaml index b5f84bc..698bdaf 100644 --- a/patches/tailscale.yaml +++ b/patches/tailscale.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json apiVersion: v1alpha1 kind: ExtensionServiceConfig name: tailscale diff --git a/patches/vip.yaml b/patches/vip.yaml index f73c4dc..bf19547 100644 --- a/patches/vip.yaml +++ b/patches/vip.yaml @@ -1,6 +1,7 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json machine: network: interfaces: - - interface: {{node.interface}} + - interface: "{{node.interface}}" vip: - ip: {{node.cluster.controlPlaneIp}} + ip: "{{node.cluster.controlPlaneIp}}"