mirror of
				https://github.com/TeamPiped/Piped-Kubernetes.git
				synced 2024-08-14 23:57:15 +00:00 
			
		
		
		
	backend: Better secret var naming
This commit is contained in:
		
							parent
							
								
									42e5d8f110
								
							
						
					
					
						commit
						a52fb2b85d
					
				
					 3 changed files with 8 additions and 10 deletions
				
			
		|  | @ -10,7 +10,7 @@ sources: | ||||||
|   - https://github.com/TeamPiped/piped-proxy |   - https://github.com/TeamPiped/piped-proxy | ||||||
| keywords: | keywords: | ||||||
|   - streaming |   - streaming | ||||||
| version: 2.8.0 | version: 3.0.0 | ||||||
| appVersion: latest | appVersion: latest | ||||||
| kubeVersion: ">=1.22.0-0" | kubeVersion: ">=1.22.0-0" | ||||||
| maintainers: | maintainers: | ||||||
|  | @ -28,6 +28,4 @@ dependencies: | ||||||
| annotations: | annotations: | ||||||
|   artifacthub.io/changes: |- |   artifacthub.io/changes: |- | ||||||
|     - kind: changed |     - kind: changed | ||||||
|       description: Backend configmap was changed to not require driver_class nor dialect but rather specify them by default. |       description: Backend configmap secret fetching uses now DB_USERNAME and DB_PASSWORD keys. | ||||||
|     - kind: fixed |  | ||||||
|       description: Backend configmap wasn't getting feed retention correctly passed. |  | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| # piped | # piped | ||||||
| 
 | 
 | ||||||
|   |   | ||||||
| 
 | 
 | ||||||
| Piped is an alternative privacy-friendly YouTube frontend which is efficient by design. | Piped is an alternative privacy-friendly YouTube frontend which is efficient by design. | ||||||
| 
 | 
 | ||||||
|  | @ -160,7 +160,7 @@ helm install piped TeamPiped/piped -f values.yaml | ||||||
| 
 | 
 | ||||||
| ## Changelog | ## Changelog | ||||||
| 
 | 
 | ||||||
| ### Version 2.8.0 | ### Version 3.0.0 | ||||||
| 
 | 
 | ||||||
| #### Added | #### Added | ||||||
| 
 | 
 | ||||||
|  | @ -168,11 +168,11 @@ N/A | ||||||
| 
 | 
 | ||||||
| #### Changed | #### Changed | ||||||
| 
 | 
 | ||||||
| * Backend configmap was changed to not require driver_class nor dialect but rather specify them by default. | * Backend configmap secret fetching uses now DB_USERNAME and DB_PASSWORD keys. | ||||||
| 
 | 
 | ||||||
| #### Fixed | #### Fixed | ||||||
| 
 | 
 | ||||||
| * Backend configmap wasn't getting feed retention correctly passed. | N/A | ||||||
| 
 | 
 | ||||||
| ## Support | ## Support | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -66,8 +66,8 @@ data: | ||||||
|     hibernate.connection.password: {{.Values.backend.config.database.password }} |     hibernate.connection.password: {{.Values.backend.config.database.password }} | ||||||
|     {{ end }} |     {{ end }} | ||||||
|     {{- if .Values.backend.config.database.secret }} |     {{- if .Values.backend.config.database.secret }} | ||||||
|     hibernate.connection.username: {{ include "common.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.backend.config.database.secret "Key" "database.username" ) -}} |     hibernate.connection.username: {{ include "common.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.backend.config.database.secret "Key" "DB_USERNAME" ) -}} | ||||||
|     hibernate.connection.password: {{ include "common.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.backend.config.database.secret "Key" "database.password") -}} |     hibernate.connection.password: {{ include "common.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.backend.config.database.secret "Key" "DB_PASSWORD") -}} | ||||||
|     {{- end }} |     {{- end }} | ||||||
|     {{- else if .Values.postgresql.enabled }} |     {{- else if .Values.postgresql.enabled }} | ||||||
|     hibernate.connection.url: jdbc:postgresql://piped-postgresql/{{ .Values.postgresql.auth.database}} |     hibernate.connection.url: jdbc:postgresql://piped-postgresql/{{ .Values.postgresql.auth.database}} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue