Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-09-29 20:04:34 +00:00
parent e2a2f43469
commit 459e6c15a4
18 changed files with 36 additions and 6 deletions

View File

@ -2,12 +2,11 @@
## [blocky-1.0.11](https://github.com/truecharts/charts/compare/blocky-1.0.10...blocky-1.0.11) (2022-09-27)
## [blocky-1.1.0](https://github.com/truecharts/charts/compare/blocky-1.0.11...blocky-1.1.0) (2022-09-29)
### Chore
### Feat
- Auto-update chart README [skip ci]
- update helm general non-major ([#3925](https://github.com/truecharts/charts/issues/3925))
- add DoH support on main ingress ([#3959](https://github.com/truecharts/charts/issues/3959))
@ -97,3 +96,4 @@
## [blocky-1.0.2](https://github.com/truecharts/charts/compare/blocky-1.0.1...blocky-1.0.2) (2022-09-25)
### Chore

View File

@ -6,4 +6,4 @@ dependencies:
repository: https://charts.truecharts.org
version: 3.0.85
digest: sha256:7b7b7ae17622f706bfa5e1f5dc54b3489a4baf2b6649f103f9a43b8f0d580acf
generated: "2022-09-27T20:22:50.714543151Z"
generated: "2022-09-29T20:02:47.59641608Z"

View File

@ -26,7 +26,7 @@ sources:
- https://github.com/0xERR0R/blocky
- https://github.com/Mozart409/blocky-frontend
- https://hub.docker.com/r/spx01/blocky
version: 1.0.11
version: 1.1.0
annotations:
truecharts.org/catagories: |
- network

View File

@ -73,5 +73,35 @@ service:
{{/* inject api paths in ingress */}}
{{- include "blocky.apiinjector" . }}
{{/* Define path for DoH */}}
{{- define "blocky.doh" -}}
{{- $fullname := include "tc.common.names.fullname" . -}}
path: "/dns-query"
# -- Ignored if not kubeVersion >= 1.14-0
pathType: Prefix
service:
# -- Overrides the service name reference for this path
name: {{ printf "%s-http" $fullname }}
port: {{ .Values.service.http.ports.http.port }}
{{- end -}}
{{/* inject websocket path to all main ingress hosts*/}}
{{- define "blocky.dohinjector" -}}
{{- $path := list (include "blocky.doh" . | fromYaml) -}}
{{- if .Values.ingress.main.enabled }}
{{- range .Values.ingress.main.hosts }}
{{- $newpaths := list }}
{{- $newpaths := concat .paths $path }}
{{- $_ := set . "paths" ( deepCopy $newpaths ) -}}
{{- end }}
{{- end }}
{{- end -}}
{{/* inject api paths in ingress */}}
{{- include "blocky.dohinjector" . }}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}