mirror of
https://github.com/Telecominfraproject/wlan-cloud-helm.git
synced 2026-03-21 14:39:14 +00:00
Compare commits
11 Commits
NETEXP-347
...
TOOLS-23-s
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48920ee38c | ||
|
|
ef5e184d67 | ||
|
|
78c015ed09 | ||
|
|
6b4ca62f36 | ||
|
|
9a5c218c5f | ||
|
|
a25b4f70a6 | ||
|
|
0567fa7536 | ||
|
|
e6eda54959 | ||
|
|
5e1f2ed6ec | ||
|
|
08aadaa10e | ||
|
|
1a083c035e |
2
.github/workflows/helm-build.yml
vendored
2
.github/workflows/helm-build.yml
vendored
@@ -7,7 +7,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@@ -29,4 +28,3 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
helm repo update
|
helm repo update
|
||||||
helm search repo tip
|
helm search repo tip
|
||||||
|
|
||||||
|
|||||||
58
.github/workflows/helm-validation.yml
vendored
Normal file
58
.github/workflows/helm-validation.yml
vendored
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
name: Helm validation
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.GH_AUTOMATION_KEY }}
|
||||||
|
submodules: true
|
||||||
|
- name: Validators setup
|
||||||
|
working-directory: /tmp
|
||||||
|
env:
|
||||||
|
KUBESCORE_VERSON: 1.7.1
|
||||||
|
run: |
|
||||||
|
mkdir /tmp/k8s-validators
|
||||||
|
|
||||||
|
curl -LO https://github.com/instrumenta/kubeval/releases/latest/download/kubeval-linux-amd64.tar.gz
|
||||||
|
tar xf kubeval-linux-amd64.tar.gz
|
||||||
|
rm -f kubeval-linux-amd64.tar.gz
|
||||||
|
|
||||||
|
curl -LO https://github.com/zegl/kube-score/releases/download/v${{ env.KUBESCORE_VERSON }}/kube-score_${{ env.KUBESCORE_VERSON }}_linux_amd64.tar.gz
|
||||||
|
tar xf kube-score_${{ env.KUBESCORE_VERSON }}_linux_amd64.tar.gz
|
||||||
|
rm -f kube-score_${{ env.KUBESCORE_VERSON }}_linux_amd64.tar.gz
|
||||||
|
|
||||||
|
curl -LO https://get.helm.sh/helm-v3.2.4-linux-amd64.tar.gz
|
||||||
|
tar xf helm-v3.2.4-linux-amd64.tar.gz
|
||||||
|
mv linux-amd64/helm .
|
||||||
|
rm -fr helm-v3.2.4-linux-amd64.tar.gz linux-amd64
|
||||||
|
|
||||||
|
echo "::add-path::/tmp/k8s-validators/"
|
||||||
|
- name: Cache validators
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: /tmp/k8s-validators
|
||||||
|
key: ${{ runner.os }}-k8s-validators
|
||||||
|
- name: Test tip-wlan
|
||||||
|
working-directory: tip-wlan
|
||||||
|
run: |
|
||||||
|
echo "Kubeval test"
|
||||||
|
helm template -f values-test.yaml . | kubeval --ignore-missing-schemas
|
||||||
|
|
||||||
|
echo "Kube-score test"
|
||||||
|
helm template -f values-test.yaml . | kube-score score -
|
||||||
|
- name: Test glusterfs
|
||||||
|
working-directory: glusterfs/kube-templates
|
||||||
|
run: |
|
||||||
|
echo "Kubeval test"
|
||||||
|
kubeval *.yaml
|
||||||
|
|
||||||
|
echo "Kube-score test"
|
||||||
|
kube-score score *.yaml
|
||||||
76
tip-wlan/values-test.yaml
Normal file
76
tip-wlan/values-test.yaml
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
# Default values for Tip-Wlan
|
||||||
|
# This is a YAML-formatted file.
|
||||||
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
|
#################################################################
|
||||||
|
# Global configuration overrides.
|
||||||
|
#
|
||||||
|
# These overrides will affect all helm charts (ie. applications)
|
||||||
|
# that are listed below and are 'enabled'.
|
||||||
|
#################################################################
|
||||||
|
global:
|
||||||
|
# Change to an unused port prefix range to prevent port conflicts
|
||||||
|
# with other instances running within the same k8s cluster
|
||||||
|
nodePortPrefix: 302
|
||||||
|
# namespace to deploy the release
|
||||||
|
nsPrefix: tip
|
||||||
|
|
||||||
|
repository: tip-tip-wlan-cloud-docker-repo.jfrog.io
|
||||||
|
# image pull policy
|
||||||
|
pullPolicy: Always
|
||||||
|
|
||||||
|
# default mount path root directory referenced
|
||||||
|
# by persistent volumes and log files
|
||||||
|
persistence:
|
||||||
|
|
||||||
|
# override default resource limit flavor for all charts
|
||||||
|
flavor: unlimited
|
||||||
|
|
||||||
|
# flag to enable debugging - application support required
|
||||||
|
debugEnabled: false
|
||||||
|
|
||||||
|
# Integrated Deployment which deploys Prov Service, Portal Service and
|
||||||
|
# SSC Service in a single docker image
|
||||||
|
integratedDeployment: false
|
||||||
|
|
||||||
|
# Namespace related
|
||||||
|
createReleaseNamespace: true
|
||||||
|
|
||||||
|
# DockerRegistry Secret
|
||||||
|
createDockerRegistrySecret: true
|
||||||
|
|
||||||
|
# Docker Registry secret to pull docker images from WLAN repo
|
||||||
|
dockerRegistrySecret: dummySecret
|
||||||
|
|
||||||
|
# Annotations to add to the namespace
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
|
# Enabling components under Tip-wlan
|
||||||
|
opensync-gw-static:
|
||||||
|
enabled: true
|
||||||
|
opensync-gw-cloud:
|
||||||
|
enabled: true
|
||||||
|
opensync-mqtt-broker:
|
||||||
|
enabled: true
|
||||||
|
wlan-cloud-graphql-gw:
|
||||||
|
enabled: true
|
||||||
|
wlan-cloud-static-portal:
|
||||||
|
enabled: true
|
||||||
|
wlan-portal-service:
|
||||||
|
enabled: true
|
||||||
|
wlan-prov-service:
|
||||||
|
enabled: true
|
||||||
|
wlan-ssc-service:
|
||||||
|
enabled: true
|
||||||
|
wlan-integrated-cloud-component-service:
|
||||||
|
enabled: true
|
||||||
|
nginx-ingress-controller:
|
||||||
|
enabled: true
|
||||||
|
zookeeper:
|
||||||
|
enabled: true
|
||||||
|
kafka:
|
||||||
|
enabled: true
|
||||||
|
cassandra:
|
||||||
|
enabled: true
|
||||||
|
postgresql:
|
||||||
|
enabled: true
|
||||||
Reference in New Issue
Block a user