This topic tells you how to upgrade from Tanzu Application Platform v1.6 to Tanzu Application Platform 1.7 or later with Artifact Metadata Repository (AMR) beta enabled. Because AMR is not enabled by default in Tanzu Application Platform v1.6, most users will not encounter this scenario. To upgrade without AMR, see Supply Chain Security Tools - Store - Upgrading.
Because AMR was in beta in Tanzu Application Platform v1.6, there are breaking changes when upgrading to Tanzu Application Platform v1.12. This section lists all the known issues and workarounds.
In the AMR Beta release, most of the AMR configurations are in line with the metadata_store
section in values.yaml
. To configure a workaround:
Remove metadata_store.amr
from the values file as seen in this example:
metadata_store:
amr:
deploy: true
graphql:
app_service_type: "ClusterIP"
Remove amr.deploy_observer: true
from values.yaml
.
Remove alias
from the amr.observer.location
config map, as seen in this example:
observer:
location: |
alias: my-cluster
In the AMR Beta release, the Alias
field was introduced in the Location
table. The Alias
field was removed from Tanzu Application Platform v1.12. To drop this field from Tanzu Application Platform v1.12:
Run the following SQL command:
ALTER TABLE artifact_locations DROP COLUMN IF EXISTS alias;