Image pushed to docker hub
This commit is contained in:
parent
d71658e83a
commit
16090e8482
@ -1,7 +1,5 @@
|
|||||||
FROM golang:1.21-alpine3.18 AS build_deps
|
FROM golang:1.21-alpine3.18 AS build_deps
|
||||||
|
|
||||||
ARG GROUP_NAME=api.sthome.net
|
|
||||||
|
|
||||||
RUN apk add --no-cache git
|
RUN apk add --no-cache git
|
||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
*.tmp
|
*.tmp
|
||||||
*~
|
*~
|
||||||
# Various IDEs
|
# Various IDEs
|
||||||
|
.vs
|
||||||
.project
|
.project
|
||||||
.idea/
|
.idea/
|
||||||
*.tmproj
|
*.tmproj
|
||||||
|
|||||||
@ -1,19 +1,19 @@
|
|||||||
# The GroupName here is used to identify your company or business unit that
|
# The GroupName here is used to identify your company or business unit that
|
||||||
# created this webhook.
|
# 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
|
# 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
|
# inform cert-manager of where to send ChallengePayload resources in order to
|
||||||
# solve the DNS01 challenge.
|
# solve the DNS01 challenge.
|
||||||
# This group name should be **unique**, hence using your own company's domain
|
# This group name should be **unique**, hence using your own company's domain
|
||||||
# here is recommended.
|
# here is recommended.
|
||||||
groupName: acme.mycompany.com
|
groupName: acme.sthome.net
|
||||||
|
|
||||||
certManager:
|
certManager:
|
||||||
namespace: cert-manager
|
namespace: cert-manager
|
||||||
serviceAccountName: cert-manager
|
serviceAccountName: cert-manager
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: mycompany/webhook-image
|
repository: sthome/webhook-image
|
||||||
tag: latest
|
tag: latest
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
|||||||
@ -39,9 +39,9 @@ func TestSthomeSolver_Present_Cleanup(t *testing.T) {
|
|||||||
hostname string
|
hostname string
|
||||||
record string
|
record string
|
||||||
}{
|
}{
|
||||||
{"test1.sthome.com.", "testkey1"},
|
{"test1.sthome.net.", "testkey1"},
|
||||||
{"test2.sthome.com.", "testkey2"},
|
{"test2.sthome.net.", "testkey2"},
|
||||||
{"test3.sthome.com.", "testkey3"},
|
{"test3.sthome.net.", "testkey3"},
|
||||||
}
|
}
|
||||||
for _, test := range validTestData {
|
for _, test := range validTestData {
|
||||||
err := solver.Present(&acme.ChallengeRequest{
|
err := solver.Present(&acme.ChallengeRequest{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user