Commit 7389845c authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

sandbox endpoints in platform-ctrl + 2-phase virt-engine sandbox & scenario...

sandbox endpoints in platform-ctrl + 2-phase virt-engine sandbox & scenario activation + frontend REST call updates
parent d107a8bf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -46,6 +46,9 @@ spec:
          ports:
            - containerPort: {{ .Values.deployment.port }}
              protocol: {{ .Values.deployment.protocol }}
          env:
            - name: MEEP_ROOT_URL
              value: {{ .Values.image.env.rooturl }}
          volumeMounts:
            - name: data
              mountPath: /data/
+3 −1
Original line number Diff line number Diff line
# Default values for meep-ctrl-engine.
# Default values for meep-virt-engine.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

@@ -21,6 +21,8 @@ image:
  repository: meep-docker-registry:30001/meep-virt-engine
  tag: latest
  pullPolicy: Always      
  env:
    rooturl: "http://www.example.com"

service:
  type: ClusterIP
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,8 @@ spec:
            - containerPort: {{ .Values.deployment.port }}
              protocol: {{ .Values.deployment.protocol }}
          env:
            - name: MEEP_SANDBOX_NAME
              value: {{ .Values.image.env.sandboxName }}
            - name: MEEP_LOC_SERV_ROOT_URL
              value: {{ .Values.image.env.rooturl }}
          {{- if .Values.codecov.enabled}}
+5 −4
Original line number Diff line number Diff line
@@ -14,7 +14,8 @@ image:
  tag: latest
  pullPolicy: Always
  env:
    rooturl: "http://www.example.com"
    sandboxName: {{ .SandboxName }}
    rooturl: {{ .RootUrl }}

service:
  name: meep-loc-serv
@@ -28,14 +29,14 @@ ingress:
  hosts:
    - name: ''
      paths:
        - /location
        - /({{ .SandboxName }}/|)location

  annotations:
    # kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
    # nginx.ingress.kubernetes.io/rewrite-target: /$2
    # nginx.ingress.kubernetes.io/configuration-snippet: |
    #   rewrite ^/location(/|$)(.*)$ /$2 break;
    nginx.ingress.kubernetes.io/configuration-snippet: |
      rewrite ^/{{ .SandboxName }}/location(/|$)(.*)$ /location/$2 break;

  labels: {}
  tls:
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,8 @@ spec:
            - containerPort: {{ .Values.deployment.port }}
              protocol: {{ .Values.deployment.protocol }}
          env:
            - name: MEEP_SANDBOX_NAME
              value: {{ .Values.image.env.sandboxName }}
            - name: MEEP_METRICS_ROOT_URL
              value: {{ .Values.image.env.rooturl }}
          {{- if .Values.codecov.enabled}}
Loading