more changes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -5,4 +5,4 @@ kind: Kustomization
|
||||
images:
|
||||
- name: controller
|
||||
newName: git.stinnesbeck.com/k8s/dns-operator
|
||||
newTag: v0.0.1
|
||||
newTag: v0.0.22
|
||||
|
||||
@@ -28,3 +28,4 @@ metadata:
|
||||
name: whatismyip
|
||||
spec:
|
||||
address: whatismyip.com
|
||||
resolver: fw
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user