sassoftware / viya4-deployment

This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
70 stars 64 forks source link

Support proxy parameter in kubernetes.core modules #571

Closed bek-afs closed 3 weeks ago

bek-afs commented 4 weeks ago

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

The problem is that we are utilizing a central AWS account to deploy SAS Viya into several different AWS accounts. Part of the networking includes a proxy that traffic is routed to. We pass -e HTTP_PROXY=$HTTP_PROXY -e HTTPS_PROXY=$HTTPS_PROXY arguments in the main docker run command, but these do not get passed into the various kubernetes.core modules.

Looking through this repo, the following modules are used:

and they require a proxy parameter to be passed in [1]:

image

With no support for the proxy parameter, we currently can't deploy SAS Viya in our environment.

[1] https://docs.ansible.com/ansible/latest/collections/kubernetes/core/k8s_cluster_info_module.html#parameter-proxy

Describe the solution you'd like

Include the proxy parameter in all kubernetes modules.

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

bek-afs commented 3 weeks ago

For those that run into this issue, supplying -e HTTP_PROXY=$HTTP_PROXY -e HTTPS_PROXY=$HTTPS_PROXY -e K8S_AUTH_PROXY=$HTTPS_PROXY in the docker run command resolved all issues for us with using a proxy.