Skip to content

Commit

Permalink
update missing change during rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
robertchoi80 committed Dec 21, 2021
1 parent 896ff14 commit 8c258af
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions templates/decapod-apps/lma-uniformed-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,20 @@ spec:
- name: deploy
dag:
tasks:
- name: operator
- name: prometheus-operator
templateRef:
name: create-application
template: installApps
arguments:
parameters:
- name: list
value: |
[
{ "app_group": "lma", "path": "prometheus-operator", "namespace": "lma" }
]
dependencies: []

- name: eck-operator
templateRef:
name: create-application
template: installApps
Expand All @@ -62,10 +75,10 @@ spec:
- name: list
value: |
[
{ "app_group": "lma", "path": "prometheus-operator", "namespace": "lma" },
{ "app_group": "lma", "path": "eck-operator", "namespace": "elastic-system" },
{ "app_group": "lma", "path": "fluentbit-operator", "namespace": "lma" }
]
when: "{{workflow.parameters.logging_component}} == 'efk'"
dependencies: []

- name: logging-efk
Expand All @@ -82,7 +95,7 @@ spec:
{ "app_group": "lma", "path": "kubernetes-event-exporter", "namespace": "lma" }
]
when: "{{workflow.parameters.logging_component}} == 'efk'"
dependencies: [operator]
dependencies: [eck-operator]

- name: logging-loki
templateRef:
Expand All @@ -93,9 +106,9 @@ spec:
- name: list
value: |
[
{ "path": "loki", "namespace": "lma" },
{ "path": "promtail", "namespace": "lma" },
{ "path": "kubernetes-event-exporter", "namespace": "lma" }
{ "app_group": "lma", "path": "loki", "namespace": "lma" },
{ "app_group": "lma", "path": "promtail", "namespace": "lma" },
{ "app_group": "lma", "path": "kubernetes-event-exporter", "namespace": "lma" }
]
when: "{{workflow.parameters.logging_component}} == 'loki'"
dependencies: []
Expand All @@ -112,7 +125,7 @@ spec:
{ "app_group": "lma", "path": "thanos-config", "namespace": "lma" },
{ "app_group": "lma", "path": "prepare-etcd-secret", "namespace": "lma" }
]
dependencies: [operator]
dependencies: [prometheus-operator]

- name: prometheus
templateRef:
Expand Down

0 comments on commit 8c258af

Please sign in to comment.