Browse Source

Added Volume to Netmaker-backend container spec

The volume for the DNS config was not included in the netmaker-backend container spec.  This caused the coredns container to continually fail.
aaronspruit 4 năm trước cách đây
mục cha
commit
7857d26cce
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      kube/netmaker-template.yaml

+ 3 - 0
kube/netmaker-template.yaml

@@ -65,6 +65,9 @@ spec:
           value: "Kubernetes"
         - name: CORS_ALLOWED_ORIGIN
           value: "*"
+        volumeMounts:
+        - name: nm-pvc
+          mountPath: /root/config/dnsconfig
       - name: rqlite
         image: rqlite/rqlite
         ports: