Skip to content

Duplicate config-observability configmap in release.yaml #9460

@SISheogorath

Description

@SISheogorath

Expected Behavior

Release.yaml from https://github.com/tektoncd/pipeline/releases/tag/v1.10.0 can be installed using kustomize.

Actual Behavior

Throws an error because the configmap config-observability exists twice in there, for the same namespace tekton-pipelines.

error: accumulating resources: accumulation err='accumulating resources from 'https://github.com/tektoncd/pipeline/releases/download/v1.10.0/release.yaml': may not add resource with an already registered id: ConfigMap.v1.[noGrp]/config-observability.tekton-pipelines': evalsymlink failure on '/tmp/kustomize-2122002477/releases/download/v1.10.0/release.yaml' : lstat /tmp/kustomize-2122002477/releases: no such file or directory

Steps to Reproduce the Problem

  1. Create a kustomiation.yaml

    apiVersion: kustomize.config.k8s.io/v1beta1
    kind: Kustomization
    
    resources:
      - https://github.com/tektoncd/pipeline/releases/download/v1.10.0/release.yaml
  2. Use kubectl kustomize .

Additional Info

  • Kubernetes version: 1.35.1

    Output of kubectl version:

Client Version: v1.35.1
Kustomize Version: v5.7.1
Server Version: v1.35.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions