Commit 1e03cbf0 authored by Simon Pastor's avatar Simon Pastor
Browse files

rebase with tip of develop

parent 5b850025
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ repo:
          - meep-metrics-engine
          - meep-mg-manager
          - meep-rnis
          - meep-wais
          - meep-sandbox-ctrl
          - meep-tc-engine
      meep-platform-ctrl:
@@ -143,6 +144,7 @@ repo:
          meep-metrics-engine: charts/meep-metrics-engine
          meep-mg-manager: charts/meep-mg-manager
          meep-rnis: charts/meep-rnis
          meep-wais: charts/meep-wais
          meep-sandbox-ctrl: charts/meep-sandbox-ctrl
          meep-tc-engine: charts/meep-tc-engine
          meep-virt-chart-templates: charts/meep-virt-chart-templates
@@ -153,6 +155,7 @@ repo:
          - meep-metrics-engine
          - meep-mg-manager
          - meep-rnis
          - meep-wais
          - meep-sandbox-ctrl
          - meep-tc-engine
      meep-webhook:
@@ -239,6 +242,8 @@ repo:
          - packages.go-packages.meep-loc-serv-notification-client
          - sandbox.go-apps.meep-rnis
          - packages.go-packages.meep-rnis-notification-client
          - sandbox.go-apps.meep-wais
          - packages.go-packages.meep-wais-notification-client
          - sandbox.go-apps.meep-metrics-engine
          - packages.go-packages.meep-metrics-engine-notification-client
          - sandbox.go-apps.meep-mg-manager
@@ -365,6 +370,30 @@ repo:
        lint: true
        # location of API specification
        api: go-apps/meep-rnis/api/swagger.yaml
      meep-wais:
        # location of source code
        src: go-apps/meep-wais
        # location of binary
        bin: bin/meep-wais
        # location of deployment chart
        chart: charts/meep-wais
        # user supplied value file located @ .meep/user/values (use below file name)
        chart-user-values: meep-wais.yaml
        # extra build flags
        build-flags:
          - -mod=vendor
        # enable meepctl build
        build: true
        # enable meepctl dockerize
        dockerize: true
        # enable meepctl deploy/delete
        deploy: true
        # supports code coverage measurement when built in codecov mode
        codecov: false
        # supports linting
        lint: true
        # location of API specification
        api: go-apps/meep-wais/api/swagger.yaml
      meep-sandbox-ctrl:
        # location of source code
        src: go-apps/meep-sandbox-ctrl
@@ -643,6 +672,18 @@ repo:
        lint: false
        # location of API specification
        api: go-packages/meep-rnis-notification-client/api/swagger.yaml
      meep-wais-client:
        # location of source code
        src: go-packages/meep-wais-client
        # supports linting
        lint: false
      meep-wais-notification-client:
        # location of source code
        src: go-packages/meep-wais-notification-client
        # supports linting
        lint: false
        # location of API specification
        api: go-packages/meep-wais-notification-client/api/swagger.yaml
      meep-sandbox-ctrl-client:
        # location of source code
        src: go-packages/meep-sandbox-ctrl-client
+21 −0
Original line number Diff line number Diff line
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
+5 −0
Original line number Diff line number Diff line
apiVersion: v1
appVersion: "1.0.0"
description: MEEP WLAN Access Information Service Helm chart for Kubernetes
name: meep-wais
version: 1.0.0
+32 −0
Original line number Diff line number Diff line
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "meep-wais.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "meep-wais.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "meep-wais.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
+13 −0
Original line number Diff line number Diff line
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: "{{ .Release.Namespace }}:{{ .Values.serviceAccount }}"
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
- kind: ServiceAccount
  name: {{ .Values.serviceAccount }}
  namespace: {{ .Release.Namespace }}
  
 No newline at end of file
Loading