Skip to content
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

[Enhancement]: Allow provider to use environment variables for kube configuration like k8s/helm terraform provider #655

Open
swade1987 opened this issue Apr 12, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@swade1987
Copy link
Member

Description

Many people using the flux provider also use the Kubernetes and Helm terraform providers.

Both these providers allow you to pass Kubernetes configuration via environment variables.

Therefore, the flux provider should additionally allow this to maintain alignment.

Affected Resource(s) and/or Data Source(s)

N/A

Potential Terraform Configuration

No response

References

The majority of the discussion has happened in #440

Would you like to implement a fix?

Yes

@swade1987
Copy link
Member Author

From @networkhermit

I managed to verify that #506 added support for KUBE_CONFIG_PATH and KUBE_CONFIG_PATH support since v1.0.0. But the other options such as KUBE_CLIENT_CERT_DATA/KUBE_CLIENT_KEY_DATA/KUBE_CLUSTER_CA_CERT_DATA/KUBE_HOST still not supported.

@LEI
Copy link

LEI commented Nov 5, 2024

Any work started on this issue? Using the environment configuration already present for other providers would be a nice feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants