瀏覽代碼

[CI SKIP]

robert 1 年之前
父節點
當前提交
1d9925862c
共有 1 個文件被更改,包括 22 次插入0 次删除
  1. 22 0
      deploy-tmp.yaml

+ 22 - 0
deploy-tmp.yaml

@@ -0,0 +1,22 @@
+---
+apiVersion: apps/v1
+kind: $JNLP_CONTROL
+metadata:
+  name: $DRONE_REPO_NAME
+  namespace: $JNLP_ENV
+  labels:
+    app: $DRONE_REPO_NAME
+spec:
+  replicas: $JNLP_REPLICAS
+  selector:
+    matchLabels:
+      app: $DRONE_REPO_NAME
+  template:
+    metadata:
+      labels:
+        app: $DRONE_REPO_NAME
+    spec:
+      containers:
+      - name: $DRONE_REPO_NAME
+        image: $JNLP_REPO/$JNLP_ENV/$DRONE_REPO_NAME:$JNLP_TAG
+        imagePullPolicy: Always