Skip to content

Commit

Permalink
chore: manual intervention due to helm lint
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <[email protected]>
  • Loading branch information
Dominik Rosiek committed Sep 12, 2023
1 parent c921b9f commit ccea037
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 119 deletions.
2 changes: 1 addition & 1 deletion ci/check_configuration_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def compare_values(readme: dict, values_keys: list[str], values: dict) -> dict:
if compare_keys(this_key, other_key):
other_value = get_value(this_key, values)
if this_value != other_value:
if this_value.replace("\\\\", "\\") == other_value:
if this_value.replace("\\\\", "\\").replace("\\|", "|") == other_value:
# yaml contains both `'` and `"` strings and readme is always `"` string
continue

Expand Down
2 changes: 2 additions & 0 deletions ci/generate-schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def set_properties(values):
properties['type'] = 'string'
else:
properties['type'] = 'string'
if not properties['default']:
properties['default'] = ""

return properties

Expand Down
2 changes: 1 addition & 1 deletion ci/generate_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_description(prefix, data):
else:
built_default = build_default(data)

default = json.dumps(built_default if built_default is not None else data['default']).strip('"')
default = json.dumps(built_default if built_default is not None else data['default']).strip('"').replace("|", "\|")
if len(default) > 180:
default = "See [values.yaml]"

Expand Down
Loading

0 comments on commit ccea037

Please sign in to comment.