Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Plumb trust domain through to helm chart #4877

Merged

Conversation

keithmattix
Copy link
Contributor

@keithmattix keithmattix commented Jul 6, 2022

Signed-off-by: Keith Mattix II keithmattix2@gmail.com

Description:
Since we're not releasing full MRC support in v1.2, this PR allows users to set a custom trust domain by plumbing it through the helm chart as a command line flag to the 3 binaries (controller, bootstrap, and injector).

Testing done:
Add test to make sure trust domain is set on the issuers

Affected area:

Functional Area
Certificate Management [X]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? no

    • Did you notify the maintainers and provide attribution? no
  2. Is this a breaking change? no

  3. Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)?

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
@keithmattix keithmattix marked this pull request as ready for review July 6, 2022 20:53
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
@keithmattix keithmattix requested a review from trstringer July 6, 2022 21:14
@codecov-commenter
Copy link

Codecov Report

Merging #4877 (6e294f7) into main (aa1abf1) will increase coverage by 0.00%.
The diff coverage is 83.33%.

@@           Coverage Diff           @@
##             main    #4877   +/-   ##
=======================================
  Coverage   68.71%   68.71%           
=======================================
  Files         220      220           
  Lines       15907    15914    +7     
=======================================
+ Hits        10930    10936    +6     
- Misses       4925     4926    +1     
  Partials       52       52           
Flag Coverage Δ
unittests 68.71% <83.33%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmd/osm-bootstrap/osm-bootstrap.go 46.25% <75.00%> (+0.53%) ⬆️
cmd/osm-controller/osm-controller.go 16.46% <75.00%> (+1.04%) ⬆️
pkg/certificate/fake_manager.go 68.18% <100.00%> (+0.48%) ⬆️
pkg/certificate/manager.go 77.51% <100.00%> (+0.80%) ⬆️
pkg/certificate/providers/config.go 81.25% <100.00%> (ø)
pkg/ticker/ticker.go 83.33% <0.00%> (-3.85%) ⬇️

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 aa1abf1...6e294f7. Read the comment docs.

@jaellio
Copy link
Contributor

jaellio commented Jul 7, 2022

Image scan failure is a known issue: alpinelinux/docker-alpine#261.

@trstringer trstringer merged commit c0264ec into openservicemesh:main Jul 7, 2022
@steeling steeling mentioned this pull request Jul 7, 2022
@keithmattix keithmattix deleted the plumb-custom-trust-domain branch July 8, 2022 14:50
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.

4 participants