diff options
author | Alec Warner <antarus@gentoo.org> | 2018-12-27 11:22:34 -0500 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2018-12-27 11:22:34 -0500 |
commit | 65578ca110e916f77f73814f6092c675c26f19db (patch) | |
tree | 70554134add6570d031862a99d99527e9dd5d2c0 | |
parent | Fixup container spec. (diff) | |
download | antarus-65578ca110e916f77f73814f6092c675c26f19db.tar.gz antarus-65578ca110e916f77f73814f6092c675c26f19db.tar.bz2 antarus-65578ca110e916f77f73814f6092c675c26f19db.zip |
Fix syntax in container spec.
I pulled the REST and merged it.
Signed-off-by: Alec Warner <antarus@gentoo.org>
-rw-r--r-- | src/infra.gentoo.org/rsync.tf | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |