From 41402bcf99a9e25a0e7571c7309974409c30b46a Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Wed, 15 May 2024 23:00:02 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20argo-wf-proxy=20=E7=94=A8=E3=81=AE?= =?UTF-8?q?=20Service=20=E3=82=92=E5=AE=9A=E7=BE=A9=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../argo-workflows-reverse-proxy.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml index f58a13c9e..9e54deded 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml @@ -30,6 +30,21 @@ spec: name: argo-wf-proxy-config-map --- apiVersion: v1 +kind: Service +metadata: + name: argo-wf-proxy + namespace: argocd +spec: + type: ClusterIP + ports: + - name: http + port: 80 + protocol: TCP + targetPort: 80 + selector: + app: argo-wf-proxy +--- +apiVersion: v1 kind: ConfigMap metadata: name: argo-wf-proxy-config-map From 2f4e9da61fe0364df74e593b7e8d78e58b3f4d2a Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Wed, 15 May 2024 23:04:16 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20Service=E3=81=AE=E5=AE=9A=E7=BE=A9?= =?UTF-8?q?=E3=82=92=E4=B8=80=E7=95=AA=E4=B8=8A=E3=81=BE=E3=81=A7=E6=8C=81?= =?UTF-8?q?=E3=81=A3=E3=81=A6=E3=81=8F=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../argo-workflows-reverse-proxy.yaml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml index 9e54deded..c2cdafc09 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml @@ -1,5 +1,20 @@ # 外部から Argo Workflows を発火するためには Cloudflared を使えば機能的には問題がないが、 # 任意のクライアントから GET を受け付けると面倒なので、POST だけに限定するためのリバースプロキシを挟む。 +apiVersion: v1 +kind: Service +metadata: + name: argo-wf-proxy + namespace: argocd +spec: + type: ClusterIP + ports: + - name: http + port: 80 + protocol: TCP + targetPort: 80 + selector: + app: argo-wf-proxy +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -30,21 +45,6 @@ spec: name: argo-wf-proxy-config-map --- apiVersion: v1 -kind: Service -metadata: - name: argo-wf-proxy - namespace: argocd -spec: - type: ClusterIP - ports: - - name: http - port: 80 - protocol: TCP - targetPort: 80 - selector: - app: argo-wf-proxy ---- -apiVersion: v1 kind: ConfigMap metadata: name: argo-wf-proxy-config-map