Ver Fonte

[CI SKIP]

robert há 1 ano atrás
pai
commit
49d769840c
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      deploy-tmp.yaml

+ 5 - 1
deploy-tmp.yaml

@@ -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