KubeDNS template should not suffix with .yml.j2

This commit is contained in:
Wong Hoi Sing Edison
2018-02-05 16:26:54 +08:00
parent bd1f0bcfd7
commit 4ad53339f6
6 changed files with 16 additions and 16 deletions

View File

@@ -0,0 +1,22 @@
---
apiVersion: v1
kind: Service
metadata:
name: kube-dns
namespace: {{ system_namespace }}
labels:
k8s-app: kube-dns
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/name: "KubeDNS"
spec:
selector:
k8s-app: kube-dns
clusterIP: {{ skydns_server }}
ports:
- name: dns
port: 53
protocol: UDP
- name: dns-tcp
port: 53
protocol: TCP