diff options
author | Alec Warner <antarus@gentoo.org> | 2018-12-27 11:12:18 -0500 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2018-12-27 11:12:18 -0500 |
commit | 155f448d20666ef3ce3794c97e7fa6f549e8ed79 (patch) | |
tree | 5047766f47b66f80c495d87b2a9ca90bea6f4803 | |
parent | Strip the IP so we can auto-allocate an IP. (diff) | |
download | antarus-155f448d20666ef3ce3794c97e7fa6f549e8ed79.tar.gz antarus-155f448d20666ef3ce3794c97e7fa6f549e8ed79.tar.bz2 antarus-155f448d20666ef3ce3794c97e7fa6f549e8ed79.zip |
Fixup container spec.
Use :prod container.
Mark privileged.
Rename to rsync-4
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 1f56160..ec02b79 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-2\n image: us.gcr.io/gentoo-infra-dev/rsync-node\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." + 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." } service_account { |