From e621e6164be7b645fe76342fe38efa0c0c495093 Mon Sep 17 00:00:00 2001 From: Azuki-bar <42642269+Azuki-bar@users.noreply.github.com> Date: Fri, 24 Nov 2023 18:26:04 +0900 Subject: [PATCH] =?UTF-8?q?auto-operation=E3=81=AE=E3=83=9E=E3=83=8B?= =?UTF-8?q?=E3=83=95=E3=82=A7=E3=82=B9=E3=83=88=E6=9B=B8=E3=81=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/auto-operation/deployment.yaml | 22 +++++++++++++++++++ .../app/auto-operation/kustomization.yaml | 2 ++ infra/manifests/app/kustomization.yaml | 3 ++- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 infra/manifests/app/auto-operation/deployment.yaml create mode 100644 infra/manifests/app/auto-operation/kustomization.yaml diff --git a/infra/manifests/app/auto-operation/deployment.yaml b/infra/manifests/app/auto-operation/deployment.yaml new file mode 100644 index 00000000..2ec1a9da --- /dev/null +++ b/infra/manifests/app/auto-operation/deployment.yaml @@ -0,0 +1,22 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: auto-operation + namespace: plarail2023 +spec: + selector: + matchLabels: + app: auto-operation + template: + metadata: + labels: + app: auto-operation + spec: + containers: + - name: auto-operation + image: ghcr.io/ueckoken/plarail2023-autooperation:deployment-d17e785-1700807874 # {"$imagepolicy": "plarail2021:auto-operation"} + imagePullPolicy: Always + env: + - name: SERVER_ADDR + value: 'http://state-manager:8080' + \ No newline at end of file diff --git a/infra/manifests/app/auto-operation/kustomization.yaml b/infra/manifests/app/auto-operation/kustomization.yaml new file mode 100644 index 00000000..bb8f0130 --- /dev/null +++ b/infra/manifests/app/auto-operation/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - 'deployment.yaml' \ No newline at end of file diff --git a/infra/manifests/app/kustomization.yaml b/infra/manifests/app/kustomization.yaml index 9defe0d1..0df2a023 100644 --- a/infra/manifests/app/kustomization.yaml +++ b/infra/manifests/app/kustomization.yaml @@ -1,2 +1,3 @@ resources: - - ./emqx \ No newline at end of file + - './auto-operation' + # - ./emqx