fix(headscale-ui): update appVersion
This commit is contained in:
parent
f4f5a52ffa
commit
24bbbe0bec
4 changed files with 76 additions and 2 deletions
|
@ -3,7 +3,7 @@ name: headscale-ui
|
|||
description: A simple Headscale web UI for small-scale deployments.
|
||||
icon: https://raw.githubusercontent.com/gurucomputing/headscale-ui/master/static/favicon.png
|
||||
type: application
|
||||
version: 0.1.5
|
||||
version: 0.2.0
|
||||
# renovate: image=ghcr.io/gurucomputing/headscale-ui
|
||||
appVersion: "2024.02.24-beta1"
|
||||
maintainers:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
= 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/AppVersion-2024.02.24-beta1-informational?style=flat-square[AppVersion: 2024.02.24-beta1]
|
||||
== 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
|
||||
| object
|
||||
| `{}`
|
||||
|
|
37
headscale-ui/templates/networkpolicy.yaml
Normal file
37
headscale-ui/templates/networkpolicy.yaml
Normal 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 }}
|
|
@ -47,6 +47,18 @@ service:
|
|||
http: 8080
|
||||
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:
|
||||
enabled: false
|
||||
className: ""
|
||||
|
|
Loading…
Add table
Reference in a new issue