forked from open-webui/open-webui
		
	rename ports, labels and service settings
This commit is contained in:
		
							parent
							
								
									0b7f183a03
								
							
						
					
					
						commit
						05e31494c2
					
				
					 7 changed files with 25 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -5,20 +5,21 @@ metadata:
 | 
			
		|||
  labels:
 | 
			
		||||
    {{- include "open-webui.labels" . | nindent 4 }}
 | 
			
		||||
spec:
 | 
			
		||||
  replicas: 1
 | 
			
		||||
  replicas: {{ .Values.webui.replicaCount }}
 | 
			
		||||
  selector:
 | 
			
		||||
    matchLabels:
 | 
			
		||||
      {{- include "open-webui.selectorLabels" . | nindent 6 }}
 | 
			
		||||
  template:
 | 
			
		||||
    metadata:
 | 
			
		||||
      labels:
 | 
			
		||||
        {{- include "open-webui.selectorLabels" . | nindent 8 }}
 | 
			
		||||
        {{- include "open-webui.labels" . | nindent 8 }}
 | 
			
		||||
    spec:
 | 
			
		||||
      containers:
 | 
			
		||||
      - name: {{ .Chart.Name }}
 | 
			
		||||
        image: {{ .Values.webui.image }}
 | 
			
		||||
        ports:
 | 
			
		||||
        - containerPort: 8080
 | 
			
		||||
        - name: http
 | 
			
		||||
          containerPort: {{ .Values.webui.service.containerPort }}
 | 
			
		||||
        {{- with .Values.webui.resources }}
 | 
			
		||||
        resources: {{- toYaml . | nindent 10 }}
 | 
			
		||||
        {{- end }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue