argo-cd/resource_customizations/camel.apache.org/Integration/testdata/progressing.yaml
Miguel de Barros 1e2f5987d2
feat(issue/#17003): implement camel.apache.org/Integration CRD health checks (#17004)
* feat: implement camel.apache.org/Integration CRD health checks

Added custom health checks for Camel-K Integration CRDs

Signed-off-by: mdebarros <migueld@debarros.me>

* chore: cleanup up main health.lua

Signed-off-by: mdebarros <miguel@debarros.me>

---------

Signed-off-by: mdebarros <migueld@debarros.me>
Signed-off-by: mdebarros <miguel@debarros.me>
Co-authored-by: mdebarros <migueld@debarros.me>
2024-05-30 14:35:19 +03:00

39 lines
No EOL
1.1 KiB
YAML

apiVersion: camel.apache.org/v1
kind: Integration
metadata:
annotations:
camel.apache.org/operator.id: camel-k
generation: 1
name: camelk-example
namespace: default
spec:
sources:
- content: |
from('timer:tick?period=3000')
.setBody().constant('Hello world from Camel-K')
.to('log:info')
name: camelk-example.groovy
traits: {}
status:
conditions:
- firstTruthyTime: "2024-01-26T09:13:16Z"
lastTransitionTime: "2024-01-26T09:13:16Z"
lastUpdateTime: "2024-01-26T09:13:16Z"
message: camel-k/camel-k
reason: IntegrationPlatformAvailable
status: "True"
type: IntegrationPlatformAvailable
- firstTruthyTime: "2024-01-26T09:13:19Z"
lastTransitionTime: "2024-01-26T09:13:19Z"
lastUpdateTime: "2024-01-26T09:13:19Z"
message: kit-cmkkksgve68c73e60i60
reason: IntegrationKitAvailable
status: "True"
type: IntegrationKitAvailable
- lastTransitionTime: "2024-01-26T09:13:19Z"
lastUpdateTime: "2024-01-26T09:13:19Z"
message: different controller strategy used (knative-service)
reason: CronJobNotAvailableReason
status: "False"
type: CronJobAvailable
phase: Deploying