Skip to content

Commit

Permalink
Merge pull request #23 from openinfradev/reduce_cluster_creation_time
Browse files Browse the repository at this point in the history
사용자 클러스터 생성 시간 단축
  • Loading branch information
seungkyua authored Oct 27, 2021
2 parents 05fc34b + 8ea867c commit 1957d5e
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 6 deletions.
48 changes: 48 additions & 0 deletions deploy_apps/tks-ingress-controller-wftpl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
name: tks-install-ingress-controller
namespace: argo
spec:
entrypoint: deploy
arguments:
parameters:
- name: contract_id
value: "0010010a-d6cb-459b-9148-1b02ac545753"
- name: cluster_id
value: "011b88fa-4d53-439f-9336-67845f994051"
- name: git_account
value: "tks-management"
- name: revision
value: main
- name: tks_admin
value: "tks-admin"
- name: app_group
value: "tks-cluster"

volumes:
- name: config
secret:
secretName: tks-admin-kubeconfig-secret
namespace: argo
- name: artifacts
configMap:
name: aws-artifacts
namespace: argo
defaultMode: 0555

templates:
- name: deploy
steps:

- - name: install-ingress-controller
templateRef:
name: tks-create-application-new
template: installApps
arguments:
parameters:
- name: list
value: |
[
{ "path": "ingress-nginx", "namespace": "taco-system" }
]
6 changes: 0 additions & 6 deletions tks-cluster/create-usercluster-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ spec:
- - name: wait-for-clster-to-be-registered
template: wait-for-cluster-registration

- - name: prepare-additional-aws-infra
templateRef:
name: aws-infrastructure
template: AddAwsInfra

- - name: install-cni-and-csi
templateRef:
name: tks-create-application-new
Expand All @@ -66,7 +61,6 @@ spec:
- name: list
value: |
[
{ "path": "ingress-nginx", "namespace": "taco-system" },
{ "path": "kubernetes-addons", "namespace": "taco-system" }
]
Expand Down

0 comments on commit 1957d5e

Please sign in to comment.