initial migration
This commit is contained in:
		
							
								
								
									
										59
									
								
								unused/syncthing/ingressroute.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								unused/syncthing/ingressroute.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,59 @@
 | 
			
		||||
# apiVersion: traefik.containo.us/v1alpha1
 | 
			
		||||
# kind: IngressRoute
 | 
			
		||||
# metadata:
 | 
			
		||||
#   name: syncthing-ingress
 | 
			
		||||
#   namespace: syncthing
 | 
			
		||||
# spec:
 | 
			
		||||
#   entryPoints:
 | 
			
		||||
#     - websecure
 | 
			
		||||
#   routes:
 | 
			
		||||
#     - match: Host(`syncthing.kluster.moll.re`)
 | 
			
		||||
#       kind: Rule
 | 
			
		||||
#       services:
 | 
			
		||||
#         - name: syncthing
 | 
			
		||||
#           port: 8384
 | 
			
		||||
#   tls:
 | 
			
		||||
#     certResolver: default-tls
 | 
			
		||||
 | 
			
		||||
apiVersion: traefik.containo.us/v1alpha1
 | 
			
		||||
kind: Middleware
 | 
			
		||||
metadata:
 | 
			
		||||
  name: authentik-auth
 | 
			
		||||
  namespace: syncthing
 | 
			
		||||
spec:
 | 
			
		||||
  forwardAuth:
 | 
			
		||||
    address: https://syncthing.kluster.moll.re/outpost.goauthentik.io/auth/traefik
 | 
			
		||||
    trustForwardHeader: true
 | 
			
		||||
    authResponseHeaders:
 | 
			
		||||
      - X-authentik-username
 | 
			
		||||
      - X-authentik-groups
 | 
			
		||||
      - X-authentik-email
 | 
			
		||||
      - X-authentik-name
 | 
			
		||||
      - X-authentik-uid
 | 
			
		||||
      - X-authentik-jwt
 | 
			
		||||
      - X-authentik-meta-jwks
 | 
			
		||||
      - X-authentik-meta-outpost
 | 
			
		||||
      - X-authentik-meta-provider
 | 
			
		||||
      - X-authentik-meta-app
 | 
			
		||||
      - X-authentik-meta-version
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
apiVersion: traefik.containo.us/v1alpha1
 | 
			
		||||
kind: IngressRoute
 | 
			
		||||
metadata:
 | 
			
		||||
  name: syncthing-ingress
 | 
			
		||||
  namespace: syncthing
 | 
			
		||||
spec:
 | 
			
		||||
  entryPoints:
 | 
			
		||||
    - websecure
 | 
			
		||||
  routes:
 | 
			
		||||
    - match: Host(`syncthing.kluster.moll.re`)
 | 
			
		||||
      kind: Rule
 | 
			
		||||
      middlewares:
 | 
			
		||||
        - name: authentik-auth
 | 
			
		||||
      services:
 | 
			
		||||
        - name: syncthing
 | 
			
		||||
          port: 8384
 | 
			
		||||
  tls:
 | 
			
		||||
    certResolver: default-tls
 | 
			
		||||
							
								
								
									
										37
									
								
								unused/syncthing/pvc.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								unused/syncthing/pvc.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,37 @@
 | 
			
		||||
---
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
kind: PersistentVolume
 | 
			
		||||
metadata:
 | 
			
		||||
  namespace: syncthing
 | 
			
		||||
  name: syncthing-nfs
 | 
			
		||||
  labels:
 | 
			
		||||
    directory: syncthing
 | 
			
		||||
spec:
 | 
			
		||||
  storageClassName: fast
 | 
			
		||||
  capacity:
 | 
			
		||||
    storage: "100Gi"
 | 
			
		||||
  volumeMode: Filesystem
 | 
			
		||||
  accessModes:
 | 
			
		||||
    - ReadWriteOnce
 | 
			
		||||
  nfs:
 | 
			
		||||
    path: /data-sync
 | 
			
		||||
    server: 10.43.239.43 # assigned to nfs-server service. Won't change as long as service is not redeployed
 | 
			
		||||
---
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
kind: PersistentVolumeClaim
 | 
			
		||||
metadata:
 | 
			
		||||
  namespace: syncthing
 | 
			
		||||
  name: syncthing-nfs
 | 
			
		||||
spec:
 | 
			
		||||
  storageClassName: fast
 | 
			
		||||
  accessModes:
 | 
			
		||||
    - ReadWriteOnce
 | 
			
		||||
  resources:
 | 
			
		||||
    requests:
 | 
			
		||||
      storage: "100Gi"
 | 
			
		||||
  selector:
 | 
			
		||||
    matchLabels:
 | 
			
		||||
      directory: syncthing
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										56
									
								
								unused/syncthing/values.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								unused/syncthing/values.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,56 @@
 | 
			
		||||
#
 | 
			
		||||
# IMPORTANT NOTE
 | 
			
		||||
#
 | 
			
		||||
# This chart inherits from our common library chart. You can check the default values/options here:
 | 
			
		||||
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
image:
 | 
			
		||||
  # -- image repository
 | 
			
		||||
  repository: syncthing/syncthing
 | 
			
		||||
  # -- image tag
 | 
			
		||||
  tag: 1.18.2
 | 
			
		||||
  # -- image pull policy
 | 
			
		||||
  pullPolicy: IfNotPresent
 | 
			
		||||
 | 
			
		||||
# -- Configures service settings for the chart.
 | 
			
		||||
# @default -- See values.yaml
 | 
			
		||||
service:
 | 
			
		||||
  main:
 | 
			
		||||
    ports:
 | 
			
		||||
      http:
 | 
			
		||||
        port: 8384
 | 
			
		||||
  listen:
 | 
			
		||||
    enabled: true
 | 
			
		||||
    type: NodePort
 | 
			
		||||
    externalTrafficPolicy: Local
 | 
			
		||||
    ports:
 | 
			
		||||
      listen:
 | 
			
		||||
        enabled: true
 | 
			
		||||
        port: 22000
 | 
			
		||||
        protocol: TCP
 | 
			
		||||
        targetPort: 22000
 | 
			
		||||
  discovery:
 | 
			
		||||
    enabled: true
 | 
			
		||||
    type: NodePort
 | 
			
		||||
    externalTrafficPolicy: Local
 | 
			
		||||
    ports:
 | 
			
		||||
      discovery:
 | 
			
		||||
        enabled: true
 | 
			
		||||
        port: 21027
 | 
			
		||||
        protocol: UDP
 | 
			
		||||
        targetPort: 21027
 | 
			
		||||
 | 
			
		||||
ingress:
 | 
			
		||||
  # -- Enable and configure ingress settings for the chart under this key.
 | 
			
		||||
  # @default -- See values.yaml
 | 
			
		||||
  main:
 | 
			
		||||
    enabled: false
 | 
			
		||||
 | 
			
		||||
# -- Configure persistence settings for the chart under this key.
 | 
			
		||||
# @default -- See values.yaml
 | 
			
		||||
persistence:
 | 
			
		||||
  data:
 | 
			
		||||
    enabled: true
 | 
			
		||||
    mountPath: /var/syncthing
 | 
			
		||||
    existingClaim: syncthing-nfs
 | 
			
		||||
		Reference in New Issue
	
	Block a user