From 3d6ad9c3ca6ae7d7600d2d00084ecf8fc26edeaa Mon Sep 17 00:00:00 2001 From: kaiyou Date: Sun, 5 Nov 2017 16:58:44 +0100 Subject: [PATCH] Update the kubernetes docs and warn about incompatibility with version 1.5 --- docs/kubernetes/index.rst | 4 ++ docs/kubernetes/kubernetes-mailu.yaml | 72 --------------------------- 2 files changed, 4 insertions(+), 72 deletions(-) diff --git a/docs/kubernetes/index.rst b/docs/kubernetes/index.rst index 21effb6b..c92dbe2f 100644 --- a/docs/kubernetes/index.rst +++ b/docs/kubernetes/index.rst @@ -1,6 +1,10 @@ Kubernetes setup ================ +Please note that Kubernetes setup is not yet well supported or documented, all +tests currently run on Docker Compose. The configuration has not yet been updated +to work properly with ngin authentication proxy. + Prepare the environment ----------------------- diff --git a/docs/kubernetes/kubernetes-mailu.yaml b/docs/kubernetes/kubernetes-mailu.yaml index db8d1e89..a7bafccd 100644 --- a/docs/kubernetes/kubernetes-mailu.yaml +++ b/docs/kubernetes/kubernetes-mailu.yaml @@ -255,78 +255,6 @@ spec: --- -apiVersion: extensions/v1beta1 -kind: Deployment -metadata: - name: mailu-milter -spec: - replicas: 1 - template: - metadata: - labels: - app: mailu-milter - role: mail - tier: backend - spec: - containers: - - name: milter - image: mailu/rmilter:stable - imagePullPolicy: Always - ports: - - name: milter - containerPort: 9900 - protocol: TCP - volumeMounts: - - name: maildata - mountPath: /data - - name: dkim - mountPath: /dkim - - name: overrides - mountPath: /overrides - - name: certs - mountPath: /certs - readOnly: true - volumes: - - name: maildata - hostPath: - path: /var/data/mailu/maildata - - name: overrides - hostPath: - path: /var/data/mailu/overrides - - name: dkim - hostPath: - path: /var/data/mailu/dkim - - name: certs - secret: - items: - - key: tls.crt - path: cert.pem - - key: tls.key - path: key.pem - secretName: letsencrypt-certs-all - ---- - -apiVersion: v1 -kind: Service -metadata: - name: milter - labels: - app: mailu-milter - role: mail - tier: backend -spec: - selector: - app: mailu-milter - role: mail - tier: backend - ports: - - name: milter - port: 9900 - protocol: TCP - ---- - apiVersion: extensions/v1beta1 kind: Deployment metadata: