Commit 03456d8b authored by Webb, Jake's avatar Webb, Jake
Browse files

working on deployment yaml

parent cfc2547a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,4 +11,4 @@ docker push $DOCKER_REGISTRY &&
# Scale down so pod gets recreated and uses new image
oc --namespace stf218-app scale deploy -l app=exadigit-simulation-dashboard --replicas=0

oc apply -f deployment.yaml
oc process -f ./deployment.yaml -o yaml --param=DASHBOARD_IMAGE="$DOCKER_REGISTRY" | oc apply -f -
+11 −10
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ spec:
        app: exadigit-simulation-dashboard
    spec:
      containers:
      - image: registry.apps.marble.ccs.ornl.gov/stf218-app/exadigit-simulation-dashboard:latest
        - image: ${DASHBOARD_IMAGE}
          name: main
          imagePullPolicy: Always
          resources:
@@ -45,3 +45,4 @@ spec:
  selector:
    app: exadigit-simulation-dashboard
---