@winner-fed/winner-deploy 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winner-fed/winner-deploy",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Generate a publication deployed by the See platform",
5
5
  "keywords": [
6
6
  "winner",
@@ -7,9 +7,9 @@ metadata:
7
7
  name: ${svc_id}-service
8
8
  spec:
9
9
  ports:
10
- - name: "http"
11
- port: 80
12
- targetPort: 80
10
+ - name: "http"
11
+ port: 80
12
+ targetPort: 80
13
13
  selector:
14
14
  name: ${svc_id}
15
15
  ---
@@ -29,10 +29,10 @@ spec:
29
29
  name: ${svc_id}
30
30
  spec:
31
31
  imagePullPolicy: ${image_pull_policy}
32
- #if(${image_pull_secrets_enable} == "true")
32
+ #if(${image_pull_secrets_enable} == "true")
33
33
  imagePullSecrets:
34
- - name: ${image_pull_secrets}
35
- #end
34
+ - name: ${image_pull_secrets}
35
+ #end
36
36
  restartPolicy: ${restart_policy}
37
37
  hostname: ${web_app_web_service_name}
38
38
  containers:
@@ -43,7 +43,7 @@ spec:
43
43
  value: Asia/Shanghai
44
44
  ports:
45
45
  - containerPort: 80
46
- #if(${resources_enable} == "true")
46
+ #if(${resources_enable} == "true")
47
47
  resources:
48
48
  requests:
49
49
  cpu: ${cpu_req}
@@ -51,13 +51,13 @@ spec:
51
51
  limits:
52
52
  cpu: ${cpu_limit}
53
53
  memory: ${memory_limit}
54
- #end
55
- #if(${liveness_probe_enable} == "true")
54
+ #end
55
+ #if(${liveness_probe_enable} == "true")
56
56
  livenessProbe:
57
57
  httpGet:
58
58
  scheme: HTTP
59
59
  port: 80
60
- path: /{{ configFileName }}.js
60
+ path: /sysconfig.js
61
61
  initialDelaySeconds: 5
62
62
  periodSeconds: 3
63
63
  timeoutSeconds: 3
@@ -67,7 +67,7 @@ spec:
67
67
  httpGet:
68
68
  scheme: HTTP
69
69
  port: 80
70
- path: /{{ configFileName }}.js
70
+ path: /sysconfig.js
71
71
  initialDelaySeconds: 5
72
72
  periodSeconds: 3
73
73
  timeoutSeconds: 3