more changes
Some checks failed
Lint / Run on Ubuntu (push) Has been cancelled
E2E Tests / Run on Ubuntu (push) Has been cancelled
Tests / Run on Ubuntu (push) Has been cancelled

This commit is contained in:
2026-04-14 07:40:25 +02:00
parent 168e9c6db2
commit d7c9e217be
10 changed files with 141 additions and 38 deletions

View File

@@ -18,6 +18,9 @@ spec:
- jsonPath: .spec.address
name: Address
type: string
- jsonPath: .spec.resolver
name: Resolver
type: string
- jsonPath: .status.ipAddresses
name: IPs
type: string
@@ -49,6 +52,10 @@ spec:
address:
description: Address to be queried for IP
type: string
resolver:
description: Resolver can be used to specify another resolver instead
of the hosts default resolver
type: string
required:
- address
type: object
@@ -131,6 +138,9 @@ spec:
type: string
title: IP Addresses
type: array
resolver:
description: Resolver used for this lookup
type: string
type: object
required:
- spec

View File

@@ -43,6 +43,11 @@ spec:
description: IPAddress is the main field for a resolver. This will
be used to run queries against.
type: string
port:
default: 53
description: Port used for dns lookup queries, will default to 53
if omitted
type: integer
required:
- ipAddress
type: object

View File

@@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: git.stinnesbeck.com/k8s/dns-operator
newTag: v0.0.1
newTag: v0.0.22

View File

@@ -28,3 +28,4 @@ metadata:
name: whatismyip
spec:
address: whatismyip.com
resolver: fw

View File

@@ -8,3 +8,13 @@ metadata:
name: cloudflare
spec:
ipAddress: 1.1.1.1
---
apiVersion: dns.stinnesbeck.com/v1
kind: Resolver
metadata:
labels:
app.kubernetes.io/name: dns-operator
app.kubernetes.io/managed-by: kustomize
name: fw
spec:
ipAddress: 192.168.168.254