|
@@ -7,6 +7,7 @@ metadata:
|
|
|
labels:
|
|
|
app: $DRONE_REPO_NAME
|
|
|
spec:
|
|
|
+ serviceName: $DRONE_REPO_NAME
|
|
|
replicas: $JNLP_REPLICAS
|
|
|
selector:
|
|
|
matchLabels:
|
|
@@ -32,6 +33,9 @@ spec:
|
|
|
ports:
|
|
|
- containerPort: $JNLP_CONTAINER_PORT
|
|
|
name: port
|
|
|
+ volumeMounts:
|
|
|
+ - name: volume
|
|
|
+ mountPath: $JNLP_MOUNT_PATH
|
|
|
livenessProbe:
|
|
|
tcpSocket:
|
|
|
port: $JNLP_CONTAINER_PORT
|
|
@@ -94,4 +98,4 @@ spec:
|
|
|
service:
|
|
|
name: $DRONE_REPO_NAME-svc
|
|
|
port:
|
|
|
- number: $JNLP_CONTAINER_PORT
|
|
|
+ number: $JNLP_CONTAINER_PORT
|