title: Do I need Namespace, Secret, ServiceAccount, and ConfigMap in my ingress.yaml?
body: <p>I am practicing k8s from <a href="https://www.katacoda.com/courses/kubernetes/create-kubernetes-ingress-routes" rel="nofollow noreferrer">katacoda</a>. Currently I am working on <code>ingress.yaml</code>. This is chapter has extra kind of services come to the <code>yaml</code> file. They are <code>Namespace, Secret, ServiceAccount, and ConfigMap</code>.
  For <code>Secret</code> I can read on other chapter to understand it later.</p>
  
  <p><strong>Questions:</strong><br></p>
  
  <ol>
  <li><p>Do I need to use <code>Namespace, ServiceAccount, and ConfigMap</code> in my <code>ingress.yaml</code>?</p></li>
  <li><p>Suppose I <code>Caddy</code> to make <code>https</code>. <code>Secret</code> from the example is a hardcode. How can I achieve automatically renew after certain period?</p></li>
  </ol>