Skip to content

Commit

Permalink
chore: add healthcheckexprs to certmanager flux ks
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <devin@buhl.casa>
  • Loading branch information
onedr0p committed Feb 20, 2025
1 parent 9b591bf commit 65c4a51
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .renovaterc.json5
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@
"semanticCommitScope": "github-action",
"commitMessageTopic": "action {{depName}}"
},
{
"matchDatasources": ["github-releases"],
"semanticCommitScope": "github-release",
"commitMessageTopic": "release {{depName}}"
},
{
"matchUpdateTypes": ["major"],
"labels": ["type/major"]
Expand All @@ -106,13 +111,13 @@
"matchDatasources": ["helm"],
"addLabels": ["renovate/helm"]
},
{
"matchDatasources": ["github-releases", "github-tags"],
"addLabels": ["renovate/github-release"]
},
{
"matchManagers": ["github-actions"],
"addLabels": ["renovate/github-action"]
},
{
"matchDatasources": ["github-releases"],
"addLabels": ["renovate/github-release"]
}
],
"customManagers": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ spec:
interval: 30m
path: ./kubernetes/apps/cert-manager/cert-manager/issuers
prune: true
healthCheckExprs:
- apiVersion: cert-manager.io/v1
kind: ClusterIssuer
failed: status.conditions.filter(e, e.type == 'Ready').all(e, e.status == 'False')
current: status.conditions.filter(e, e.type == 'Ready').all(e, e.status == 'True')
sourceRef:
kind: GitRepository
name: flux-system
Expand All @@ -55,6 +60,11 @@ spec:
dependsOn:
- name: cert-manager-issuers
namespace: cert-manager
healthCheckExprs:
- apiVersion: cert-manager.io/v1
kind: Certificate
failed: status.conditions.filter(e, e.type == 'Ready').all(e, e.status == 'False')
current: status.conditions.filter(e, e.type == 'Ready').all(e, e.status == 'True')
interval: 30m
path: ./kubernetes/apps/cert-manager/cert-manager/tls
prune: true
Expand Down

0 comments on commit 65c4a51

Please sign in to comment.