mirror of
https://github.com/siderolabs/omni.git
synced 2026-05-05 06:36:12 +02:00
Now inline supports all three variants: - a single inline map (backward compatibility for config patches). - a list of inline maps - raw bytes, that can also contain multiple documents. `omnictl cluster template export` command was updated to export config patches/manifests as raw bytes to ensure that multiple values are properly supported. Fixes: https://github.com/siderolabs/omni/issues/2683 Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
41 lines
790 B
YAML
41 lines
790 B
YAML
kind: Cluster
|
|
name: inline-bytes-cluster
|
|
kubernetes:
|
|
version: v1.30.0
|
|
manifests:
|
|
- name: raw-bytes-manifest
|
|
mode: full
|
|
inline: |
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: my-config
|
|
namespace: kube-system
|
|
data:
|
|
key: value
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: other-config
|
|
namespace: kube-system
|
|
data:
|
|
key: other-value
|
|
talos:
|
|
version: v1.7.0
|
|
patches:
|
|
- name: kubespan-enabled-bytes
|
|
inline: |
|
|
machine:
|
|
network:
|
|
kubespan:
|
|
enabled: true
|
|
---
|
|
kind: ControlPlane
|
|
machines:
|
|
- aaaaaaaa-1111-2222-3333-444444444444
|
|
---
|
|
kind: Workers
|
|
machines:
|
|
- bbbbbbbb-1111-2222-3333-444444444444
|