add local fallback ingress for core apps
This commit is contained in:
		
							
								
								
									
										32
									
								
								clusters/cl01tl/platform/gitea/templates/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								clusters/cl01tl/platform/gitea/templates/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
apiVersion: extensions/v1beta1
 | 
			
		||||
kind: Ingress
 | 
			
		||||
metadata:
 | 
			
		||||
  name: gitea-local
 | 
			
		||||
  namespace: {{ .Release.Namespace }}
 | 
			
		||||
  labels:
 | 
			
		||||
    app.kubernetes.io/name: gitea-local
 | 
			
		||||
    app.kubernetes.io/instance: {{ .Release.Name }}
 | 
			
		||||
    app.kubernetes.io/version: {{ .Chart.AppVersion }}
 | 
			
		||||
    app.kubernetes.io/component: web
 | 
			
		||||
    app.kubernetes.io/part-of: {{ .Release.Name }}
 | 
			
		||||
  annotations:
 | 
			
		||||
    traefik.ingress.kubernetes.io/router.entrypoints: websecure
 | 
			
		||||
    traefik.ingress.kubernetes.io/router.tls: "true"
 | 
			
		||||
    cert-manager.io/cluster-issuer: letsencrypt-issuer
 | 
			
		||||
spec:
 | 
			
		||||
  ingressClassName: traefik
 | 
			
		||||
  tls:
 | 
			
		||||
    - hosts:
 | 
			
		||||
        - gitea.alexlebens.net
 | 
			
		||||
      secretName: gitea-tls-secret
 | 
			
		||||
  rules:
 | 
			
		||||
    - host: gitea.alexlebens.net
 | 
			
		||||
      http:
 | 
			
		||||
        paths:
 | 
			
		||||
          - path: /
 | 
			
		||||
            pathType: ImplementationSpecific
 | 
			
		||||
            backend:
 | 
			
		||||
              service:
 | 
			
		||||
                name: gitea-http
 | 
			
		||||
                port:
 | 
			
		||||
                  number: 3000
 | 
			
		||||
		Reference in New Issue
	
	Block a user