k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/kops/kops-presets.yaml (about)

     1  presets:
     2  - labels:
     3      preset-e2e-platform-aws: "true"
     4    env:
     5    # TODO(zmerlynn): Eliminate the other uses of this env variable
     6    - name: KUBE_SSH_USER
     7      value: ubuntu
     8    # Log dump for kops (relies on kops-e2e-runner.sh support)
     9    - name: LOG_DUMP_SSH_KEY
    10      value: /workspace/.ssh/kube_aws_rsa
    11    - name: LOG_DUMP_SSH_USER
    12      value: ubuntu
    13    - name: LOG_DUMP_SAVE_LOGS
    14      value: cloud-init-output
    15    - name: LOG_DUMP_SAVE_SERVICES
    16      value: protokube
    17    # kops testing only ever uses Cloud SDK for status and uploads
    18    - name: CLOUDSDK_COMPONENT_MANAGER_DISABLE_UPDATE_CHECK
    19      value: "true"
    20    - name: CLOUDSDK_EXPERIMENTAL_FAST_COMPONENT_UPDATE
    21      value: "false"
    22      # Ignore version-we-pass vs version-kops-expects
    23    - name: KOPS_RUN_OBSOLETE_VERSION
    24      value: "true"
    25      # Except for the updown job itself, use a version of kops that's
    26      # passed updown.
    27    - name: KOPS_LATEST
    28      value: latest-ci-updown-green.txt
    29    - name: KOPS_DEPLOY_LATEST_KUBE
    30      value: "y"
    31  
    32  - labels:
    33      preset-storage-e2e-service-account: "true"
    34    env:
    35    # storage e2e tests borrow this as a preconfigured key instead of creating and
    36    # injecting a new key. this allows us to avoid mass key download warnings
    37    - name: E2E_GOOGLE_APPLICATION_CREDENTIALS
    38      value: /etc/service-account/service-account.json
    39    volumes:
    40    - name: service
    41      secret:
    42        secretName: service-account
    43    volumeMounts:
    44    - name: service
    45      mountPath: /etc/service-account
    46      readOnly: true