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

Proxies for Providers #693

Open
haarchri opened this issue Feb 1, 2024 · 1 comment
Open

Proxies for Providers #693

haarchri opened this issue Feb 1, 2024 · 1 comment
Labels
concepts/providers content request Issues requesting new content P3 Nice to have issues. Should be prioritized to be eventually resolved.

Comments

@haarchri
Copy link
Contributor

haarchri commented Feb 1, 2024

What's Missing?

please add a documentation to use Proxies for Providers

error message:
Status:
  At Provider:
  Conditions:
    Last Transition Time:  2024-01-31T14:10:30Z
    Message:               connect failed: cannot initialize the no-fork async external client: cannot get terraform setup: failed to configure the no-fork Azure client: failed to configure the provider: [{0 building account: could not acquire access token to parse claims: clientCredentialsToken: cannot request token: Post "https://login.microsoftonline.com/11111111-b74d-47c9-887f-56ba76591442/oauth2/v2.0/token": POST https://login.microsoftonline.com/11111111-b74d-47c9-887f-56ba76591442/oauth2/v2.0/token giving up after 5 attempt(s): Post "https://login.microsoftonline.com/11111111-b74d-47c9-887f-56ba76591442/oauth2/v2.0/token": dial tcp: lookup [login.microsoftonline.com](http://login.microsoftonline.com/) on 10.96.0.10:53: server misbehaving  []}]

solution:
add Company Proxies in DeploymentRuntimeConfig:

apiVersion: pkg.crossplane.io/v1beta1
kind: DeploymentRuntimeConfig
metadata:
  name: default
spec:
  deploymentTemplate:
    spec:
      selector: {}
      template:
        spec:
          containers:
            - name: package-runtime
              env:
                - name: HTTPS_PROXY
                  value: "http://10.99.0.0:80" #<-- example proxy1
                - name: HTTP_PROXY
                  value: "http://10.88.0.0:80" #<-- example proxy2
                - name: NO_PROXY
                  value: ""
@plumbis plumbis added P3 Nice to have issues. Should be prioritized to be eventually resolved. content request Issues requesting new content concepts/providers labels Feb 6, 2024
@plumbis
Copy link
Collaborator

plumbis commented Feb 16, 2024

Are the env vars based on Kubernetes or the container runtime? Are there any concerns with support/compatibility based on where Crossplane is running?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concepts/providers content request Issues requesting new content P3 Nice to have issues. Should be prioritized to be eventually resolved.
Projects
None yet
Development

No branches or pull requests

2 participants