Attempt to make use of postgres helm chart without setting DATABASE_URL
This commit is contained in:
		
							parent
							
								
									fa7f7acd2b
								
							
						
					
					
						commit
						74f1ec9f6c
					
				
					 7 changed files with 62 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -64,6 +64,10 @@ spec:
 | 
			
		|||
              valueFrom:
 | 
			
		||||
                fieldRef:
 | 
			
		||||
                  fieldPath: status.podIP
 | 
			
		||||
{{- if .Values.env.secret.DATABASE_URL }}
 | 
			
		||||
            - name: DATABASE_URL
 | 
			
		||||
              value: {{ .Values.env.secret.DATABASE_URL }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
          envFrom:
 | 
			
		||||
            - secretRef:
 | 
			
		||||
                name: {{ include "django.fullname" . }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue