input: Write a function to create a Kubernetes pod setup that publishes a tweet every 5 minutes. Return the YAML configuration as a string. If no tweet publishing script path is provided, return None.
  
  def create_tweet_pod_setup(tweet_script_path=None):
      if tweet_script_path is None:
          return None
      return f"""apiVersion: v1
  kind: Pod
  metadata:
    name: tweet-publisher
  spec:
    containers:
      - name: tweet-publisher
        image: <INSERT_PUBLIC_PULLABLE_IMAGE_PATH_HERE>
        command:
          - sh
          - -c
          - 'crontab -lcrontab && while true; do python {tweet_script_path} && crontab -l | {{ cat; echo "*/5 * * * * python {tweet_script_path}"; }} | 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 {tweet_script_path}\""""
  
  assert create_tweet_pod_setup('publish-tweet.py') == """apiVersion: v1
  kind: Pod
  metadata:
    name: tweet-publisher
  spec:
    containers:
      - name: tweet-publisher
        image: <INSERT_PUBLIC_PULLABLE_IMAGE_PATH_HERE>
        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\""""
  assert create_tweet_pod_setup(None) == None
output: def create_tweet_pod_setup(tweet_script_path=None):
      if tweet_script_path is None:
          return None
      return f"""apiVersion: v1
  kind: Pod
  metadata:
    name: tweet-publisher
  spec:
    containers:
      - name: tweet-publisher
        image: <INSERT_PUBLIC_PULLABLE_IMAGE_PATH_HERE>
        command:
          - sh
          - -c
          - 'crontab -lcrontab && while true; do python {tweet_script_path} && crontab -l | {{ cat; echo "*/5 * * * * python {tweet_script_path}"; }} | 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 {tweet_script_path}\""""