crooked-xylophone-19107
04/09/2024, 2:32 AMDiagnostics:
azure-native:app:ContainerApp (xxx-container-app):
error: Code="InvalidParameterValueInContainerTemplate" Message="The following field(s) are either invalid or missing. Field 'configuration.Registries.askinfosecprod.azurecr.io.PasswordSecretRef' is invalid with details: 'Invalid value: \"[secret]\": secret reference does not exist';."
I’ve already given the requirement what it needs and it seems to be not accepting that value, any clues? Appreciate it guys 🙂adventurous-butcher-54166
04/09/2024, 10:08 AMContainerApp.onfiguration.secrets
• name (secret-ref)
• value
Then you consume those secrets by referencing their name.
Seems like you're trying to use the password directly in RegistryCredentials.PasswordSecretRef
instead of creating a secret and referencing the name there...crooked-xylophone-19107
04/10/2024, 1:46 AMcrooked-xylophone-19107
04/10/2024, 2:38 AMadventurous-butcher-54166
04/10/2024, 9:18 AMcontainerregistry.listRegistryCredentialsOutput
if you have the registry within the same stack.
https://github.com/pulumi/examples/blob/master/azure-ts-containerapps/index.ts#L71-L79crooked-xylophone-19107
04/10/2024, 1:46 PM