use http route
This commit is contained in:
		@@ -0,0 +1,30 @@
 | 
			
		||||
apiVersion: gateway.networking.k8s.io/v1
 | 
			
		||||
kind: HTTPRoute
 | 
			
		||||
metadata:
 | 
			
		||||
  name: http-route-directus-minio
 | 
			
		||||
  namespace: {{ .Release.Namespace }}
 | 
			
		||||
  labels:
 | 
			
		||||
    app.kubernetes.io/name: http-route-directus-minio
 | 
			
		||||
    app.kubernetes.io/instance: {{ .Release.Name }}
 | 
			
		||||
    app.kubernetes.io/version: {{ .Chart.AppVersion }}
 | 
			
		||||
    app.kubernetes.io/component: web
 | 
			
		||||
    app.kubernetes.io/part-of: {{ .Release.Name }}
 | 
			
		||||
spec:
 | 
			
		||||
  parentRefs:
 | 
			
		||||
    - group: gateway.networking.k8s.io
 | 
			
		||||
      kind: Gateway
 | 
			
		||||
      name: traefik-gateway
 | 
			
		||||
      namespace: traefik
 | 
			
		||||
  hostnames:
 | 
			
		||||
    - directus-minio.alexlebens.net
 | 
			
		||||
  rules:
 | 
			
		||||
    - matches:
 | 
			
		||||
      - path:
 | 
			
		||||
          type: PathPrefix
 | 
			
		||||
          value: /
 | 
			
		||||
      backendRefs:
 | 
			
		||||
        - group: ''
 | 
			
		||||
          kind: Service
 | 
			
		||||
          name: minio-directus-console
 | 
			
		||||
          port: 9090
 | 
			
		||||
          weight: 100
 | 
			
		||||
@@ -164,15 +164,7 @@ minio:
 | 
			
		||||
      requestAutoCert: false
 | 
			
		||||
  ingress:
 | 
			
		||||
    console:
 | 
			
		||||
      enabled: true
 | 
			
		||||
      ingressClassName: tailscale
 | 
			
		||||
      tls:
 | 
			
		||||
        - secretName: minio-directus-cl01tl
 | 
			
		||||
          hosts:
 | 
			
		||||
            - minio-directus-cl01tl
 | 
			
		||||
      host: minio-directus-cl01tl
 | 
			
		||||
      path: /
 | 
			
		||||
      pathType: Prefix
 | 
			
		||||
      enabled: false
 | 
			
		||||
valkey:
 | 
			
		||||
  architecture: standalone
 | 
			
		||||
  auth:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user