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

NOISSUE - Fix certs and vault deployment, reorganize and remove unnecessary vars #1368

Merged
merged 13 commits into from
Mar 2, 2021

Conversation

mteodor
Copy link
Contributor

@mteodor mteodor commented Feb 22, 2021

What does this do?

Reorganize cert enviroment variables and correct scripts for initializing vault PKI

@codecov-io
Copy link

codecov-io commented Feb 22, 2021

Codecov Report

Merging #1368 (70405e8) into master (7bcaa32) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1368   +/-   ##
=======================================
  Coverage   60.51%   60.51%           
=======================================
  Files         123      123           
  Lines        9416     9416           
=======================================
  Hits         5698     5698           
  Misses       3223     3223           
  Partials      495      495           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7bcaa32...70405e8. Read the comment docs.

@mteodor mteodor marked this pull request as ready for review February 23, 2021 15:54
@mteodor mteodor requested a review from a team as a code owner February 23, 2021 15:54
cmd/certs/main.go Show resolved Hide resolved
cmd/certs/main.go Show resolved Hide resolved
@mteodor mteodor marked this pull request as draft February 23, 2021 16:30
@mteodor mteodor marked this pull request as ready for review February 23, 2021 18:07
.env Show resolved Hide resolved
cmd/certs/main.go Show resolved Hide resolved
nmarcetic
nmarcetic previously approved these changes Feb 25, 2021
nmarcetic
nmarcetic previously approved these changes Feb 26, 2021
.env Show resolved Hide resolved
@mteodor mteodor changed the title NOISSUE - Refactor certs, sort out deployment for certs and vault NOISSUE - Fix certs and vault depoloyment, reorganize and remove unnecessary vars Feb 27, 2021
@mteodor mteodor changed the title NOISSUE - Fix certs and vault depoloyment, reorganize and remove unnecessary vars NOISSUE - Fix certs and vault deployment, reorganize and remove unnecessary vars Mar 1, 2021
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
.env Outdated
MF_VAULT_CA_LOC=BG
MF_VAULT_CA_O='Mainflux Co.'
MF_VAULT_CA_C=Serbia
MF_VAULT_CA_L=BG
Copy link
Contributor

Choose a reason for hiding this comment

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

Use Belgrade here if you used Serbia and not SR above. Stay consistent.

.env Outdated
MF_VAULT_CA_ORG='Mainflux Company'
MF_VAULT_CA_COUNTRY=Serbia
MF_VAULT_CA_LOC=BG
MF_VAULT_CA_O='Mainflux Co.'
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe Mainflux Labs

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Copy link
Contributor

@manuio manuio left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@drasko drasko left a comment

Choose a reason for hiding this comment

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

LGTM

@drasko drasko merged commit 6b1f4d5 into absmach:master Mar 2, 2021
fbugarski pushed a commit to fbugarski/mainflux that referenced this pull request Mar 8, 2021
…essary vars (absmach#1368)

* remove owner id

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* fix certs, fix scripts, reorganize env vars

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* set pki path vars

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* add certs mock

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* remove not wanted changes

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* update readme

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* correct rsa_bits to key_bits

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* fix tabulation

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* hardcode vault version

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* add env desc

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* renam variables

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* use Mainflux Labs

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* replace BG with Belgrade

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
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.

5 participants