scofield 2 anni fa
parent
commit
b26a3341b6
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      deploy.yaml

+ 4 - 1
deploy.yaml

@@ -29,7 +29,6 @@ spec:
       initContainers:
         - name: init
           image: hub.evbj.easou.com/dev/busybox
-          command: ["chmod","777","-R","/data"]
           command: ['sh', "-c", 'chmod 777 -R /data && mkdir -p /data/project &&  mkdir -p /data/log']
           imagePullPolicy: IfNotPresent
           volumeMounts:
@@ -99,6 +98,10 @@ metadata:
   name: book-webview-ingress
   namespace: dev
 spec:
+  tls:
+    - hosts:
+        - dev-book-webview.ieasou.cn
+      secretName: ieasou.cn
   rules:
   - host: dev-book-webview.ieasou.cn
     http: