Image pushed to docker hub

This commit is contained in:
Chris Stuurman 2024-03-21 21:14:46 +02:00
parent d71658e83a
commit 16090e8482
6 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -16,6 +16,7 @@
*.tmp
*~
# Various IDEs
.vs
.project
.idea/
*.tmproj

View File

@ -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

View File

@ -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{