mirror of
				https://github.com/optim-enterprises-bv/homelab.git
				synced 2025-11-04 03:47:45 +00:00 
			
		
		
		
	chore(cloudflared): clean up cloudflared deployment
remove unused config and enable renovate
This commit is contained in:
		
							
								
								
									
										2
									
								
								k8s/apps/external/haos/endpoint-slice.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								k8s/apps/external/haos/endpoint-slice.yaml
									
									
									
									
										vendored
									
									
								
							@@ -13,5 +13,5 @@ ports:
 | 
				
			|||||||
    port: 8123
 | 
					    port: 8123
 | 
				
			||||||
endpoints:
 | 
					endpoints:
 | 
				
			||||||
  - addresses:
 | 
					  - addresses:
 | 
				
			||||||
      - 192.168.1.27
 | 
					      - 192.168.1.186
 | 
				
			||||||
    conditions: { } # https://github.com/argoproj/argo-cd/issues/15554
 | 
					    conditions: { } # https://github.com/argoproj/argo-cd/issues/15554
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,7 @@ ports:
 | 
				
			|||||||
    port: 8006
 | 
					    port: 8006
 | 
				
			||||||
endpoints:
 | 
					endpoints:
 | 
				
			||||||
  - addresses:
 | 
					  - addresses:
 | 
				
			||||||
      - 192.168.1.42
 | 
					      - 192.168.1.42  # euclid
 | 
				
			||||||
      - 192.168.1.52
 | 
					      - 192.168.1.52  # cantor
 | 
				
			||||||
      - 192.168.1.62
 | 
					      - 192.168.1.62  # abel
 | 
				
			||||||
    conditions: { } # https://github.com/argoproj/argo-cd/issues/15554
 | 
					    conditions: { } # https://github.com/argoproj/argo-cd/issues/15554
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
tunnel: gauss-k8s
 | 
					tunnel: gauss-k8s
 | 
				
			||||||
credentials-file: /etc/cloudflared/creds/credentials.json
 | 
					credentials-file: /etc/cloudflared/credentials/credentials.json
 | 
				
			||||||
metrics: 0.0.0.0:2000
 | 
					metrics: 0.0.0.0:2000
 | 
				
			||||||
no-autoupdate: true
 | 
					no-autoupdate: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -7,23 +7,16 @@ warp-routing:
 | 
				
			|||||||
  enabled: true
 | 
					  enabled: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ingress:
 | 
					ingress:
 | 
				
			||||||
  - hostname: hello.euclid.stonegarden.dev
 | 
					  - hostname: hello.stonegarden.dev
 | 
				
			||||||
    service: hello_world
 | 
					    service: hello_world
 | 
				
			||||||
  - hostname: proxmox.stonegarden.dev
 | 
					  - hostname: proxmox.stonegarden.dev
 | 
				
			||||||
    service: https://proxmox.proxmox.svc.cluster.local:443
 | 
					    service: https://proxmox.proxmox.svc.cluster.local:443
 | 
				
			||||||
    #service: https://cilium-gateway-tls-passthrough.gateway.svc.cluster.local:443
 | 
					 | 
				
			||||||
    originRequest:
 | 
					    originRequest:
 | 
				
			||||||
      originServerName: proxmox.stonegarden.dev
 | 
					      originServerName: proxmox.stonegarden.dev
 | 
				
			||||||
  - hostname: truenas.stonegarden.dev
 | 
					  - hostname: truenas.stonegarden.dev
 | 
				
			||||||
    #service: https://192.168.1.114:443
 | 
					 | 
				
			||||||
    service: https://truenas.truenas.svc.cluster.local:443
 | 
					    service: https://truenas.truenas.svc.cluster.local:443
 | 
				
			||||||
    #service: https://cilium-gateway-tls-passthrough.gateway.svc.cluster.local:443
 | 
					 | 
				
			||||||
    originRequest:
 | 
					    originRequest:
 | 
				
			||||||
      originServerName: truenas.stonegarden.dev
 | 
					      originServerName: truenas.stonegarden.dev
 | 
				
			||||||
  - hostname: "*.euclid.stonegarden.dev"
 | 
					 | 
				
			||||||
    service: https://cilium-gateway-euclid.gateway.svc.cluster.local:443
 | 
					 | 
				
			||||||
    originRequest:
 | 
					 | 
				
			||||||
      originServerName: "*.euclid.stonegarden.dev"
 | 
					 | 
				
			||||||
  - hostname: "*.stonegarden.dev"
 | 
					  - hostname: "*.stonegarden.dev"
 | 
				
			||||||
    service: https://cilium-gateway-stonegarden.gateway.svc.cluster.local:443
 | 
					    service: https://cilium-gateway-stonegarden.gateway.svc.cluster.local:443
 | 
				
			||||||
    originRequest:
 | 
					    originRequest:
 | 
				
			||||||
