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

Update metacontroller #2255

Merged
merged 4 commits into from
Jul 26, 2022
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
18 changes: 18 additions & 0 deletions contrib/metacontroller/Kptfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: kpt.dev/v1
kind: Kptfile
metadata:
name: metacontroller
upstream:
type: git
git:
repo: https://github.com/kubeflow/pipelines
directory: /manifests/kustomize/third-party/metacontroller
ref: 2.0.0-alpha.3
updateStrategy: resource-merge
upstreamLock:
type: git
git:
repo: https://github.com/kubeflow/pipelines
directory: /manifests/kustomize/third-party/metacontroller
ref: 2.0.0-alpha.3
commit: fe333d49fc08f66ec867d3dd7dbd756927bf390c
16 changes: 16 additions & 0 deletions contrib/metacontroller/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Metacontroller

- [Official documentation](https://metacontroller.github.io/metacontroller/)
- [Official repoitory](https://github.com/metacontroller/metacontroller)

## Upgrade

Metacontroller is pulled from [Kubeflow Pipelines third-party folder](https://github.com/kubeflow/pipelines/tree/master/manifests/kustomize/third-party/metacontroller). To update this component specify the desired KFP version and run the following command in console from the root directory **/**:

```bash
export KFP_VERSION=2.0.0-alpha.3 # specify KFP version
kpt pkg update ./contrib/metacontroller@${KFP_VERSION}
```

Alternatively, you can copy the content from [Kubeflow Pipelines third-party folder](https://github.com/kubeflow/pipelines/tree/master/manifests/kustomize/third-party/metacontroller) by choosing the appropriate `TAG` in that repository.

2 changes: 1 addition & 1 deletion contrib/metacontroller/base/cluster-role-binding.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
metadata: # kpt-merge: /meta-controller-cluster-role-binding
name: meta-controller-cluster-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
Loading