Compare commits

...

24 Commits

Author SHA1 Message Date
TIP Automation User
a41f66f002 Chg: update image tag in helm values to v2.4.2 2022-07-21 15:08:58 +00:00
Dmitry Dunaev
866036f323 [WIFI-1998] Add: gracefull ingress deprecationush
Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
2022-07-21 17:47:39 +03:00
TIP Automation User
6c4cbff1a6 Chg: update image tag in helm values to v2.4.0 2021-12-17 02:36:59 +00:00
Dmitry Dunaev
6298d4f29a Chg: helm image in values to new release candidate 2021-11-22 15:01:16 +03:00
Charles
8f0828a394 Merge pull request #70 from stephb9959/main
Version 2.4.3
2021-11-19 16:33:04 -05:00
Leonid Mirsky
c4cfc76b2d Update Helm values to v2.4.0-RC1
Signed-off-by: Leonid Mirsky <leonid@opsfleet.com>
2021-11-16 23:33:08 +02:00
Charles
e02f939cb8 Merge pull request #66 from stephb9959/main
Version 2.4.1
2021-11-15 17:27:26 -05:00
Charles
4bde6e2d1f Merge pull request #65 from stephb9959/main
Version 2.4.0
2021-11-15 16:58:40 -05:00
Charles
ee69783a66 Merge pull request #64 from stephb9959/main
Version 2.3.20
2021-11-13 07:43:45 -05:00
Charles
cddb0e94fa Merge pull request #63 from stephb9959/main
Version 2.3.18
2021-11-12 16:41:07 -05:00
Charles
b1277ff2ac Merge pull request #62 from stephb9959/main
Version 2.3.16
2021-11-09 11:42:40 -05:00
Max
262c1fe1e2 allow to set pod annotations (#61) 2021-11-09 13:29:16 +01:00
Charles
2d2603ff27 Merge pull request #60 from stephb9959/main
Version 2.3.12
2021-11-02 16:42:57 -04:00
Charles
d349e43523 Merge pull request #59 from stephb9959/main
Version 2.3.11
2021-11-01 17:29:31 -04:00
Charles
ebf2d7d5c6 Merge pull request #58 from stephb9959/main
Version 2.3.9
2021-10-28 14:27:24 -04:00
Charles
411c618be1 Merge pull request #57 from stephb9959/main
Version 2.3.2
2021-10-26 17:20:45 -04:00
Charles
6151dcb8ff Merge pull request #56 from stephb9959/main
Version 2.2.12
2021-10-20 13:55:26 -04:00
Charles
3564abfa29 Merge pull request #55 from stephb9959/main
Version 2.2.11
2021-10-19 11:50:48 -04:00
Dmitry Dunaev
955becdb46 Merge pull request #54 from Telecominfraproject/fix/wifi-4923--helm-git-readme
[WIFI-4923] Fix: helm-git link in chart README
2021-10-19 11:50:52 +03:00
Dmitry Dunaev
daba3a3f28 [WIFI-4923] Fix: helm-git link in chart README 2021-10-19 11:40:47 +03:00
Charles
33b8d1a1f5 Merge pull request #53 from stephb9959/main
Version 2.2.8
2021-10-14 14:29:45 -04:00
Charles
5e35c23883 Merge pull request #52 from stephb9959/main
Version 2.2.5
2021-10-12 12:02:18 -04:00
Charles
601c369f2d Merge pull request #51 from stephb9959/main
Version 2.2.2
2021-09-28 14:59:12 -04:00
Charles
d48925f9ba Merge pull request #50 from stephb9959/main
2.2.1
2021-09-28 11:45:53 -04:00
5 changed files with 36 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ Currently this chart is not assembled in charts archives, so [helm-git](https://
To install the chart with the release name `my-release`:
```bash
$ helm install --name my-release git+https://github.com/Telecominfraproject/wlan-cloud-ucentralgw-ui@helm?ref=main
$ helm install --name my-release git+https://github.com/Telecominfraproject/wlan-cloud-ucentralgw-ui@helm/owgwui-0.1.0.tgz?ref=main
```
The command deploys the Web UI on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.

View File

@@ -30,3 +30,13 @@ Create chart name and version as used by the chart label.
{{- define "owgwui.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "owgwui.ingress.apiVersion" -}}
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" -}}
{{- print "networking.k8s.io/v1" -}}
{{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" -}}
{{- print "networking.k8s.io/v1beta1" -}}
{{- else -}}
{{- print "extensions/v1beta1" -}}
{{- end -}}
{{- end -}}

View File

@@ -26,6 +26,12 @@ spec:
{{- with .Values.services.owgwui.labels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.podAnnotations }}
annotations:
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
spec:
containers:

View File

@@ -2,7 +2,7 @@
{{- range $ingress, $ingressValue := .Values.ingresses }}
{{- if $ingressValue.enabled }}
---
apiVersion: extensions/v1beta1
apiVersion: {{ include "owgwui.ingress.apiVersion" $root }}
kind: Ingress
metadata:
name: {{ include "owgwui.fullname" $root }}-{{ $ingress }}
@@ -36,9 +36,23 @@ spec:
paths:
{{- range $ingressValue.paths }}
- path: {{ .path }}
{{- if $root.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
pathType: {{ .pathType | default "ImplementationSpecific" }}
{{- end }}
backend:
{{- if $root.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
service:
name: {{ include "owgwui.fullname" $root }}-{{ .serviceName }}
port:
{{- if kindIs "string" .servicePort }}
name: {{ .servicePort }}
{{- else }}
number: {{ .servicePort }}
{{- end }}
{{- else }}
serviceName: {{ include "owgwui.fullname" $root }}-{{ .serviceName }}
servicePort: {{ .servicePort }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -7,7 +7,7 @@ fullnameOverride: ""
images:
owgwui:
repository: tip-tip-wlan-cloud-ucentral.jfrog.io/owgw-ui
tag: main
tag: v2.4.2
pullPolicy: Always
services:
@@ -48,6 +48,7 @@ ingresses:
- chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
serviceName: owgwui
servicePort: http
@@ -69,6 +70,8 @@ tolerations: []
affinity: {}
podAnnotations: {}
# Application
public_env_variables:
DEFAULT_UCENTRALSEC_URL: https://ucentral.dpaas.arilia.com:16001