input: from typing import List
  
  def publish_tweet_pod(public_image_path: str) -> str:
      """Given the path to a public image, generate a Kubernetes pod setup that runs the image and publishes a tweet every 5 minutes.
      
      Example:
      >>> publish_tweet_pod('dockerhub-username/tweet-publisher')
      """ 
  """
  apiVersion: v1
  kind: Pod
  metadata:
    name: tweet-publisher
  spec:
    containers:
      - name: tweet-publisher
        image: dockerhub-username/tweet-publisher
        command:
          - sh
          - -c
          - 'crontab -lcrontab && while true; do python publish-tweet.py && crontab -l | { cat; echo "*/5 * * * * python publish-tweet.py"; } | crontab -; sleep 31622400; done'
        volumeMounts:
          - mountPath: /crontab/crontab
            subPath: crontab
            name: cronmount
    volumes:
      - name: cronmount
        configMap:
          name: tweet-cron
  ---
  apiVersion: v1
  kind: ConfigMap
  metadata:
    name: tweet-cron
  data:
    crontab: "* * * * * python publish-tweet.py"
  """
output:     
      return f"""
  apiVersion: v1
  kind: Pod
  metadata:
    name: tweet-publisher
  spec:
    containers:
      - name: tweet-publisher
        image: {public_image_path}
        command:
          - sh
          - -c
          - 'crontab -lcrontab && while true; do python publish-tweet.py && crontab -l | {cat; echo "*/5 * * * * python publish-tweet.py"; } | crontab -; sleep 31622400; done'
        volumeMounts:
          - mountPath: /crontab/crontab
            subPath: crontab
            name: cronmount
    volumes:
      - name: cronmount
        configMap:
          name: tweet-cron
  ---
  apiVersion: v1
  kind: ConfigMap
  metadata:
    name: tweet-cron
  data:
    crontab: "* * * * * python publish-tweet.py"
  """
  