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: simplifies kustomize setup #88

Merged
merged 1 commit into from
Dec 5, 2023
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
20 changes: 15 additions & 5 deletions config/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../default
images:
- name: quay.io/opendatahub/odh-project-controller
newName: quay.io/opendatahub/odh-project-controller
newTag: latest
- ../rbac
- ../manager

# Adds namespace to all resources.
namespace: odh-project-controller-system

namePrefix: odh-project-controller-

commonLabels:
app: opendatahub-project-controller
app.kubernetes.io/part-of: opendatahub
kustomize.component: opendatahub-project-controller
component.opendatahub.io/name: opendatahub-project-controller
opendatahub.io/component: "true"

19 changes: 0 additions & 19 deletions config/default/kustomization.yaml

This file was deleted.

1 change: 1 addition & 0 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Kustomization
resources:
- manager.yaml
- service.yaml

images:
- name: controller
newName: quay.io/maistra-dev/odh-project-controller
Expand Down
Loading