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

Remove outdated sidecar support. #649

Merged
merged 2 commits into from
Feb 18, 2025
Merged

Remove outdated sidecar support. #649

merged 2 commits into from
Feb 18, 2025

Conversation

robholland
Copy link
Contributor

What was changed

Removed sidecarContainers value.

Swapped some if for with while I was working on the files to simplify them slightly.

Why?

Recent Kubernetes versions have specific support for sidecar via the initContainers field.
https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

Users can use additionalInitContainers to add sidecars per:
https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/

cloudsqlproxy example has been updated.
@robholland
Copy link
Contributor Author

Also gives an example of how we support #444 now.

Copy link
Contributor

@tomwheeler tomwheeler left a comment

Choose a reason for hiding this comment

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

Looks good to me. All tests pass and I was able to deploy a cluster using the code in this branch.

@tomwheeler tomwheeler self-requested a review February 18, 2025 17:26
@tomwheeler
Copy link
Contributor

I have verified that helm unittest passes with Rob's latest commit.

@tomwheeler tomwheeler merged commit 50e585b into main Feb 18, 2025
4 checks passed
@tomwheeler tomwheeler deleted the rh-sidecar branch February 18, 2025 17:27
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