This topic tells you how to upgrade from Tanzu Application Platform 1.6 to Tanzu Application Platform 1.7 with Artifact Metadata Repository (AMR) beta enabled. Because AMR is not enabled by default in Tanzu Application Platform 1.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 1.6, there are breaking changes when upgrading to Tanzu Application Platform 1.7. This section lists all the known issues and workarounds.
In the AMR Beta release, most of the AMR configurations are in-line with metadata_store
section inside values.yaml
file. You must remove metadata_store.amr
from the values.yaml
file.
-
Remove
metadata_store.amr
from the values file.metadata_store: amr: deploy: true graphql: app_service_type: "ClusterIP"
-
Remove
amr.deploy_observer: true
from the values file -
Remove Alias from the
amr.observer.location
configmap
location: |
alias: my-cluster
In the AMR Beta release, the Alias
field was introduced in the Location
table. The Alias
field is removed in Tanzu Application Platform 1.7. To drop this field from Tanzu Application Platform 1.7:
- Connect to the Postgres database.
- Run the following SQL command:
ALTER TABLE artifact_locations DROP COLUMN IF EXISTS alias;