From 16090e84827bbfb12a2fcd5dc756d42ba0a7ea87 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 21 Mar 2024 21:14:46 +0200 Subject: [PATCH] Image pushed to docker hub --- Dockerfile | 2 -- deploy/sthome-webhook/.helmignore | 1 + deploy/sthome-webhook/values.yaml | 6 +++--- sthome/sthome_test.go | 6 +++--- testdata/{my-custom-solver => sthome-solver}/README.md | 0 testdata/{my-custom-solver => sthome-solver}/config.json | 0 6 files changed, 7 insertions(+), 8 deletions(-) rename testdata/{my-custom-solver => sthome-solver}/README.md (100%) rename testdata/{my-custom-solver => sthome-solver}/config.json (100%) diff --git a/Dockerfile b/Dockerfile index 04c4a23..9bdd3e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM golang:1.21-alpine3.18 AS build_deps -ARG GROUP_NAME=api.sthome.net - RUN apk add --no-cache git WORKDIR /workspace diff --git a/deploy/sthome-webhook/.helmignore b/deploy/sthome-webhook/.helmignore index f0c1319..bb15161 100644 --- a/deploy/sthome-webhook/.helmignore +++ b/deploy/sthome-webhook/.helmignore @@ -16,6 +16,7 @@ *.tmp *~ # Various IDEs +.vs .project .idea/ *.tmproj diff --git a/deploy/sthome-webhook/values.yaml b/deploy/sthome-webhook/values.yaml index bc1d00e..6ecab29 100644 --- a/deploy/sthome-webhook/values.yaml +++ b/deploy/sthome-webhook/values.yaml @@ -1,19 +1,19 @@ # The GroupName here is used to identify your company or business unit that # created this webhook. -# For sthome, this may be "acme.mycompany.com". +# For sthome, this may be "acme.sthome.net". # This name will need to be referenced in each Issuer's `webhook` stanza to # inform cert-manager of where to send ChallengePayload resources in order to # solve the DNS01 challenge. # This group name should be **unique**, hence using your own company's domain # here is recommended. -groupName: acme.mycompany.com +groupName: acme.sthome.net certManager: namespace: cert-manager serviceAccountName: cert-manager image: - repository: mycompany/webhook-image + repository: sthome/webhook-image tag: latest pullPolicy: IfNotPresent diff --git a/sthome/sthome_test.go b/sthome/sthome_test.go index 7e45d6a..50fbd9c 100644 --- a/sthome/sthome_test.go +++ b/sthome/sthome_test.go @@ -39,9 +39,9 @@ func TestSthomeSolver_Present_Cleanup(t *testing.T) { hostname string record string }{ - {"test1.sthome.com.", "testkey1"}, - {"test2.sthome.com.", "testkey2"}, - {"test3.sthome.com.", "testkey3"}, + {"test1.sthome.net.", "testkey1"}, + {"test2.sthome.net.", "testkey2"}, + {"test3.sthome.net.", "testkey3"}, } for _, test := range validTestData { err := solver.Present(&acme.ChallengeRequest{ diff --git a/testdata/my-custom-solver/README.md b/testdata/sthome-solver/README.md similarity index 100% rename from testdata/my-custom-solver/README.md rename to testdata/sthome-solver/README.md diff --git a/testdata/my-custom-solver/config.json b/testdata/sthome-solver/config.json similarity index 100% rename from testdata/my-custom-solver/config.json rename to testdata/sthome-solver/config.json