|
@@ -20,3 +20,16 @@ spec:
|
|
- name: $DRONE_REPO_NAME
|
|
- name: $DRONE_REPO_NAME
|
|
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:
|
|
|
|
+ - containerPort: $JNLP_CONTAINER_PORT
|
|
|
|
+ name: port
|
|
|
|
+ livenessProbe:
|
|
|
|
+ tcpSocket:
|
|
|
|
+ port: $JNLP_CONTAINER_PORT
|
|
|
|
+ initialDelaySeconds: $JNLP_LIVENESS_INIT
|
|
|
|
+ periodSeconds: $JNLP_LIVENESS_PER
|
|
|
|
+ readinessProbe:
|
|
|
|
+ tcpSocket:
|
|
|
|
+ port: $JNLP_CONTAINER_PORT
|
|
|
|
+ initialDelaySeconds: $JNLP_READINESS_INIT
|
|
|
|
+ periodSeconds: $JNLP_READINESS_PER
|