From 4d6d06571877e78ffb6be1750adda4616c79f7bb Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Sat, 15 Dec 2018 11:39:32 +1100 Subject: [PATCH] update to v0.0.2 of credhub-webui --- README.md | 6 +++++- config/blobs.yml | 4 ++-- get_blobs.sh | 2 +- manifests/deployment.yml | 13 ++++++++----- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 196b183..fd9399c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,11 @@ git clone https://github.com/shreddedbacon/credhub-webui-boshrelease.git credhub ``` ## Deploy ``` -bosh -d credhub-webui deploy manifests/deployment.yml +bosh -d credhub-webui deploy manifests/deployment.yml \ + -v credhub_webui_hostname=credhubwebui.local \ + -v credhub_client_id=credhub \ + -v credhub_client_secret=secret \ + -v credhub_server=https://credhubserver.local:8844 ``` ## List Instances ``` diff --git a/config/blobs.yml b/config/blobs.yml index 6f09402..3d0ca66 100644 --- a/config/blobs.yml +++ b/config/blobs.yml @@ -1,3 +1,3 @@ credhub-webui/credhub-webui-linux-0.0.2.tgz: - size: 9 - sha: d205cbd6783332a212c5ae92d73c77178c2d2f28 + size: 5056339 + sha: 14798f6144ffe2b714e68cb5050266dbcf57a2b3 diff --git a/get_blobs.sh b/get_blobs.sh index 8046519..2bb834f 100755 --- a/get_blobs.sh +++ b/get_blobs.sh @@ -9,5 +9,5 @@ fi if [ ! -d .downloads ]; then mkdir -p .downloads fi -curl -L https://github.com/shreddedbacon/credhub-webui/releases/download/v$VERSION/credhub-webui-linux-$VERSION.tgz > .downloads/credhub-webui-linux-$VERSION.tgz +curl -L https://github.com/shreddedbacon/credhub-webui/releases/download/v$VERSION/credhub-webui-linux-$VERSION.tar.gz > .downloads/credhub-webui-linux-$VERSION.tgz bosh add-blob .downloads/credhub-webui-linux-$VERSION.tgz credhub-webui/credhub-webui-linux-$VERSION.tgz diff --git a/manifests/deployment.yml b/manifests/deployment.yml index e0c120a..2c95edf 100644 --- a/manifests/deployment.yml +++ b/manifests/deployment.yml @@ -3,9 +3,9 @@ name: credhub-webui releases: - name: credhub-webui - version: "0.0.1" - sha1: "2b11b1985106a68effae0ec2550ec624cbd9e713" - url: "https://github.com/shreddedbacon/credhub-webui-boshrelease/releases/download/v0.0.1/credhub-webui-boshrelease-0.0.1.tgz" + version: "0.0.2" + sha1: "62dc76828407918fa60855a7b8af5153b4c27205" + url: "https://github.com/shreddedbacon/credhub-webui-boshrelease/releases/download/v0.0.2/credhub-webui-boshrelease-0.0.2.tgz" stemcells: - os: ubuntu-trusty @@ -25,7 +25,10 @@ instance_groups: - name: credhub-webui release: credhub-webui properties: - credhub_server: "https://192.168.50.6:8844" + credhub_server: "((credhub_server))" + ui_url: "https://((credhub_webui_hostname)):8443" + client_id: ((credhub_client_id)) + client_secret: ((credhub_client__secret)) ssl: certificate: ((credhub_webui_tls.certificate)) key: ((credhub_webui_tls.private_key)) @@ -35,7 +38,7 @@ variables: type: certificate options: self_sign: true - common_name: credhub-webui.local + common_name: ((credhub_webui_hostname)) alternative_names: [localhost] update: