ab7b433898
add CUSTOM-README.md
33 lines
922 B
Markdown
33 lines
922 B
Markdown
## ArgoCD 배포 설정 가이드
|
|
|
|
### Ingress Enable시 사전 필요사항
|
|
- 특정 도메인에 대한 TLS 인증서를 사용한 Ingress 배포시 해당 Namespace에 tls secret이 생성되어 있어야 합니다.
|
|
- 생성가이드
|
|
```
|
|
$ kubectl create secret tls ${TLS_NAME} --cert=tls.crt --key=tls.key -n ${NAMESPACE}
|
|
```
|
|
- cert-manager를 사용하여 tls를 발급할 경우
|
|
- custom-values.yaml 설정
|
|
```
|
|
ingress:
|
|
enabled: true
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
hosts:
|
|
- host: example.com
|
|
paths:
|
|
- /
|
|
tls:
|
|
- secretName: my-tls-secret
|
|
hosts:
|
|
- example.com
|
|
```
|
|
|
|
|
|
### custom-values.yaml
|
|
#### Global Configs
|
|
|
|
| Key | Type | Default | Description |
|
|
|-----|------|---------|-------------|
|
|
| global.domain | string | `"argocd.example.com"` | ArgoCD에서 사용할 호스트네임을 지정합니다.|
|