Browse Source

note on container logs/secrets

tags/0.7
Henning Jacobs 2 weeks ago
parent
commit
75e1ac783d
3 changed files with 9 additions and 0 deletions
  1. 3
    0
      deploy/deployment.yaml
  2. 4
    0
      docs/getting-started.rst
  3. 2
    0
      docs/security.rst

+ 3
- 0
deploy/deployment.yaml View File

@@ -24,6 +24,9 @@ spec:
# uncomment the following line to enable pod logs
# (disabled by default as they might consider sensitive information)
# - "--show-container-logs"
# uncomment the following line to unhide secret data
# see also https://kube-web-view.readthedocs.io/en/latest/security.html
# - "--show-secrets"
ports:
- containerPort: 8080
readinessProbe:

+ 4
- 0
docs/getting-started.rst View File

@@ -19,6 +19,10 @@ Afterwards you can open "kube-web-view" via kubectl port-forward (you might need

Now direct your browser to http://localhost:8080/

Note that pod container logs and Kubernetes secrets are hidden by default for security reasons,
you can enable them by uncommenting the respective CLI options in ``kube-web-view/deploy/deployment.yaml``.
See also :ref:`security`.

.. _Minikube: https://github.com/kubernetes/minikube
.. _kind: https://kind.sigs.k8s.io/


+ 2
- 0
docs/security.rst View File

@@ -1,3 +1,5 @@
.. _security:

=======================
Security Considerations
=======================

Loading…
Cancel
Save