File tree Expand file tree Collapse file tree 12 files changed +33
-9
lines changed
Expand file tree Collapse file tree 12 files changed +33
-9
lines changed Original file line number Diff line number Diff line change 11# Default values for testapp.
22# This is a YAML-formatted file.
33# Declare variables to be passed into your templates.
4- replicaCount : 2
4+ replicaCount : 1
55
66namespace : default
77
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata:
77 kubernetes.azure.com/generator : draft
88 namespace : default
99spec :
10- replicas : 2
10+ replicas : 1
1111 selector :
1212 matchLabels :
1313 app.kubernetes.io/name : testapp
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata:
77 kubernetes.azure.com/generator : draft
88 namespace : default
99spec :
10- replicas : 2
10+ replicas : 1
1111 selector :
1212 matchLabels :
1313 app.kubernetes.io/name : testapp
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata:
77 kubernetes.azure.com/generator : draft
88 namespace : default
99spec :
10- replicas : 2
10+ replicas : 1
1111 selector :
1212 matchLabels :
1313 app.kubernetes.io/name : testapp
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata:
77 kubernetes.azure.com/generator : draft
88 namespace : default
99spec :
10- replicas : 2
10+ replicas : 1
1111 selector :
1212 matchLabels :
1313 app.kubernetes.io/name : testapp
Original file line number Diff line number Diff line change 11# Default values for {{ .Config.GetVariableValue "APPNAME"}}.
22# This is a YAML-formatted file.
33# Declare variables to be passed into your templates.
4- replicaCount : 2
4+ replicaCount : {{ .Config.GetVariableValue "REPLICACOUNT" }}
55
66namespace : {{ .Config.GetVariableValue "NAMESPACE" }}
77
Original file line number Diff line number Diff line change @@ -30,6 +30,14 @@ variables:
3030 value : default
3131 description : " the namespace to place new resources in"
3232 versions : " >=0.0.1"
33+ - name : " REPLICACOUNT"
34+ type : " int"
35+ kind : " kubernetesReplicas"
36+ default :
37+ disablePrompt : true
38+ value : 1
39+ description : " the number of replicas for the deployment"
40+ versions : " >=0.0.1"
3341 - name : " IMAGENAME"
3442 type : " string"
3543 kind : " containerImageName"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata:
77 kubernetes.azure.com/generator : {{ .Config.GetVariableValue "GENERATORLABEL" }}
88 namespace : {{ .Config.GetVariableValue "NAMESPACE" }}
99spec :
10- replicas : 2
10+ replicas : {{ .Config.GetVariableValue "REPLICACOUNT" }}
1111 selector :
1212 matchLabels :
1313 app.kubernetes.io/name : {{ .Config.GetVariableValue "APPNAME" }}
Original file line number Diff line number Diff line change @@ -30,6 +30,14 @@ variables:
3030 value : default
3131 description : " the namespace to place new resources in"
3232 versions : " >=0.0.1"
33+ - name : " REPLICACOUNT"
34+ type : " int"
35+ kind : " kubernetesReplicas"
36+ default :
37+ disablePrompt : true
38+ value : 1
39+ description : " the number of replicas for the deployment"
40+ versions : " >=0.0.1"
3341 - name : " IMAGENAME"
3442 type : " string"
3543 kind : " containerImageName"
Original file line number Diff line number Diff line change @@ -30,6 +30,14 @@ variables:
3030 value : default
3131 description : " the namespace to place new resources in"
3232 versions : " >=0.0.1"
33+ - name : " REPLICACOUNT"
34+ type : " int"
35+ kind : " kubernetesReplicas"
36+ default :
37+ disablePrompt : true
38+ value : 1
39+ description : " the number of replicas for the deployment"
40+ versions : " >=0.0.1"
3341 - name : " IMAGENAME"
3442 type : " string"
3543 kind : " containerImageName"
You can’t perform that action at this time.
0 commit comments