Sample YAML File

Note: The information in this section is applicable for an app executable only.
--- 
apiVersion: extensions/v1beta1
kind: Deployment
metadata: 
  labels: 
    app: sampleapp
  name: sampleapp
  namespace: default
spec: 
  template: 
    metadata: 
      labels: 
        app: sampleapp
    spec: 
      containers: 
        - 
          env: 
            - 
              name: FLOGO_APP_PROPS_K8S_VOLUME
              value: "{\"volume_path\":  \"/etc/test\"}"
            - 
              name: FLOGO_APP_PROPS_ENV
              value: auto
        envFrom: 
            - 
              configMapRef: 
             -   name: first-configmap
          image: "gcr.io/<project_name>/sampleapp:latest"
          imagePullPolicy: Always
         - name: sampleapp
          volumeMounts: 
            - 
              mountPath: /etc/test
              name: test
              readOnly: true
      volumes: 
        - 
          name: test
          secret: 
            secretName: my-first-secret