-
Notifications
You must be signed in to change notification settings - Fork 110
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
versioned-explicit-ref does not work for all resource types #984
Comments
I think what happening here is a weird interaction between the annotation What is your reason for using the update strategy? |
I'm new to K8s and kapp, and I discovered quickly that K8s won't allow some fields to be modified by an update. Hence, the Job has to be deleted and recreated. |
This would be a valid use case, I am curious about if it is indeed the cause. |
Right now, I'm working around the problem by:
Then, if either object needs to be updated, I change the constant. It's basically a manual way of doing what |
After some more experimentation, I've determined that the
|
What steps did you take:
test: x
totest: x2
.What happened:
The Job was updated, but the Deployment was not.
What did you expect:
The Deployment should have been updated after the Job, because of the change-rule and the versioned-explicit-ref.
Anything else you would like to add:
From looking at the kapp docs, it seems like the Deployment's versioned-explicit-ref annotation is supposed to contain the versioned name when it's written to Kubernetes. But it doesn't - the Kubernetes dashboard shows the annotation still has the unversioned name.
Environment:
kapp --version
): 0.63.1/etc/os-release
): Windows 10kubectl version
): 1.30.0Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: