Commit 0157cb36 authored by John Skarbek's avatar John Skarbek
Browse files

Merge branch 'jts/gstg-delay-start' into 'master'

Add delay-start container logs to stackdriver

See merge request !2818
parents 870b723b faff163b
......@@ -2201,6 +2201,15 @@ resource "google_logging_project_sink" "gke-gitlab-nginx-stderr" {
unique_writer_identity = "true"
}
# Send all stdout logs from our NGINX Ingresses initContainer `delay-start` to StackDriver
resource "google_logging_project_sink" "gke-gitlab-nginx-delay-start" {
name = "gke-gitlab-nginx-delay-start"
destination = "logging.googleapis.com/projects/${var.project}/locations/global/buckets/_Default"
filter = "resource.type = \"k8s_container\" labels.\"k8s-pod/app\" = \"nginx-ingress\" resource.labels.container_name = \"delay-start\""
unique_writer_identity = "true"
}
##################################
#
# Ansible Service Account
......
Markdown is supported
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