k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/kops/templates/periodic-scenario.yaml.jinja (about) 1 2 - name: {{job_name}} 3 cluster: {{build_cluster}} 4 cron: '{{cron}}' 5 labels: 6 preset-service-account: "true" 7 preset-aws-ssh: "true" 8 {%- if build_cluster == "default" %} 9 preset-aws-credential: "true" 10 {%- endif %} 11 preset-dind-enabled: "true" 12 max_concurrency: 1 13 decorate: true 14 decoration_config: 15 timeout: {{job_timeout}} 16 extra_refs: 17 - org: kubernetes 18 repo: kops 19 base_ref: master 20 workdir: true 21 path_alias: k8s.io/kops 22 spec: 23 {%- if build_cluster != "default" %} 24 serviceAccountName: prowjob-default-sa 25 {%- endif %} 26 containers: 27 - command: 28 - runner.sh 29 args: 30 - ./tests/e2e/scenarios/{{ scenario }}/run-test.sh 31 env: 32 {%- for key, val in env.items() %} 33 - name: {{ key }} 34 value: "{{ val }}" 35 {%- endfor %} 36 image: {{image}} 37 imagePullPolicy: Always 38 resources: 39 limits: 40 cpu: "4" 41 memory: 6Gi 42 requests: 43 cpu: "4" 44 memory: 6Gi 45 securityContext: 46 privileged: true