@@ -16,7 +16,7 @@ spec:
 | 
				
			|||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - name: cloudflared
 | 
					        - name: cloudflared
 | 
				
			||||||
          image: cloudflare/cloudflared:2024.6.1
 | 
					          image: cloudflare/cloudflared:2024.6.1 # renovate: docker=cloudflare/cloudflared
 | 
				
			||||||
          imagePullPolicy: IfNotPresent
 | 
					          imagePullPolicy: IfNotPresent
 | 
				
			||||||
          args:
 | 
					          args:
 | 
				
			||||||
            - tunnel
 | 
					            - tunnel
 | 
				
			||||||
@@ -37,17 +37,17 @@ spec:
 | 
				
			|||||||
            limits:
 | 
					            limits:
 | 
				
			||||||
              memory: 512Mi
 | 
					              memory: 512Mi
 | 
				
			||||||
          volumeMounts:
 | 
					          volumeMounts:
 | 
				
			||||||
            - name: cloudflared-config
 | 
					            - name: config
 | 
				
			||||||
              mountPath: /etc/cloudflared/config/config.yaml
 | 
					              mountPath: /etc/cloudflared/config/config.yaml
 | 
				
			||||||
              subPath: cloudflared-config.yaml
 | 
					              subPath: config.yaml
 | 
				
			||||||
            - name: tunnel-credentials
 | 
					            - name: credentials
 | 
				
			||||||
              mountPath: /etc/cloudflared/creds
 | 
					              mountPath: /etc/cloudflared/credentials
 | 
				
			||||||
              readOnly: true
 | 
					              readOnly: true
 | 
				
			||||||
      restartPolicy: Always
 | 
					      restartPolicy: Always
 | 
				
			||||||
      volumes:
 | 
					      volumes:
 | 
				
			||||||
        - name: cloudflared-config
 | 
					        - name: config
 | 
				
			||||||
          configMap:
 | 
					          configMap:
 | 
				
			||||||
            name: cloudflared-config
 | 
					            name: config
 | 
				
			||||||
        - name: tunnel-credentials
 | 
					        - name: credentials
 | 
				
			||||||
          secret:
 | 
					          secret:
 | 
				
			||||||
            secretName: tunnel-credentials
 | 
					            secretName: tunnel-credentials
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,12 +2,12 @@ apiVersion: kustomize.config.k8s.io/v1beta1
 | 
				
			|||||||
kind: Kustomization
 | 
					kind: Kustomization
 | 
				
			||||||
 | 
					
 | 
				
			||||||
configMapGenerator:
 | 
					configMapGenerator:
 | 
				
			||||||
  - name: cloudflared-config
 | 
					  - name: config
 | 
				
			||||||
    namespace: cloudflared
 | 
					    namespace: cloudflared
 | 
				
			||||||
    files:
 | 
					    files:
 | 
				
			||||||
      - cloudflared-config.yaml
 | 
					      - config.yaml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
resources:
 | 
					resources:
 | 
				
			||||||
  - ns.yaml
 | 
					  - ns.yaml
 | 
				
			||||||
  - tunnel-credentials.yaml
 | 
					  - tunnel-credentials.yaml
 | 
				
			||||||
  - daemon-set.yaml
 | 
					  - daemon-set.yaml
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user