factorio-server-charts icon indicating copy to clipboard operation
factorio-server-charts copied to clipboard

Issues with helm values schema

Open Kariton opened this issue 1 year ago • 4 comments

My current deployment does not update with the updated schema.

Error: values don't meet the specifications of the schema(s) in the following chart(s): factorio-server-charts: - map_gen_settings.seed: Invalid type. Expected: null, given: integer - map_gen_settings.starting_area: Invalid type. Expected: integer, given: number

        map_gen_settings:
          starting_area: 1.5
          peaceful_mode: false
          autoplace_controls:
            iron-ore:
              frequency: 0.50
              size: 1.50
              richness: 2
            copper-ore:
              frequency: 0.50
              size: 1.50
              richness: 2
            stone:
              frequency: 0.50
              size: 1.50
              richness: 2
            coal:
              frequency: 0.50
              size: 1.50
              richness: 2
            crude-oil:
              frequency: 0.50
              size: 1.50
              richness: 2
            uranium-ore:
              frequency: 0.50
              size: 1.50
              richness: 2
          seed: 3508092348

Kariton avatar Nov 11 '24 02:11 Kariton

going to remove the schema and the workflow until I can come up with a better solution #76

SQLJames avatar Nov 11 '24 04:11 SQLJames

Merged, 2.5.2 should be released shortly which will allow you to upgrade.

SQLJames avatar Nov 11 '24 04:11 SQLJames

works now. :)

Kariton avatar Nov 13 '24 01:11 Kariton

I volunteered to take over the helm-schema-gen plugin that I used for generating schema. My goal will be to update it so that we can leverage it for this chart. It make take some time before we get there though.

For those who are interested here is the link I just finished putting together. The maintainer of the original is also stepping through it to make sure the handoff goes smoothly.

https://github.com/rhoat/helm-schema-gen

SQLJames avatar Nov 13 '24 05:11 SQLJames