mirror of
				https://github.com/TeamPiped/Piped-Kubernetes.git
				synced 2024-08-14 23:57:15 +00:00 
			
		
		
		
	Fixing templates for additionalContainers definitions.
This commit is contained in:
		
							parent
							
								
									c17ececc3f
								
							
						
					
					
						commit
						3a6387a9bf
					
				
					 5 changed files with 13 additions and 10 deletions
				
			
		|  | @ -62,9 +62,10 @@ initContainers: | |||
|   {{- end }} | ||||
| containers: | ||||
|   {{- include "backend.controller.mainContainer" . | nindent 2 }} | ||||
|   {{- with .Values.additionalContainers }} | ||||
|   {{- if .Values.backend.additionalContainers }} | ||||
|     {{- $additionalContainers := list }} | ||||
|     {{- range $name, $container := . }} | ||||
|     {{- range $index, $key :=  (keys .Values.backend.additionalContainers | uniq | sortAlpha) }} | ||||
|     {{- $container := get $.Values.backend.initContainers $key }} | ||||
|       {{- if not $container.name -}} | ||||
|         {{- $_ := set $container "name" $name }} | ||||
|       {{- end }} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue