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