This commit is contained in:
2024-01-25 17:43:46 +01:00
parent e066715b9b
commit 0727fca591
124 changed files with 1848 additions and 1796 deletions

View File

@@ -2,11 +2,12 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: coredns-coredns
name: coredns
namespace: vynil-infra
labels:
app.kubernetes.io/managed-by: "Helm"
app.kubernetes.io/instance: "coredns"
helm.sh/chart: "coredns-1.27.1"
helm.sh/chart: "coredns-1.29.0"
k8s-app: coredns
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "CoreDNS"
@@ -31,11 +32,11 @@ spec:
app.kubernetes.io/name: coredns
app.kubernetes.io/instance: "coredns"
annotations:
checksum/config: 227befce6fdf2b7aa0d9ef5ddca758639bbf97aacfcb812a93b6a0ac0c4eb4cc
checksum/config: 0dab27d2f5ecab7eb1c5816eff68a352ab76e84b7b285c1ab1520b184d7d9b31
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]'
spec:
terminationGracePeriodSeconds: 30
serviceAccountName: coredns-coredns
serviceAccountName: coredns
dnsPolicy: Default
containers:
- name: "coredns"
@@ -83,7 +84,7 @@ spec:
volumes:
- name: config-volume
configMap:
name: coredns-coredns
name: coredns
items:
- key: Corefile
path: Corefile

View File

@@ -6,40 +6,16 @@ metadata:
name: dns
description: null
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
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
sub-domain:
default: dns
examples:
- dns
type: string
zones:
default: []
items:
@@ -88,21 +64,45 @@ options:
type: string
type: object
type: array
sub-domain:
default: dns
image:
default:
pullPolicy: IfNotPresent
registry: docker.io
repository: coredns/coredns
tag: 1.11.1
examples:
- dns
- 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
domain:
default: your-company
examples:
- your-company
type: string
forward:
default: 192.168.1.254
examples:
- 192.168.1.254
type: string
domain:
default: your-company
examples:
- your-company
type: string
dependencies: []
providers:
kubernetes: true

View File

@@ -2,11 +2,11 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: coredns-coredns
name: coredns
labels:
app.kubernetes.io/managed-by: "Helm"
app.kubernetes.io/instance: "coredns"
helm.sh/chart: "coredns-1.27.1"
helm.sh/chart: "coredns-1.29.0"
k8s-app: coredns
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "CoreDNS"
@@ -14,8 +14,8 @@ metadata:
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: coredns-coredns
name: coredns
subjects:
- kind: ServiceAccount
name: coredns-coredns
name: coredns
namespace: vynil-infra

View File

@@ -2,11 +2,11 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: coredns-coredns
name: coredns
labels:
app.kubernetes.io/managed-by: "Helm"
app.kubernetes.io/instance: "coredns"
helm.sh/chart: "coredns-1.27.1"
helm.sh/chart: "coredns-1.29.0"
k8s-app: coredns
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "CoreDNS"

View File

@@ -0,0 +1,27 @@
# Source: coredns/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns
namespace: vynil-infra
labels:
app.kubernetes.io/managed-by: "Helm"
app.kubernetes.io/instance: "coredns"
helm.sh/chart: "coredns-1.29.0"
k8s-app: coredns
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "CoreDNS"
app.kubernetes.io/name: coredns
data:
Corefile: |-
.:53 {
errors {
consolidate 5m ".* i/o timeout$" warning
consolidate 30s "^Failed to .+"
}
health {
lameduck 5s
}
ready
file /etc/coredns/toto.db toto
}

View File

@@ -3,11 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: coredns-coredns
name: coredns
namespace: vynil-infra
labels:
app.kubernetes.io/managed-by: "Helm"
app.kubernetes.io/instance: "coredns"
helm.sh/chart: "coredns-1.27.1"
helm.sh/chart: "coredns-1.29.0"
k8s-app: coredns
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "CoreDNS"

View File

@@ -2,11 +2,12 @@
apiVersion: v1
kind: Service
metadata:
name: coredns-coredns-metrics
name: coredns-metrics
namespace: vynil-infra
labels:
app.kubernetes.io/managed-by: "Helm"
app.kubernetes.io/instance: "coredns"
helm.sh/chart: "coredns-1.27.1"
helm.sh/chart: "coredns-1.29.0"
k8s-app: coredns
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "CoreDNS"

View File

@@ -2,11 +2,12 @@
apiVersion: v1
kind: Service
metadata:
name: coredns-coredns
name: coredns
namespace: vynil-infra
labels:
app.kubernetes.io/managed-by: "Helm"
app.kubernetes.io/instance: "coredns"
helm.sh/chart: "coredns-1.27.1"
helm.sh/chart: "coredns-1.29.0"
k8s-app: coredns
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "CoreDNS"