-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
config.yaml
803 lines (792 loc) · 22.5 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
plank:
job_url_template: 'https://prow.k8s.io/view/gs/kubernetes-jenkins/{{if eq .Spec.Type "presubmit"}}pr-logs/pull{{else if eq .Spec.Type "batch"}}pr-logs/pull{{else}}logs{{end}}{{if .Spec.Refs}}{{if ne .Spec.Refs.Org ""}}{{if ne .Spec.Refs.Org "kubernetes"}}/{{if and (eq .Spec.Refs.Org "kubernetes-sigs") (ne .Spec.Refs.Repo "poseidon")}}sigs.k8s.io{{else}}{{.Spec.Refs.Org}}{{end}}_{{.Spec.Refs.Repo}}{{else if ne .Spec.Refs.Repo "kubernetes"}}/{{.Spec.Refs.Repo}}{{end}}{{end}}{{end}}{{if eq .Spec.Type "presubmit"}}/{{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}{{else if eq .Spec.Type "batch"}}/batch{{end}}/{{.Spec.Job}}/{{.Status.BuildID}}/'
report_templates:
'*': '[Full PR test history](https://prow.k8s.io/pr-history?org={{.Spec.Refs.Org}}&repo={{.Spec.Refs.Repo}}&pr={{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}). [Your PR dashboard](https://prow.k8s.io/pr?query=is%3Apr%20state%3Aopen%20author%3A{{with index .Spec.Refs.Pulls 0}}{{.Author}}{{end}}). Please help us cut down on flakes by [linking to](https://git.k8s.io/community/contributors/devel/sig-testing/flaky-tests.md#filing-issues-for-flaky-tests) an [open issue](https://github.com/{{.Spec.Refs.Org}}/{{.Spec.Refs.Repo}}/issues?q=is:issue+is:open) when you hit one in your PR.'
job_url_prefix_config:
'*': https://prow.k8s.io/view/
pod_pending_timeout: 15m
pod_unscheduled_timeout: 5m
default_decoration_configs:
'*':
timeout: 2h
grace_period: 15m
utility_images:
clonerefs: "gcr.io/k8s-prow/clonerefs:v20210518-70987fc2aa"
initupload: "gcr.io/k8s-prow/initupload:v20210518-70987fc2aa"
entrypoint: "gcr.io/k8s-prow/entrypoint:v20210518-70987fc2aa"
sidecar: "gcr.io/k8s-prow/sidecar:v20210518-70987fc2aa"
gcs_configuration:
bucket: "kubernetes-jenkins"
path_strategy: "legacy"
default_org: "kubernetes"
default_repo: "kubernetes"
gcs_credentials_secret: "service-account"
resources:
clonerefs:
requests:
cpu: 100m
initupload:
requests:
cpu: 100m
place_entrypoint:
requests:
cpu: 100m
sidecar:
requests:
cpu: 100m
sinker:
resync_period: 1m
max_prowjob_age: 48h
max_pod_age: 48h
terminated_pod_ttl: 30m
deck:
spyglass:
size_limit: 100000000 # 100MB
gcs_browser_prefix: https://gcsweb.k8s.io/gcs/
testgrid_config: gs://k8s-testgrid/config
testgrid_root: https://testgrid.k8s.io/
lenses:
- lens:
name: metadata
required_files:
- ^(?:started|finished)\.json$
optional_files:
- ^(?:podinfo|prowjob)\.json$
- lens:
name: buildlog
config:
highlight_regexes:
- timed out
- "ERROR:"
- (FAIL|Failure \[)\b
- panic\b
- ^E\d{4} \d\d:\d\d:\d\d\.\d\d\d]
# This highlights the start of bazel tests/runs to skip go importing noise.
- "^INFO: Analyzed \\d+ targets"
required_files:
- ^.*build-log\.txt$
- lens:
name: junit
required_files:
- ^artifacts(/.*/|/)junit.*\.xml$ # https://regex101.com/r/vCSegS/1
- lens:
name: coverage
required_files:
- ^artifacts/filtered\.cov$
optional_files:
- ^artifacts/filtered\.html$
- lens:
name: podinfo
required_files:
- ^podinfo\.json$
- lens:
name: links
required_files:
- artifacts/.*\.link\.txt
tide_update_period: 1s
hidden_repos:
- kubernetes-security
google_analytics: UA-82843984-5
rerun_auth_configs:
'*':
github_team_ids:
- 2009231 # test-infra-admins
- 2460384 # milestone-maintainers
additional_allowed_buckets:
- k8s-ovn
- containerd-integration
prowjob_namespace: default
pod_namespace: test-pods
log_level: debug
managed_webhooks:
# This has to be true if any of the managed repo/org is using the legacy global token that is manually created.
respect_legacy_global_token: true
# Config for orgs and repos that have been onboarded to this Prow instance.
org_repo_config:
bazelbuild/rules_k8s:
token_created_after: 2020-06-24T00:10:00Z
kubernetes:
token_created_after: 2020-08-12T00:00:00Z
kubernetes-client:
token_created_after: 2020-07-24T00:00:00Z
kubernetes-csi:
token_created_after: 2020-08-12T00:00:00Z
kubernetes-sigs:
token_created_after: 2020-08-12T00:00:00Z
containerd/containerd:
token_created_after: 2020-09-17T00:00:00Z
cncf/apisnoop:
token_created_after: 2020-09-22T00:00:00Z
slack_reporter_configs:
'*':
job_types_to_report:
- postsubmit
- periodic
- batch
job_states_to_report:
- failure
- error
channel: test-failures
# The template shown below is the default
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <{{.Status.URL}}|View logs>'
branch-protection:
allow_disabled_policies: true # TODO(fejta): remove, needed by k/website
orgs:
kubernetes:
protect: true
required_status_checks:
contexts:
- cla/linuxfoundation
exclude:
- "^revert-" # don't protect revert branches
- "^dependabot/" # don't protect branches created by dependabot
- "^greenkeeper/" # don't protect branches created by greenkeeper
repos:
api:
restrictions:
users: []
teams:
- stage-bots
apiextensions-apiserver:
restrictions:
users: []
teams:
- stage-bots
apimachinery:
restrictions:
users: []
teams:
- stage-bots
apiserver:
restrictions:
users: []
teams:
- stage-bots
autoscaler:
required_status_checks:
contexts:
- continuous-integration/travis-ci/pr
client-go:
restrictions:
users: []
teams:
- stage-bots
cli-runtime:
restrictions:
users: []
teams:
- stage-bots
cloud-provider:
restrictions:
users: []
teams:
- stage-bots
cloud-provider-aws:
branches:
gh-pages:
protect: false
cloud-provider-openstack:
branches:
gh-pages:
protect: false
cluster-bootstrap:
restrictions:
users: []
teams:
- stage-bots
code-generator:
restrictions:
users: []
teams:
- stage-bots
component-base:
restrictions:
users: []
teams:
- stage-bots
component-helpers:
restrictions:
users: []
teams:
- stage-bots
controller-manager:
restrictions:
users: []
teams:
- stage-bots
cri-api:
restrictions:
users: []
teams:
- stage-bots
csi-translation-lib:
restrictions:
users: []
teams:
- stage-bots
dashboard:
required_pull_request_reviews:
required_approving_review_count: 1
dns:
required_status_checks:
contexts:
- continuous-integration/travis-ci
required_pull_request_reviews:
required_approving_review_count: 1
git-sync:
enforce_admins: true
restrictions: # only allow admins
users: []
teams: []
ingress-nginx:
branches:
gh-pages:
protect: false
kompose:
required_status_checks:
contexts:
- continuous-integration/travis-ci
required_pull_request_reviews:
required_approving_review_count: 1
kops:
required_status_checks:
contexts:
- build-linux-amd64
- build-macos-amd64
- build-windows-amd64
- verify
kubelet:
restrictions:
users: []
teams:
- stage-bots
kubernetes:
restrictions: # only allow admins
users: []
teams: []
kube-aggregator:
restrictions:
users: []
teams:
- stage-bots
kube-controller-manager:
restrictions:
users: []
teams:
- stage-bots
kube-proxy:
restrictions:
users: []
teams:
- stage-bots
kube-state-metrics:
required_status_checks:
contexts:
- ci-benchmark-tests
- ci-build-kube-state-metrics
- ci-e2e-tests
- ci-go-lint
- ci-unit-tests
- ci-validate-docs
- ci-validate-go-modules
- ci-validate-manifests
branches:
gh-pages:
protect: false
kube-scheduler:
restrictions:
users: []
teams:
- stage-bots
kubectl:
restrictions:
users: []
teams:
- stage-bots
legacy-cloud-providers:
restrictions:
users: []
teams:
- stage-bots
metrics:
restrictions:
users: []
teams:
- stage-bots
mount-utils:
restrictions:
users: []
teams:
- stage-bots
node-api:
restrictions:
users: []
teams:
- stage-bots
noderesourcetopology-api:
restrictions:
users: []
teams:
- stage-bots
org:
restrictions: # only allow admins
users: []
teams: []
sample-apiserver:
restrictions:
users: []
teams:
- stage-bots
sample-cli-plugin:
restrictions:
users: []
teams:
- stage-bots
sample-controller:
restrictions:
users: []
teams:
- stage-bots
utils:
required_status_checks:
contexts:
- continuous-integration/travis-ci
website:
protect: false # TODO(fejta): protect all branches soon
branches:
master:
protect: true
release-1.4:
protect: true
release-1.5:
protect: true
release-1.6:
protect: true
release-1.7:
protect: true
release-1.8:
protect: true
release-1.9:
protect: true
release-1.10:
protect: true
release-1.11:
protect: true
release-1.12:
protect: true
release-1.13:
protect: true
release-1.14:
protect: true
release-1.15:
protect: true
release-1.16:
protect: true
release-1.17:
protect: true
release-1.18:
protect: true
release-1.19:
protect: true
release-1.20:
protect: true
kubernetes-client:
protect: true
required_status_checks:
contexts:
- cla/linuxfoundation
exclude:
- "^revert-" # don't protect revert branches
- "^dependabot/" # don't protect branches created by dependabot
- "^greenkeeper/" # don't protect branches created by greenkeeper
repos:
python:
required_status_checks:
contexts:
- continuous-integration/travis-ci
python-base:
required_status_checks:
contexts:
- continuous-integration/travis-ci
kubernetes-csi:
protect: true
required_status_checks:
contexts:
- cla/linuxfoundation
exclude:
- "^revert-" # don't protect revert branches
- "^dependabot/" # don't protect branches created by dependabot
- "^greenkeeper/" # don't protect branches created by greenkeeper
kubernetes-sigs:
protect: true
required_status_checks:
contexts:
- cla/linuxfoundation
exclude:
- "^revert-" # don't protect revert branches
- "^dependabot/" # don't protect branches created by dependabot
- "^greenkeeper/" # don't protect branches created by greenkeeper
repos:
aws-ebs-csi-driver:
branches:
gh-pages:
protect: false
aws-efs-csi-driver:
branches:
gh-pages:
protect: false
aws-fsx-csi-driver:
branches:
gh-pages:
protect: false
kube-batch:
required_status_checks:
contexts:
- continuous-integration/travis-ci
kubespray:
required_status_checks:
contexts:
- Kubespray CI Pipeline
nfs-subdir-external-provisioner:
branches:
gh-pages:
protect: false
node-feature-discovery:
branches:
gh-pages:
protect: false
node-feature-discovery-operator:
branches:
gh-pages:
protect: false
tide:
sync_period: 2m
queries:
- orgs:
- kubernetes
- kubernetes-client
- kubernetes-csi
- kubernetes-sigs
excludedRepos:
- kubernetes/kubernetes # Handled with a separate Tide query below.
# The following are staging repos which do not normally support merging PRs.
# https://github.com/kubernetes/kubernetes/blob/master/staging/README.md
# Note that k/client-go is an exception to this rule so it is not an excludedRepo.
- kubernetes/api
- kubernetes/apiextensions-apiserver
- kubernetes/apimachinery
- kubernetes/apiserver
- kubernetes/cli-runtime
- kubernetes/cloud-provider
- kubernetes/cluster-bootstrap
- kubernetes/code-generator
- kubernetes/component-base
- kubernetes/component-helpers
- kubernetes/controller-manager
- kubernetes/cri-api
- kubernetes/csi-api
- kubernetes/csi-translation-lib
- kubernetes/kube-aggregator
- kubernetes/kube-controller-manager
- kubernetes/kube-proxy
- kubernetes/kube-scheduler
- kubernetes/kubectl
- kubernetes/kubelet
- kubernetes/legacy-cloud-providers
- kubernetes/metrics
- kubernetes/mount-utils
- kubernetes/node-api
- kubernetes/noderesourcetopology-api
- kubernetes/sample-apiserver
- kubernetes/sample-cli-plugin
- kubernetes/sample-controller
labels:
- lgtm
- approved
- "cncf-cla: yes"
missingLabels:
- do-not-merge
- do-not-merge/blocked-paths
- do-not-merge/contains-merge-commits
- do-not-merge/hold
- do-not-merge/invalid-commit-message
- do-not-merge/invalid-owners-file
- do-not-merge/release-note-label-needed
- do-not-merge/work-in-progress
- needs-rebase
- repos:
- kubernetes/kubernetes
labels:
- lgtm
- approved
- "cncf-cla: yes"
missingLabels:
- do-not-merge
- do-not-merge/blocked-paths
- do-not-merge/cherry-pick-not-approved
- do-not-merge/contains-merge-commits
- do-not-merge/hold
- do-not-merge/invalid-commit-message
- do-not-merge/invalid-owners-file
- do-not-merge/needs-kind
- do-not-merge/needs-sig
- do-not-merge/release-note-label-needed
- do-not-merge/work-in-progress
- needs-rebase
- repos:
- GoogleCloudPlatform/netd
labels:
- lgtm
- approved
missingLabels:
- do-not-merge
- do-not-merge/blocked-paths
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/work-in-progress
- author: k8s-ci-robot
labels: # k8s-ci-robot should only create autobump PR with this label
- skip-review
- "cncf-cla: yes"
missingLabels:
- do-not-merge
- do-not-merge/blocked-paths
- do-not-merge/contains-merge-commits
- do-not-merge/hold
- do-not-merge/invalid-commit-message
- do-not-merge/invalid-owners-file
- do-not-merge/release-note-label-needed
- do-not-merge/work-in-progress
- needs-rebase
repos:
- kubernetes/test-infra
merge_method:
kubernetes-client/csharp: squash
kubernetes-client/gen: squash
kubernetes-sigs/cluster-api-provider-digitalocean: squash
kubernetes-sigs/cluster-api-provider-ibmcloud: squash
kubernetes-sigs/krew-index: squash
kubernetes-sigs/krew: squash
kubernetes-sigs/kubespray: squash
kubernetes-sigs/kui: rebase
kubernetes-sigs/security-profiles-operator: rebase
kubernetes-sigs/service-catalog: squash
kubernetes-sigs/go-open-service-broker-client: squash
kubernetes-sigs/minibroker: squash
kubernetes/cloud-provider-openstack: squash
kubernetes/dashboard: squash
pr_status_base_urls:
'*': https://prow.k8s.io/pr
blocker_label: tide/merge-blocker
squash_label: tide/merge-method-squash
rebase_label: tide/merge-method-rebase
merge_label: tide/merge-method-merge
context_options:
orgs:
kubernetes:
repos:
dashboard:
from-branch-protection: true
kubernetes-sigs:
repos:
cluster-api-provider-openstack:
skip-unknown-contexts: true
batch_size_limit:
"kubernetes/kubernetes": 15
priority:
- labels: [ "kind/flake", "priority/critical-urgent" ]
- labels: [ "kind/failing-test", "priority/critical-urgent" ]
- labels: [ "kind/bug", "priority/critical-urgent" ]
push_gateway:
endpoint: pushgateway
serve_metrics: true
github_reporter:
job_types_to_report:
- presubmit
- postsubmit
presets:
# credential presets
- labels:
preset-service-account: "true"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
# storage e2e tests borrow this as a preconfigured key instead of creating and
# injecting a new key. this allows us to avoid mass key download warnings
- name: E2E_GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
- name: GOOGLE_APPLICATION_CREDENTIALS_DEPRECATED
value: "Migrate to workload identity, contact sig-testing"
volumes:
- name: service
secret:
secretName: service-account
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
- labels:
preset-k8s-ssh: "true"
env:
- name: USER
value: prow
- name: JENKINS_GCE_SSH_PRIVATE_KEY_FILE
value: /etc/ssh-key-secret/ssh-private
- name: JENKINS_GCE_SSH_PUBLIC_KEY_FILE
value: /etc/ssh-key-secret/ssh-public
- name: GCE_SSH_PRIVATE_KEY_FILE
value: /etc/ssh-key-secret/ssh-private
- name: GCE_SSH_PUBLIC_KEY_FILE
value: /etc/ssh-key-secret/ssh-public
volumes:
- name: ssh
secret:
defaultMode: 0400
secretName: ssh-key-secret
volumeMounts:
- name: ssh
mountPath: /etc/ssh-key-secret
readOnly: true
- labels:
preset-aws-ssh: "true"
env:
- name: USER
value: prow
- name: AWS_SSH_PRIVATE_KEY_FILE
value: /etc/aws-ssh/aws-ssh-private
- name: AWS_SSH_PUBLIC_KEY_FILE
value: /etc/aws-ssh/aws-ssh-public
volumes:
- name: aws-ssh
secret:
defaultMode: 0400
secretName: aws-ssh-key-secret
volumeMounts:
- name: aws-ssh
mountPath: /etc/aws-ssh
readOnly: true
- labels:
preset-windows-private-registry-cred: "true"
env:
- name: DOCKER_CONFIG_FILE
value: /etc/docker-cred/config.json
volumes:
- name: windows-private-registry-cred
secret:
secretName: windows-private-registry-docker-config
volumeMounts:
- name: windows-private-registry-cred
mountPath: /etc/docker-cred/
readOnly: true
- labels:
preset-azure-cred: "true"
env:
- name: AZURE_CREDENTIALS
value: /etc/azure-cred/credentials
- name: AZURE_SSH_PUBLIC_KEY_FILE
value: /etc/azure-ssh/azure-ssh-pub
- name: REGISTRY
value: k8sprow.azurecr.io
- name: KUBE_VERBOSE
value: "0"
- name: AZ_STORAGE_CONTAINER_NAME
value: mystoragecontainer
- name: KUBE_BUILD_CONFORMANCE
value: "n"
volumes:
- name: azure-cred
secret:
secretName: azure-cred
- name: azure-ssh
secret:
secretName: azure-ssh
volumeMounts:
- name: azure-cred
mountPath: /etc/azure-cred
readOnly: true
- name: azure-ssh
mountPath: /etc/azure-ssh
readOnly: true
- labels:
preset-azure-anonymous-pull: "true"
env:
- name: REGISTRY
value: capzci.azurecr.io
- name: LOCAL_ONLY
value: "false"
- labels:
preset-azure-cred-only: "true"
env:
- name: AZURE_CREDENTIALS
value: /etc/azure-cred/credentials
volumes:
- name: azure-cred
secret:
secretName: azure-cred
volumeMounts:
- name: azure-cred
mountPath: /etc/azure-cred
readOnly: true
# storage / caching presets
- labels:
preset-bazel-scratch-dir: "true"
env:
- name: TEST_TMPDIR
value: /bazel-scratch/.cache/bazel
volumes:
- name: bazel-scratch
emptyDir: {}
volumeMounts:
- name: bazel-scratch
mountPath: /bazel-scratch/.cache
- labels:
preset-bazel-remote-cache-enabled: "true"
env:
- name: BAZEL_REMOTE_CACHE_ENABLED
value: "true"
# docker-in-docker (with images/bootstrap) preset
# NOTE: using this also requires using that image,
# ensuring you run your test under either the ENTRYPOINT or:
# /usr/local/bin/runner.sh my-test-command --foo --bar
# AND setting the following on your PodSpec:
# securityContext:
# privileged: true
- labels:
preset-dind-enabled: "true"
env:
- name: DOCKER_IN_DOCKER_ENABLED
value: "true"
volumes:
# kubekins-e2e legacy path
- name: docker-graph
emptyDir: {}
# krte (normal) path
- name: docker-root
emptyDir: {}
volumeMounts:
- name: docker-graph
mountPath: /docker-graph
- name: docker-root
mountPath: /var/lib/docker
# volume mounts for kind
- labels:
preset-kind-volume-mounts: "true"
volumeMounts:
- mountPath: /lib/modules
name: modules
readOnly: true
- mountPath: /sys/fs/cgroup
name: cgroup
volumes:
- name: modules
hostPath:
path: /lib/modules
type: Directory
- name: cgroup
hostPath:
path: /sys/fs/cgroup
type: Directory
# enable GOPROXY by default
- env:
- name: GOPROXY
value: "https://proxy.golang.org"