Skip to content

Commit

Permalink
chore: update project domain
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed Oct 27, 2024
1 parent a540181 commit 9d7b3df
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: Read the docs 阅读文档
url: https://ctf.gzti.me/
url: https://gzctf.gzti.me/
about: If you haven't read the docs yet, please check it out first. 如果你还没有阅读过文档,请先查阅。
- name: Community support 社区支持
url: https://github.com/GZTimeWalker/GZCTF/discussions
Expand Down
2 changes: 1 addition & 1 deletion README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ GZ::CTF は ASP.NET Core を基づいたオープンソース CTF プラット

> [!IMPORTANT]
>
> **お使いの前にドキュメントを読むことは極めてお勧めします:[https://ctf.gzti.me/](https://ctf.gzti.me/ja)**
> **お使いの前にドキュメントを読むことは極めてお勧めします:[https://gzctf.gzti.me/](https://gzctf.gzti.me/ja)**
> [!WARNING]
>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ GZ::CTF is an open source CTF platform based on ASP.NET Core.

> [!IMPORTANT]
>
> **To save your effort, please read the documentation carefully before using: [https://ctf.gzti.me/](https://ctf.gzti.me/)**
> **To save your effort, please read the documentation carefully before using: [https://gzctf.gzti.me/](https://gzctf.gzti.me/)**
> [!WARNING]
>
Expand Down
2 changes: 1 addition & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ GZ::CTF 是一个基于 ASP.NET Core 的开源 CTF 平台。

> [!IMPORTANT]
>
> **为了避免不必要的时间浪费,使用前请详细阅读使用文档:[https://ctf.gzti.me/](https://ctf.gzti.me/zh)**
> **为了避免不必要的时间浪费,使用前请详细阅读使用文档:[https://gzctf.gzti.me/](https://gzctf.gzti.me/zh)**
> [!WARNING]
>
Expand Down
14 changes: 7 additions & 7 deletions src/GZCTF/Services/Container/Manager/KubernetesManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ public KubernetesManager(IContainerProvider<Kubernetes, KubernetesMetadata> prov
NamespaceProperty = options.Namespace,
Labels = new Dictionary<string, string>
{
["ctf.gzti.me/ResourceId"] = name,
["ctf.gzti.me/Image"] = chalImage,
["ctf.gzti.me/TeamId"] = config.TeamId,
["ctf.gzti.me/UserId"] = config.UserId.ToString(),
["ctf.gzti.me/ChallengeId"] = config.ChallengeId.ToString()
["gzctf.gzti.me/ResourceId"] = name,
["gzctf.gzti.me/Image"] = chalImage,
["gzctf.gzti.me/TeamId"] = config.TeamId,
["gzctf.gzti.me/UserId"] = config.UserId.ToString(),
["gzctf.gzti.me/ChallengeId"] = config.ChallengeId.ToString()
}
},
Spec = new V1PodSpec
Expand Down Expand Up @@ -146,13 +146,13 @@ config.Flag is null
{
Name = name,
NamespaceProperty = _meta.Config.Namespace,
Labels = new Dictionary<string, string> { ["ctf.gzti.me/ResourceId"] = name }
Labels = new Dictionary<string, string> { ["gzctf.gzti.me/ResourceId"] = name }
},
Spec = new V1ServiceSpec
{
Type = _meta.ExposePort ? "NodePort" : "ClusterIP",
Ports = [new V1ServicePort(config.ExposedPort, targetPort: config.ExposedPort)],
Selector = new Dictionary<string, string> { ["ctf.gzti.me/ResourceId"] = name }
Selector = new Dictionary<string, string> { ["gzctf.gzti.me/ResourceId"] = name }
}
};

Expand Down

0 comments on commit 9d7b3df

Please sign in to comment.