operator: bypass ansible-operator proxy for Helm deployments#633
Merged
fmuyassarov merged 1 commit intocontainers:mainfrom Feb 20, 2026
Merged
operator: bypass ansible-operator proxy for Helm deployments#633fmuyassarov merged 1 commit intocontainers:mainfrom
fmuyassarov merged 1 commit intocontainers:mainfrom
Conversation
2baea23 to
c770c5f
Compare
Collaborator
Author
|
For a quick test: Install a plugin apiVersion: config.nri/v1alpha1
kind: NriPluginDeployment
metadata:
name: nriplugindeployment-sample
namespace: nri-plugins-operator-system
spec:
pluginName: balloons
pluginVersion: "v0.12.0"
state: present
values:
nri:
plugin:
index: 90 # optional
runtime:
config: # optional
pluginRegistrationTimeout: 5s
pluginRequestTimeout: 2s
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule" |
klihub
approved these changes
Feb 19, 2026
…roxy Clear KUBECONFIG and K8S_AUTH_KUBECONFIG environment variables in helm tasks to prevent routing through the ansible-operator proxy. The proxy at localhost:8888 intercepts Kubernetes API calls and attempts to deserialize request bodies as JSON. Helm's release metadata is stored as gzip-compressed binary data, causing deserialization to fail and the proxy to reject requests with "server rejected our request for an unknown reason". Clearing these variables forces the helm module to use in-cluster authentication with the pod's ServiceAccount token, bypassing the proxy entirely. Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@est.tech>
37b7ba7 to
6311e4b
Compare
Collaborator
Author
|
Let me try to merge, to check if I can reproduce the issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the broken operator and allow it to install template plugin as well.