Updated Makefile and solver_local
This commit is contained in:
parent
1356c61fc0
commit
197f7c37a8
2
Makefile
2
Makefile
@ -8,7 +8,7 @@ IMAGE_NAMESPACE := ix-$(IMAGE_SHORTNAME)2
|
|||||||
DEPLOY_DIR := deploy/$(IMAGE_SHORTNAME)
|
DEPLOY_DIR := deploy/$(IMAGE_SHORTNAME)
|
||||||
IMAGE_TAG = "0.0.3"
|
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)-
|
CHART_FILE := $(SHARED_DIR)/$(IMAGE_NAME)-
|
||||||
|
|
||||||
TMP = \Temp\gotemp
|
TMP = \Temp\gotemp
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
appVersion: v0.0.5-alpha.111
|
appVersion: v0.0.5-alpha.112
|
||||||
description: Cert-Manager webhook for sthome
|
description: Cert-Manager webhook for sthome
|
||||||
name: sthome-webhook
|
name: sthome-webhook
|
||||||
version: 0.0.5-alpha.111
|
version: 0.0.5-alpha.112
|
||||||
|
|||||||
@ -31,7 +31,7 @@ clusterIssuer:
|
|||||||
image:
|
image:
|
||||||
repository: stuurmcp/cert-manager-webhook-sthome
|
repository: stuurmcp/cert-manager-webhook-sthome
|
||||||
#repository: wstat.sthome.net:5000/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 should be IfNotPresent. Set to Always for testing purposes
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
|||||||
@ -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 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)
|
ok, err := util.PreCheckDNS(fqdn, Key, DNS01Nameservers, DNS01CheckAuthoritative)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if !ok {
|
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")
|
// klog.Info("waiting DNS record TTL to allow the DNS01 record to propagate for domain")
|
||||||
// time.Sleep(time.Second * time.Duration(ttl))
|
// 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
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
0.0.5-alpha.111
|
0.0.5-alpha.112
|
||||||
20240419-2247
|
20240421-2058
|
||||||
111
|
112
|
||||||
Loading…
Reference in New Issue
Block a user