Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-1721

GitOps Operator manifests removed spec.description

    XMLWordPrintable

Details

    • False
    • False
    • Hide
      This update restores the missing description fields in CustomResourceDefinitions: ArgoCD, AppProject, Application which can cause "kubectl create" to fail. It is a regression introduced in v1.4.0.
      Show
      This update restores the missing description fields in CustomResourceDefinitions: ArgoCD, AppProject, Application which can cause "kubectl create" to fail. It is a regression introduced in v1.4.0.
    • GITOPS Sprint 213

    Description

      GitOps Operator v1.4.0 introduced a regression which removes the description fields from spec for the following CRDs:

      • argoproj.io_applications.yaml
      • argoproj.io_appprojects.yaml
      • argoproj.io_argocds.yaml

      The problem manifests itself when the following AppProject resource is created (by "kubectl create ")

      apiVersion: argoproj.io/v1alpha1
      kind: AppProject
      metadata:
        name: test-app-proj
        namespace: my-namespace
      spec:
        description: "test-app-pattern"
      

       

      AppProject fails to sync with error; for exmaple:

      $ argocd app get multicloud-gitops-hub  |grep -i error
      argoproj.io                AppProject          multicloud-gitops-hub    config-demo                                      OutOfSync  Missing        error validating data: ValidationError(AppProject.spec): unknown field "description" in io.argoproj.v1alpha1.AppProject.spec
      argoproj.io                AppProject          multicloud-gitops-hub    hub                                              OutOfSync  Missing        error validating data: ValidationError(AppProject.spec): unknown field "description" in io.argoproj.v1alpha1.AppProject.spec
      

      Attachments

        Activity

          People

            bluengop@redhat.com Borja Luengo (Inactive)
            wtam_at_redhat William Tam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: