Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Fix Kustomize Fields #5982

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions pkg/resources/config/manifests/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ kind: Kustomization

# Labels to add to all resources and selectors.
labels:
- pairs:
app: camel-k
includeSelectors: true
- includeSelectors: true
pairs:
app: camel-k

resources:
- ../manager
Expand All @@ -31,8 +31,10 @@ resources:
- ../rbac
- ../rbac/namespaced

patchesStrategicMerge:
- patch-delete-user-cluster-role.yaml
patches:
- path: patch-delete-user-cluster-role.yaml
target:
kind: ClusterRole
images:
- name: docker.io/apache/camel-k
newName: docker.io/apache/camel-k
Expand Down
10 changes: 8 additions & 2 deletions pkg/resources/config/samples/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
# customizes the integration platform custom resource
# Edit the patch manually to add required configuration
#

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

resources:
- bases/camel_v1_integrationplatform.yaml
- bases/camel_v1_integrationprofile.yaml
Expand All @@ -30,5 +34,7 @@ resources:
- bases/camel_v1_kamelet.yaml
- bases/camel_v1_pipe.yaml

patchesStrategicMerge:
- patch-integration-platform.yaml
patches:
- path: patch-integration-platform.yaml
target:
kind: IntegrationPlatform
4 changes: 2 additions & 2 deletions pkg/resources/config/scorecard/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

resources:
- bases/config.yaml
patchesJson6902:
patches:
- path: patches/basic.config.yaml
target:
group: scorecard.operatorframework.io
Expand All @@ -30,4 +30,4 @@ patchesJson6902:
version: v1alpha3
kind: Configuration
name: config
# +kubebuilder:scaffold:patchesJson6902
# +kubebuilder:scaffold:patches
Loading