Преглед на файлове

Merge pull request #6665 from spadgett/update-console-template

Automatic merge from submit-queue.

Update web console template

Update the web console template based on changes in

https://github.com/openshift/origin/pull/17575

/assign @sdodson 
@deads2k fyi
OpenShift Merge Robot преди 7 години
родител
ревизия
46f0a28d9e
променени са 1 файла, в които са добавени 9 реда и са изтрити 2 реда
  1. 9 2
      files/origin-components/console-template.yaml

+ 9 - 2
files/origin-components/console-template.yaml

@@ -14,6 +14,7 @@ parameters:
 - name: IMAGE
   value: openshift/origin-web-console:latest
 - name: NAMESPACE
+  # This namespace cannot be changed. Only `openshift-web-console` is supported.
   value: openshift-web-console
 - name: LOGLEVEL
   value: "0"
@@ -51,6 +52,7 @@ objects:
           command:
           - "/usr/bin/origin-web-console"
           - "--audit-log-path=-"
+          - "-v=${LOGLEVEL}"
           - "--config=/var/webconsole-config/webconsole-config.yaml"
           ports:
           - containerPort: 8443
@@ -64,15 +66,20 @@ objects:
               path: /healthz
               port: 8443
               scheme: HTTPS
+          livenessProbe:
+            httpGet:
+              path: /
+              port: 8443
+              scheme: HTTPS
         nodeSelector: "${{NODE_SELECTOR}}"
         volumes:
         - name: serving-cert
           secret:
-            defaultMode: 420
+            defaultMode: 400
             secretName: webconsole-serving-cert
         - name: webconsole-config
           configMap:
-            defaultMode: 420
+            defaultMode: 440
             name: webconsole-config
 
 # to create the config for the web console