Skip to content

Commit

Permalink
chore: simplifies kustomize setup (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszmajsak authored Dec 5, 2023
1 parent af3d593 commit 1cee7e0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 24 deletions.
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

0 comments on commit 1cee7e0

Please sign in to comment.