Add web port
This commit is contained in:
		
							parent
							
								
									99cf95f663
								
							
						
					
					
						commit
						9829e09f28
					
				
					 2 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -44,20 +44,20 @@ spec:
 | 
				
			||||||
          imagePullPolicy: {{ .Values.image.pullPolicy }}
 | 
					          imagePullPolicy: {{ .Values.image.pullPolicy }}
 | 
				
			||||||
          ports:
 | 
					          ports:
 | 
				
			||||||
            - name: http
 | 
					            - name: http
 | 
				
			||||||
              containerPort: 8080
 | 
					              containerPort: {{ .Values.web.port | default 8080 }}
 | 
				
			||||||
              protocol: TCP
 | 
					              protocol: TCP
 | 
				
			||||||
          livenessProbe:
 | 
					          livenessProbe:
 | 
				
			||||||
            failureThreshold: {{ .Values.web.livenessProbe.failureThreshold }}
 | 
					            failureThreshold: {{ .Values.web.livenessProbe.failureThreshold }}
 | 
				
			||||||
            httpGet:
 | 
					            httpGet:
 | 
				
			||||||
              path: {{ .Values.web.livenessProbe.path | default "/_health/" }}
 | 
					              path: {{ .Values.web.livenessProbe.path | default "/_health/" }}
 | 
				
			||||||
              port: 8080
 | 
					              port: {{ .Values.web.port | default 8080 }}
 | 
				
			||||||
            initialDelaySeconds: {{ .Values.web.livenessProbe.initialDelaySeconds }}
 | 
					            initialDelaySeconds: {{ .Values.web.livenessProbe.initialDelaySeconds }}
 | 
				
			||||||
            timeoutSeconds: {{ .Values.web.livenessProbe.timeoutSeconds }}
 | 
					            timeoutSeconds: {{ .Values.web.livenessProbe.timeoutSeconds }}
 | 
				
			||||||
          readinessProbe:
 | 
					          readinessProbe:
 | 
				
			||||||
            failureThreshold: {{ .Values.web.readinessProbe.failureThreshold }}
 | 
					            failureThreshold: {{ .Values.web.readinessProbe.failureThreshold }}
 | 
				
			||||||
            httpGet:
 | 
					            httpGet:
 | 
				
			||||||
              path: {{ .Values.web.readinessProbe.path | default "/_health/" }}
 | 
					              path: {{ .Values.web.readinessProbe.path | default "/_health/" }}
 | 
				
			||||||
              port: 8080
 | 
					              port: {{ .Values.web.port | default 8080 }}
 | 
				
			||||||
            initialDelaySeconds: {{ .Values.web.readinessProbe.initialDelaySeconds }}
 | 
					            initialDelaySeconds: {{ .Values.web.readinessProbe.initialDelaySeconds }}
 | 
				
			||||||
            timeoutSeconds: {{ .Values.web.readinessProbe.timeoutSeconds }}
 | 
					            timeoutSeconds: {{ .Values.web.readinessProbe.timeoutSeconds }}
 | 
				
			||||||
          resources:
 | 
					          resources:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,6 +20,7 @@ env:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
web:
 | 
					web:
 | 
				
			||||||
  replicaCount: 2
 | 
					  replicaCount: 2
 | 
				
			||||||
 | 
					  port: 8080
 | 
				
			||||||
  autoscaling:
 | 
					  autoscaling:
 | 
				
			||||||
    enabled: false
 | 
					    enabled: false
 | 
				
			||||||
    minReplicas: 1
 | 
					    minReplicas: 1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue