Skip to content

WIP: bundle-secret cmd#1518

Merged
openshift-bot merged 1 commit intoopenshift:masterfrom
sallyom:bundle_secret
Apr 15, 2015
Merged

WIP: bundle-secret cmd#1518
openshift-bot merged 1 commit intoopenshift:masterfrom
sallyom:bundle_secret

Conversation

@sallyom
Copy link
Contributor

@sallyom sallyom commented Mar 31, 2015

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

the code should take any random directory, so fix up the comment and naming to just be 'dir'

Copy link
Member

Choose a reason for hiding this comment

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

i prefer the use of flags instead of arguments.

openshift ex bundle-secret -f <myfolder> -option1 .. -option2 ...

Things to think about:

what is the api version format you will use when outputting the secret (v1beta1,2,3, etc.)

@sallyom sallyom force-pushed the bundle_secret branch 3 times, most recently from 7a40716 to fd98a45 Compare April 2, 2015 22:08
@derekwaynecarr
Copy link
Member

Will review and leave comments. Thanks!

Sent from my iPhone

On Apr 2, 2015, at 6:10 PM, sallyom notifications@github.com wrote:

@derekwaynecarr it appears to be working


Reply to this email directly or view it on GitHub.

Copy link
Member

Choose a reason for hiding this comment

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

bundle-secret NAME -f FILENAME

@sallyom sallyom force-pushed the bundle_secret branch 7 times, most recently from a0a5ef6 to 36d88bf Compare April 10, 2015 10:02
Copy link
Contributor

Choose a reason for hiding this comment

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

you don't need to base64 encode... []byte gets serialized as base64 by default... this will double encode

@liggitt
Copy link
Contributor

liggitt commented Apr 10, 2015

We need to make sure we can use shell expansion for selecting multiple files (can't require input files to be comma separated)

if that means restructuring the args to make the source dirs/files the args, and the output file a switch, that might be reasonable

Copy link
Contributor

Choose a reason for hiding this comment

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

if you encounter an error, return it, don't do something that causes os.Exit() to happen down inside a command

Copy link
Member

Choose a reason for hiding this comment

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

remove this

@sallyom sallyom force-pushed the bundle_secret branch 5 times, most recently from afb364c to 638b6d0 Compare April 14, 2015 21:14
@sallyom
Copy link
Contributor Author

sallyom commented Apr 14, 2015

ok, ready for another round...looking forward to more feedback :) I'll check back later
@derekwaynecarr @liggitt

Copy link
Member

Choose a reason for hiding this comment

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

Change to this:

err := readFile(item, secretData)

@derekwaynecarr
Copy link
Member

Made one request, but at this point, I would like to be able to make use of the function, and we can do any other necessary clean-up in a follow-on PR if needed. @liggitt agree?

@sallyom
Copy link
Contributor Author

sallyom commented Apr 15, 2015

made the changes per feedback @derekwaynecarr
thanks!

@liggitt
Copy link
Contributor

liggitt commented Apr 15, 2015

follow up is fine with me

@derekwaynecarr
Copy link
Member

[merge]

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_openshift3/1577/) (Image: devenv-fedora_1283)

@openshift-bot
Copy link
Contributor

Evaluated for origin up to 3646760

openshift-bot pushed a commit that referenced this pull request Apr 15, 2015
@openshift-bot openshift-bot merged commit 684f5cf into openshift:master Apr 15, 2015
jboyd01 pushed a commit to jboyd01/origin that referenced this pull request Nov 3, 2017
…service-catalog/' changes from 892b0368f0..3064247d05

3064247d05 origin build: add origin tooling
48ecff1 Chart changes for 0.1.2 (openshift#1527)
8727247 Fix change validator to look up serviceclass properly (openshift#1518)
b0b138b Broker Reconciliation occurs too frequently (openshift#1514)
cc816eb When a SI is unbindable, mark the binding request failed. (openshift#1522)
41290e9 Clarify semantics around RelistDuration (openshift#1516)
6bcb593 Send Context with UpdateInstanceRequest (openshift#1517)
c3b72d8 Enforce stricly increasing broker relistRequests (openshift#1515)
01d81e5 Follow up from openshift#1450 and openshift#1444 (openshift#1504)
5e77882 Retry failed deprovision requests (openshift#1505)
f6c891d Allow updates of instances that failed a previous update. (openshift#1502)
5107086 Use Plan ID from ExternalProperties when deprovisioning instance (openshift#1501)
d897c60 Adding message builder for expected event strings  (openshift#1465)
9f6152e update osb client and freeze gorilla context (openshift#1496)
c63277e Add unit tests verifying deleting a resource with an on-going operation or in orphan mitigation. (openshift#1490)
4ecca16 Pretty logging for controller_instance.go (openshift#1472)
c232db4 Register qemu statics when building non-amd64 images (openshift#1494)
0e54c57 fix 'Spring Cloud Services -> Configuring with Vault' link in docs (openshift#1495)
REVERT: 892b0368f0 origin build: add origin tooling

git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog
git-subtree-split: 3064247d0544aa43f976d93caea0a11771434ef7
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants