Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Redo how secrets are generated #1402

Merged
merged 2 commits into from
Mar 23, 2018

Conversation

jandubois
Copy link
Member

No description provided.

@jandubois jandubois force-pushed the 0s4zlOZg-redo-how-secrets-are-generated branch 3 times, most recently from 08d3528 to b4f831d Compare March 21, 2018 00:29
@jandubois jandubois requested a review from viovanov March 21, 2018 00:37
@jandubois jandubois force-pushed the 0s4zlOZg-redo-how-secrets-are-generated branch 4 times, most recently from 26e6e28 to 1266145 Compare March 21, 2018 17:51
Copy link
Member

@mook-as mook-as left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking merge due to fissile using a PR build

Jenkinsfile Outdated
@@ -63,7 +63,9 @@ void runTest(String testName) {
value = "tcp.#{domain}" if env['name'] == 'TCP_DOMAIN'
env['value'] = value.to_s

env['valueFrom']['secretKeyRef']['name'] = capsecret if env['valueFrom'] && env['valueFrom']['secretKeyRef']
if env['name'] != 'CLUSTER_ADMIN_PASSWORD' && env['name'] != 'UAA_ADMIN_CLIENT_SECRET' && env['name'] != 'UAA_CA_CERT'
env['valueFrom']['secretKeyRef']['name'] = capsecret if env['valueFrom'] && env['valueFrom']['secretKeyRef']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having a foo if bar inside a if … seems kind of weird. (But I would have also done something like unless %w(CLUSTER_ADMIN_PASSWORD UAA_ADMIN_CLIENT_SECRET UAA_CA_CERT).include? env['name'] or a case statement)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in c6581db

@@ -7,7 +7,7 @@ set -vx
SCF_BIN_DIR="${SCF_BIN_DIR:-output/bin}"

# Tool locations
s3="https://cf-opensusefs2.s3.amazonaws.com/fissile"
s3="https://cf-opensusefs2.s3.amazonaws.com/fissile/checks"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Reminder to not merge with the checks in place)

@jandubois jandubois force-pushed the 0s4zlOZg-redo-how-secrets-are-generated branch 2 times, most recently from 338b3bd to e3c4d6e Compare March 23, 2018 00:20
@jandubois jandubois force-pushed the 0s4zlOZg-redo-how-secrets-are-generated branch from e3c4d6e to 1d4c201 Compare March 23, 2018 00:32
@mook-as mook-as merged commit a7da5e0 into develop Mar 23, 2018
@jandubois jandubois deleted the 0s4zlOZg-redo-how-secrets-are-generated branch May 16, 2018 21:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants