From 4dda2aefded80d9ba7da0a4fb97b6883dae65ed0 Mon Sep 17 00:00:00 2001 From: Kory Date: Mon, 18 Sep 2023 10:36:35 +0900 Subject: [PATCH] feat: pass values --- .../seichi-debug-minecrafts-on-seichiassist-prs.yaml | 5 +++++ .../values.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/seichi-debug-minecrafts-on-seichiassist-prs.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/seichi-debug-minecrafts-on-seichiassist-prs.yaml index 215e0923f..6863f7652 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/seichi-debug-minecrafts-on-seichiassist-prs.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/seichi-debug-minecrafts-on-seichiassist-prs.yaml @@ -27,6 +27,11 @@ spec: repoURL: https://github.com/GiganticMinecraft/seichi_infra.git targetRevision: main path: seichi-onp-k8s/manifests/seichi-kubernetes/seichi-debug-minecraft-on-seichiassist-pr-template + helm: + releaseName: seichi-debug-minecraft-on-seichiassist-pr-{{number}} + values: | + SeichiAssistPullRequestNumber: "{{number}}" + PullRequestBranchHeadSHA: "{{head_sha}}" destination: server: https://kubernetes.default.svc namespace: "seichi-debug-minecraft-on-seichiassist-pr-{{number}}" diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/seichi-debug-minecraft-on-seichiassist-pr-template/values.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/seichi-debug-minecraft-on-seichiassist-pr-template/values.yaml index 6f6ff6c4e..dd804e318 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/seichi-debug-minecraft-on-seichiassist-pr-template/values.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/seichi-debug-minecraft-on-seichiassist-pr-template/values.yaml @@ -2,4 +2,4 @@ SeichiAssistPullRequestNumber: null # seichiAssistPullRequestNumber で指定される Pull Request の Head SHA -PullRequestBranchHeadSha: null +PullRequestBranchHeadSHA: null