project icon indicating copy to clipboard operation
project copied to clipboard

Using same name to cluster role resources break kustomize build

Open cedvan opened this issue 1 year ago • 3 comments

Hi,

Using same name to cluster role resources break kustomize build:

kustomization.yaml

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: my-namespace

helmCharts:
  - name: kubedb
    repo: https://charts.appscode.com/stable
    version: 2023.11.2
    namespace: my-namespace
    releaseName: kubedb
    valuesFile: config/kubedb.values.yaml
    includeCRDs: true

build with kustomize build --enable-helm . Trigger error :

Error: could not parse rnode slice into resource map: may not add resource with an already registered id: ClusterRole.v1.rbac.authorization.k8s.io/appscode:license-checker.[noNs]

cedvan avatar Nov 26 '23 23:11 cedvan

Licence checker system must be hosted by an unique external chart. Not copy his resources in each charts...

cedvan avatar Nov 28 '23 13:11 cedvan

This is still an issue with 2024.1.31

faroguy avatar Feb 05 '24 20:02 faroguy

Up !?

cedvan avatar Mar 18 '24 17:03 cedvan