fix
This commit is contained in:
@@ -29,13 +29,13 @@ data "kustomization_overlay" "data" {
|
|||||||
patches {
|
patches {
|
||||||
target {
|
target {
|
||||||
kind = "Deployment"
|
kind = "Deployment"
|
||||||
name = "coredns-coredns"
|
name = "coredns"
|
||||||
}
|
}
|
||||||
patch = <<-EOF
|
patch = <<-EOF
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: coredns-coredns
|
name: coredns
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -6,50 +6,6 @@ metadata:
|
|||||||
name: dns
|
name: dns
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
image:
|
|
||||||
default:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: coredns/coredns
|
|
||||||
tag: 1.11.1
|
|
||||||
examples:
|
|
||||||
- pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: coredns/coredns
|
|
||||||
tag: 1.11.1
|
|
||||||
properties:
|
|
||||||
pullPolicy:
|
|
||||||
default: IfNotPresent
|
|
||||||
enum:
|
|
||||||
- Always
|
|
||||||
- Never
|
|
||||||
- IfNotPresent
|
|
||||||
type: string
|
|
||||||
registry:
|
|
||||||
default: docker.io
|
|
||||||
type: string
|
|
||||||
repository:
|
|
||||||
default: coredns/coredns
|
|
||||||
type: string
|
|
||||||
tag:
|
|
||||||
default: 1.11.1
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
sub_domain:
|
|
||||||
default: dns
|
|
||||||
examples:
|
|
||||||
- dns
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
forward:
|
|
||||||
default: 192.168.1.254
|
|
||||||
examples:
|
|
||||||
- 192.168.1.254
|
|
||||||
type: string
|
|
||||||
zones:
|
zones:
|
||||||
default: []
|
default: []
|
||||||
items:
|
items:
|
||||||
@@ -98,11 +54,55 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
forward:
|
||||||
|
default: 192.168.1.254
|
||||||
|
examples:
|
||||||
|
- 192.168.1.254
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
sub_domain:
|
||||||
|
default: dns
|
||||||
|
examples:
|
||||||
|
- dns
|
||||||
|
type: string
|
||||||
domain_name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
|
image:
|
||||||
|
default:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: coredns/coredns
|
||||||
|
tag: 1.11.1
|
||||||
|
examples:
|
||||||
|
- pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: coredns/coredns
|
||||||
|
tag: 1.11.1
|
||||||
|
properties:
|
||||||
|
pullPolicy:
|
||||||
|
default: IfNotPresent
|
||||||
|
enum:
|
||||||
|
- Always
|
||||||
|
- Never
|
||||||
|
- IfNotPresent
|
||||||
|
type: string
|
||||||
|
registry:
|
||||||
|
default: docker.io
|
||||||
|
type: string
|
||||||
|
repository:
|
||||||
|
default: coredns/coredns
|
||||||
|
type: string
|
||||||
|
tag:
|
||||||
|
default: 1.11.1
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user