Commit Graph

6 Commits

Author SHA1 Message Date
Marcel Henrich 5e58131d6c
feat(blocky): repair template for filtering of queryTypes (#26254)
**Description**

Blocky has the filtering option, see
<https://0xerr0r.github.io/blocky/latest/configuration/#filtering>.
The current template seems to have copy-paste errors, this MR fixes the
configuration.
In the end, it is a breaking change, but I am unsure if somebody is
actually using the current state, which would require some hacky things
like:
```yaml
    filtering:
      filtering: true
      ips:
        ignoredWhatisHere: HTTPS
```
to ignore HTTPS query type (65). Thus, I only increased the minor
version, but feel free to change it to a major version bump.

⚒️ Fixes  # <!--(issue)-->

**⚙️ 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

**🧪 How Has This Been Tested?**
I did run `helm template` with default values yaml and also with
```yaml
# -- Return empty answer for these queries
filtering:
  # -- Ensures filtering by query type
  queryTypes:
    - HTTPS
```
Then, I checked the results.

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ 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 corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 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):` or `chore(chart-name):`

** App addition**

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`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Marcel Henrich <marcel.henrich@gmail.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2024-09-12 23:33:52 +03:00
Kjeld Schouten db80ccf4d9
chore(blocky): remove non-functional blocklist
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2024-03-22 11:27:46 +01:00
Kjeld Schouten 4fe8f21e1f
feat(blocky): add pihole default blocklists as well.
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2024-03-22 10:56:50 +01:00
Kjeld Schouten aea2ffe5f8
chore(blocky): move blocky default lists directly to template
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2024-03-22 10:36:10 +01:00
Kjeld Schouten 8992ae68cf
Update _blockyConfig.tpl
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2024-03-22 10:14:43 +01:00
Kjeld Schouten 477ad6f28e chore(enterprise-train): rename `enterprise`- train to `premium`-train 2024-03-16 11:35:36 +01:00