mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-11-03 22:21:55 +00:00 
			
		
		
		
	add service values
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
apiVersion: v2
 | 
			
		||||
name: invidious
 | 
			
		||||
description: Invidious is an alternative front-end to YouTube
 | 
			
		||||
version: 1.0.0
 | 
			
		||||
version: 1.1.0
 | 
			
		||||
appVersion: 0.20.1
 | 
			
		||||
keywords:
 | 
			
		||||
- youtube
 | 
			
		||||
 
 | 
			
		||||
@@ -7,10 +7,14 @@ metadata:
 | 
			
		||||
    chart: {{ .Chart.Name }}
 | 
			
		||||
    release: {{ .Release.Name }}
 | 
			
		||||
spec:
 | 
			
		||||
  type: {{ .Values.service.type }}
 | 
			
		||||
  ports:
 | 
			
		||||
  - name: http
 | 
			
		||||
    port: 3000
 | 
			
		||||
    port: {{ .Values.service.port }}
 | 
			
		||||
    targetPort: 3000
 | 
			
		||||
  selector:
 | 
			
		||||
    app: {{ template "invidious.name" . }}
 | 
			
		||||
    release: {{ .Release.Name }}
 | 
			
		||||
{{- if .Values.service.loadBalancerIP }}
 | 
			
		||||
  loadBalancerIP: {{ .Values.service.loadBalancerIP }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
 
 | 
			
		||||
@@ -13,6 +13,11 @@ autoscaling:
 | 
			
		||||
  maxReplicas: 16
 | 
			
		||||
  targetCPUUtilizationPercentage: 50
 | 
			
		||||
 | 
			
		||||
service:
 | 
			
		||||
  type: clusterIP
 | 
			
		||||
  port: 3000
 | 
			
		||||
  # loadBalancerIP:
 | 
			
		||||
 | 
			
		||||
resources: {}
 | 
			
		||||
  #requests:
 | 
			
		||||
  #  cpu: 100m
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user