-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description of problem:
The 'show-config' command should show the default and effective configuration, respectively, i.e. have the same serialisation as /etc/microshift/config.yaml. Instead, it is using the internal representation ('MicroShiftConfig') struct.
Version-Release number of selected component (if applicable):
4.12.0-20221211150118-ae224890
How reproducible:
100%
Steps to Reproduce:
1. Run `microshift show-config` or `microshift show-config --mode effective`
Actual results:
baseDomain: example.com cluster: clusterCIDR: 10.42.0.0/16 serviceCIDR: 10.43.0.0/16 serviceNodePortRange: 30000-32767 logVLevel: 2 nodeIP: "" nodeName: "" subjectAltNames: - microshift-devel.local
Expected results:
baseDomain: example.com network: clusterNetwork: cidr: 10.42.0.0/16 serviceNetwork - 10.43.0.0/16 serviceNodePortRange: 30000-32767 logVLevel: 0 nodeIP: "" nodeName: "" subjectAltNames: []
Additional info:
The root-cause is the introduction of `Config` struct as user-facing format spitting from `MicroshiftConfig` struct as internal format. `show-config` outputs the latter, but its format is different.