Skip to content

Commit

Permalink
fix: mcserver-name を MCServerName に rename
Browse files Browse the repository at this point in the history
  • Loading branch information
kory33 committed Mar 26, 2022
1 parent a2c8f1e commit df5634d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: cloudflared-mcserver--{{ .Values.mcserver-name }}
name: cloudflared-mcserver--{{ .Values.MCServerName }}
labels:
app: cloudflared-mcserver--{{ .Values.mcserver-name }}
app: cloudflared-mcserver--{{ .Values.MCServerName }}
appgroup: cloudflared
release-namespace: {{ Release.Namespace }}
spec:
replicas: 1
selector:
matchLabels:
app: cloudflared-mcserver--{{ .Values.mcserver-name }}
app: cloudflared-mcserver--{{ .Values.MCServerName }}
appgroup: cloudflared
template:
metadata:
labels:
app: cloudflared-mcserver--{{ .Values.mcserver-name }}
app: cloudflared-mcserver--{{ .Values.MCServerName }}
appgroup: cloudflared
env: prod
spec:
containers:
- name: cloudflared-mcserver--{{ .Values.mcserver-name }}
- name: cloudflared-mcserver--{{ .Values.MCServerName }}
image: cloudflare/cloudflared:2021.12.1
args:
- access
- tcp
- --loglevel
- debug
- --hostname
- mcserver--{{ .Values.mcserver-name }}.{{ .Values.subdomain }}.seichi.click
- mcserver--{{ .Values.MCServerName }}.{{ .Values.subdomain }}.seichi.click
- --url
- 0.0.0.0:25565
env:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: cloudflared-mcserver--{{ .Values.mcserver-name }}
name: cloudflared-mcserver--{{ .Values.MCServerName }}
spec:
type: ClusterIP
ports:
Expand All @@ -10,6 +10,6 @@ spec:
protocol: TCP
targetPort: 25565
selector:
app: cloudflared-mcserver--{{ .Values.mcserver-name }}
app: cloudflared-mcserver--{{ .Values.MCServerName }}
appgroup: cloudflared
release-namespace: {{ Release.Namespace }}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# プロキシされる先のマインクラフトサーバーの識別子。
mcserver-name: "s0"
MCServerName: "s0"
# ホスト名の seichi.click 以下のサブドメイン名。
subdomain: "tcp-network"
# この二つの設定で、プロキシ先の hostname が
Expand Down

0 comments on commit df5634d

Please sign in to comment.