Skip to content

Commit

Permalink
Merge pull request #29 from robertchoi80/main
Browse files Browse the repository at this point in the history
Reflect recent change of decapod-flow
  • Loading branch information
robertchoi80 authored Jan 3, 2022
2 parents 8848a6f + 2a2b9d2 commit 40fbf43
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
19 changes: 8 additions & 11 deletions deploy_apps/tks-ingress-controller-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@ spec:
entrypoint: deploy
arguments:
parameters:
- name: contract_id
value: "0010010a-d6cb-459b-9148-1b02ac545753"
- name: cluster_id
# Use cluster_id here
- name: site_name
value: "011b88fa-4d53-439f-9336-67845f994051"
- name: git_account
value: "tks-management"
- name: manifest_repo_url
value: ""
- name: revision
value: main
- name: tks_admin
value: "tks-admin"
- name: app_group
value: "tks-cluster"
- name: app_prefix
value: "{{=sprig.substr(0, 8, workflow.parameters.site_name)}}"

volumes:
- name: config
Expand All @@ -37,12 +34,12 @@ spec:

- - name: install-ingress-controller
templateRef:
name: tks-create-application-new
name: create-application
template: installApps
arguments:
parameters:
- name: list
value: |
[
{ "path": "ingress-nginx", "namespace": "taco-system" }
{ "app_group": "tks-cluster", "path": "ingress-nginx", "namespace": "taco-system" }
]
6 changes: 4 additions & 2 deletions deploy_apps/tks-lma-federation-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ spec:
parameters:
- name: site_name
value: "hanu-reference"
- name: app_group
value: "lma"
- name: logging_component
value: "efk"
# Replace these urls properly for your env #
- name: site_repo_url
value: "https://github.com/openinfradev/decapod-site"
- name: manifest_repo_url
value: "https://github.com/openinfradev/decapod-manifests"
- name: revision
value: "main"
- name: app_prefix
value: "{{=sprig.substr(0, 8, workflow.parameters.site_name)}}"
##########################
# For tks-info task #
##########################
Expand Down
4 changes: 2 additions & 2 deletions tks-cluster/create-usercluster-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ spec:
value: ""
- name: revision
value: "main"
- name: app_prefix
value: "{{=sprig.substr(0, 8, workflow.parameters.site_name)}}"
- name: tks_info_host
value: "tks-info.tks.svc"

Expand Down Expand Up @@ -61,7 +63,6 @@ spec:
{
"app_group": "tks-cluster",
"path": "cluster-api-aws",
"app_prefix": "{{=sprig.substr(0, 8, workflow.parameters.cluster_id)}}",
"namespace": "argo",
"target_cluster": "tks-admin"
}
Expand All @@ -82,7 +83,6 @@ spec:
{
"app_group": "tks-cluster",
"path": "kubernetes-addons",
"app_prefix": "{{=sprig.substr(0, 8, workflow.parameters.cluster_id)}}",
"namespace": "taco-system",
"target_cluster": ""
}
Expand Down

0 comments on commit 40fbf43

Please sign in to comment.