Unverified Commit d6942582 authored by Kevin Di Lallo's avatar Kevin Di Lallo Committed by GitHub
Browse files

Merge pull request #75 from pastorsx/sp_dev_rnis

RNIS v1 backend implementation
parents d43238a5 4d0269a0
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -41,6 +41,8 @@ repo:
        - meep-metrics-engine-notification-client
        - meep-mg-manager
        - meep-mg-app-client
        - meep-rnis
        - meep-rnis-notification-client
        - meep-loc-serv
        - meep-loc-serv-notification-client

@@ -56,6 +58,16 @@ repo:
      docker-data:
        api: bin/meep-swagger-ui
        static: bin/meep-frontend
    meep-rnis:
      src: go-apps/meep-rnis
      bin: bin/meep-rnis
      chart: charts/meep-rnis
      build-flags:
        - -mod=vendor
      codecov: true
      lint: true
      nodeport: 30017
      api: go-apps/meep-rnis/api/swagger.yaml
    meep-loc-serv:
      src: go-apps/meep-loc-serv
      bin: bin/meep-loc-serv
@@ -137,6 +149,13 @@ repo:
    meep-ctrl-engine-model:
      src: go-packages/meep-ctrl-engine-model
      lint: true
    meep-rnis-client:
      src: go-packages/meep-rnis-client
      lint: false
    meep-rnis-notification-client:
      src: go-packages/meep-rnis-notification-client
      lint: false
      api: go-packages/meep-rnis-notification-client/api/swagger.yaml
    meep-loc-serv-client:
      src: go-packages/meep-loc-serv-client
      lint: false
+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 Radio Network Information Service Helm chart for Kubernetes
name: meep-rnis
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-rnis.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-rnis.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-rnis.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
+12 −0
Original line number Diff line number Diff line
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: "{{ .Values.serviceAccount }}-{{ .Values.namespace }}"
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
- kind: ServiceAccount
  name: {{ .Values.serviceAccount }}
  namespace: {{ .Values.namespace }}
 No newline at end of file
Loading