title: String operation on env variables on Kubernetes
body: <p>I have a question regarding Kubernetes YAML string operations.</p>
  
  <p>I need to set an env variable based on the hostname of the container that is deployed and append a port number to this variable.</p>
  
  <pre><code> env:
      - name: MY_POD_NAME
        valueFrom:
          fieldRef:
            fieldPath: metadata.name
  </code></pre>
  
  <blockquote>
    <p>How do I create another env variable that uses MY_POD_NAME and makes
    it look like this uri://$MY_POD_NAME:9099/</p>
  </blockquote>
  
  <p>This has to be defined as an env variable.  Are there string operations allowed in Kubernetes YAML files?</p>