업데이트 'docs/template.md'

This commit is contained in:
2023-02-02 07:51:05 +00:00
parent b77075a46a
commit d96699b2a7

View File

@@ -95,4 +95,27 @@ objects:
・・・・ 이하 생략
```
- 필요 오브젝트를 생성하는 부분
- 이 부분에 pvc, secret, configmap, integrationconfig 등 정의
- 이 부분에 pvc, secret, configmap, integrationconfig 등 정의
## integrationconfig
> [<span style="color:yellow">"문서" </span>](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 지원