-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.20.z
-
None
-
None
-
False
-
-
0
-
None
-
None
-
None
-
None
-
None
-
uShift Sprint 283
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
When installed gitops 1.18 on the MicroShift, shows the application in unknown state.
```
# oc get application
NAME SYNC STATUS HEALTH STATUS
spring-petclinic Unknown Unknown
```
The reason why it shows unknown is caused by this.
```
status:
conditions:
- lastTransitionTime: "2026-01-14T23:10:42Z"
message: 'error getting cluster by server "https://kubernetes.default.svc": server.secretkey
is missing'
type: InvalidSpecError
```
Checking the secret, it is empty.
```
# oc get secret argocd-secret
NAME TYPE DATA AGE
argocd-secret Opaque 0 7d5h
# oc get secret argocd-secret -o json | jq -r '.data'
null
```
Version-Release number of selected component (if applicable):
MicroShift 4.20
MicroShift Gitops 1.18
How reproducible:
- install gitops 1.18 on MicroShift
- create the test application as per docs
Actual results:
- failing showing the state
Expected results:
Additional info:
The 1.16 version on MicroShift 4.20 works just fine even with the secret not containing any data. Below is example with Gitops 1.16.
```
# oc get application
NAME SYNC STATUS HEALTH STATUS
spring-petclinic Synced Healthy
```
- relates to
-
USHIFT-6491 Improve gitops test
-
- In Progress
-