From d96699b2a743f9961608e4cc4fb69ed8809f2f88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B3=80=EC=A0=95=ED=9B=88?= Date: Thu, 2 Feb 2023 07:51:05 +0000 Subject: [PATCH] =?UTF-8?q?=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8=20'docs/te?= =?UTF-8?q?mplate.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/template.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/docs/template.md b/docs/template.md index 49ef39b..c660dcf 100644 --- a/docs/template.md +++ b/docs/template.md @@ -95,4 +95,27 @@ objects: ・・・・ 이하 생략 ``` - 필요 오브젝트를 생성하는 부분 -- 이 부분에 pvc, secret, configmap, integrationconfig 등 정의 \ No newline at end of file +- 이 부분에 pvc, secret, configmap, integrationconfig 등 정의 + +## integrationconfig +> ["문서" ](https://github.com/tmax-cloud/cicd-operator/blob/master/docs/integration_config.md)에 보다 더 상세한 설명이 있음 +``` + - apiVersion: cicd.tmax.io/v1 + kind: IntegrationConfig + metadata: + labels: + app: '${APP_NAME}' + name: '${APP_NAME}-config' + spec: + git: + apiUrl: 'https://${GIT_API_URL}' + repository: '${GIT_REPOSITORY}' + token: + valueFrom: + secretKeyRef: + key: token + name: '${GIT_TOKEN_SECRET}' + type: '${GIT_TYPE}' +``` +- git : 소스 코드 변경시 감지를 위한 tekton triggering, webhook 등을 위한 git 설정 +- type : gitlab, gitea, github 지원 \ No newline at end of file