Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions add-ons/coredns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v2
name: coredns
description: A Helm chart for installing the CoreDNS
type: application

# The chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.0

# Version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: "1.0"

dependencies:
- name: coredns
version: 1.19.7
repository: https://coredns.github.io/helm
22 changes: 22 additions & 0 deletions add-ons/coredns/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
coredns:
k8sAppLabelOverride: kube-dns
priorityClassName: system-cluster-critical
service:
name: kube-dns
serviceAccount:
create: false
replicaCount: 3
podDisruptionBudget:
maxUnavailable: 1
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: k8s-app
operator: In
values:
- coredns
topologyKey: "topology.kubernetes.io/zone"
31 changes: 31 additions & 0 deletions chart/templates/coredns.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{{- if and (.Values.coredns) (.Values.coredns.enable) -}}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: coredns
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: add-ons/coredns
targetRevision: {{ .Values.targetRevision }}
helm:
values: |
coredns:
{{- toYaml .Values.coredns | nindent 10 }}
destination:
server: https://kubernetes.default.svc
namespace: kube-system
syncPolicy:
automated:
prune: true
retry:
limit: 1
backoff:
duration: 5s
factor: 2
maxDuration: 1m
{{- end -}}
9 changes: 6 additions & 3 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ certManagerCsiDriver:
clusterAutoscaler:
enable: false
serviceAccountName:

# Datadog Operator
datadogOperator:
enable: false
Expand Down Expand Up @@ -214,10 +214,13 @@ policies:

reporter:
enable: false

# NVIDIA Device Plugin Values
nvidiaDevicePlugin:
enable: false

velero:
enable: false
enable: false

coredns:
enable: false