-
Notifications
You must be signed in to change notification settings - Fork 3
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
Exporter configuration via Helm Chart doesn't sync crdsToDiscover and overwriteCrdsActions options #86
Comments
Just adding a plus one and hopefully some helpful context. I have tried doing the same thing and I noticed in the exporter logs that I see:
I don't see any env vars or configs that can change this so I wonder if this may be the issue? But here is the config from my helms values file if that helps with the debugging:
Would love to fully automate my setup with Port and this would seem to do it 🤞 |
Yay! Very exciting, thanks @omby8888 and team for the quick turn around 🎉 Do you have a timeline for a release to your helm chart? I see the code change in the chart, but don't think I see the released chart yet? 🤔 |
Hey @abangser, iv'e now also released the helm chart 😄 |
Hi @abangser thanks for the update, the |
Heyya @irizzant, so sorry for the delayed response. I can confirm that I can use the Helm chart to set the Specifically, I used:
And with that, I saw the blueprint, integration, and self-serve actions all populate which was great 🎉 I did however get surprised that any updates to the CM didn't seem to reflect in the UI. Once this has synced for the first time, is it expected to then update the config settings via the UI or the API? For completeness, what I saw was:
Therefore, it seems like the CM is being used as a one off setup? Is that the right understanding? This seems reinforced by the docs here. If my understanding is correct, I am a bit worried about config being a required field, but being also so likely to be out of date with the working value in the UI/API. I would maybe then want to just set up the integration via the API/UI and install the exporter deployment without the comprehensive details in the helm chart. But that doesn't seem to be a provided option at the moment 💭 |
This is strange, I don't seem to have this behaviour. |
I wouldn't be surprised if it is noob behaviour. @irizzant I have shot you over a video in the community slack in case that helps pin down the issue. And will of course update here when we figure it out! |
@irizzant We'll take a look at the |
Thanks so much @shalev007 for the update. Yes, I know I can do it via the UI, but I'm hoping to do it all via declarative code with the helm chart. My assumption is that a gitops install method would continue to sync against the declared values. E.g. if the CM used by the port exporter pod updates, then the exporter pod would use that new config (also displaying that in the UI). That assumption seems to not be right though based on my experiences (I can send you the video on slack as well!) and I'm trying to understand if it is by design or something I should raise as another improvement 🤔 |
I have deployed Exporter with Helm chart version 0.2.36 in kubernetes 1.30 with the following helm chart configuration:
In Port this configuration translates into:
The Kubernetes ConfigMap contains the right configuration, but it's not mirrored in Port though.
This is a problem because if I manually update the kubernetes datasource in Port adding the missing configurations:
then at the next restart of the exporter pod the configuration is lost.
On the other end, by setting
overwriteConfigurationOnRestart: true
I loose the possibility to keep the configuration in sync with PortThe text was updated successfully, but these errors were encountered: