- Print
- DarkLight
- PDF
Update Your Tenant Git Repo
Article summary
Did you find this summary helpful?
Thank you for your feedback
Greymatter uses a GitOps pipeline to control the flow of configurations. During initial tenant creation, the git repository is passed in through the CLI --git-remote flag. However, this value might change depending on organization changes. If it does, you do not need to initialize a project.
Open the k8s/sync.yaml file
Locate the Kubernetes ConfigMap definition named greymatter-sync-config.
In the data field, replace the string with the correct repository URL. For example, replace,
data: GREYMATTER_GIT_REMOTE: "git@github.com:old/repo/url"
with the new value,
data: GREYMATTER_GIT_REMOTE: "git@github.com:new/repo/url"
This example assumes an SSH URL, the same process is true for cloning over HTTPS.
Once you’ve made the change, commit them for prosperity, and re-apply the sync manifests with kubectl:
kubectl apply -f k8s/sync.yaml
Was this article helpful?