Skip to content

Commit

Permalink
Merge pull request #5614 from woodcockjosh/ingress-dns-performance-en…
Browse files Browse the repository at this point in the history
…hancement

Performance and security enhancement for ingress-dns addon
  • Loading branch information
sharifelgamal authored Oct 15, 2019
2 parents 89bc592 + 88ea55d commit b229f66
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 357 deletions.
51 changes: 0 additions & 51 deletions deploy/addons/ingress-dns/ingress-dns-configmap.yaml

This file was deleted.

229 changes: 0 additions & 229 deletions deploy/addons/ingress-dns/ingress-dns-nginx-pod.yaml.tmpl

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@ metadata:
app.kubernetes.io/part-of: kube-system
addonmanager.kubernetes.io/mode: Reconcile
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- patch
resourceNames:
- tcp-services
- udp-services
- apiGroups:
- ""
- "extensions"
Expand All @@ -65,11 +55,11 @@ metadata:
app: minikube-ingress-dns
kubernetes.io/bootstrapping: rbac-defaults
app.kubernetes.io/part-of: kube-system
addonmanager.kubernetes.io/mode: EnsureExists
addonmanager.kubernetes.io/mode: Reconcile
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
name: minikube-ingress-dns
subjects:
- kind: ServiceAccount
name: minikube-ingress-dns
Expand All @@ -83,20 +73,21 @@ metadata:
labels:
app: minikube-ingress-dns
app.kubernetes.io/part-of: kube-system
addonmanager.kubernetes.io/mode: EnsureExists
addonmanager.kubernetes.io/mode: Reconcile
spec:
serviceAccountName: minikube-ingress-dns
hostNetwork: true
containers:
- name: minikube-ingress-dns
image: "cryptexlabs/minikube-ingress-dns:0.1.1"
image: "cryptexlabs/minikube-ingress-dns:0.2.0"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 5353
hostPort: 5353
protocol: TCP
- containerPort: 5353
hostPort: 5353
- containerPort: 53
protocol: UDP
env:
- name: DNS_PORT
value: "5353"
value: "53"
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
37 changes: 0 additions & 37 deletions deploy/addons/ingress-dns/ingress-dns-svc.yaml

This file was deleted.

Loading

0 comments on commit b229f66

Please sign in to comment.