forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: knative health reporting argoproj#6130 (argoproj#6131)
* add ready = false health check add additional tests Signed-off-by: Trevor Royer <[email protected]> * Fix health checks for knative resources Signed-off-by: Trevor Royer <[email protected]> * fix tests Signed-off-by: Trevor Royer <[email protected]>
- Loading branch information
1 parent
5981bd1
commit b4507d8
Showing
6 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...customizations/operator.knative.dev/KnativeEventing/testdata/progressing_ready_false.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apiVersion: operator.knative.dev/v1alpha1 | ||
kind: KnativeEventing | ||
metadata: | ||
finalizers: | ||
- delete-knative-eventing-manifest | ||
generation: 3 | ||
labels: | ||
app: knative-eventing | ||
argocd.argoproj.io/instance: knative-eventing | ||
version: 0.14.1 | ||
name: knative-eventing | ||
namespace: knative-eventing | ||
resourceVersion: "31707154" | ||
selfLink: /apis/operator.knative.dev/v1alpha1/namespaces/knative-eventing/knativeeventings/knative-eventing | ||
uid: bbcb2872-4304-4541-9811-7ce5125ceadf | ||
spec: {} | ||
status: | ||
conditions: | ||
- lastTransitionTime: "2020-04-29T04:52:05Z" | ||
status: "True" | ||
type: InstallSucceeded | ||
- lastTransitionTime: "2020-06-08T10:53:44Z" | ||
status: "False" | ||
type: Ready | ||
version: 0.14.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
..._customizations/operator.knative.dev/KnativeServing/testdata/progressing_ready_false.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
apiVersion: operator.knative.dev/v1alpha1 | ||
kind: KnativeServing | ||
metadata: | ||
finalizers: | ||
- knativeservings.operator.knative.dev | ||
- delete-knative-serving-manifest | ||
generation: 2 | ||
labels: | ||
app: knative-serving | ||
argocd.argoproj.io/instance: knative-serving | ||
version: 0.14.1 | ||
name: knative-serving | ||
namespace: knative-serving | ||
resourceVersion: "31845507" | ||
selfLink: /apis/operator.knative.dev/v1alpha1/namespaces/knative-serving/knativeservings/knative-serving | ||
uid: ccbe43aa-ad72-4c2b-a5bb-21b3815d8a9b | ||
spec: {} | ||
status: | ||
conditions: | ||
- lastTransitionTime: "2020-05-18T18:21:29Z" | ||
status: "True" | ||
type: DependenciesInstalled | ||
- lastTransitionTime: "2020-06-08T15:28:11Z" | ||
status: "True" | ||
type: DeploymentsAvailable | ||
- lastTransitionTime: "2020-05-18T18:21:29Z" | ||
status: "True" | ||
type: InstallSucceeded | ||
- lastTransitionTime: "2020-06-08T15:28:11Z" | ||
status: "False" | ||
type: Ready | ||
version: 0.14.0 |