From 65578ca110e916f77f73814f6092c675c26f19db Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Thu, 27 Dec 2018 11:22:34 -0500 Subject: Fix syntax in container spec. I pulled the REST and merged it. Signed-off-by: Alec Warner --- src/infra.gentoo.org/rsync.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infra.gentoo.org/rsync.tf b/src/infra.gentoo.org/rsync.tf index ec02b79..9709dde 100644 --- a/src/infra.gentoo.org/rsync.tf +++ b/src/infra.gentoo.org/rsync.tf @@ -46,7 +46,7 @@ resource "google_compute_instance_template" "rsync-node-template" { metadata { google-logging-enabled = "true" - gce-container-declaration = "spec:\n containers:\n - name: rsync-4\n image: us.gcr.io/gentoo-infra-dev/rsync-node:prod\n securityContext:\n privileged: true\n stdin: false\n tty: false\n restartPolicy: Always\n\n# This container declaration format is not public API and may change without notice. Please\n# use gcloud command-line tool or Google Cloud Console to run Containers on Google Compute Engine." + gcs-container-declaration = "spec:\n containers:\n - name: rsync-4\n image: us.gcr.io/gentoo-infra-dev/rsync-node:prod\n volumeMounts:\n - name: tmpfs-0\n mountPath: /srv/gentoo\n securityContext:\n privileged: true\n stdin: false\n tty: false\n restartPolicy: Always\n volumes:\n - name: tmpfs-0\n emptyDir:\n medium: Memory\n\n# This container declaration format is not public API and may change without notice. Please\n# use gcloud command-line tool or Google Cloud Console to run Containers on Google Compute Engine." } service_account { -- cgit v1.2.3-65-gdbad