fix(headscale-ui): update appVersion

This commit is contained in:
WrenIX 2024-08-22 21:27:11 +02:00
parent f4f5a52ffa
commit 24bbbe0bec
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
4 changed files with 76 additions and 2 deletions

View file

@ -3,7 +3,7 @@ name: headscale-ui
description: A simple Headscale web UI for small-scale deployments. description: A simple Headscale web UI for small-scale deployments.
icon: https://raw.githubusercontent.com/gurucomputing/headscale-ui/master/static/favicon.png icon: https://raw.githubusercontent.com/gurucomputing/headscale-ui/master/static/favicon.png
type: application type: application
version: 0.1.5 version: 0.2.0
# renovate: image=ghcr.io/gurucomputing/headscale-ui # renovate: image=ghcr.io/gurucomputing/headscale-ui
appVersion: "2024.02.24-beta1" appVersion: "2024.02.24-beta1"
maintainers: maintainers:

View file

@ -2,7 +2,7 @@
= headscale-ui = headscale-ui
image::https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square[Version: 0.1.5] image::https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square[Version: 0.2.0]
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application] image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
image::https://img.shields.io/badge/AppVersion-2024.02.24-beta1-informational?style=flat-square[AppVersion: 2024.02.24-beta1] image::https://img.shields.io/badge/AppVersion-2024.02.24-beta1-informational?style=flat-square[AppVersion: 2024.02.24-beta1]
== Maintainers == Maintainers
@ -152,6 +152,31 @@ helm uninstall headscale-ui-release
| `""` | `""`
| |
| networkPolicy.egress.enabled
| bool
| `true`
| activate egress no networkpolicy
| networkPolicy.egress.extra
| list
| `[]`
| egress rules
| networkPolicy.enabled
| bool
| `false`
|
| networkPolicy.ingress.http
| list
| `[]`
| ingress for http port (e.g. ingress-controller)
| networkPolicy.ingress.https
| list
| `[]`
|
| nodeSelector | nodeSelector
| object | object
| `{}` | `{}`

View file

@ -0,0 +1,37 @@
{{- if .Values.networkPolicy.enabled }}
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: {{ include "headscale-ui.fullname" . }}
labels:
{{- include "headscale-ui.labels" . | nindent 4 }}
spec:
podSelector:
matchLabels:
{{- include "headscale-ui.selectorLabels" . | nindent 6 }}
policyTypes:
- Ingress
{{- if .Values.networkPolicy.egress.enabled }}
- Egress
{{- end }}
ingress:
{{- with .Values.networkPolicy.ingress.http }}
- ports:
- port: {{ $.Values.service.port.http }}
protocol: TCP
from:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.networkPolicy.ingress.https }}
- ports:
- port: {{ $.Values.service.port.https }}
protocol: TCP
from:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.networkPolicy.egress }}
egress:
{{- toYaml .extra | nindent 4 }}
{{- end }}
{{- end }}

View file

@ -47,6 +47,18 @@ service:
http: 8080 http: 8080
https: 8443 https: 8443
networkPolicy:
enabled: false
ingress:
# -- ingress for http port (e.g. ingress-controller)
http: []
https: []
egress:
# -- activate egress no networkpolicy
enabled: true
# -- egress rules
extra: []
ingress: ingress:
enabled: false enabled: false
className: "" className: ""