Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store secret data in form of key, value #312

Merged

Conversation

aureamunoz
Copy link
Contributor

Note that this pull request is against the crossplan-helm branch.
Related to #298

@aureamunoz aureamunoz requested a review from cmoulliard May 4, 2023 15:46
Comment on lines +104 to +110
if (StringUtils.isNotEmpty(credential.username) && StringUtils.isNotEmpty(credential.password)) {
username = credential.username;
password = credential.password;
for (CredentialParameter param : credential.params) {
secretData.put(param.paramName, toBase64(param.paramValue));
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

In a next PR, we will review the code that we have here in order to adapt the logic according to the credential type: simple, vault, etc

We will also define in a new entity, thy keys that we must populate according to the claim binding type (= bindable idea of Ioannis) in order to return the proper fields for a datasource, broker, nosql, etc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes,ok. Can we merge this into the crossplane-helmbranch then?

@aureamunoz aureamunoz merged commit 95ff929 into halkyonio:crossplane-helm May 4, 2023
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.

2 participants