refactor: move Helm chart to standard directory structure
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build Helm Chart / helm-package (push) Successful in 4s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build Helm Chart / helm-package (push) Successful in 4s
				
			This commit restructures the paperless-ai Helm chart by moving all files from the nested directory (charts/paperless-ai/paperless-ai/) to the standard Helm chart directory structure (charts/paperless-ai/). The change eliminates the redundant directory nesting that was causing issues with Helm chart packaging and installation. No functional changes were made to any files - this is purely a directory structure reorganization to follow Helm best practices and improve chart maintainability.
This commit is contained in:
		
							
								
								
									
										43
									
								
								charts/paperless-ai/templates/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								charts/paperless-ai/templates/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,43 @@
 | 
			
		||||
{{- if .Values.ingress.enabled -}}
 | 
			
		||||
apiVersion: networking.k8s.io/v1
 | 
			
		||||
kind: Ingress
 | 
			
		||||
metadata:
 | 
			
		||||
  name: {{ include "paperless-ai.fullname" . }}
 | 
			
		||||
  labels:
 | 
			
		||||
    {{- include "paperless-ai.labels" . | nindent 4 }}
 | 
			
		||||
  {{- with .Values.ingress.annotations }}
 | 
			
		||||
  annotations:
 | 
			
		||||
    {{- toYaml . | nindent 4 }}
 | 
			
		||||
  {{- end }}
 | 
			
		||||
spec:
 | 
			
		||||
  {{- with .Values.ingress.className }}
 | 
			
		||||
  ingressClassName: {{ . }}
 | 
			
		||||
  {{- end }}
 | 
			
		||||
  {{- if .Values.ingress.tls }}
 | 
			
		||||
  tls:
 | 
			
		||||
    {{- range .Values.ingress.tls }}
 | 
			
		||||
    - hosts:
 | 
			
		||||
        {{- range .hosts }}
 | 
			
		||||
        - {{ . | quote }}
 | 
			
		||||
        {{- end }}
 | 
			
		||||
      secretName: {{ .secretName }}
 | 
			
		||||
    {{- end }}
 | 
			
		||||
  {{- end }}
 | 
			
		||||
  rules:
 | 
			
		||||
    {{- range .Values.ingress.hosts }}
 | 
			
		||||
    - host: {{ .host | quote }}
 | 
			
		||||
      http:
 | 
			
		||||
        paths:
 | 
			
		||||
          {{- range .paths }}
 | 
			
		||||
          - path: {{ .path }}
 | 
			
		||||
            {{- with .pathType }}
 | 
			
		||||
            pathType: {{ . }}
 | 
			
		||||
            {{- end }}
 | 
			
		||||
            backend:
 | 
			
		||||
              service:
 | 
			
		||||
                name: {{ include "paperless-ai.fullname" $ }}
 | 
			
		||||
                port:
 | 
			
		||||
                  number: {{ $.Values.service.port }}
 | 
			
		||||
          {{- end }}
 | 
			
		||||
    {{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
		Reference in New Issue
	
	Block a user