Open cmoulliard opened 1 year ago
The workaround is to create another tanzu secret with the registry credentials and to specify it within the tap config file for the buildservice to avoid to use the shared one as kapp will override it:
buildservice:
# Dockerhub has the form kp_default_repository: "my-dockerhub-user/build-service" or kp_default_repository: "index.docker.io/my-user/build-service"
# Takes the value from the shared section by default, but can be overridden by setting a different value.
kp_default_repository: "${REGISTRY_SERVER}/${REGISTRY_OWNER}/build-service"
kp_default_repository_secret:
name: kp-default-repository-creds
namespace: ${NAMESPACE_TAP}
Issue
During the installation of TAP 1.5 with the bash script, the script creates a secret using the command
but the
secretExport
is changed when the packages are installed and yhen is not able to be exported to all the namespaces excptkpack and buildservice
Before
After
Investigation
To find the kapp which did the change, execute the following commands: