Commit e18041d
fix(kustomize): move platform-specific CRDs to shared base
Newer kustomize versions enforce a security restriction that
rejects direct file references pointing outside the kustomization
root. config/kubernetes/base and config/openshift/base both
referenced CRD files via ../../base/generated-crds/..., which
violates that restriction and caused kustomize build to silently
fail during releases (the error was swallowed because the pipeline
does not set pipefail).
Move tektondashboards and tektonaddons CRDs from their platform-
specific kustomization.yaml files into config/base/kustomization.yaml
where controller-gen already writes all generated CRDs. The extra
CRDs on each platform are harmless — their reconcilers are
platform-gated.
Signed-off-by: Jawed khelil <jkhelil@redhat.com>
Assisted-by: Claude Sonnet 4.6 (via Cursor)
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 818e85d commit e18041d
3 files changed
Lines changed: 2 additions & 2 deletions
File tree
- config
- base
- kubernetes/base
- openshift/base
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
0 commit comments