title: |md
  # deploy w/ helm & bitnami/nginx
| {
  shape: text
  near: top-center
}

my laptop -> repo: git push
my laptop -> kubernetes: `helm upgrade`


kubernetes {
  icon: https://icons.terrastruct.com/azure%2F_Companies%2FKubernetes.svg
  ingress -> service
  service -> deployment.pod(s)

  deployment {
    pod(s) {
      git-pull -> emptyDir: mounts
      init {
        style.stroke-dash: 3
      }
      init -> emptyDir: mounts

      nginx -> emptyDir: mounts
      emptyDir { icon: https://icons.terrastruct.com/tech%2Fdiskette.svg }
    }
  }
  deployment.pod(s).nginx -> configMap: mounts
}

kubernetes.deployment.pod(s).git-pull -> repo: pull

web {
  icon: https://icons.terrastruct.com/essentials%2F140-internet.svg
}
web -> kubernetes.ingress
