Skip to content

Commit

Permalink
chore: Serviceの定義を一番上まで持ってくる
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed May 15, 2024
1 parent 41402bc commit 2f4e9da
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2f4e9da

Please sign in to comment.