argoproj / argocd-example-apps

Example Apps to Demonstrate Argo CD
1.58k stars 7.17k forks source link

can not create app from helm-dependency #49

Open s50600822 opened 4 years ago

s50600822 commented 4 years ago

It keeps saying Deployment.extensions "" not found :

Name:               helm-dependency
Project:            default
Server:             https://kubernetes.default.svc
Namespace:          default
URL:                https://localhost:8080/applications/helm-dependency
Repo:               https://github.com/argoproj/argocd-example-apps.git
Target:
Path:               helm-dependency
Helm Values:        values-nomaria.yaml
SyncWindow:         Sync Allowed
Sync Policy:        <none>
Sync Status:        OutOfSync from  (eba751f)
Health Status:      Missing

Operation:          Sync
Sync Revision:      eba751ff9b1914ecf9e3b30ff57cdf9757c3e989
Phase:              Failed
Start:              2020-04-29 04:49:05 +1000 AEST
Finished:           2020-04-29 04:49:05 +1000 AEST
Duration:           0s
Message:            one or more synchronization tasks are not valid

GROUP       KIND                   NAMESPACE  NAME                        STATUS     HEALTH   HOOK  MESSAGE
extensions  Deployment             default    helm-dependency-wordpress   OutOfSync  Missing        Deployment.extensions "" not found
            PersistentVolumeClaim  default    helm-dependency-wordpress   OutOfSync  Missing
            Secret                 default    helm-dependency-externaldb  OutOfSync  Missing
            Secret                 default    helm-dependency-wordpress   OutOfSync  Missing
            Service                default    helm-dependency-wordpress   OutOfSync  Missing

Adding this to values.yaml does not help

wordpress:
  fullname: myWordPress
s50600822 commented 4 years ago

I find this resolve it https://github.com/argoproj/argocd-example-apps/pull/50