Skip to content

Commit

Permalink
Update: include policy and workflow in application yaml
Browse files Browse the repository at this point in the history
Signed-off-by: BinaryHB0916 <[email protected]>
  • Loading branch information
BinaryHB0916 committed Mar 30, 2022
1 parent b2c298e commit 4f7b2a0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 28 deletions.
19 changes: 18 additions & 1 deletion 12.Multi_Cluster_Demo/advanced.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,22 @@ spec:
properties:
clusterSelector:
provider: AWS
- type: override
name: override-high-availability
properties:
components:
- type: webservice
traits:
- type: scaler
properties:
replicas: 5
workflow:
ref: deploy-hello-world
steps:
- type: deploy
name: deploy-beijing
properties:
policies: ["beijing-clusters"]
- type: deploy
name: deploy-aws
properties:
policies: ["override-high-availability","topology-aws"]
13 changes: 0 additions & 13 deletions 12.Multi_Cluster_Demo/override-high-availability.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions 12.Multi_Cluster_Demo/workflow.yaml

This file was deleted.

0 comments on commit 4f7b2a0

Please sign in to comment.