mirror of
https://github.com/h44z/wg-portal.git
synced 2026-02-24 11:26:21 +00:00
@@ -16,7 +16,7 @@ annotations:
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.7.2
|
version: 0.7.3
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# wg-portal
|
# wg-portal
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
WireGuard Configuration Portal with LDAP, OAuth, OIDC authentication
|
WireGuard Configuration Portal with LDAP, OAuth, OIDC authentication
|
||||||
|
|
||||||
@@ -41,6 +41,7 @@ The [Values](#values) section lists the parameters that can be configured during
|
|||||||
| config.web | tpl/object | `{}` | [Web configuration](https://wgportal.org/latest/documentation/configuration/overview/#web) options.<br> `listening_address` will be set automatically from `service.web.port`. `external_url` is required to enable ingress and certificate resources. |
|
| config.web | tpl/object | `{}` | [Web configuration](https://wgportal.org/latest/documentation/configuration/overview/#web) options.<br> `listening_address` will be set automatically from `service.web.port`. `external_url` is required to enable ingress and certificate resources. |
|
||||||
| revisionHistoryLimit | string | `10` | The number of old ReplicaSets to retain to allow rollback. |
|
| revisionHistoryLimit | string | `10` | The number of old ReplicaSets to retain to allow rollback. |
|
||||||
| workloadType | string | `"Deployment"` | Workload type - `Deployment` or `StatefulSet` |
|
| workloadType | string | `"Deployment"` | Workload type - `Deployment` or `StatefulSet` |
|
||||||
|
| replicas | int | `1` | The replicas for the workload. |
|
||||||
| strategy | object | `{"type":"RollingUpdate"}` | Update strategy for the workload Valid values are: `RollingUpdate` or `Recreate` for Deployment, `RollingUpdate` or `OnDelete` for StatefulSet |
|
| strategy | object | `{"type":"RollingUpdate"}` | Update strategy for the workload Valid values are: `RollingUpdate` or `Recreate` for Deployment, `RollingUpdate` or `OnDelete` for StatefulSet |
|
||||||
| image.repository | string | `"ghcr.io/h44z/wg-portal"` | Image repository |
|
| image.repository | string | `"ghcr.io/h44z/wg-portal"` | Image repository |
|
||||||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
||||||
@@ -74,12 +75,15 @@ The [Values](#values) section lists the parameters that can be configured during
|
|||||||
| service.web.type | string | `"ClusterIP"` | Web service type |
|
| service.web.type | string | `"ClusterIP"` | Web service type |
|
||||||
| service.web.port | int | `8888` | Web service port Used for the web interface listener |
|
| service.web.port | int | `8888` | Web service port Used for the web interface listener |
|
||||||
| service.web.appProtocol | string | `"http"` | Web service appProtocol. Will be auto set to `https` if certificate is enabled. |
|
| service.web.appProtocol | string | `"http"` | Web service appProtocol. Will be auto set to `https` if certificate is enabled. |
|
||||||
|
| service.web.extraSelectorLabels | object | `{}` | Extra labels to append to the selector labels. |
|
||||||
| service.wireguard.annotations | object | `{}` | Annotations for the WireGuard service |
|
| service.wireguard.annotations | object | `{}` | Annotations for the WireGuard service |
|
||||||
| service.wireguard.type | string | `"LoadBalancer"` | Wireguard service type |
|
| service.wireguard.type | string | `"LoadBalancer"` | Wireguard service type |
|
||||||
| service.wireguard.ports | list | `[51820]` | Wireguard service ports. Exposes the WireGuard ports for created interfaces. Lowerest port is selected as start port for the first interface. Increment next port by 1 for each additional interface. |
|
| service.wireguard.ports | list | `[51820]` | Wireguard service ports. Exposes the WireGuard ports for created interfaces. Lowerest port is selected as start port for the first interface. Increment next port by 1 for each additional interface. |
|
||||||
|
| service.wireguard.extraSelectorLabels | object | `{}` | Extra labels to append to the selector labels. |
|
||||||
| service.metrics.port | int | `8787` | |
|
| service.metrics.port | int | `8787` | |
|
||||||
| ingress.enabled | bool | `false` | Specifies whether an ingress resource should be created |
|
| ingress.enabled | bool | `false` | Specifies whether an ingress resource should be created |
|
||||||
| ingress.className | string | `""` | Ingress class name |
|
| ingress.className | string | `""` | Ingress class name |
|
||||||
|
| ingress.pathType | string | `"ImplementationSpecific"` | Ingress pathType value. Valid values are `ImplementationSpecific`, `Exact` or `Prefix`. |
|
||||||
| ingress.annotations | object | `{}` | Ingress annotations |
|
| ingress.annotations | object | `{}` | Ingress annotations |
|
||||||
| ingress.tls | bool | `false` | Ingress TLS configuration. Enable certificate resource or add ingress annotation to create required secret |
|
| ingress.tls | bool | `false` | Ingress TLS configuration. Enable certificate resource or add ingress annotation to create required secret |
|
||||||
| certificate.enabled | bool | `false` | Specifies whether a certificate resource should be created. If enabled, certificate will be used for the web. |
|
| certificate.enabled | bool | `false` | Specifies whether a certificate resource should be created. If enabled, certificate will be used for the web. |
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ spec:
|
|||||||
{{- with .scope.type }}
|
{{- with .scope.type }}
|
||||||
type: {{ . }}
|
type: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
selector: {{- include "wg-portal.selectorLabels" .context | nindent 4 }}
|
selector: {{- include "wg-portal.util.merge" (list .context .scope.extraSelectorLabels "wg-portal.selectorLabels") | nindent 4 }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ spec:
|
|||||||
{{- with .Values.revisionHistoryLimit }}
|
{{- with .Values.revisionHistoryLimit }}
|
||||||
revisionHistoryLimit: {{ . }}
|
revisionHistoryLimit: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.replicas }}
|
||||||
|
replicas: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.strategy }}
|
{{- with .Values.strategy }}
|
||||||
strategy: {{- toYaml . | nindent 4 }}
|
strategy: {{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ spec:
|
|||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: {{ default "/" (urlParse (tpl .Values.config.web.external_url .)).path }}
|
- path: {{ default "/" (urlParse (tpl .Values.config.web.external_url .)).path }}
|
||||||
pathType: {{ default "ImplementationSpecific" .pathType }}
|
pathType: {{ default "ImplementationSpecific" .Values.ingress.pathType }}
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: {{ include "wg-portal.fullname" . }}
|
name: {{ include "wg-portal.fullname" . }}
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ spec:
|
|||||||
{{- with .Values.revisionHistoryLimit }}
|
{{- with .Values.revisionHistoryLimit }}
|
||||||
revisionHistoryLimit: {{ . }}
|
revisionHistoryLimit: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.replicas }}
|
||||||
|
replicas: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.strategy }}
|
{{- with .Values.strategy }}
|
||||||
updateStrategy: {{- toYaml . | nindent 4 }}
|
updateStrategy: {{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -35,6 +35,9 @@ config:
|
|||||||
revisionHistoryLimit: ""
|
revisionHistoryLimit: ""
|
||||||
# -- Workload type - `Deployment` or `StatefulSet`
|
# -- Workload type - `Deployment` or `StatefulSet`
|
||||||
workloadType: Deployment
|
workloadType: Deployment
|
||||||
|
# -- The replicas for the workload.
|
||||||
|
# @default -- `1`
|
||||||
|
replicas: 1
|
||||||
# -- Update strategy for the workload
|
# -- Update strategy for the workload
|
||||||
# Valid values are:
|
# Valid values are:
|
||||||
# `RollingUpdate` or `Recreate` for Deployment,
|
# `RollingUpdate` or `Recreate` for Deployment,
|
||||||
@@ -124,6 +127,8 @@ service:
|
|||||||
port: 8888
|
port: 8888
|
||||||
# -- Web service appProtocol. Will be auto set to `https` if certificate is enabled.
|
# -- Web service appProtocol. Will be auto set to `https` if certificate is enabled.
|
||||||
appProtocol: http
|
appProtocol: http
|
||||||
|
# -- Extra labels to append to the selector labels.
|
||||||
|
extraSelectorLabels: {}
|
||||||
wireguard:
|
wireguard:
|
||||||
# -- Annotations for the WireGuard service
|
# -- Annotations for the WireGuard service
|
||||||
annotations: {}
|
annotations: {}
|
||||||
@@ -135,6 +140,8 @@ service:
|
|||||||
# Increment next port by 1 for each additional interface.
|
# Increment next port by 1 for each additional interface.
|
||||||
ports:
|
ports:
|
||||||
- 51820
|
- 51820
|
||||||
|
# -- Extra labels to append to the selector labels.
|
||||||
|
extraSelectorLabels: {}
|
||||||
metrics:
|
metrics:
|
||||||
port: 8787
|
port: 8787
|
||||||
|
|
||||||
@@ -143,6 +150,10 @@ ingress:
|
|||||||
enabled: false
|
enabled: false
|
||||||
# -- Ingress class name
|
# -- Ingress class name
|
||||||
className: ""
|
className: ""
|
||||||
|
# -- Ingress pathType value.
|
||||||
|
# Valid values are `ImplementationSpecific`, `Exact` or `Prefix`.
|
||||||
|
# @default -- `"ImplementationSpecific"`
|
||||||
|
pathType: "ImplementationSpecific"
|
||||||
# -- Ingress annotations
|
# -- Ingress annotations
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# -- Ingress TLS configuration.
|
# -- Ingress TLS configuration.
|
||||||
|
|||||||
Reference in New Issue
Block a user