AlexsJones/gravitywell

View on GitHub
examples/common/templates/application/apache_tika.yaml

Summary

Maintainability
Test Coverage
APIVersion: "v1"
Kind: "Application"
Strategy:
  - Cluster:
      Name: "{{.clustername}}"
      Applications:
        - Application:
            Name: "kubernetes-apache-tika"
            Namespace: "tika"
            VCS:
              FileSystem: # Optional
              Git: "git@github.com:AlexsJones/kubernetes-apache-tika.git"
              #Optional tree reference selectors - use one at a time and follow format
              # refs/heads/{branchname}
              # refs/tags/{tagname}
              # refs/remotes/
              GitReference: refs/heads/master #Optional and this example just pulls master
            ActionList:
              Executions:
                - Execute:
                  Kind: "Shell"
                  Configuration:
                    Command: pwd
                    Path: ../ #Optional value
                - Execute:
                  Kind: "Shell"
                  Configuration:
                    Command: ./build_environment.sh default
                - Execute:
                  Kind: "RunActionList"
                  Configuration:
                    Path: examples/common/templates/actionlist/actionlist-deployment.yaml