-
Notifications
You must be signed in to change notification settings - Fork 107
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
Support kubectl replace --force #93
base: master
Are you sure you want to change the base?
Conversation
@vigohe why was the PR closed? It wasn't merged. |
@jessequinn I closed it because It crash when I re apply a second time when a value change, and I haven't got any time to fix it |
@vigohe I tested your code:
and i received the following error (first time run):
ok, I will try to find time to look at your code and see why this is happening. Probably requires a |
@jessequinn but that error it's a timeout did you configure the provider well ? |
|
seems to work now. i haven't tested a modification on the CRD, but for us that wouldnt happen. |
Cool, I will try to fix it soon |
I also need this ability, any way I can help to push it forward? |
News about this PR? I need this feature too 😄. Thanks in advance. |
@fernaspiazu did you try this? #118 |
I arrived here because I get the error: Here the CRD: https://solr.apache.org/operator/downloads/crds/v0.5.0/all-with-dependencies.yaml I'm applying. @vigohe Yes I did, but I have some problems with conflicts:
Do you have any suggestion to use a Thanks in advance. |
I haven't got time to finish this PR, last time I work on it, I did have an issue when you apply it on the second time if you change something |
This PR will add a new feature to be able to execute a
kubectl replace --force
instead of akubectl apply
.This feature it's important when you are applying large files. When you use
kubectl apply
with large files you will get a error like thismetadata.annotations: Too long: must have at most 262144 bytes
a workaround it's to usereplace
.