From e59fde7bde5948f83b58a180b02d74b077ec3190 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Tue, 8 Sep 2026 17:38:04 +0200 Subject: [PATCH] add install script --- README.md | 4 +--- install.sh | 9 +++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100755 install.sh diff --git a/README.md b/README.md index fb605e6..939a1a1 100644 --- a/README.md +++ b/README.md @@ -113,9 +113,7 @@ Die Gitea Action in `.gitea/workflows/container.yml` übernimmt Build, Push und Workload und CI-Berechtigungen werden einmalig mit einem Cluster-Administrator angelegt: ```bash -./k8s/create-invitation-secret.sh -kubectl apply -f k8s/invitation.yaml -kubectl apply -f k8s/ci-deployer.yaml +./install.sh ./k8s/create-ci-kubeconfig.sh ``` diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..4bd1efe --- /dev/null +++ b/install.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -euo pipefail + +repo_root=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) + +"${repo_root}/k8s/create-invitation-secret.sh" +kubectl apply --filename="${repo_root}/k8s/ci-deployer.yaml" +kubectl apply --filename="${repo_root}/k8s/invitation.yaml"