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:
		| @ -0,0 +1,52 @@ | ||||
| {{- 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 }} | ||||
		Reference in New Issue
	
	Block a user