From c0101a5b392b3b480952244d156587efbdddacdc Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 13 Jan 2025 14:44:58 +0100 Subject: [PATCH] adjust --- .woodpecker.yml | 2 +- deployment/deploy-yml.tmpl | 24 ++++++++++++------------ deployment/deploy.sh | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 502af22..2359c95 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -10,7 +10,7 @@ steps: from_secret: container_registry_username password: from_secret: container_registry_password - build-args: "BASE_URL=https://minimal-setups.hottis.de, RELEASETAG=${CI_COMMIT_SHA}" + build-args: "BASE_URL=https://minimal-setups.de, RELEASETAG=${CI_COMMIT_SHA}" dockerfile: Dockerfile when: diff --git a/deployment/deploy-yml.tmpl b/deployment/deploy-yml.tmpl index 18cdcdf..fbb8542 100644 --- a/deployment/deploy-yml.tmpl +++ b/deployment/deploy-yml.tmpl @@ -1,21 +1,21 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: hugo-build-and-serve-env + name: minimal-setups labels: - app: hugo-build-and-serve-env + app: minimal-setups spec: replicas: 1 selector: matchLabels: - app: hugo-build-and-serve-env + app: minimal-setups template: metadata: labels: - app: hugo-build-and-serve-env + app: minimal-setups spec: containers: - - name: hugo-build-and-serve-env + - name: minimal-setups image: %IMAGE% ports: - containerPort: 8080 @@ -24,11 +24,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: hugo-build-and-serve-env + name: minimal-setups spec: type: ClusterIP selector: - app: hugo-build-and-serve-env + app: minimal-setups ports: - name: http targetPort: 8080 @@ -37,23 +37,23 @@ spec: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: hugo-build-and-serve-env + name: minimal-setups annotations: cert-manager.io/cluster-issuer: letsencrypt-production-http spec: tls: - hosts: - - minimal-setups.hottis.de - secretName: hugo-build-and-serve-env-cert + - minimal-setups.de + secretName: minimal-setups rules: - - host: minimal-setups.hottis.de + - host: minimal-setups.de http: paths: - path: / pathType: Prefix backend: service: - name: hugo-build-and-serve-env + name: minimal-setups port: number: 80 diff --git a/deployment/deploy.sh b/deployment/deploy.sh index b16d367..1a5b78c 100755 --- a/deployment/deploy.sh +++ b/deployment/deploy.sh @@ -6,7 +6,7 @@ if [ "$IMAGE_TAG" == "" ]; then fi -IMAGE_NAME=gitea.hottis.de/wn/hugo-build-and-serve-env +IMAGE_NAME=gitea.hottis.de/wn/minimal-setups NAMESPACE=homepages DEPLOYMENT_DIR=$PWD/deployment