From c7f258aa7f858b2d5fcb099548f507e370f8a64e Mon Sep 17 00:00:00 2001 From: John Hanzu Kim Date: Thu, 19 Jun 2025 10:31:15 +0900 Subject: [PATCH 1/2] Create argocd.yaml --- smarketing-java/deployment/argocd.yaml | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 smarketing-java/deployment/argocd.yaml diff --git a/smarketing-java/deployment/argocd.yaml b/smarketing-java/deployment/argocd.yaml new file mode 100644 index 0000000..4e79018 --- /dev/null +++ b/smarketing-java/deployment/argocd.yaml @@ -0,0 +1,28 @@ +## Globally shared configuration +global: + # -- Default domain used by all components + ## Used for ingresses, certificates, SSO, notifications, etc. + ## IP는 외부에서 접근할 수 있는 ks8 node의 Public IP 또는 + ## ingress-nginx-controller 서비스의 External IP이여야 함 + domain: argo.20.249.184.228.nip.io + + # -- 특정 노드에 배포시 지정 + #nodeSelector: + #agentpool: argocd + +server: + ingress: + enabled: true + https: true + annotations: + kubernetes.io/ingress.class: nginx + tls: + - secretName: argocd-tls-secret + extraArgs: + - --insecure # ArgoCD 서버가 TLS 종료를 Ingress에 위임 + +configs: + params: + server.insecure: true # Ingress에서 TLS를 처리하므로 ArgoCD 서버는 HTTP로 통신 +certificate: + enabled: false # 자체 서명 인증서 사용 비활성화 (외부 인증서 사용 시) From 7374762c1cb0b7059ddce93fa3f5a85745ebf1aa Mon Sep 17 00:00:00 2001 From: John Hanzu Kim Date: Thu, 19 Jun 2025 10:32:12 +0900 Subject: [PATCH 2/2] Update argocd.yaml --- smarketing-java/deployment/argocd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smarketing-java/deployment/argocd.yaml b/smarketing-java/deployment/argocd.yaml index 4e79018..21a6122 100644 --- a/smarketing-java/deployment/argocd.yaml +++ b/smarketing-java/deployment/argocd.yaml @@ -17,7 +17,7 @@ server: annotations: kubernetes.io/ingress.class: nginx tls: - - secretName: argocd-tls-secret + - secretName: argocd-tls-smarketing-secret extraArgs: - --insecure # ArgoCD 서버가 TLS 종료를 Ingress에 위임