This repository was archived by the owner on Mar 17, 2020. It is now read-only.
File tree 2 files changed +26
-3
lines changed
2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ pipeline:
88
88
action : EnsureDeployment
89
89
deployment :
90
90
name : ' ./spotguide-nodejs-mongodb-1.0.0.tgz'
91
+ namespace : default
91
92
reuseValues : true
92
93
releaseName : ' {{ .CICD_REPO_NAME }}'
93
94
wait : true
Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
- name : ' Node.js with MongoDB database'
3
- description : ' Spotguide for Node.js applications with MongoDB database'
4
- tags : [' Node.js', ' MongoDB', ' application' ]
2
+ name : " Node.js with MongoDB database"
3
+ description : " Spotguide for Node.js applications with MongoDB database"
4
+ tags : [" Node.js", " MongoDB", " application" ]
5
5
resources :
6
6
sumCpu : 3
7
7
sumMem : 4
@@ -11,6 +11,17 @@ resources:
11
11
minNodes : 2
12
12
maxNodes : 4
13
13
questions :
14
+ - type : pipeline
15
+ dataType : string
16
+ label : namespace
17
+ group : Deployment
18
+ required : true
19
+ default : default
20
+ targets :
21
+ - install_mongodb_user_secret.clusterSecret.namespace
22
+ - install_mongodb_root_secret.clusterSecret.namespace
23
+ - install_mongodb_replica_set_key_secret.clusterSecret.namespace
24
+ - deploy_application.deployment.namespace
14
25
- type : secret
15
26
dataType : password
16
27
name : docker-hub
@@ -25,6 +36,17 @@ questions:
25
36
targets :
26
37
- build_image.secretFrom.DOCKER_USERNAME.name
27
38
- build_image.secretFrom.DOCKER_PASSWORD.name
39
+ - type : pipeline
40
+ dataType : string
41
+ label : repository name
42
+ group : Docker Hub (image repository)
43
+ required : true
44
+ description : Defaults to repository name
45
+ default : " {{ .CICD_REPO }}"
46
+ order : 2
47
+ targets :
48
+ - deploy_application.deployment.values.deployment.image.repository
49
+ - build_image.repo
28
50
- type : secret
29
51
dataType : password
30
52
name : mongodb
You can’t perform that action at this time.
0 commit comments