• R/O
  • HTTP
  • SSH
  • HTTPS

grid-chef-repo: Commit

Grid環境構築用のChefリポジトリです。


Commit MetaInfo

Revision86ce4a9d76e11fbc92f456700ea25d3140657106 (tree)
Time2017-08-13 16:08:39
Authorwhitestar <whitestar@user...>
Commiterwhitestar

Log Message

adds a oauth setting example.

Change Summary

Incremental Difference

--- a/roles/devops-suite-with-ssl-on-docker.rb
+++ b/roles/devops-suite-with-ssl-on-docker.rb
@@ -192,6 +192,24 @@ override_attributes(
192192 },
193193 'docker-compose' => {
194194 'import_ca' => import_ca,
195+ # 'web_encryption_key_vault_item' => {
196+ # 'vault' => 'concourse',
197+ # 'name' => 'web_encryption_key',
198+ # 'env_context' => false,
199+ # 'key' => 'ekey', # real hash path: "/ekey"
200+ # },
201+ # 'web_oauth_client_id_vault_item' => {
202+ # 'vault' => 'concourse',
203+ # 'name' => 'web_oauth_client_id',
204+ # 'env_context' => false,
205+ # 'key' => 'cid', # real hash path: "/cid"
206+ # },
207+ # 'web_oauth_client_secret_vault_item' => {
208+ # 'vault' => 'concourse',
209+ # 'name' => 'web_oauth_client_secret',
210+ # 'env_context' => false,
211+ # 'key' => 'secret', # real hash path: "/secret"
212+ # },
195213 'config' => {
196214 # Version 1 docker-compose format
197215 'concourse-db' => {
@@ -203,6 +221,10 @@ override_attributes(
203221 'environment' => {
204222 'CONCOURSE_TLS_BIND_PORT' => '8443',
205223 'CONCOURSE_EXTERNAL_URL' => "https://#{concourse_cn}:#{concourse_port}",
224+ # OAuth for the default `main`` team
225+ #'CONCOURSE_GENERIC_OAUTH_DISPLAY_NAME' => 'GitLab',
226+ #'CONCOURSE_GENERIC_OAUTH_AUTH_URL' => "https://#{gitlab_cn}/oauth/authorize",
227+ #'CONCOURSE_GENERIC_OAUTH_TOKEN_URL' => "https://#{gitlab_cn}/oauth/token",
206228 },
207229 },
208230 'concourse-worker' => {
Show on old repository browser