-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Broken ports
update with multiple same number ports
#7957
Comments
Please take a look at the Helm docs for how |
Minimal chart and helm commands is provided by repo: https://github.com/bozaro/helm-ports-issue |
In any case with replace and reuse values I should not lost second port declaration after upgrade. |
This issue is not values-related. I used values only for simple reproduce.
This is combo:
|
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
I just encountered this issue last week as well. Originally I used helm 3.1.0, but upgrading to 3.7.2 didn't help either. |
Issue summary
I created simple chart with ports from values (show only related part, link to full file below):
And install this chart to minicube with values:
As expected I got pod with 3 ports (
http
,grpc-look-aside
,grpc-service
).After that I upgrade chart with values (remove
grpc-look-aside
port):As result deployment became to unexpected state: all 8080 ports was removed.
I expected:
but actual port specification was:
How to reproduce
I created minimal chart with reproducing script: https://github.com/bozaro/helm-ports-issue
pip install yq
./ports.sh
Versions
Output of
helm version
:Output of
kubectl version
:Cloud Provider/Platform (AKS, GKE, Minikube etc.):
The text was updated successfully, but these errors were encountered: