remove old dns entries
This commit is contained in:
		@@ -119,69 +119,6 @@ spec:
 | 
			
		||||
      recordType: A
 | 
			
		||||
      targets:
 | 
			
		||||
        - 192.168.1.115
 | 
			
		||||
    # Raspberry Pi
 | 
			
		||||
    - dnsName: ps08rp.alexlebens.net
 | 
			
		||||
      recordTTL: 180
 | 
			
		||||
      recordType: A
 | 
			
		||||
      targets:
 | 
			
		||||
        - 192.168.1.134
 | 
			
		||||
    # Raspberry Pi
 | 
			
		||||
    - dnsName: ps09rp.alexlebens.net
 | 
			
		||||
      recordTTL: 180
 | 
			
		||||
      recordType: A
 | 
			
		||||
      targets:
 | 
			
		||||
        - 192.168.1.147
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
apiVersion: externaldns.k8s.io/v1alpha1
 | 
			
		||||
kind: DNSEndpoint
 | 
			
		||||
metadata:
 | 
			
		||||
  name: service-names
 | 
			
		||||
  namespace: {{ .Release.Namespace }}
 | 
			
		||||
  labels:
 | 
			
		||||
    app.kubernetes.io/name: service-names
 | 
			
		||||
    app.kubernetes.io/instance: {{ .Release.Name }}
 | 
			
		||||
    app.kubernetes.io/version: {{ .Chart.AppVersion }}
 | 
			
		||||
    app.kubernetes.io/component: networking
 | 
			
		||||
    app.kubernetes.io/part-of: {{ .Release.Name }}
 | 
			
		||||
spec:
 | 
			
		||||
  endpoints:
 | 
			
		||||
    # Gitea ps08rp
 | 
			
		||||
    - dnsName: gitea-ps08rp.alexlebens.net
 | 
			
		||||
      recordTTL: 180
 | 
			
		||||
      recordType: A
 | 
			
		||||
      targets:
 | 
			
		||||
        - 192.168.1.134
 | 
			
		||||
    # Gitea ps09rp
 | 
			
		||||
    - dnsName: gitea-ps09rp.alexlebens.net
 | 
			
		||||
      recordTTL: 180
 | 
			
		||||
      recordType: A
 | 
			
		||||
      targets:
 | 
			
		||||
        - 192.168.1.147
 | 
			
		||||
    # Traefik ps08rp
 | 
			
		||||
    - dnsName: traefik-ps08rp.alexlebens.net
 | 
			
		||||
      recordTTL: 180
 | 
			
		||||
      recordType: A
 | 
			
		||||
      targets:
 | 
			
		||||
        - 192.168.1.134
 | 
			
		||||
    # Treafik ps08rp
 | 
			
		||||
    - dnsName: traefik-ps09rp.alexlebens.net
 | 
			
		||||
      recordTTL: 180
 | 
			
		||||
      recordType: A
 | 
			
		||||
      targets:
 | 
			
		||||
        - 192.168.1.147
 | 
			
		||||
    # Technitium ps08rp
 | 
			
		||||
    - dnsName: technitium-ps08rp.alexlebens.net
 | 
			
		||||
      recordTTL: 180
 | 
			
		||||
      recordType: A
 | 
			
		||||
      targets:
 | 
			
		||||
        - 192.168.1.134
 | 
			
		||||
    # Technitium ps08rp
 | 
			
		||||
    - dnsName: technitium-ps09rp.alexlebens.net
 | 
			
		||||
      recordTTL: 180
 | 
			
		||||
      recordType: A
 | 
			
		||||
      targets:
 | 
			
		||||
        - 192.168.1.147        
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
apiVersion: externaldns.k8s.io/v1alpha1
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user