Added service
This commit is contained in:
		
							parent
							
								
									2107e4e55e
								
							
						
					
					
						commit
						bc407e00ed
					
				
					 1 changed files with 16 additions and 0 deletions
				
			
		
							
								
								
									
										16
									
								
								templates/service.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								templates/service.yaml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,16 @@
 | 
				
			||||||
 | 
					apiVersion: v1
 | 
				
			||||||
 | 
					kind: Service
 | 
				
			||||||
 | 
					metadata:
 | 
				
			||||||
 | 
					  name: {{ include "glitchtip.fullname" . }}
 | 
				
			||||||
 | 
					  labels:
 | 
				
			||||||
 | 
					    {{- include "glitchtip.labels" . | nindent 4 }}
 | 
				
			||||||
 | 
					spec:
 | 
				
			||||||
 | 
					  type: {{ .Values.service.type }}
 | 
				
			||||||
 | 
					  ports:
 | 
				
			||||||
 | 
					    - port: {{ .Values.service.port }}
 | 
				
			||||||
 | 
					      targetPort: http
 | 
				
			||||||
 | 
					      protocol: TCP
 | 
				
			||||||
 | 
					      name: http
 | 
				
			||||||
 | 
					  selector:
 | 
				
			||||||
 | 
					    {{- include "glitchtip.selectorLabels" . | nindent 4 }}
 | 
				
			||||||
 | 
					    role: web
 | 
				
			||||||
		Reference in a new issue