Skip to content

Instantly share code, notes, and snippets.

@vito
Created December 6, 2017 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vito/44cdf3aafcf4ba06349e24e8c21135eb to your computer and use it in GitHub Desktop.
Save vito/44cdf3aafcf4ba06349e24e8c21135eb to your computer and use it in GitHub Desktop.
diff --git a/manifests/single-vm.yml b/manifests/single-vm.yml
index 89b589ab..84557788 100644
--- a/manifests/single-vm.yml
+++ b/manifests/single-vm.yml
@@ -30,13 +32,19 @@ instance_groups:
database: atc
role:
name: atc
password: dummy-password
no_really_i_dont_want_any_auth: true
+ token_signing_key: ((token_signing_key))
+
- release: concourse
name: tsa
- properties: {log_level: debug}
+ properties:
+ log_level: debug
+ host_key: ((tsa_host_key))
+ token_signing_key: ((token_signing_key))
+ authorized_keys: [((worker_key.public_key))]
- release: postgres
name: postgres
@@ -47,15 +55,18 @@ instance_groups:
- name: atc
roles:
- name: atc
password: dummy-password
- release: concourse
name: groundcrew
- properties: {drain_timeout: 10m}
+ properties:
+ drain_timeout: 10m
+ tsa: {worker_key: ((worker_key))}
- release: concourse
name: baggageclaim
properties: {log_level: debug}
- release: garden-runc
name: garden
@@ -65,6 +76,16 @@ instance_groups:
listen_address: 0.0.0.0:7777
allow_host_access: true
+variables:
+- name: token_signing_key
+ type: rsa
+- name: tsa_host_key
+ type: ssh
+- name: worker_key
+ type: ssh
+
stemcells:
- alias: trusty
os: ubuntu-trusty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment