Commit 4e747b2a authored by Simon Pastor's avatar Simon Pastor
Browse files

mec011 first merge

parent f2d0572b
Loading
Loading
Loading
Loading
+79 −0
Original line number Diff line number Diff line
@@ -212,6 +212,7 @@ repo:
          - meep-wais
          - meep-sandbox-ctrl
          - meep-tc-engine
          - meep-edge-platform-app-enablement
      meep-platform-ctrl:
        # location of source code
        src: go-apps/meep-platform-ctrl
@@ -271,6 +272,7 @@ repo:
          meep-wais: charts/meep-wais
          meep-sandbox-ctrl: charts/meep-sandbox-ctrl
          meep-tc-engine: charts/meep-tc-engine
          meep-edge-platform-app-enablement: charts/meep-edge-platform-app-enablement
          meep-virt-chart-templates: charts/meep-virt-chart-templates
        # list of sandbox specific pods
        sandbox-pods:
@@ -282,6 +284,7 @@ repo:
          - meep-wais
          - meep-sandbox-ctrl
          - meep-tc-engine
          - meep-edge-platform-app-enablement
      meep-webhook:
        # location of source code
        src: go-apps/meep-webhook
@@ -367,6 +370,9 @@ repo:
          - sandbox.go-apps.meep-loc-serv
          - sandbox.go-apps.meep-rnis
          - sandbox.go-apps.meep-wais
          # app-support and service-mgmt are under one executable: meep-edge-platform-app-enablement
          - sandbox.go-apps.meep-app-support
          - sandbox.go-apps.meep-service-mgmt
          - sandbox.go-apps.meep-metrics-engine
          - packages.go-packages.meep-metrics-engine-notification-client
          - sandbox.go-apps.meep-mg-manager
@@ -575,6 +581,79 @@ repo:
        codecov: false
        # supports linting
        lint: true
      meep-edge-platform-app-enablement:
        # location of source code
        src: go-apps/meep-edge-platform-app-enablement
        # location of binary
        bin: bin/meep-edge-platform-app-enablement
        # location of deployment chart
        chart: charts/meep-edge-platform-app-enablement
        # user supplied value file located @ .meep/user/values (use below file name)
        chart-user-values: meep-edge-platform-app-enablement.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-edge-platform-app-enablement/api/app-support/swagger.yaml
      meep-app-support:
        ## location of source code
        src: go-apps/meep-edge-platform-app-enablement/server/app-support
        ## location of binary
        #bin: bin/meep-edge-platform-app-enablement
        ## location of deployment chart
        #chart: charts/meep-edge-platform-app-enablement
        ## user supplied value file located @ .meep/user/values (use below file name)
        #chart-user-values: meep-edge-platform-app-enablement.yaml
        # extra build flags
        #build-flags:
        #  - -mod=vendor
        # enable meepctl build
        build: false
        # enable meepctl dockerize
        dockerize: false
        # enable meepctl deploy/delete
        deploy: false
        # supports code coverage measurement when built in codecov mode
        codecov: false
        # supports linting
        lint: true
        # location of API specification
        api: go-apps/meep-edge-platform-app-enablement/api/app-support/swagger.yaml
      meep-service-mgmt:
        # location of source code
        src: go-apps/meep-edge-platform-app-enablement/server/service-mgmt
        ## location of binary
        #bin: bin/meep-edge-platform-app-enablement
        ## location of deployment chart
        #chart: charts/meep-edge-platform-app-enablement
        ## user supplied value file located @ .meep/user/values (use below file name)
        #chart-user-values: meep-edge-platform-app-enablement.yaml
        # extra build flags
        #build-flags:
        #  - -mod=vendor
        # enable meepctl build
        build: false
        # enable meepctl dockerize
        dockerize: false
        # enable meepctl deploy/delete
        deploy: false
        # supports code coverage measurement when built in codecov mode
        codecov: false
        # supports linting
        lint: true
        # location of API specification
        api: go-apps/meep-edge-platform-app-enablement/api/service-mgmt/swagger.yaml


  #------------------------------
  #  Dependencies
+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 Edge Platform Application Enablement Service Helm chart for Kubernetes
name: meep-edge-platform-app-enablement
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-edge-platform-app-enablement.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-edge-platform-app-enablement.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-edge-platform-app-enablement.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