You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting custom audiences for Cloud Run is at the service level and applies to all serving revisions, similar to IAM authorization membership.
after setting custom audiences and describing the service you are able to see the proper annotation for the custom audiences being set gcloud beta run services update service --add-custom-audiences=https://audience.com gcloud run services describe service --format export
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
annotations:
run.googleapis.com/custom-audiences: '["https://audience.com”]’
once a cloud run service is redeployed this is no longer set and needs to be explicitly called out in the config.json cloudrun configurations
as a potential solution determine if there are any custom audiences already defined for the service before deploy and pass them into the revision
The text was updated successfully, but these errors were encountered:
quajones
changed the title
[cloudrun] - custom audiences are being reset on goblet deploys
[cloudrun] - custom audiences are being cleared on goblet deploys
Aug 25, 2023
custom audiences: https://cloud.google.com/run/docs/configuring/custom-audiences#setting
after setting custom audiences and describing the service you are able to see the proper annotation for the custom audiences being set
gcloud beta run services update service --add-custom-audiences=https://audience.com
gcloud run services describe service --format export
once a cloud run service is redeployed this is no longer set and needs to be explicitly called out in the config.json cloudrun configurations
as a potential solution determine if there are any custom audiences already defined for the service before deploy and pass them into the revision
The text was updated successfully, but these errors were encountered: