Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-56726

.gitignore shouldn't ignore files in /vendor/**/kubeconfig

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          in the logs of https://konflux-ui.apps.kflux-ocp-p01.7ayg.p1.openshiftapps.com/ns/ocp-art-tenant/applications/openshift-4-19/pipelineruns/ose-4-19-ose-ibmcloud-cluster-api-controllers-dmxpk it can be seen
      
      2025-05-27 06:03:50,001 INFO Vendoring the gomod dependencies
      2025-05-27 06:04:13,076 ERROR vendor directory changed after vendoring:
      A    vendor/sigs.k8s.io/cluster-api/util/kubeconfig/kubeconfig.go
      A    vendor/sigs.k8s.io/cluster-api/util/kubeconfig/testing.go
      A    vendor/sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig/encode.go
      A    vendor/sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig/helpers.go
      A    vendor/sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig/lock.go
      A    vendor/sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig/merge.go
      A    vendor/sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig/paths.go
      A    vendor/sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig/read.go
      A    vendor/sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig/remove.go
      A    vendor/sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig/types.go
      A    vendor/sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig/write.go
      A    vendor/sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/kubeconfig.go

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          changed files in vendor should be detected and not ignored by git

      Additional info:

          

              rh-ee-nbrubake Nolan Brubaker
              mbiarnes@redhat.com Michael Biarnes Kiefer
              None
              None
              Zhaohua Sun Zhaohua Sun
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: