Skip to content

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

Closed

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

Activity

  1. added
    enhancementNew feature or request
    newAdded to an issue when it's new ;)
    on Sep 17, 2024
  2. github-actions commented on Mar 29, 2025

    @github-actions

    This issue is stale because it has been open 30 days with no activity.

  3. bek-afs commented on Mar 31, 2025

    @bek-afs

    Is there any plan to address this feature request? My environment requires a proxy so I had to pull down my own version of this code, add in the code to support a proxy, and rebuild the image.

  4. github-actions commented on May 2, 2025

    @github-actions

    This issue is stale because it has been open 30 days with no activity.

  5. bek-afs commented on May 5, 2025

    @bek-afs

    @saschjmil @dhoucgitter @riragh Tagging some folks from the development team. This request was opened ~8 months ago and haven't seen any responses so far. Will this request be considered for implementation at any point?

  6. saschjmil commented on May 5, 2025

    @saschjmil
    Contributor

    @bek-afs We currently don't have any plans to implement this. However, you, @Andy-Tr, or anyone else is welcome to open a PR to make the change. I'll add a 'Help Wanted' label to signify that we are leaving it up to the community.

  7. added
    help wantedExtra attention is needed
    and removed
    staleOpen for 30 days with no activity
    newAdded to an issue when it's new ;)
    on May 5, 2025
  8. github-actions commented on Jun 5, 2025

    @github-actions

    This issue is stale because it has been open 30 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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