Skip to content

Deployment with kpt using old version

This is while using the latest and greatest of kpt with a fresh:

$ GO111MODULE=on go get -v github.com/GoogleContainerTools/kpt

Additional logs

$ kpt pkg get https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent.git/build/deployment/gitlab-agent gitlab-agent
Package "gitlab-agent":
Fetching https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent@master
warning: redirecting to https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent.git/
From https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
Error: Kptfile at "https:/gitlab.com/gitlab-org/cluster-integration/gitlab-agent/build/deployment/gitlab-agent@master" has an old version ("v1alpha1") of the Kptfile schema.
Please update the package to the latest format by following https://kpt.dev/installation/migration.