Skip to content

Commit

Permalink
Merge pull request #38 from gmfrasca/mlmd-overlay
Browse files Browse the repository at this point in the history
feat(backend): Move MLMD component to its own overlay
  • Loading branch information
openshift-merge-robot authored Sep 21, 2022
2 parents e421a85 + e8882b9 commit 4394d9d
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 18 deletions.
18 changes: 0 additions & 18 deletions manifests/opendatahub/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ resources:
- ./customresourcedefinitions/scheduledworkflows.yaml

# Roles
- ./roles/kubeflow-pipelines-metadata-writer-role.yaml
- ./roles/ml-pipeline-persistenceagent-role.yaml
- ./roles/ml-pipeline-scheduledworkflow-role.yaml
- ./roles/ml-pipeline-viewer-controller-role.yaml
- ./roles/ml-pipeline.yaml
- ./roles/pipeline-runner.yaml

# Rolebindings
- ./rolebindings/kubeflow-pipelines-metadata-writer-binding.yaml
- ./rolebindings/ml-pipeline-persistenceagent-binding.yaml
- ./rolebindings/ml-pipeline-scheduledworkflow-binding.yaml
- ./rolebindings/ml-pipeline-viewer-crd-binding.yaml
Expand All @@ -25,9 +23,7 @@ resources:

# ServiceAccounts
- ./serviceaccounts/kubeflow-pipelines-container-builder.yaml
- ./serviceaccounts/kubeflow-pipelines-metadata-writer.yaml
- ./serviceaccounts/kubeflow-pipelines-viewer.yaml
- ./serviceaccounts/metadata-grpc-server.yaml
- ./serviceaccounts/ml-pipeline-persistenceagent.yaml
- ./serviceaccounts/ml-pipeline-scheduledworkflow.yaml
- ./serviceaccounts/ml-pipeline-viewer-crd-service-account.yaml
Expand All @@ -40,18 +36,13 @@ resources:
- ./configmaps/pipeline-install-config.yaml

# Deployments
- ./deployments/metadata-envoy-deployment.yaml
- ./deployments/metadata-grpc-deployment.yaml
- ./deployments/metadata-writer.yaml
- ./deployments/ml-pipeline-persistenceagent.yaml
- ./deployments/ml-pipeline-scheduledworkflow.yaml
- ./deployments/ml-pipeline-viewer-crd.yaml
- ./deployments/ml-pipeline-visualizationserver.yaml
- ./deployments/ml-pipeline.yaml

# Services
- ./services/metadata-envoy-service.yaml
- ./services/metadata-grpc-service.yaml
- ./services/ml-pipeline-visualizationserver.yaml
- ./services/ml-pipeline.yaml

Expand Down Expand Up @@ -105,15 +96,6 @@ configurations:
- params.yaml

images:
- name: metadata-envoy
newName: gcr.io/ml-pipeline/metadata-envoy
newTag: 1.7.0
- name: metadata-grpc
newName: gcr.io/tfx-oss-public/ml_metadata_store_server
newTag: 1.0.0
- name: metadata-writer
newName: quay.io/internaldatahub/metadata-writer
newTag: 1.1.0
- name: persistenceagent
newName: quay.io/internaldatahub/persistenceagent
newTag: 1.1.0
Expand Down
40 changes: 40 additions & 0 deletions manifests/opendatahub/overlays/component-mlmd/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

bases:
- ../../base

resources:
# Roles
- ./roles/kubeflow-pipelines-metadata-writer-role.yaml

# Rolebindings
- ./rolebindings/kubeflow-pipelines-metadata-writer-binding.yaml

# ServiceAccounts
- ./serviceaccounts/kubeflow-pipelines-metadata-writer.yaml
- ./serviceaccounts/metadata-grpc-server.yaml

# Deployments
- ./deployments/metadata-envoy-deployment.yaml
- ./deployments/metadata-grpc-deployment.yaml
- ./deployments/metadata-writer.yaml

# Services
- ./services/metadata-envoy-service.yaml
- ./services/metadata-grpc-service.yaml

generatorOptions:
disableNameSuffixHash: true

images:
- name: metadata-envoy
newName: gcr.io/ml-pipeline/metadata-envoy
newTag: 1.7.0
- name: metadata-grpc
newName: gcr.io/tfx-oss-public/ml_metadata_store_server
newTag: 1.0.0
- name: metadata-writer
newName: quay.io/internaldatahub/metadata-writer
newTag: 1.1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
application-crd-id: kubeflow-pipelines
name: kubeflow-pipelines-metadata-writer-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: kubeflow-pipelines-metadata-writer-role
subjects:
- kind: ServiceAccount
name: kubeflow-pipelines-metadata-writer

0 comments on commit 4394d9d

Please sign in to comment.