fix: Allow helm chart metadata icon to be file #255
Reference in New Issue
Block a user
No description provided.
Delete Branch "eminguez/suse-edge-factory:pyhelm3-icon-allow-file"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Not sure this will be the final version of the patch, but it will solve the issue, and it's not a real problem for us if the icon is not well validated, so 👍
@@ -0,0 +7,4 @@
description = "List of maintainers for the chart."
)
- icon: t.Optional[HttpUrl] = Field(
+ icon: t.Optional[NonEmptyString] = Field(
I think that
t.Optional[HttpUrl | FileUrl]
would be better then, so it still checks it is a valid url, but it's something to see with pyhelm3 devs.That's even better, thanks Nicolas.
Just in case, I sent the PR upstream as well https://github.com/azimuth-cloud/pyhelm3/pull/35
dae4492411
to8ac6ade850
8ac6ade850
to6e9b62619d
6e9b62619d
todb5c94414c
I think the issues on OBS are related to #256 so I'm going to merge it.
db5c94414c
tob94d722028