root пре 3 година
родитељ
комит
b3da620c00
1 измењених фајлова са 8 додато и 4 уклоњено
  1. 8 4
      deploy-tmp.yaml

+ 8 - 4
deploy-tmp.yaml

@@ -30,8 +30,10 @@ spec:
         image: $JNLP_REPO/$JNLP_ENV/$DRONE_REPO_NAME:$JNLP_TAG
         imagePullPolicy: Always
         ports:
-        - containerPort: $JNLP_CONTAINER_PORT
-          name: port
+        - containerPort: 8080
+          name: cifport
+        - containerPort: 9090
+          name: cdpport
         volumeMounts:
         - name: volume
           mountPath: $JNLP_MOUNT_PATH
@@ -65,7 +67,9 @@ metadata:
 spec:
   type: NodePort
   ports:
-  - port: $JNLP_CONTAINER_PORT
-    targetPort: $JNLP_CONTAINER_PORT
+  - port: 8080
+    targetPort: 8080
+  - port: 9090
+    targetPort: 9090
   selector:
     app: $DRONE_REPO_NAME