Updated Makefile and solver_local

This commit is contained in:
Chris Stuurman 2024-04-21 21:06:49 +02:00
parent 1356c61fc0
commit 197f7c37a8
5 changed files with 10 additions and 10 deletions

View File

@ -8,7 +8,7 @@ IMAGE_NAMESPACE := ix-$(IMAGE_SHORTNAME)2
DEPLOY_DIR := deploy/$(IMAGE_SHORTNAME)
IMAGE_TAG = "0.0.3"
SHARED_DIR := //truenas/Shared_data/Chris/clusterissuer/charts
SHARED_DIR := //truenas.sthome.net/Shared_data/Chris/clusterissuer/charts
CHART_FILE := $(SHARED_DIR)/$(IMAGE_NAME)-
TMP = \Temp\gotemp

View File

@ -1,5 +1,5 @@
apiVersion: v1
appVersion: v0.0.5-alpha.111
appVersion: v0.0.5-alpha.112
description: Cert-Manager webhook for sthome
name: sthome-webhook
version: 0.0.5-alpha.111
version: 0.0.5-alpha.112

View File

@ -31,7 +31,7 @@ clusterIssuer:
image:
repository: stuurmcp/cert-manager-webhook-sthome
#repository: wstat.sthome.net:5000/cert-manager-webhook-sthome
tag: 0.0.5-alpha.111
tag: 0.0.5-alpha.112
#pullPolicy should be IfNotPresent. Set to Always for testing purposes
pullPolicy: IfNotPresent

View File

@ -108,19 +108,19 @@ func (s *LocalDNSProviderSolver) Check(DNSName string, Key string) error {
}
//klog.Info("checking DNS propagation: ", "dns: ", DNSName, ", fqdn: ", fqdn, ", key: ", Key, ", nameservers: ", DNS01Nameservers)
klog.Info("checking DNS prop: fqdn: ", fqdn)
klog.Infof("checking DNS prop: %s", fqdn)
ok, err := util.PreCheckDNS(fqdn, Key, DNS01Nameservers, DNS01CheckAuthoritative)
if err != nil {
return err
}
if !ok {
return fmt.Errorf("DNS record for %q not yet propagated", DNSName)
return fmt.Errorf("DNS record for %q not yet propagated", fqdn)
}
// klog.Info("waiting DNS record TTL to allow the DNS01 record to propagate for domain")
// time.Sleep(time.Second * time.Duration(ttl))
klog.Info("ACME DNS01 validation record propagated: ", "fqdn", fqdn)
klog.Infof("ACME DNS01 validation record propagated: %s", fqdn)
return nil
}

View File

@ -1,3 +1,3 @@
0.0.5-alpha.111
20240419-2247
111
0.0.5-alpha.112
20240421-2058
112