Update custom-values.yaml for modify annotations for kong

This commit is contained in:
wbsong111
2025-02-18 16:49:20 +09:00
parent f0e4ace84e
commit 17946edef5
2 changed files with 46 additions and 2 deletions
+25
View File
@@ -44,3 +44,28 @@
| server.ingress.labels | object | `{}` | Ingress에 추가할 Label을 정의합니다. | | server.ingress.labels | object | `{}` | Ingress에 추가할 Label을 정의합니다. |
| server.ingress.path | string | `"/"` | The path to Argo CD server | | server.ingress.path | string | `"/"` | The path to Argo CD server |
| server.ingress.pathType | string | `"Prefix"` | Ingress path type. One of `Exact`, `Prefix` or `ImplementationSpecific` | | 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
```
+21 -2
View File
@@ -1,2 +1,21 @@
global: server:
domain: argocd.example.org 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