mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-22 01:17:16 +00:00
Adds test-case for Progressing, Degraded, Healthy and Suspended, to avoid users having to update their Argo ConfigMaps by hand. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
48 lines
1.7 KiB
YAML
48 lines
1.7 KiB
YAML
{
|
|
"apiVersion": "openfaas.com/v1",
|
|
"kind": "Function",
|
|
"metadata": {
|
|
"annotations": {
|
|
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"openfaas.com/v1\",\"kind\":\"Function\",\"metadata\":{\"annotations\":{},\"name\":\"env\",\"namespace\":\"openfaas-fn\"},\"spec\":{\"annotations\":{},\"environment\":{\"fprocess\":\"env\",\"test\":\"yes\"},\"image\":\"ghcr.io/openfaas/alpine:latest\",\"labels\":{},\"name\":\"env\",\"secrets\":[\"missing-secret\"]}}\n"
|
|
},
|
|
"creationTimestamp": "2024-04-29T13:42:46Z",
|
|
"generation": 1,
|
|
"name": "env",
|
|
"namespace": "openfaas-fn",
|
|
"resourceVersion": "580675",
|
|
"uid": "7a00bc7b-eb01-4f6a-b5f7-7893422ace7d"
|
|
},
|
|
"spec": {
|
|
"annotations": {},
|
|
"environment": {
|
|
"fprocess": "env",
|
|
"test": "yes"
|
|
},
|
|
"image": "ghcr.io/openfaas/alpine:latest",
|
|
"labels": {},
|
|
"name": "env",
|
|
"secrets": [
|
|
"missing-secret"
|
|
]
|
|
},
|
|
"status": {
|
|
"conditions": [
|
|
{
|
|
"lastTransitionTime": "2024-04-29T13:42:46Z",
|
|
"message": "Function queued for creation",
|
|
"observedGeneration": 1,
|
|
"reason": "Reconciling",
|
|
"status": "True",
|
|
"type": "Reconciling"
|
|
},
|
|
{
|
|
"lastTransitionTime": "2024-04-29T13:42:46Z",
|
|
"message": "Secret missing: secrets \"missing-secret\" not found",
|
|
"observedGeneration": 1,
|
|
"reason": "SecretMissing",
|
|
"status": "True",
|
|
"type": "Stalled"
|
|
}
|
|
]
|
|
}
|
|
}
|