Skip to content

ambassador operator doesn't work when a proxy is needed #64

Description

@sylvainOL

Hello,
we're deploying k8s behind corporate proxy.

When we want to install Ambassador as Ingress controller using the operator, we have an issue as helm repository cannot be reached:

$ kubectl -n ambassador get AmbassadorInstallation -o yaml
apiVersion: v1
items:
- apiVersion: getambassador.io/v2
  kind: AmbassadorInstallation
  metadata:
    annotations:
      kubectl.kubernetes.io/last-applied-configuration: |
                    
        {"apiVersion":"getambassador.io/v2","kind":"AmbassadorInstallation","metadata":{"annotations":{},"labels":{"app.kubernetes.io/name":"ambassador-operator","app.kubernetes.io/part-of":"ambassador-operator"},"name":"ambassador","namespace":"ambassador"},"spec":{"helmValues":{"deploymentTool":"amb-oper-kubespray","replicaCount":1,"service":{"ports":[{"hostPort":80,"name":"http","port":80,"protocol":"TCP","targetPort":8080},{"hostPort":443,"name":"https","port":443,"protocol":"TCP","targetPort":8443}]},"tolerations":[{"effect":"NoSchedule","key":"node-role.kubernetes.io/master","operator":"Equal"}]},"installOSS":true,"updateWindow":"0 0 * * SUN","version":"*"}}
creationTimestamp: "2020-12-06T17:40:53Z"
    finalizers:
    - uninstall-amb-operator-release
    generation: 1
    labels:
      app.kubernetes.io/name: ambassador-operator
      app.kubernetes.io/part-of: ambassador-operator
      operation: Update
      time: "2020-12-06T17:40:53Z"
    name: ambassador
    namespace: ambassador
  spec:
    helmValues:
      deploymentTool: amb-oper-kubespray
      replicaCount: 1
      service:
        ports:
        - hostPort: 80
          name: http
          port: 80
          protocol: TCP
          targetPort: 8080
        - hostPort: 443
          name: https
          port: 443
          protocol: TCP
          targetPort: 8443
      tolerations:
      - effect: NoSchedule
        key: node-role.kubernetes.io/master
        operator: Equal
    installOSS: true
    updateWindow: 0 0 * * SUN
    version: '*'
  status:
    conditions:
    - lastTransitionTime: "2020-12-06T17:44:29Z"
      message: 'looks like "https://www.getambassador.io" is not a valid chart repository
                    
        or cannot be reached: Get https://www.getambassador.io/index.yaml: dial tcp
        165.22.65.139:443: connect: connection timed out'
      reason: DownloadError
      status: "True"
      type: Failed
    lastCheckTime: null
kind: List
metadata:
  resourceVersion: ""
  selfLink: "" 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions