mirror of
				https://github.com/TeamPiped/Piped-Kubernetes.git
				synced 2024-08-14 23:57:15 +00:00 
			
		
		
		
	ytproxy bug and resources
fixed missing .ytproxy in pod template and fixed resources
This commit is contained in:
		
							parent
							
								
									646872cedb
								
							
						
					
					
						commit
						5f7c2bb26b
					
				
					 7 changed files with 19 additions and 19 deletions
				
			
		|  | @ -9,7 +9,7 @@ sources: | ||||||
|   - https://github.com/TeamPiped/piped-proxy |   - https://github.com/TeamPiped/piped-proxy | ||||||
| keywords: | keywords: | ||||||
|   - streaming |   - streaming | ||||||
| version: 2.3.0 | version: 2.4.0 | ||||||
| appVersion: latest | appVersion: latest | ||||||
| kubeVersion: ">=1.22.0-0" | kubeVersion: ">=1.22.0-0" | ||||||
| maintainers: | maintainers: | ||||||
|  |  | ||||||
|  | @ -3,6 +3,10 @@ | ||||||
| - name: {{ include "backend.names.fullname" . }} | - name: {{ include "backend.names.fullname" . }} | ||||||
|   image: {{ printf "%s:%s" .Values.backend.image.repository (default .Chart.AppVersion .Values.backend.image.tag) | quote }} |   image: {{ printf "%s:%s" .Values.backend.image.repository (default .Chart.AppVersion .Values.backend.image.tag) | quote }} | ||||||
|   imagePullPolicy: {{ .Values.backend.image.pullPolicy }} |   imagePullPolicy: {{ .Values.backend.image.pullPolicy }} | ||||||
|  |   {{- with .Values.backend.resources }} | ||||||
|  |   resources: | ||||||
|  |     {{- toYaml . | nindent 4 }} | ||||||
|  |   {{- end }} | ||||||
|   {{- with .Values.backend.command }} |   {{- with .Values.backend.command }} | ||||||
|   command: |   command: | ||||||
|     {{- if kindIs "string" . }} |     {{- if kindIs "string" . }} | ||||||
|  |  | ||||||
|  | @ -102,8 +102,4 @@ topologySpreadConstraints: | ||||||
| tolerations: | tolerations: | ||||||
|     {{- toYaml . | nindent 2 }} |     {{- toYaml . | nindent 2 }} | ||||||
|   {{- end }} |   {{- end }} | ||||||
|   {{- with .Values.backend.resources }} |  | ||||||
| resources: |  | ||||||
|    {{- toYaml . | nindent 2 }} |  | ||||||
|   {{- end }} |  | ||||||
| {{- end -}} | {{- end -}} | ||||||
|  |  | ||||||
|  | @ -3,6 +3,10 @@ | ||||||
| - name: {{ include "frontend.names.fullname" . }} | - name: {{ include "frontend.names.fullname" . }} | ||||||
|   image: {{ printf "%s:%s" .Values.frontend.image.repository (default .Chart.AppVersion .Values.frontend.image.tag) | quote }} |   image: {{ printf "%s:%s" .Values.frontend.image.repository (default .Chart.AppVersion .Values.frontend.image.tag) | quote }} | ||||||
|   imagePullPolicy: {{ .Values.frontend.image.pullPolicy }} |   imagePullPolicy: {{ .Values.frontend.image.pullPolicy }} | ||||||
|  |   {{- with .Values.frontend.resources }} | ||||||
|  |   resources: | ||||||
|  |     {{- toYaml . | nindent 4 }} | ||||||
|  |   {{- end }} | ||||||
|   {{- with .Values.frontend.command }} |   {{- with .Values.frontend.command }} | ||||||
|   command: |   command: | ||||||
|     {{- if kindIs "string" . }} |     {{- if kindIs "string" . }} | ||||||
|  |  | ||||||
|  | @ -98,8 +98,4 @@ topologySpreadConstraints: | ||||||
| tolerations: | tolerations: | ||||||
|     {{- toYaml . | nindent 2 }} |     {{- toYaml . | nindent 2 }} | ||||||
|   {{- end }} |   {{- end }} | ||||||
|   {{- with .Values.frontend.resources }} |  | ||||||
| resources: |  | ||||||
|    {{- toYaml . | nindent 2 }} |  | ||||||
|   {{- end }} |  | ||||||
| {{- end -}} | {{- end -}} | ||||||
|  |  | ||||||
|  | @ -3,6 +3,10 @@ | ||||||
| - name: {{ include "ytproxy.names.fullname" . }} | - name: {{ include "ytproxy.names.fullname" . }} | ||||||
|   image: {{ printf "%s:%s" .Values.ytproxy.image.repository (default .Chart.AppVersion .Values.ytproxy.image.tag) | quote }} |   image: {{ printf "%s:%s" .Values.ytproxy.image.repository (default .Chart.AppVersion .Values.ytproxy.image.tag) | quote }} | ||||||
|   imagePullPolicy: {{ .Values.ytproxy.image.pullPolicy }} |   imagePullPolicy: {{ .Values.ytproxy.image.pullPolicy }} | ||||||
|  |   {{- with .Values.ytproxy.resources }} | ||||||
|  |   resources: | ||||||
|  |     {{- toYaml . | nindent 4 }} | ||||||
|  |   {{- end }} | ||||||
|   {{- with .Values.ytproxy.command }} |   {{- with .Values.ytproxy.command }} | ||||||
|   command: |   command: | ||||||
|     {{- if kindIs "string" . }} |     {{- if kindIs "string" . }} | ||||||
|  |  | ||||||
|  | @ -82,28 +82,24 @@ containers: | ||||||
| volumes: | volumes: | ||||||
|     {{- nindent 2 . }} |     {{- nindent 2 . }} | ||||||
|   {{- end }} |   {{- end }} | ||||||
|   {{- with .Values.hostAliases }} |   {{- with .Values.ytproxy.hostAliases }} | ||||||
| hostAliases: | hostAliases: | ||||||
|     {{- toYaml . | nindent 2 }} |     {{- toYaml . | nindent 2 }} | ||||||
|   {{- end }} |   {{- end }} | ||||||
|   {{- with .Values.nodeSelector }} |   {{- with .Values.ytproxy.nodeSelector }} | ||||||
| nodeSelector: | nodeSelector: | ||||||
|     {{- toYaml . | nindent 2 }} |     {{- toYaml . | nindent 2 }} | ||||||
|   {{- end }} |   {{- end }} | ||||||
|   {{- with .Values.affinity }} |   {{- with .Values.ytproxy.affinity }} | ||||||
| affinity: | affinity: | ||||||
|     {{- toYaml . | nindent 2 }} |     {{- toYaml . | nindent 2 }} | ||||||
|   {{- end }} |   {{- end }} | ||||||
|   {{- with .Values.topologySpreadConstraints }} |   {{- with .Values.ytproxy.topologySpreadConstraints }} | ||||||
| topologySpreadConstraints: | topologySpreadConstraints: | ||||||
|     {{- toYaml . | nindent 2 }} |     {{- toYaml . | nindent 2 }} | ||||||
|   {{- end }} |   {{- end }} | ||||||
|   {{- with .Values.tolerations }} |   {{- with .Values.ytproxy.tolerations }} | ||||||
| tolerations: | tolerations: | ||||||
|     {{- toYaml . | nindent 2 }} |     {{- toYaml . | nindent 2 }} | ||||||
|     {{- end -}} |   {{- end -}} | ||||||
|     {{- with .Values.resources }} |  | ||||||
| resources: |  | ||||||
|    {{- toYaml . | nindent 2 }} |  | ||||||
|   {{- end }} |  | ||||||
| {{- end -}} | {{- end -}} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue