Commit 879d3534 authored by Yann Garcia's avatar Yann Garcia
Browse files

Continue MEC-016 development; Adding a early draft version of UE/MEC Application, demo4-ue

parent 7e0d4796
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -827,6 +827,8 @@ repo:
        deploy: true
        # supports code coverage measurement when built in codecov mode
        codecov: true
        # supports onboarded device application instantiation
        onboardedapp: true
        # supports linting
        lint: true
        # location of API specifications
+11 −0
Original line number Diff line number Diff line
@@ -28,6 +28,12 @@ spec:
          persistentVolumeClaim:
            claimName: meep-dai-codecov-pvc
      {{- end}}
      {{- if .Values.onboardedapp.enabled}}
      volumes:
        - name: onboardedapp-storage
          persistentVolumeClaim:
            claimName: meep-dai-onboardedapp-pvc
      {{- end}}
      containers:
        - name: {{ .Chart.Name }}
          image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
@@ -49,6 +55,11 @@ spec:
          - name: codecov-storage
            mountPath: /codecov
          {{- end}}
          {{- if .Values.onboardedapp.enabled}}
          volumeMounts:
          - name: onboardedapp-storage
            mountPath: /onboardedapp
          {{- end}}
      terminationGracePeriodSeconds: 5
      initContainers:
        {{- range $value := .Values.deployment.dependencies.system }}
+35 −0
Original line number Diff line number Diff line
{{- if .Values.onboardedapp.enabled}}
kind: PersistentVolume
apiVersion: v1
metadata:
  name: meep-dai-onboardedapp-pv
spec:
  storageClassName: meep-dai-onboardedapp-sc
  capacity:
    storage: 100Mi
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  hostPath:
    path: {{ .Values.onboardedapp.location }}

---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: meep-dai-onboardedapp-sc
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: WaitForFirstConsumer
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: meep-dai-onboardedapp-pvc
spec:
  storageClassName: meep-dai-onboardedapp-sc
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 100Mi
{{- end}}
+4 −0
Original line number Diff line number Diff line
@@ -84,4 +84,8 @@ codecov:
  enabled: false
  location: "<WORKDIR>/codecov/meep-dai"

onboardedapp:
  enabled: true
  location: "<WORKDIR>/onboardedapp"

meepOrigin: core
+2 −0
Original line number Diff line number Diff line
@@ -794,6 +794,8 @@ repo:
        deploy: false
        # supports code coverage measurement when built in codecov mode
        codecov: true
        # supports onboarded device application instantiation
        onboardedapp: true
        # supports linting
        lint: true
        # location of API specifications
Loading