Skip to content

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

Open
@Andy-Tr

Description

@Andy-Tr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededstaleOpen for 30 days with no activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions