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

apis/projectcontour: add omitempty JSON tag to caSecret #3658

Merged
merged 1 commit into from
May 11, 2021

Conversation

skriss
Copy link
Member

@skriss skriss commented May 10, 2021

caSecret is now optional in downstream validation since
skipClientCertValidation can be true. Adds an omitempty
JSON tag to omit the field when serializing to JSON and
it hasn't been specified.

Signed-off-by: Steve Kriss krisss@vmware.com

caSecret is now optional in downstream validation since
skipClientCertValidation can be true. Adds an omitempty
JSON tag to omit the field when serializing to JSON and
it hasn't been specified.

Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss requested a review from a team as a code owner May 10, 2021 20:08
@skriss skriss requested review from sunjayBhatia and youngnick and removed request for a team May 10, 2021 20:08
@codecov
Copy link

codecov bot commented May 10, 2021

Codecov Report

Merging #3658 (0749144) into main (c283cd1) will increase coverage by 0.27%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3658      +/-   ##
==========================================
+ Coverage   76.80%   77.08%   +0.27%     
==========================================
  Files         100      100              
  Lines        7158     7121      -37     
==========================================
- Hits         5498     5489       -9     
+ Misses       1539     1511      -28     
  Partials      121      121              
Impacted Files Coverage Δ
internal/k8s/scheme.go 77.77% <0.00%> (-2.23%) ⬇️
internal/k8s/statusaddress.go 85.86% <0.00%> (-1.51%) ⬇️
internal/k8s/helpers.go 0.00% <0.00%> (ø)
internal/k8s/informers.go 0.00% <0.00%> (ø)
cmd/contour/serve.go 11.27% <0.00%> (+0.10%) ⬆️
internal/k8s/kind.go 52.38% <0.00%> (+2.38%) ⬆️
internal/k8s/log.go 69.56% <0.00%> (+6.52%) ⬆️
cmd/contour/ingressstatus.go 34.54% <0.00%> (+6.60%) ⬆️

@skriss skriss merged commit bc959ce into projectcontour:main May 11, 2021
@skriss skriss deleted the omitempty-casecret branch May 11, 2021 01:48
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.

None yet

3 participants