mirror of
https://github.com/Telecominfraproject/wlan-cloud-helm.git
synced 2026-03-20 22:39:08 +00:00
Compare commits
29 Commits
WIFI-1812-
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
998409da58 | ||
|
|
c22eb57c37 | ||
|
|
af3fea8acf | ||
|
|
aeba2f222f | ||
|
|
63686fbea8 | ||
|
|
0213319a3d | ||
|
|
ea263e23d6 | ||
|
|
f0cdde9a87 | ||
|
|
d8544d52f0 | ||
|
|
8d750222fa | ||
|
|
402abf4876 | ||
|
|
0f9d28113a | ||
|
|
02c8dbc94c | ||
|
|
a13323f4ca | ||
|
|
e492e51ae8 | ||
|
|
a4659451c1 | ||
|
|
884d9411da | ||
|
|
deb12d9d24 | ||
|
|
7f0da5969d | ||
|
|
c73350c535 | ||
|
|
f253034335 | ||
|
|
f85004ffc4 | ||
|
|
d5af204c09 | ||
|
|
ca70570de7 | ||
|
|
d0a504a7c2 | ||
|
|
0d9e6e0afc | ||
|
|
af22e767b5 | ||
|
|
63e784482f | ||
|
|
9a532cf290 |
62
.github/workflows/helm-build.yml
vendored
62
.github/workflows/helm-build.yml
vendored
@@ -3,28 +3,60 @@ name: Helm CI - TIP WLAN Cloud Master
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
tags: [ "v*" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
ssh-key: ${{ secrets.GH_AUTOMATION_KEY }}
|
|
||||||
submodules: true
|
|
||||||
- name: Login to TIP Docker registry
|
|
||||||
uses: azure/docker-login@v1
|
|
||||||
with:
|
|
||||||
login-server: tip-tip-wlan-cloud-docker-repo.jfrog.io
|
|
||||||
username: build-pipeline
|
|
||||||
password: ${{ secrets.DOCKER_REPO_PASSWORD }}
|
|
||||||
- name: Login to TIP Helm chart registry
|
- name: Login to TIP Helm chart registry
|
||||||
run: helm repo add tip-wlan-cloud-helm-virtual-repo https://tip.jfrog.io/artifactory/tip-wlan-cloud-helm-virtual-repo --username build-pipeline --password ${{ secrets.HELM_REPO_PASSWORD }}
|
run: helm repo add tip-wlan-cloud-helm-virtual-repo https://tip.jfrog.io/artifactory/tip-wlan-cloud-helm-virtual-repo --username build-pipeline --password ${{ secrets.HELM_REPO_PASSWORD }}
|
||||||
- name: Build tip-wlan chart file
|
- name: Build tip-wlan chart file
|
||||||
run: tar -czf tip-wlan.tgz tip-wlan
|
|
||||||
- name: Upload tip-wlan chart to the TIP helm registry
|
|
||||||
run: curl -ubuild-pipeline:${{ secrets.HELM_REPO_PASSWORD }} -T tip-wlan.tgz "https://tip.jfrog.io/artifactory/tip-wlan-cloud-helm-repo/tip-wlan.tgz"
|
|
||||||
- name: Verify that chart was uploaded successfully
|
|
||||||
run: |
|
run: |
|
||||||
helm repo update
|
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
|
||||||
helm search repo tip
|
PACKAGE_OPTS="--version ${GITHUB_REF#refs/tags/v}"
|
||||||
|
else
|
||||||
|
PACKAGE_OPTS=""
|
||||||
|
fi
|
||||||
|
helm package $PACKAGE_OPTS -u tip-wlan
|
||||||
|
- name: Store chart as artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: helm-chart
|
||||||
|
path: tip-wlan-*.tgz
|
||||||
|
- name: Upload tip-wlan chart to the TIP helm registry
|
||||||
|
run: |
|
||||||
|
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
|
||||||
|
curl -ubuild-pipeline:${{ secrets.HELM_REPO_PASSWORD }} -T tip-wlan-${GITHUB_REF#refs/tags/v}.tgz "https://tip.jfrog.io/artifactory/tip-wlan-cloud-helm-repo/tip-wlan-${GITHUB_REF#refs/tags/v}.tgz"
|
||||||
|
else
|
||||||
|
curl -ubuild-pipeline:${{ secrets.HELM_REPO_PASSWORD }} -T tip-wlan-*.tgz "https://tip.jfrog.io/artifactory/tip-wlan-cloud-helm-repo/tip-wlan-master.tgz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [ build ]
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: setup Python
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: "3.8"
|
||||||
|
- name: install keepachangelog
|
||||||
|
run: pip install keepachangelog
|
||||||
|
- name: create release description
|
||||||
|
continue-on-error: true
|
||||||
|
run: python .github/workflows/prepare-release-description.py ${GITHUB_REF#refs/tags/v} > RELEASE.md
|
||||||
|
- name: download Helm chart artifact
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: helm-chart
|
||||||
|
- name: create release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
files: tip-wlan-*.tgz
|
||||||
|
body_path: RELEASE.md
|
||||||
|
prerelease: ${{ contains(github.ref, 'rc') }}
|
||||||
|
|||||||
24
.github/workflows/prepare-release-description.py
vendored
Normal file
24
.github/workflows/prepare-release-description.py
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
import sys
|
||||||
|
|
||||||
|
import keepachangelog
|
||||||
|
|
||||||
|
CATEGORIES = ['added', 'changed', 'deprecated', 'removed', 'fixed', 'security']
|
||||||
|
|
||||||
|
version = sys.argv[1]
|
||||||
|
|
||||||
|
try:
|
||||||
|
changes = keepachangelog.to_dict("CHANGELOG.md")[version]
|
||||||
|
except KeyError:
|
||||||
|
print(f'No changelog entry for version {version}', file=sys.stderr)
|
||||||
|
exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
print('## Changelog')
|
||||||
|
for category in CATEGORIES:
|
||||||
|
entries = changes.get(category, [])
|
||||||
|
|
||||||
|
if entries:
|
||||||
|
print(f'### {category.capitalize()}')
|
||||||
|
|
||||||
|
for entry in entries:
|
||||||
|
print(f'- {entry}')
|
||||||
57
CHANGELOG.md
57
CHANGELOG.md
@@ -5,30 +5,59 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [Unreleased](xxx)
|
## [Unreleased] - YYYY-MM-DD
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Replaced cassandra, postgres and kafka with upstream charts [#49](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/49)
|
- export servo MBeans with JMX Prometheus exporter [#65](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/65)
|
||||||
- Centralized secrets to the parent chart [#54](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/54)
|
- render post-deployment message [#73](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/73)
|
||||||
- Export servo MBeans with JMX Prometheus exporter [#65](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/65)
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Improved kafka setup templating [#53](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/53)
|
- migrate to networking.k8s.io/v1 API version for Ingress resources [#74](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/74)
|
||||||
- Improved values.yaml [#53](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/53)
|
|
||||||
- Improved default values and added yaml anchors [#54](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/54)
|
|
||||||
|
|
||||||
### Removed
|
## [1.0.1] - 2021-04-12
|
||||||
|
|
||||||
- Removed hardcoded docker secret in favor of variables [#53](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/53)
|
### Changed
|
||||||
- Various outdated sections in values.yaml and environment files
|
|
||||||
- Various secrets in subcharts as they are now part of the parent chart
|
|
||||||
- references to vendor specific values [#40](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/40)
|
|
||||||
|
|
||||||
## [0.4.0](https://github.com/Telecominfraproject/wlan-cloud-helm/compare/f7c67645736e3dac498e2caec8c267f04d08b7bc...v0.4) - 2021-01-28
|
- bump cloud controller version to 1.0.1
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- correct SQL and CQL schema URLs
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- make images for all init containers configurable [#67](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/67)
|
||||||
|
|
||||||
|
## [1.0.0] - 2021-04-01
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Initial changelog entry. This is the first versioned release. Next releases will include a detailed overview of all the major changes introduced since the last version.
|
- replaced cassandra, postgres and kafka with upstream charts [#49](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/49)
|
||||||
|
- centralized secrets to the parent chart [#54](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/54)
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- improved kafka setup templating [#53](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/53)
|
||||||
|
- improved values.yaml [#53](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/53)
|
||||||
|
- improved default values and added yaml anchors [#54](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/54)
|
||||||
|
- make SSC service able to reconnect to Cassandra [#70](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/70)
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- removed hardcoded docker secret in favor of variables [#53](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/53)
|
||||||
|
- various outdated sections in values.yaml and environment files
|
||||||
|
- various secrets in subcharts as they are now part of the parent chart
|
||||||
|
- references to vendor specific values [#40](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/40)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- make SSC service able to reconnect to Cassandra [#70](https://github.com/Telecominfraproject/wlan-cloud-helm/pull/70)
|
||||||
|
|
||||||
|
## [0.4.0] - 2021-01-28
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initial changelog entry. This is the first versioned release. Next releases will include a detailed overview of all the major changes introduced since the last version.
|
||||||
|
- [changes since first commit](https://github.com/Telecominfraproject/wlan-cloud-helm/compare/f7c67645736e3dac498e2caec8c267f04d08b7bc...v0.4)
|
||||||
|
|||||||
@@ -14,11 +14,11 @@ type: application
|
|||||||
|
|
||||||
# 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.
|
||||||
version: 0.4.0
|
version: 1.0.0
|
||||||
|
|
||||||
# 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.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: 1.16.0
|
appVersion: 1.0.0
|
||||||
|
|
||||||
home: https://telecominfraproject.com/wifi/
|
home: https://telecominfraproject.com/wifi/
|
||||||
sources:
|
sources:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
{{- include "jmxPrometheus.initContainer" . | nindent 8 }}
|
{{- include "jmxPrometheus.initContainer" . | nindent 8 }}
|
||||||
- name: wait-for-services
|
- name: wait-for-services
|
||||||
image: opsfleet/depends-on:latest
|
image: {{ .Values.waitForServicesImage.registry }}/{{ .Values.waitForServicesImage.repository }}:{{ .Values.waitForServicesImage.tag }}
|
||||||
args:
|
args:
|
||||||
- "-service={{ .Release.Name }}-opensync-mqtt-broker"
|
- "-service={{ .Release.Name }}-opensync-mqtt-broker"
|
||||||
- "-service={{ .Release.Name }}-wlan-prov-service"
|
- "-service={{ .Release.Name }}-wlan-prov-service"
|
||||||
@@ -37,7 +37,7 @@ spec:
|
|||||||
- -check_interval=5
|
- -check_interval=5
|
||||||
{{- if .Values.global.integratedDeployment }}
|
{{- if .Values.global.integratedDeployment }}
|
||||||
- name: {{ include "common.name" . }}-readiness-int-cloud
|
- name: {{ include "common.name" . }}-readiness-int-cloud
|
||||||
image: alpine
|
image: {{ .Values.intCloudReadiness.registry }}/{{ .Values.intCloudReadiness.repository }}:{{ .Values.intCloudReadiness.tag }}
|
||||||
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -11,7 +11,22 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
name: opensync-gateway-cloud
|
name: opensync-gateway-cloud
|
||||||
tag: 0.0.1-SNAPSHOT
|
tag: 1.3.0-SNAPSHOT
|
||||||
|
|
||||||
|
waitForServicesImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: opsfleet/depends-on
|
||||||
|
tag: v1.0.0
|
||||||
|
|
||||||
|
intCloudReadinessImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -11,7 +11,12 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
name: opensync-gateway-static
|
name: opensync-gateway-static
|
||||||
tag: 0.0.1-SNAPSHOT
|
tag: 1.3.0-SNAPSHOT
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ spec:
|
|||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: {{ include "common.name" . }}-init-dir-ownership-change
|
- name: {{ include "common.name" . }}-init-dir-ownership-change
|
||||||
image: {{ .Values.alpine.image }}
|
image: {{ .Values.alpine.registry }}/{{ .Values.alpine.repository }}:{{ .Values.alpine.tag }}
|
||||||
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
||||||
# Change ownership to `mosquitto` user for a mounted volume
|
# Change ownership to `mosquitto` user for a mounted volume
|
||||||
command:
|
command:
|
||||||
@@ -63,7 +63,7 @@ spec:
|
|||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
image: {{ .Values.image.name }}:{{ .Values.image.tag }}
|
image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}
|
||||||
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
||||||
{{- if .Values.probes.enabled }}
|
{{- if .Values.probes.enabled }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -5,11 +5,19 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
name: eclipse-mosquitto
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/eclipse-mosquitto
|
||||||
tag: 2.0.3
|
tag: 2.0.3
|
||||||
|
|
||||||
alpine:
|
alpine:
|
||||||
image: alpine:3.6
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.6
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
{{- if .Values.ingress.enabled -}}
|
||||||
{{- $fullName := include "common.fullname" . -}}
|
{{- $fullName := include "common.fullname" . -}}
|
||||||
{{- $svcPort := .Values.service.port -}}
|
{{- $svcPort := .Values.service.port -}}
|
||||||
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
{{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
|
||||||
apiVersion: networking.k8s.io/v1beta1
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
@@ -36,15 +38,35 @@ spec:
|
|||||||
paths:
|
paths:
|
||||||
{{- if $.Values.ingress.lb_https_redirect }}
|
{{- if $.Values.ingress.lb_https_redirect }}
|
||||||
- path: /*
|
- path: /*
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
{{- end }}
|
||||||
backend:
|
backend:
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
service:
|
||||||
|
name: ssl-redirect
|
||||||
|
port:
|
||||||
|
name: use-annotation
|
||||||
|
{{- else -}}
|
||||||
serviceName: ssl-redirect
|
serviceName: ssl-redirect
|
||||||
servicePort: use-annotation
|
servicePort: use-annotation
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range .paths }}
|
{{- range .paths }}
|
||||||
- path: {{ . }}
|
- path: {{ . }}
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
{{- end }}
|
||||||
backend:
|
backend:
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
service:
|
||||||
|
name: {{ $fullName }}
|
||||||
|
port:
|
||||||
|
number: {{ $svcPort }}
|
||||||
|
{{- else -}}
|
||||||
serviceName: {{ $fullName }}
|
serviceName: {{ $fullName }}
|
||||||
servicePort: {{ $svcPort }}
|
servicePort: {{ $svcPort }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -11,9 +11,14 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
name: wlan-cloud-graphql-gw
|
name: wlan-cloud-graphql-gw
|
||||||
tag: 0.0.1-SNAPSHOT
|
tag: 1.3.0-SNAPSHOT
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
{{- if .Values.ingress.enabled -}}
|
||||||
{{- $fullName := include "common.fullname" . -}}
|
{{- $fullName := include "common.fullname" . -}}
|
||||||
{{- $svcPort := .Values.service.port -}}
|
{{- $svcPort := .Values.service.port -}}
|
||||||
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
{{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
|
||||||
apiVersion: networking.k8s.io/v1beta1
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
@@ -36,15 +38,35 @@ spec:
|
|||||||
paths:
|
paths:
|
||||||
{{- if $.Values.ingress.lb_https_redirect }}
|
{{- if $.Values.ingress.lb_https_redirect }}
|
||||||
- path: /*
|
- path: /*
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
{{- end }}
|
||||||
backend:
|
backend:
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
service:
|
||||||
|
name: ssl-redirect
|
||||||
|
port:
|
||||||
|
name: use-annotation
|
||||||
|
{{- else -}}
|
||||||
serviceName: ssl-redirect
|
serviceName: ssl-redirect
|
||||||
servicePort: use-annotation
|
servicePort: use-annotation
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range .paths }}
|
{{- range .paths }}
|
||||||
- path: {{ . }}
|
- path: {{ . }}
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
{{- end }}
|
||||||
backend:
|
backend:
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
service:
|
||||||
|
name: {{ $fullName }}
|
||||||
|
port:
|
||||||
|
number: {{ $svcPort }}
|
||||||
|
{{- else -}}
|
||||||
serviceName: {{ $fullName }}
|
serviceName: {{ $fullName }}
|
||||||
servicePort: {{ $svcPort }}
|
servicePort: {{ $svcPort }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -11,9 +11,14 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
name: wlan-cloud-ui
|
name: wlan-cloud-ui
|
||||||
tag: 0.0.1-SNAPSHOT
|
tag: 1.3.0-SNAPSHOT
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ spec:
|
|||||||
{{- if .Values.integratedWithPersistence.enabled }}
|
{{- if .Values.integratedWithPersistence.enabled }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-services
|
- name: wait-for-services
|
||||||
image: opsfleet/depends-on:latest
|
image: {{ .Values.waitForServicesImage.registry }}/{{ .Values.waitForServicesImage.repository }}:{{ .Values.waitForServicesImage.tag }}
|
||||||
args:
|
args:
|
||||||
- "-service={{ .Release.Name }}-postgresql"
|
- "-service={{ .Release.Name }}-postgresql"
|
||||||
- -check_interval=5
|
- -check_interval=5
|
||||||
@@ -49,7 +49,8 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "common.fullname" . }}-creds
|
name: {{ include "common.fullname" . }}-creds
|
||||||
key: schema-repo-password
|
key: schema-repo-password
|
||||||
image: postgres:latest
|
image: {{ .Values.createDbSchemaImage.registry }}/{{ .Values.createDbSchemaImage.repository }}:{{ .Values.createDbSchemaImage.tag }}
|
||||||
|
args:
|
||||||
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -11,7 +11,22 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
name: wlan-integrated-cloud-component-service
|
name: wlan-integrated-cloud-component-service
|
||||||
tag: 0.0.1-SNAPSHOT
|
tag: 1.3.0-SNAPSHOT
|
||||||
|
|
||||||
|
waitForServicesImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: opsfleet/depends-on
|
||||||
|
tag: v1.0.0
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
|
createDbSchemaImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/postgres
|
||||||
|
tag: 13.2-alpine
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
{{- include "jmxPrometheus.initContainer" . | nindent 8 }}
|
{{- include "jmxPrometheus.initContainer" . | nindent 8 }}
|
||||||
- name: {{ include "common.name" . }}-readiness-opensync-gw
|
- name: {{ include "common.name" . }}-readiness-opensync-gw
|
||||||
image: alpine
|
image: {{ .Values.opensyncGwReadinessImage.registry }}/{{ .Values.opensyncGwReadinessImage.repository }}:{{ .Values.opensyncGwReadinessImage.tag }}
|
||||||
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -11,7 +11,17 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
name: wlan-port-forwarding-gateway-service
|
name: wlan-port-forwarding-gateway-service
|
||||||
tag: 0.0.1-SNAPSHOT
|
tag: 1.3.0-SNAPSHOT
|
||||||
|
|
||||||
|
opensyncGwReadinessImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
{{- if .Values.ingress.enabled -}}
|
||||||
{{- $fullName := include "common.fullname" . -}}
|
{{- $fullName := include "common.fullname" . -}}
|
||||||
{{- $svcPort := .Values.service.port1 -}}
|
{{- $svcPort := .Values.service.port1 -}}
|
||||||
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
{{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
|
||||||
apiVersion: networking.k8s.io/v1beta1
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
@@ -34,15 +36,35 @@ spec:
|
|||||||
paths:
|
paths:
|
||||||
{{- if $.Values.ingress.lb_https_redirect }}
|
{{- if $.Values.ingress.lb_https_redirect }}
|
||||||
- path: /*
|
- path: /*
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
{{- end }}
|
||||||
backend:
|
backend:
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
service:
|
||||||
|
name: ssl-redirect
|
||||||
|
port:
|
||||||
|
name: use-annotation
|
||||||
|
{{- else -}}
|
||||||
serviceName: ssl-redirect
|
serviceName: ssl-redirect
|
||||||
servicePort: use-annotation
|
servicePort: use-annotation
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range .paths }}
|
{{- range .paths }}
|
||||||
- path: {{ . }}
|
- path: {{ . }}
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
{{- end }}
|
||||||
backend:
|
backend:
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
|
||||||
|
service:
|
||||||
|
name: {{ $fullName }}
|
||||||
|
port:
|
||||||
|
number: {{ $svcPort }}
|
||||||
|
{{- else -}}
|
||||||
serviceName: {{ $fullName }}
|
serviceName: {{ $fullName }}
|
||||||
servicePort: {{ $svcPort }}
|
servicePort: {{ $svcPort }}
|
||||||
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -11,8 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -11,7 +11,12 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
name: wlan-portal-service
|
name: wlan-portal-service
|
||||||
tag: 0.0.1-SNAPSHOT
|
tag: 1.3.0-SNAPSHOT
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
{{- include "jmxPrometheus.initContainer" . | nindent 8 }}
|
{{- include "jmxPrometheus.initContainer" . | nindent 8 }}
|
||||||
- name: wait-for-services
|
- name: wait-for-services
|
||||||
image: opsfleet/depends-on:latest
|
image: {{ .Values.waitForServicesImage.registry }}/{{ .Values.waitForServicesImage.repository }}:{{ .Values.waitForServicesImage.tag }}
|
||||||
args:
|
args:
|
||||||
- "-service={{ .Release.Name }}-postgresql"
|
- "-service={{ .Release.Name }}-postgresql"
|
||||||
- -check_interval=5
|
- -check_interval=5
|
||||||
@@ -53,7 +53,7 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "common.fullname" . }}-creds
|
name: {{ include "common.fullname" . }}-creds
|
||||||
key: schema-repo-password
|
key: schema-repo-password
|
||||||
image: {{ .Values.postgresql.image }}
|
image: {{ .Values.postgresql.registry }}/{{ .Values.postgresql.repository }}:{{ .Values.postgresql.tag }}
|
||||||
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
@@ -62,8 +62,8 @@ spec:
|
|||||||
apt update
|
apt update
|
||||||
apt -y install curl
|
apt -y install curl
|
||||||
echo "***** Fetching latest cloud-sdk-schema-postgresql for DB and Tables sql from JFrog *****"
|
echo "***** Fetching latest cloud-sdk-schema-postgresql for DB and Tables sql from JFrog *****"
|
||||||
curl --insecure -u$SCHEMA_REPO_USER:$SCHEMA_REPO_PASSWORD -O "https://tip-tip-wlan-cloud-docker-repo.jfrog.io/artifactory/tip-wlan-cloud-schemas/0.0.1-SNAPSHOT/sql/cloud-sdk-schema-postgresql-db-user.sql"
|
curl --insecure -u$SCHEMA_REPO_USER:$SCHEMA_REPO_PASSWORD -O "https://tip-tip-wlan-cloud-docker-repo.jfrog.io/artifactory/tip-wlan-cloud-schemas/1.3.0-SNAPSHOT/sql/cloud-sdk-schema-postgresql-db-user.sql"
|
||||||
curl --insecure -u$SCHEMA_REPO_USER:$SCHEMA_REPO_PASSWORD -O "https://tip-tip-wlan-cloud-docker-repo.jfrog.io/artifactory/tip-wlan-cloud-schemas/0.0.1-SNAPSHOT/sql/cloud-sdk-schema-postgresql-tables.sql"
|
curl --insecure -u$SCHEMA_REPO_USER:$SCHEMA_REPO_PASSWORD -O "https://tip-tip-wlan-cloud-docker-repo.jfrog.io/artifactory/tip-wlan-cloud-schemas/1.3.0-SNAPSHOT/sql/cloud-sdk-schema-postgresql-tables.sql"
|
||||||
echo "***** Now executing cloud-sdk-schema-postgresql-db-user.sql on host {{ $pg }} and creating db prov_db and user tip_user using User Postgres. This uses full client-cert authentication *****"
|
echo "***** Now executing cloud-sdk-schema-postgresql-db-user.sql on host {{ $pg }} and creating db prov_db and user tip_user using User Postgres. This uses full client-cert authentication *****"
|
||||||
### Observed that PSQL was unable to resolve the Postgres-service host because the postgres service wasnt
|
### Observed that PSQL was unable to resolve the Postgres-service host because the postgres service wasnt
|
||||||
### really ready when running Postgres in Master-Slave config... hence the below retry-logic
|
### really ready when running Postgres in Master-Slave config... hence the below retry-logic
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -11,7 +11,17 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
name: wlan-prov-service
|
name: wlan-prov-service
|
||||||
tag: 0.0.1-SNAPSHOT
|
tag: 1.3.0-SNAPSHOT
|
||||||
|
|
||||||
|
waitForServicesImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: opsfleet/depends-on
|
||||||
|
tag: v1.0.0
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
@@ -115,10 +125,10 @@ ingress:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 320Mi
|
memory: 600Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 300Mi
|
memory: 600Mi
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
@@ -128,7 +138,9 @@ affinity: {}
|
|||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
url: postgresql
|
url: postgresql
|
||||||
image: postgres:11
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/postgres
|
||||||
|
tag: 11
|
||||||
|
|
||||||
env:
|
env:
|
||||||
protocol: https
|
protocol: https
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
{{- include "jmxPrometheus.initContainer" . | nindent 8 }}
|
{{- include "jmxPrometheus.initContainer" . | nindent 8 }}
|
||||||
- name: wait-for-services
|
- name: wait-for-services
|
||||||
image: opsfleet/depends-on:latest
|
image: {{ .Values.waitForServicesImage.registry }}/{{ .Values.waitForServicesImage.repository }}:{{ .Values.waitForServicesImage.tag }}
|
||||||
args:
|
args:
|
||||||
- "-service={{ .Release.Name }}-kafka-headless"
|
- "-service={{ .Release.Name }}-kafka-headless"
|
||||||
- -check_interval=5
|
- -check_interval=5
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -11,7 +11,17 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
name: wlan-spc-service
|
name: wlan-spc-service
|
||||||
tag: 0.0.1-SNAPSHOT
|
tag: 1.3.0-SNAPSHOT
|
||||||
|
|
||||||
|
waitForServicesImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: opsfleet/depends-on
|
||||||
|
tag: v1.0.0
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
@@ -107,10 +117,10 @@ ingress:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 370Mi
|
memory: 400Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 350Mi
|
memory: 400Mi
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,10 @@ data:
|
|||||||
contact-points = [ "{{ include "cassandra.service" . }}:9042" ]
|
contact-points = [ "{{ include "cassandra.service" . }}:9042" ]
|
||||||
load-balancing-policy.local-datacenter = datacenter1
|
load-balancing-policy.local-datacenter = datacenter1
|
||||||
session-keyspace = tip_wlan_keyspace
|
session-keyspace = tip_wlan_keyspace
|
||||||
|
request.consistency = LOCAL_QUORUM
|
||||||
}
|
}
|
||||||
|
|
||||||
|
advanced.resolve-contact-points = false
|
||||||
advanced.ssl-engine-factory {
|
advanced.ssl-engine-factory {
|
||||||
class = DefaultSslEngineFactory
|
class = DefaultSslEngineFactory
|
||||||
hostname-validation = false
|
hostname-validation = false
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
{{- include "jmxPrometheus.initContainer" . | nindent 8 }}
|
{{- include "jmxPrometheus.initContainer" . | nindent 8 }}
|
||||||
- name: wait-for-services
|
- name: wait-for-services
|
||||||
image: opsfleet/depends-on:latest
|
image: {{ .Values.waitForServicesImage.registry }}/{{ .Values.waitForServicesImage.repository }}:{{ .Values.waitForServicesImage.tag }}
|
||||||
args:
|
args:
|
||||||
- "-service={{ .Release.Name }}-kafka-headless"
|
- "-service={{ .Release.Name }}-kafka-headless"
|
||||||
- "-service={{ .Release.Name }}-cassandra"
|
- "-service={{ .Release.Name }}-cassandra"
|
||||||
@@ -45,7 +45,7 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "common.fullname" . }}-creds
|
name: {{ include "common.fullname" . }}-creds
|
||||||
key: schema-repo-password
|
key: schema-repo-password
|
||||||
image: {{ .Values.cassandra.image }}
|
image: {{ .Values.cassandra.registry }}/{{ .Values.cassandra.repository }}:{{ .Values.cassandra.tag }}
|
||||||
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
@@ -54,7 +54,7 @@ spec:
|
|||||||
apt update
|
apt update
|
||||||
apt -y install curl
|
apt -y install curl
|
||||||
echo "***** Fetching cloud-sdk-schema-cassandra.cql from JFrog *****"
|
echo "***** Fetching cloud-sdk-schema-cassandra.cql from JFrog *****"
|
||||||
curl --insecure -u$SCHEMA_REPO_USER:$SCHEMA_REPO_PASSWORD -O "https://tip-tip-wlan-cloud-docker-repo.jfrog.io/artifactory/tip-wlan-cloud-schemas/0.0.1-SNAPSHOT/cql/cloud-sdk-schema-cassandra.cql"
|
curl --insecure -u$SCHEMA_REPO_USER:$SCHEMA_REPO_PASSWORD -O "https://tip-tip-wlan-cloud-docker-repo.jfrog.io/artifactory/tip-wlan-cloud-schemas/1.3.0-SNAPSHOT/cql/cloud-sdk-schema-cassandra.cql"
|
||||||
echo "***** Now executing cloud-sdk-schema-cassandra.cql and creating/updating schema on Cassandra instance *****"
|
echo "***** Now executing cloud-sdk-schema-cassandra.cql and creating/updating schema on Cassandra instance *****"
|
||||||
counter=0
|
counter=0
|
||||||
status=1
|
status=1
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: {{ .Values.testConnectionImage.registry }}/{{ .Values.testConnectionImage.repository }}:{{ .Values.testConnectionImage.tag }}
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port1 }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
@@ -11,7 +11,17 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
name: wlan-ssc-service
|
name: wlan-ssc-service
|
||||||
tag: 0.0.1-SNAPSHOT
|
tag: 1.3.0-SNAPSHOT
|
||||||
|
|
||||||
|
waitForServicesImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: opsfleet/depends-on
|
||||||
|
tag: v1.0.0
|
||||||
|
|
||||||
|
testConnectionImage:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/alpine
|
||||||
|
tag: 3.13
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
@@ -107,10 +117,10 @@ ingress:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 420Mi
|
memory: 450Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 400Mi
|
memory: 450Mi
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
@@ -124,7 +134,9 @@ kafka:
|
|||||||
cassandra:
|
cassandra:
|
||||||
url: cassandra-headless
|
url: cassandra-headless
|
||||||
port: 9042
|
port: 9042
|
||||||
image: cassandra:3.11.6
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: library/cassandra
|
||||||
|
tag: 3.11.6
|
||||||
|
|
||||||
env:
|
env:
|
||||||
protocol: https
|
protocol: https
|
||||||
|
|||||||
5
tip-wlan/example-values/aws-basic/README.md
Normal file
5
tip-wlan/example-values/aws-basic/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Helm values for deploying a cloud controller onto an AWS EKS cluster
|
||||||
|
|
||||||
|
[Detailed instructions](https://openwifi.tip.build/getting-started/controller-installation/aws-install)
|
||||||
|
|
||||||
|
[This Terraform module](https://github.com/Telecominfraproject/wlan-cloud-terraform/tree/master/aws-cloudsdk) can be used to set up the required EKS cluster including all necessary addons.
|
||||||
128
tip-wlan/example-values/aws-basic/values.yml
Normal file
128
tip-wlan/example-values/aws-basic/values.yml
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
shared:
|
||||||
|
service:
|
||||||
|
srv-https-annotations: &srv-https-annotations
|
||||||
|
kubernetes.io/ingress.class: alb
|
||||||
|
alb.ingress.kubernetes.io/scheme: internet-facing
|
||||||
|
alb.ingress.kubernetes.io/group.name: wlan-cloudsdk
|
||||||
|
alb.ingress.kubernetes.io/certificate-arn: "arn:aws:acm:eu-central-1:0123456789:certificate/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||||
|
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
|
||||||
|
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_302"}}'
|
||||||
|
|
||||||
|
# Annotations for namespace
|
||||||
|
annotations: {
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
|
}
|
||||||
|
|
||||||
|
opensync-gw-static:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
opensync-gw-cloud:
|
||||||
|
service:
|
||||||
|
type: LoadBalancer
|
||||||
|
annotations:
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: opensync-controller.cloudsdk.lab.wlan.tip.build,opensync-redirector.cloudsdk.lab.wlan.tip.build
|
||||||
|
service.beta.kubernetes.io/aws-load-balancer-type: "nlb-ip"
|
||||||
|
enabled: true
|
||||||
|
externalhost:
|
||||||
|
address:
|
||||||
|
ovsdb: opensync-controller.cloudsdk.lab.wlan.tip.build
|
||||||
|
mqtt: opensync-mqtt-broker.cloudsdk.lab.wlan.tip.build
|
||||||
|
persistence:
|
||||||
|
enabled: false
|
||||||
|
image:
|
||||||
|
name: opensync-gateway-cloud
|
||||||
|
|
||||||
|
opensync-mqtt-broker:
|
||||||
|
service:
|
||||||
|
type: LoadBalancer
|
||||||
|
annotations:
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: opensync-mqtt-broker.cloudsdk.lab.wlan.tip.build
|
||||||
|
service.beta.kubernetes.io/aws-load-balancer-type: "nlb-ip"
|
||||||
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClass: "gp2"
|
||||||
|
|
||||||
|
wlan-cloud-graphql-gw:
|
||||||
|
enabled: true
|
||||||
|
ingress:
|
||||||
|
annotations:
|
||||||
|
<<: *srv-https-annotations
|
||||||
|
enabled: true
|
||||||
|
alb_https_redirect: true
|
||||||
|
hosts:
|
||||||
|
- host: wlan-graphql.cloudsdk.lab.wlan.tip.build
|
||||||
|
paths: [
|
||||||
|
/*
|
||||||
|
]
|
||||||
|
env:
|
||||||
|
portalsvc: wlan-portal-svc.cloudsdk.lab.wlan.tip.build
|
||||||
|
|
||||||
|
wlan-cloud-static-portal:
|
||||||
|
enabled: true
|
||||||
|
env:
|
||||||
|
graphql: https://wlan-graphql.cloudsdk.lab.wlan.tip.build
|
||||||
|
service:
|
||||||
|
type: NodePort
|
||||||
|
ingress:
|
||||||
|
annotations:
|
||||||
|
<<: *srv-https-annotations
|
||||||
|
alb_https_redirect: true
|
||||||
|
hosts:
|
||||||
|
- host: wlan-ui.cloudsdk.lab.wlan.tip.build
|
||||||
|
paths: [
|
||||||
|
/*
|
||||||
|
]
|
||||||
|
wlan-portal-service:
|
||||||
|
service:
|
||||||
|
type: NodePort
|
||||||
|
nodePortStatic: false
|
||||||
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClass: gp2
|
||||||
|
tsp:
|
||||||
|
host: wlan-portal-svc.cloudsdk.lab.wlan.tip.build
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
alb_https_redirect: true
|
||||||
|
tls: []
|
||||||
|
annotations:
|
||||||
|
<<: *srv-https-annotations
|
||||||
|
alb.ingress.kubernetes.io/backend-protocol: HTTPS
|
||||||
|
alb.ingress.kubernetes.io/healthcheck-protocol: HTTPS
|
||||||
|
alb.ingress.kubernetes.io/healthcheck-port: traffic-port
|
||||||
|
alb.ingress.kubernetes.io/healthcheck-path: /ping
|
||||||
|
hosts:
|
||||||
|
- host: wlan-portal-svc.cloudsdk.lab.wlan.tip.build
|
||||||
|
paths: [
|
||||||
|
/*
|
||||||
|
]
|
||||||
|
|
||||||
|
wlan-prov-service:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
wlan-ssc-service:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
wlan-spc-service:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
wlan-port-forwarding-gateway-service:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
kafka:
|
||||||
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
|
||||||
|
cassandra:
|
||||||
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClass: gp2
|
||||||
|
|
||||||
|
postgresql:
|
||||||
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClass: gp2
|
||||||
8
tip-wlan/example-values/aws-internal/README.md
Normal file
8
tip-wlan/example-values/aws-internal/README.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Helm values for deploying a cloud controller onto an AWS EKS cluster with internal accessibility
|
||||||
|
|
||||||
|
These values are almost the same as you can find in [aws-basic](../aws-basic) example values, but this case adds required annotations to make your installaion work in private mode without any endpoints exposed to the Internet.
|
||||||
|
|
||||||
|
[Detailed instructions](https://openwifi.tip.build/getting-started/controller-installation/aws-install)
|
||||||
|
|
||||||
|
[This Terraform module](https://github.com/Telecominfraproject/wlan-cloud-terraform/tree/master/aws-cloudsdk) can be used to set up the required EKS cluster including all necessary addons.
|
||||||
|
|
||||||
130
tip-wlan/example-values/aws-internal/values.yml
Normal file
130
tip-wlan/example-values/aws-internal/values.yml
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
shared:
|
||||||
|
service:
|
||||||
|
srv-https-annotations: &srv-https-annotations
|
||||||
|
kubernetes.io/ingress.class: alb
|
||||||
|
alb.ingress.kubernetes.io/scheme: internal
|
||||||
|
alb.ingress.kubernetes.io/group.name: wlan-cloudsdk
|
||||||
|
alb.ingress.kubernetes.io/certificate-arn: "arn:aws:acm:eu-central-1:0123456789:certificate/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||||
|
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
|
||||||
|
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_302"}}'
|
||||||
|
|
||||||
|
# Annotations for namespace
|
||||||
|
annotations: {
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
|
}
|
||||||
|
|
||||||
|
opensync-gw-static:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
opensync-gw-cloud:
|
||||||
|
service:
|
||||||
|
type: LoadBalancer
|
||||||
|
annotations:
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: opensync-controller.cloudsdk.lab.wlan.tip.build,opensync-redirector.cloudsdk.lab.wlan.tip.build
|
||||||
|
service.beta.kubernetes.io/aws-load-balancer-type: "nlb-ip"
|
||||||
|
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
|
||||||
|
enabled: true
|
||||||
|
externalhost:
|
||||||
|
address:
|
||||||
|
ovsdb: opensync-controller.cloudsdk.lab.wlan.tip.build
|
||||||
|
mqtt: opensync-mqtt-broker.cloudsdk.lab.wlan.tip.build
|
||||||
|
persistence:
|
||||||
|
enabled: false
|
||||||
|
image:
|
||||||
|
name: opensync-gateway-cloud
|
||||||
|
|
||||||
|
opensync-mqtt-broker:
|
||||||
|
service:
|
||||||
|
type: LoadBalancer
|
||||||
|
annotations:
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: opensync-mqtt-broker.cloudsdk.lab.wlan.tip.build
|
||||||
|
service.beta.kubernetes.io/aws-load-balancer-type: "nlb-ip"
|
||||||
|
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
|
||||||
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClass: "gp2"
|
||||||
|
|
||||||
|
wlan-cloud-graphql-gw:
|
||||||
|
enabled: true
|
||||||
|
ingress:
|
||||||
|
annotations:
|
||||||
|
<<: *srv-https-annotations
|
||||||
|
enabled: true
|
||||||
|
alb_https_redirect: true
|
||||||
|
hosts:
|
||||||
|
- host: wlan-graphql.cloudsdk.lab.wlan.tip.build
|
||||||
|
paths: [
|
||||||
|
/*
|
||||||
|
]
|
||||||
|
env:
|
||||||
|
portalsvc: wlan-portal-svc.cloudsdk.lab.wlan.tip.build
|
||||||
|
|
||||||
|
wlan-cloud-static-portal:
|
||||||
|
enabled: true
|
||||||
|
env:
|
||||||
|
graphql: https://wlan-graphql.cloudsdk.lab.wlan.tip.build
|
||||||
|
service:
|
||||||
|
type: NodePort
|
||||||
|
ingress:
|
||||||
|
annotations:
|
||||||
|
<<: *srv-https-annotations
|
||||||
|
alb_https_redirect: true
|
||||||
|
hosts:
|
||||||
|
- host: wlan-ui.cloudsdk.lab.wlan.tip.build
|
||||||
|
paths: [
|
||||||
|
/*
|
||||||
|
]
|
||||||
|
wlan-portal-service:
|
||||||
|
service:
|
||||||
|
type: NodePort
|
||||||
|
nodePortStatic: false
|
||||||
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClass: gp2
|
||||||
|
tsp:
|
||||||
|
host: wlan-portal-svc.cloudsdk.lab.wlan.tip.build
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
alb_https_redirect: true
|
||||||
|
tls: []
|
||||||
|
annotations:
|
||||||
|
<<: *srv-https-annotations
|
||||||
|
alb.ingress.kubernetes.io/backend-protocol: HTTPS
|
||||||
|
alb.ingress.kubernetes.io/healthcheck-protocol: HTTPS
|
||||||
|
alb.ingress.kubernetes.io/healthcheck-port: traffic-port
|
||||||
|
alb.ingress.kubernetes.io/healthcheck-path: /ping
|
||||||
|
hosts:
|
||||||
|
- host: wlan-portal-svc.cloudsdk.lab.wlan.tip.build
|
||||||
|
paths: [
|
||||||
|
/*
|
||||||
|
]
|
||||||
|
|
||||||
|
wlan-prov-service:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
wlan-ssc-service:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
wlan-spc-service:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
wlan-port-forwarding-gateway-service:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
kafka:
|
||||||
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
|
||||||
|
cassandra:
|
||||||
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClass: gp2
|
||||||
|
|
||||||
|
postgresql:
|
||||||
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClass: gp2
|
||||||
20
tip-wlan/templates/NOTES.txt
Normal file
20
tip-wlan/templates/NOTES.txt
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
Your TIP WLAN cloud controller Helm deployment has been successful!
|
||||||
|
|
||||||
|
**************************************************************************************
|
||||||
|
*** PLEASE BE PATIENT: Some components may need up to 5 minutes to fully start up. ***
|
||||||
|
**************************************************************************************
|
||||||
|
|
||||||
|
You can check the status with the following command:
|
||||||
|
|
||||||
|
kubectl get pods -n {{ .Release.Namespace }} -w
|
||||||
|
|
||||||
|
{{ if gt (len (index .Values "wlan-cloud-static-portal").ingress.hosts) 0 }}
|
||||||
|
The dashboard should be available at:
|
||||||
|
http://{{ (index (index .Values "wlan-cloud-static-portal").ingress.hosts 0).host }}
|
||||||
|
|
||||||
|
Login with the following credentials:
|
||||||
|
|
||||||
|
Username: support@example.com
|
||||||
|
Password: support
|
||||||
|
{{ end }}
|
||||||
@@ -16,14 +16,13 @@
|
|||||||
|
|
||||||
{{- define "jmxPrometheus.initContainer" -}}
|
{{- define "jmxPrometheus.initContainer" -}}
|
||||||
{{- if .Values.global.monitoring.enableJmxPrometheusMetrics -}}
|
{{- if .Values.global.monitoring.enableJmxPrometheusMetrics -}}
|
||||||
- name: download-jmx-prometheus-exporter
|
- name: jmx-prometheus-exporter
|
||||||
image: alpine:latest
|
image: {{ .Values.global.monitoring.jmxExporterAgent.registry }}/{{ .Values.global.monitoring.jmxExporterAgent.repository }}:{{ .Values.global.monitoring.jmxExporterAgent.tag }}
|
||||||
command:
|
command:
|
||||||
- wget
|
- cp
|
||||||
args:
|
args:
|
||||||
- -P
|
- {{ .Values.global.monitoring.jmxExporterAgent.path }}
|
||||||
- {{ include "jmxPrometheus.agentDir" . }}
|
- {{ include "jmxPrometheus.agentDir" . }}
|
||||||
- https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.14.0/jmx_prometheus_javaagent-0.14.0.jar
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{ include "jmxPrometheus.tmpVolumeMount" . | indent 2 }}
|
{{ include "jmxPrometheus.tmpVolumeMount" . | indent 2 }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
@@ -69,7 +68,7 @@
|
|||||||
|
|
||||||
{{- define "jmxPrometheus.jvmOpts" -}}
|
{{- define "jmxPrometheus.jvmOpts" -}}
|
||||||
{{- if .Values.global.monitoring.enableJmxPrometheusMetrics -}}
|
{{- if .Values.global.monitoring.enableJmxPrometheusMetrics -}}
|
||||||
-javaagent:{{ include "jmxPrometheus.agentDir" . }}/jmx_prometheus_javaagent-0.14.0.jar={{ include "jmxPrometheus.portNumber" . }}:{{ include "jmxPrometheus.configPath" . }}
|
-javaagent:{{ include "jmxPrometheus.agentDir" . }}/{{ .Values.global.monitoring.jmxExporterAgent.path | base }}={{ include "jmxPrometheus.portNumber" . }}:{{ include "jmxPrometheus.configPath" . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ spec:
|
|||||||
done
|
done
|
||||||
containers:
|
containers:
|
||||||
- name: kafka-config
|
- name: kafka-config
|
||||||
image: confluentinc/cp-kafka:5.0.1
|
image: {{ .Values.kafka.initJobConfig.image }}
|
||||||
command:
|
command:
|
||||||
- bash
|
- bash
|
||||||
- -c
|
- -c
|
||||||
|
|||||||
@@ -37,12 +37,15 @@ global:
|
|||||||
nodePortPrefix: 302
|
nodePortPrefix: 302
|
||||||
nodePortPrefixExt: 304
|
nodePortPrefixExt: 304
|
||||||
|
|
||||||
|
imageRoot:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
|
||||||
repository:
|
repository:
|
||||||
registry: tip-tip-wlan-cloud-docker-repo.jfrog.io
|
registry: tip-tip-wlan-cloud-docker-repo.jfrog.io
|
||||||
username: tip-read
|
# username: username
|
||||||
password: tip-read
|
# password: password
|
||||||
# image pull policy
|
# image pull policy
|
||||||
pullPolicy: Always
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
# flag to enable debugging - application support required
|
# flag to enable debugging - application support required
|
||||||
debugEnabled: false
|
debugEnabled: false
|
||||||
@@ -75,9 +78,15 @@ global:
|
|||||||
monitoring:
|
monitoring:
|
||||||
enableJmxPrometheusMetrics: false
|
enableJmxPrometheusMetrics: false
|
||||||
enablePrometheusPodMonitors: false
|
enablePrometheusPodMonitors: false
|
||||||
|
# Docker image containing the JMX exporter Java agent
|
||||||
|
jmxExporterAgent:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
|
repository: bitnami/jmx-exporter
|
||||||
|
tag: 0.15.0
|
||||||
|
path: /opt/bitnami/jmx-exporter/jmx_prometheus_javaagent.jar
|
||||||
|
|
||||||
# DockerRegistry Secret
|
# DockerRegistry Secret
|
||||||
createDockerRegistrySecret: true
|
createDockerRegistrySecret: false
|
||||||
|
|
||||||
# Enabling components under Tip-wlan
|
# Enabling components under Tip-wlan
|
||||||
opensync-gw-static:
|
opensync-gw-static:
|
||||||
@@ -130,6 +139,12 @@ kafka:
|
|||||||
- name: customer_events
|
- name: customer_events
|
||||||
partitions: 1
|
partitions: 1
|
||||||
replicationFactor: 1
|
replicationFactor: 1
|
||||||
|
- name: location_metrics
|
||||||
|
partitions: 1
|
||||||
|
replicationFactor: 1
|
||||||
|
- name: location_events
|
||||||
|
partitions: 1
|
||||||
|
replicationFactor: 1
|
||||||
creds:
|
creds:
|
||||||
sslKeyPassword: *sslKeyPassword
|
sslKeyPassword: *sslKeyPassword
|
||||||
sslKeystorePassword: *sslKeystorePassword
|
sslKeystorePassword: *sslKeystorePassword
|
||||||
@@ -137,6 +152,7 @@ kafka:
|
|||||||
enabled: false
|
enabled: false
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
debug: true
|
debug: true
|
||||||
auth:
|
auth:
|
||||||
clientProtocol: mtls
|
clientProtocol: mtls
|
||||||
@@ -164,20 +180,31 @@ kafka:
|
|||||||
release: prometheus-operator
|
release: prometheus-operator
|
||||||
zookeeper:
|
zookeeper:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
image:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 1
|
||||||
|
memory: 500Gi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 400Mi
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 700Mi
|
memory: 1100Mi
|
||||||
|
|
||||||
cassandra:
|
cassandra:
|
||||||
enabled: false
|
enabled: false
|
||||||
tlsEncryptionSecretName: tip-common-cassandra-certs
|
tlsEncryptionSecretName: tip-common-cassandra-certs
|
||||||
image:
|
image:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
debug: true
|
debug: true
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -209,6 +236,7 @@ postgresql:
|
|||||||
enabled: false
|
enabled: false
|
||||||
postgresqlDatabase: tip
|
postgresqlDatabase: tip
|
||||||
image:
|
image:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
debug: true
|
debug: true
|
||||||
metrics:
|
metrics:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -234,6 +262,8 @@ postgresql:
|
|||||||
storageClass: glusterfs-storage
|
storageClass: glusterfs-storage
|
||||||
volumePermissions:
|
volumePermissions:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
image:
|
||||||
|
registry: tip-docker-cache-repo.jfrog.io
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
enabled: false
|
enabled: false
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
@@ -255,7 +285,7 @@ postgresql:
|
|||||||
primary:
|
primary:
|
||||||
extraInitContainers:
|
extraInitContainers:
|
||||||
- command: [ "sh", "-c", "chmod 0600 /opt/bitnami/postgresql/certs/postgresclientkey_dec.pem" ]
|
- command: [ "sh", "-c", "chmod 0600 /opt/bitnami/postgresql/certs/postgresclientkey_dec.pem" ]
|
||||||
image: busybox:latest
|
image: tip-docker-cache-repo.jfrog.io/library/busybox:latest
|
||||||
name: chmod-client-cert-additional
|
name: chmod-client-cert-additional
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user