8000 Envoy: add envoy-admin volume, update to 1.19.1 by skriss · Pull Request #430 · projectcontour/contour-operator · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Envoy: add envoy-admin volume, update to 1.19.1 #430

Merged
merged 1 commit into from
Aug 26, 2021

Conversation

skriss
Copy link
Member
@skriss skriss commented Aug 24, 2021

Adds the envoy-admin emptyDir volume to the Envoy
daemon set and updates the Envoy version to 1.19.1
to match projectcontour/contour.

Closes #423.

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

Adds the envoy-admin emptyDir volume to the Envoy
daemon set and updates the Envoy version to 1.19.1
to match projectcontour/contour.

Closes projectcontour#423.

Signed-off-by: Steve Kriss <krisss@vmware.com>
@codecov
Copy link
codecov bot commented Aug 25, 2021

Codecov Report

Merging #430 (6002411) into main (b85e9a6) will decrease coverage by 2.38%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #430      +/-   ##
==========================================
- Coverage   80.06%   77.67%   -2.39%     
==========================================
  Files          29       29              
  Lines        2222     2235      +13     
==========================================
- Hits         1779     1736      -43     
- Misses        329      366      +37     
- Partials      114      133      +19     
Impacted Files Coverage Δ
internal/config/config.go 100.00% <ø> (ø)
internal/objects/daemonset/daemonset.go 93.92% <100.00%> (-1.58%) ⬇️
internal/status/status.go 51.35% <0.00%> (-21.63%) ⬇️
internal/objects/contour/finalizer.go 62.50% <0.00%> (-18.75%) ⬇️
internal/controller/controller.go 71.31% <0.00%> (-11.48%) ⬇️
internal/objects/rbac.go 58.33% <0.00%> (-5.96%) ⬇️
internal/objects/configmap/configmap.go 72.72% <0.00%> (-3.90%) ⬇️
internal/objects/service/service.go 85.21% <0.00%> (-3.48%) ⬇️
internal/objects/deployment/deployment.go 92.79% <0.00%> (-2.97%) ⬇️
internal/objects/job/job.go 79.13% <0.00%> (-2.61%) ⬇️
... and 1 more

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 b85e9a6...6002411. Read the comment docs.

Copy link
Member
@sunjayBhatia sunjayBhatia left a comment

Choose a reason for hiding this comment

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

only other thing i could think of would be to add some detailed checks of the daemonset to the controller tests, but might be overkill, LGTM

@skriss skriss marked this pull request as ready for review August 25, 2021 14:06
@skriss skriss requested a review from a team as a code owner August 25, 2021 14:06
@skriss skriss requested review from stevesloka and youngnick and removed request for a team August 25, 2021 14:06
@skriss skriss added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Aug 25, 2021
VolumeMounts: []corev1.VolumeMount{
{
Name: envoyAdminVolName,
MountPath: filepath.Join("/", envoyAdminVolMntDir),
Copy link
Member
@nak3 nak3 Aug 26, 2021

Choose a reason for hiding this comment

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

I thought envoyAdminVolMntDir = "/admin" instead of using filepath.Join is fine but using filepath.Join will be consistent with other VolumeMounts setting.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I just left it that way for consistency with other volume mounts. They could all drop the filepath.Join though.

@skriss skriss merged commit 7c19eae into projectcontour:main Aug 26, 2021
skriss added a commit to skriss/contour-operator that referenced this pull request Aug 26, 2021
Adds the envoy-admin emptyDir volume to the Envoy
daemon set and updates the Envoy version to 1.19.1
to match projectcontour/contour.

Closes projectcontour#423.

Signed-off-by: Steve Kriss <krisss@vmware.com>
skriss added a commit to skriss/contour-operator that referenced this pull request Aug 26, 2021
Cherry-pick of projectcontour#430:

Adds the envoy-admin emptyDir volume to the Envoy
daemon set and updates the Envoy version to 1.19.1
to match projectcontour/contour.

Signed-off-by: Steve Kriss <krisss@vmware.com>
skriss added a commit that referenced this pull request Aug 26, 2021
Cherry-pick of #430:

Adds the envoy-admin emptyDir volume to the Envoy
daemon set and updates the Envoy version to 1.19.1
to match projectcontour/contour.

Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss deleted the fix-423 branch August 26, 2021 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Contour Deployment/Envoy DaemonSet should be updated for secure Admin listener
4 participants
0