From e64a3966332e59ee6c9592ca26206156f9ba8699 Mon Sep 17 00:00:00 2001 From: cialloo Date: Wed, 1 Oct 2025 14:45:51 +0800 Subject: [PATCH] Refactor Kubernetes deployment process to use manifest files and environment variable substitution --- .github/workflows/deploy.yml | 72 ++++++------------------------------ k8s/deployment.yaml | 29 +++++++++++++++ k8s/ingress.yaml | 21 +++++++++++ k8s/service.yaml | 13 +++++++ 4 files changed, 74 insertions(+), 61 deletions(-) create mode 100644 k8s/deployment.yaml create mode 100644 k8s/ingress.yaml create mode 100644 k8s/service.yaml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6ff1361..0d27bd2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,67 +49,17 @@ jobs: run: | export KUBECONFIG=kubeconfig - # Create deployment - cat <