Update custom-values.yaml for modify annotations for kong
This commit is contained in:
@@ -44,3 +44,28 @@
|
||||
| server.ingress.labels | object | `{}` | Ingress에 추가할 Label을 정의합니다. |
|
||||
| server.ingress.path | string | `"/"` | The path to Argo CD server |
|
||||
| server.ingress.pathType | string | `"Prefix"` | Ingress path type. One of `Exact`, `Prefix` or `ImplementationSpecific` |
|
||||
|
||||
|
||||
#### Kong Ingress Controller 사용 시 필요 설정
|
||||
|
||||
- argocd를 배포할 때, kong ingress controller를 사용하면 다음과 같은 kong의 설정이 필요합니다.
|
||||
``` yaml
|
||||
server:
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations:
|
||||
# kong ingress controller 설정
|
||||
konghq.com/https-redirect-status-code: "301"
|
||||
konghq.com/preserve-host: "true"
|
||||
konghq.com/protocols: https
|
||||
hostname: argocd.example.org
|
||||
ingressClassName: "kong"
|
||||
extraTls:
|
||||
- hosts:
|
||||
- argocd.example.org
|
||||
secretName: argocd-tls
|
||||
service:
|
||||
annotations:
|
||||
# argocd에서 발생하는 too many redirect 발생 방지를 위해 추가
|
||||
konghq.com/protocol: https
|
||||
```
|
||||
@@ -1,2 +1,21 @@
|
||||
global:
|
||||
domain: argocd.example.org
|
||||
server:
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations:
|
||||
# kong ingress controller 설정
|
||||
konghq.com/https-redirect-status-code: "301"
|
||||
konghq.com/preserve-host: "true"
|
||||
konghq.com/protocols: https
|
||||
# cert manager 설정
|
||||
cert-manager.io/cluster-issuer: "selfsigned-issuer"
|
||||
cert-manager.io/duration: 8760h
|
||||
cert-manager.io/renew-before: 720h
|
||||
hostname: argocd.example.org
|
||||
ingressClassName: "kong"
|
||||
extraTls:
|
||||
- hosts:
|
||||
- argocd.example.org
|
||||
secretName: argocd-tls
|
||||
service:
|
||||
annotations:
|
||||
konghq.com/protocol: https
|
||||
Reference in New Issue
Block a user