fix: guard against missing healthcheck config
Also add support for liveness and readiness probes.
This commit is contained in:
1 parent
a64e9514ee
commit
1d99e0bc6e
3 files changed
+12
-4
No files matched your search
@@ -115,7 +115,7 @@ type WaitForPodToExistInput struct {
|
||||
LabelSelector string
|
||||
}
|
||||
|
||||
func applyClusterIssuers(ctx context.Context, appName string) error {
|
||||
func applyClusterIssuers(ctx context.Context) error {
|
||||
chartDir, err := os.MkdirTemp("", "cluster-issuer-chart-")
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error creating cluster-issuer chart directory: %w", err)
|
||||
@@ -126,7 +126,7 @@ func applyClusterIssuers(ctx context.Context, appName string) error {
|
||||
chart := &Chart{
|
||||
ApiVersion: "v2",
|
||||
AppVersion: "1.0.0",
|
||||
Name: appName,
|
||||
Name: "cluster-issuers",
|
||||
Version: "0.0.1",
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user