Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Add support for installing a profile from a tag or path #110

Closed
aclevername opened this issue May 7, 2021 · 0 comments
Closed

Add support for installing a profile from a tag or path #110

aclevername opened this issue May 7, 2021 · 0 comments
Assignees

Comments

@aclevername
Copy link
Contributor

As part of #108 we agreed how we will implement multi-profile repos and tagging. We now need to update the controller and profile subscription to pull from these repos. We now need to update the profile subscription to match:

Version

Version (git tag) workflow:

apiVersion: weave.works/v1alpha1
kind: ProfileSubscription
metadata:
  name: foo-test
  namespace: default
spec:
  profileURL: https://github.com/weaveworks/weaveworks-profiles
  version: foo/v0.1.2

This should result in the foo directory in git tag foo/v0.1.2 being the source of truth for this profile

Branch

Branch & path base workflow:

apiVersion: weave.works/v1alpha1
kind: ProfileSubscription
metadata:
  name: bar-test
  namespace: default
spec:
  profileURL: https://github.com/weaveworks/weaveworks-profiles
  branch: main
  path: bar/

This should result in the bar directory on branch main being the source of truth for this profile

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant