truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.13k stars 617 forks source link

Homeassistant: unknown field "dnsPoliy" in io.k8s.api.core.v1.PodSpec #8689

Closed Gby56 closed 1 year ago

Gby56 commented 1 year ago

App Name

Homeassistant

SCALE Version

22.02.4

App Version

2023.3.5_1.0.72

Application Events

Error: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 411, in run
    await self.future
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 446, in __run_body
    rv = await self.method(*([self] + args))
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1272, in nf
    return await func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1140, in nf
    res = await f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 116, in upgrade
    await self.upgrade_chart_release(job, release, options)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 299, in upgrade_chart_release
    await self.middleware.call('chart.release.helm_action', release_name, chart_path, config, 'upgrade')
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1345, in call
    return await self._call(
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1305, in _call
    return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1206, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/helm.py", line 44, in helm_action
    raise CallError(f'Failed to {tn_action} chart release: {stderr.decode()}')
middlewared.service_exception.CallError: [EFAULT] Failed to upgrade chart release: Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(Deployment.spec.template.spec): unknown field "dnsPoliy" in io.k8s.api.core.v1.PodSpec

Application Logs

None

Application Configuration

None

Describe the bug

Seems to be a typo that prevents the upgrade

To Reproduce

Simply install the version and try to upgrade to the latest (currently 2023.4.6_1.0.83)

Expected Behavior

Upgrade should be handsoff

Screenshots

None

Additional Context

None

I've read and agree with the following

Gby56 commented 1 year ago

Oh damn sorry, wrong repo, it's on the official charts, not Truecharts !

PrivatePuffin commented 1 year ago

No problem, luckily we don't make mistakes like that :-P

stavros-k commented 1 year ago

No problem, luckily we don't make mistakes like that :-P

I do :)

truecharts-admin commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists