fix(home-assistant) Fix capability names in default values (#36573)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes https://github.com/truecharts/public/issues/36572 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> 1. Deploy the chart with default values, from this PR's sources. 2. Assert the DHCP watch permission error does not reproduce (see https://github.com/truecharts/public/issues/36572). Also, checking the actual container perms proves the necessary capabilities are now enabled: ```sh home-assistant-6699bb7c6c-x7htf:/config# cat /proc/1/status | grep Cap CapInh: 0000000000000000 CapPrm: 00000000000024cb CapEff: 00000000000024cb CapBnd: 00000000000024cb CapAmb: 0000000000000000 ``` Where `0x24CB` is `0b10010011001011` – the 10-th and 13-th bits are set high [(`CAP_NET_BIND_SERVICE` and `CAP_NET_RAW` respectively)](https://github.com/torvalds/linux/blob/master/include/uapi/linux/capability.h). **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [x] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** Not applicable. ~If this PR is an app addition please make sure you have done the following.~ ~- [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png`~
This commit is contained in:
@@ -38,5 +38,5 @@ sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/stable/home-assistant
|
||||
- https://hub.docker.com/r/homeassistant/home-assistant
|
||||
type: application
|
||||
version: 27.6.1
|
||||
version: 27.6.2
|
||||
|
||||
|
||||
@@ -143,5 +143,5 @@ securityContext:
|
||||
runAsGroup: 0
|
||||
capabilities:
|
||||
add:
|
||||
- CAP_NET_RAW
|
||||
- CAP_NET_BIND_SERVICE
|
||||
- NET_RAW
|
||||
- NET_BIND_SERVICE
|
||||
|
||||
Reference in New Issue
Block a user