Compare commits
2 Commits
2614cd2e90
...
15444ff59c
| Author | SHA1 | Date | |
|---|---|---|---|
| 15444ff59c | |||
| 742c206a43 |
@ -1,5 +1,5 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
appVersion: v0.0.5-alpha.113
|
appVersion: v0.0.6-alpha.2
|
||||||
description: Cert-Manager webhook for sthome
|
description: Cert-Manager webhook for sthome
|
||||||
name: sthome-webhook
|
name: sthome-webhook
|
||||||
version: 0.0.5-alpha.113
|
version: 0.0.6-alpha.2
|
||||||
|
|||||||
@ -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.113
|
tag: 0.0.6-alpha.2
|
||||||
#pullPolicy should be IfNotPresent. Set to Always for testing purposes
|
#pullPolicy should be IfNotPresent. Set to Always for testing purposes
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
|||||||
@ -103,7 +103,7 @@ func Execute(shell string, arg ...string) (bool, error) {
|
|||||||
stderr := NewCapturingPassThroughWriter(os.Stderr)
|
stderr := NewCapturingPassThroughWriter(os.Stderr)
|
||||||
err := cmd.Start()
|
err := cmd.Start()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
klog.Fatalf("cmd.Start() failed with '%s'\n", err)
|
klog.Errorf("cmd.Start() failed with '%s'\n", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
@ -119,10 +119,11 @@ func Execute(shell string, arg ...string) (bool, error) {
|
|||||||
|
|
||||||
err = cmd.Wait()
|
err = cmd.Wait()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
klog.Fatalf("cmd.Run() failed with %s\n", err)
|
klog.Errorf("cmd.Run() failed with %s\n", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if errStdout != nil || errStderr != nil {
|
if errStdout != nil || errStderr != nil {
|
||||||
klog.Fatalf("failed to capture stdout or stderr\n")
|
klog.Errorf("failed to capture stdout or stderr\n")
|
||||||
}
|
}
|
||||||
//outStr, errStr := string(stdout.Bytes()), string(stderr.Bytes())
|
//outStr, errStr := string(stdout.Bytes()), string(stderr.Bytes())
|
||||||
//fmt.Printf("\nout:\n%s\nerr:\n%s\n", outStr, errStr)
|
//fmt.Printf("\nout:\n%s\nerr:\n%s\n", outStr, errStr)
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
0.0.6-alpha.0
|
0.0.6-alpha.2
|
||||||
20240422-0918
|
20240528-1952
|
||||||
0
|
2
|
||||||
Loading…
Reference in New Issue
Block a user