kubernetes: add and update new and existing projects
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/demo-workflow Pipeline was successful
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ci/woodpecker/push/demo-workflow Pipeline was successful
				
			This commit is contained in:
		
							
								
								
									
										69
									
								
								kubernetes/immich/immich-helm-chart/templates/valkey.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								kubernetes/immich/immich-helm-chart/templates/valkey.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,69 @@ | ||||
| {{- define "valkey.hardcodedValues" -}} | ||||
| global: | ||||
|   nameOverride: valkey | ||||
|  | ||||
| controller: | ||||
|   strategy: Recreate | ||||
|  | ||||
| service: | ||||
|   main: | ||||
|     enabled: true | ||||
|     primary: true | ||||
|     type: ClusterIP | ||||
|     ports: | ||||
|       redis: | ||||
|         enabled: true | ||||
|         primary: true | ||||
|         port: 6379 | ||||
|         protocol: TCP | ||||
|       http: | ||||
|         enabled: false | ||||
|  | ||||
| probes: | ||||
|   liveness: | ||||
|     enabled: true | ||||
|     custom: true | ||||
|     spec: | ||||
|       exec: | ||||
|         command: | ||||
|           - sh | ||||
|           - -c | ||||
|           - "valkey-cli ping | grep PONG" | ||||
|       initialDelaySeconds: 30 | ||||
|       periodSeconds: 10 | ||||
|       timeoutSeconds: 5 | ||||
|       failureThreshold: 3 | ||||
|   readiness: | ||||
|     enabled: true | ||||
|     custom: true | ||||
|     spec: | ||||
|       exec: | ||||
|         command: | ||||
|           - sh | ||||
|           - -c | ||||
|           - "valkey-cli ping | grep PONG" | ||||
|       initialDelaySeconds: 5 | ||||
|       periodSeconds: 10 | ||||
|       timeoutSeconds: 5 | ||||
|       failureThreshold: 3 | ||||
|   startup: | ||||
|     enabled: true | ||||
|     custom: true | ||||
|     spec: | ||||
|       exec: | ||||
|         command: | ||||
|           - sh | ||||
|           - -c | ||||
|           - "valkey-cli ping | grep PONG" | ||||
|       initialDelaySeconds: 0 | ||||
|       periodSeconds: 10 | ||||
|       timeoutSeconds: 5 | ||||
|       failureThreshold: 30 | ||||
| {{- end }} | ||||
|  | ||||
| {{ if .Values.valkey.enabled }} | ||||
| {{- $ctx := deepCopy . -}} | ||||
| {{- $_ := get .Values "valkey" | mergeOverwrite $ctx.Values -}} | ||||
| {{- $_ = include "valkey.hardcodedValues" . | fromYaml | merge $ctx.Values -}} | ||||
| {{- include "bjw-s.common.loader.all" $ctx }} | ||||
| {{ end }} | ||||
		Reference in New Issue
	
	Block a user