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

Standardize on using kubernetes.core instead of kubectl commands #574

Open
1 task done
Andy-Tr opened this issue Sep 17, 2024 · 0 comments
Open
1 task done

Standardize on using kubernetes.core instead of kubectl commands #574

Andy-Tr opened this issue Sep 17, 2024 · 0 comments
Labels
enhancement New feature or request new Added to an issue when it's new ;)

Comments

@Andy-Tr
Copy link

Andy-Tr commented Sep 17, 2024

Is your feature request related to a problem? Please describe.

When a site requires a proxy server to access the K8S api from outside the cluster, multiple environment variables must be defined. The Ansible kubernetes core functions use K8S_AUTH_PROXY. The kubectl command uses HTTP_PROXY and HTTPS_PROXY.

Describe the solution you'd like

The deployment tool should standardize on using the Ansible kubernetes core functions instead of using kubectl commands directly. The K8S_AUTH_PROXY environment variable could then be passed when invoking the docker container.

Describe alternatives you've considered

Using both K8S_AUTH_PROXY and HTTP_PROXY/HTTPS_PROXY causes the SASDeployment CR to have proxy settings, which won't work inside the cluster. Customizations are required to support a proxy environment to pass the HTTP proxy values to the steps which still use kubectl.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Andy-Tr Andy-Tr added enhancement New feature or request new Added to an issue when it's new ;) labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new Added to an issue when it's new ;)
Projects
None yet
Development

No branches or pull requests

1 participant