All checks were successful
		
		
	
	ci/woodpecker/push/demo-workflow Pipeline was successful
				
			
		
			
				
	
	
		
			53 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| {{- define "immich.machine-learning.hardcodedValues" -}}
 | |
| global:
 | |
|   nameOverride: machine-learning
 | |
| 
 | |
| controller:
 | |
|   strategy: RollingUpdate
 | |
| 
 | |
| service:
 | |
|   main:
 | |
|     enabled: true
 | |
|     primary: true
 | |
|     type: ClusterIP
 | |
|     ports:
 | |
|       http:
 | |
|         enabled: true
 | |
|         primary: true
 | |
|         port: 3003
 | |
|         protocol: HTTP
 | |
| 
 | |
| probes:
 | |
|   liveness: &probes
 | |
|     enabled: true
 | |
|     custom: true
 | |
|     spec:
 | |
|       httpGet:
 | |
|         path: /ping
 | |
|         port: http
 | |
|       initialDelaySeconds: 0
 | |
|       periodSeconds: 10
 | |
|       timeoutSeconds: 1
 | |
|       failureThreshold: 3
 | |
|   readiness: *probes
 | |
|   startup:
 | |
|     enabled: true
 | |
|     custom: true
 | |
|     spec:
 | |
|       httpGet:
 | |
|         path: /ping
 | |
|         port: http
 | |
|       initialDelaySeconds: 0
 | |
|       periodSeconds: 10
 | |
|       timeoutSeconds: 1
 | |
|       failureThreshold: 60
 | |
| {{- end }}
 | |
| 
 | |
| {{- /* Have to reference with index here because the dash breaks a normal dereference */}}
 | |
| {{ if (index .Values "machine-learning").enabled }}
 | |
| {{- $ctx := deepCopy . -}}
 | |
| {{- $_ := get .Values "machine-learning" | mergeOverwrite $ctx.Values -}}
 | |
| {{- $_ = include "immich.machine-learning.hardcodedValues" . | fromYaml | merge $ctx.Values -}}
 | |
| {{- include "bjw-s.common.loader.all" $ctx }}
 | |
| {{ end }}
 |