FAQ | This is a LIVE service | Changelog

Commit 8dc7b907 authored by Dr Rich Wareham's avatar Dr Rich Wareham
Browse files

WIP

parent 3fdd4024
Pipeline #65459 passed with stage
in 47 seconds
......@@ -29,6 +29,9 @@ resource "google_cloud_run_service" "webapp" {
metadata {
annotations = merge(
{
"serving.knative.dev/creator" : "placeholder",
"serving.knative.dev/lastModifier" : "placeholder",
# As mentioned at https://www.terraform.io/docs/configuration/resources.html#ignore_changes
# placeholders need to be created as the adding the key to the map is
# considered a change and not ignored by ignore_changes. This needs to
......@@ -71,6 +74,7 @@ resource "google_cloud_run_service" "webapp" {
"client.knative.dev/user-image" = "placeholder"
"run.googleapis.com/client-name" = "placeholder"
"run.googleapis.com/client-version" = "placeholder"
"run.googleapis.com/sandbox" = "placeholder"
},
# Annotations which are only set if there is a Cloud SQL instance:
......@@ -137,6 +141,10 @@ resource "google_cloud_run_service" "webapp" {
template[0].metadata[0].annotations["client.knative.dev/user-image"],
template[0].metadata[0].annotations["run.googleapis.com/client-name"],
template[0].metadata[0].annotations["run.googleapis.com/client-version"],
template[0].metadata[0].annotations["run.googleapis.com/sandbox"],
metadata[0].annotations["serving.knative.dev/creator"],
metadata[0].annotations["serving.knative.dev/lastModifier"],
# If the allowed ingress variable is specified, ignore feedback about
# its status. We cannot make the presence of this ignore be dependent on
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment