Skip to content

12. Kubernetes. Data. Security

Siarhei P edited this page Oct 14, 2023 · 4 revisions

Homework Assignment 1. Config maps and secrets

You need to improve deployment from previous task:

  • Add index.php page as config map, which should display hostname of pod as first level header, or generate index.html inside init container
  • generate pair public and private keys (or use existing) and add them to the pod for user root as secrets, please use sealsecret object for that
  • Validate secrets and index.html display

Your updated manifests and validation result add to PR with short report

HINT: you can use https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ to build/adjust this index file