mirror of
				https://github.com/TeamPiped/Piped-Kubernetes.git
				synced 2024-08-14 23:57:15 +00:00 
			
		
		
		
	common: Bring the fullname definition here, and not depend on Postgresql chart to bring it.
This commit is contained in:
		
							parent
							
								
									db7f5a2877
								
							
						
					
					
						commit
						962f3b2401
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		|  | @ -8,6 +8,19 @@ | |||
| {{- end -}} | ||||
| {{- end -}} | ||||
| 
 | ||||
| {{- define "common.names.fullname" -}} | ||||
| {{- if .Values.fullnameOverride -}} | ||||
| {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||||
| {{- else -}} | ||||
| {{- $name := default .Chart.Name .Values.nameOverride -}} | ||||
| {{- if contains $name .Release.Name -}} | ||||
| {{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||||
| {{- else -}} | ||||
| {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||||
| {{- end -}} | ||||
| {{- end -}} | ||||
| {{- end -}} | ||||
| 
 | ||||
| {{- define "app-template.hardcodedValues" -}} | ||||
| 
 | ||||
| # Set the nameOverride based on the release name if no override has been set | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue