cnoe-io / idpbuilder

Spin up a complete internal developer platform with only Docker required as a dependency.
https://cloud-native.slack.com/archives/C05TN9WFN5S
Apache License 2.0
149 stars 45 forks source link

ensure core package customizations are processed #307

Closed nabuskey closed 1 week ago

nabuskey commented 1 week ago

fixes: #298

One thing to note when overwriting argocd CMs is that you need to have the labels on the CM. Otherwise, ArgoCD will complain about not finding argocd-cm CM.

apiVersion: v1
kind: ConfigMap
metadata:
  name: argocd-cm
  labels: # these labels need to be present.
    app.kubernetes.io/name: argocd-cm 
    app.kubernetes.io/part-of: argocd
data:
  application.resourceTrackingMethod: annotation
  resource.exclusions: |
    - kinds:
        - ProviderConfigUsage
      apiGroups:
        - "*"
  timeout.reconciliation: 10s

@csantanapr ^^

csantanapr commented 1 week ago

Good catch on the labels @nabuskey

nabuskey commented 1 week ago

I also don't really see much documentation around how this feature is supposed to be invoked/used...

Is this a CLI argument to idpbuilder create?

We do need to do a better job of documenting these. See: https://github.com/cnoe-io/idpbuilder/pull/180