Skip to content

Commit 249171d

Browse files
committed
upgraded gitlab runner crd to v15.9.1
1 parent ac65978 commit 249171d

File tree

10 files changed

+167
-62
lines changed

10 files changed

+167
-62
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*.dylib
88
bin
99
testbin/*
10+
source
1011

1112
# Test binary, build with `go test -c`
1213
*.test

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "source/gitlab-runner"]
2+
path = source/gitlab-runner
3+
url = https://gitlab.com/gitlab-org/gitlab-runner/

api/v1beta1/gitlab_types.go

Lines changed: 20 additions & 12 deletions
Large diffs are not rendered by default.

api/v1beta1/zz_generated.deepcopy.go

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/gitlab.k8s.alekc.dev_multirunners.yaml

Lines changed: 61 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
12
---
23
apiVersion: apiextensions.k8s.io/v1
34
kind: CustomResourceDefinition
45
metadata:
56
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
7+
controller-gen.kubebuilder.io/version: v0.4.1
78
creationTimestamp: null
89
name: multirunners.gitlab.k8s.alekc.dev
910
spec:
@@ -366,6 +367,10 @@ spec:
366367
items:
367368
type: string
368369
type: array
370+
allowed_pull_policies:
371+
items:
372+
type: string
373+
type: array
369374
allowed_services:
370375
items:
371376
type: string
@@ -408,10 +413,6 @@ spec:
408413
run_as_user:
409414
format: int64
410415
type: integer
411-
required:
412-
- allow_privilege_escalation
413-
- privileged
414-
- read_only_root_filesystem
415416
type: object
416417
ca_file:
417418
type: string
@@ -571,10 +572,6 @@ spec:
571572
items:
572573
type: string
573574
type: array
574-
required:
575-
- nameservers
576-
- options
577-
- searches
578575
type: object
579576
dns_policy:
580577
type: string
@@ -620,10 +617,6 @@ spec:
620617
run_as_user:
621618
format: int64
622619
type: integer
623-
required:
624-
- allow_privilege_escalation
625-
- privileged
626-
- read_only_root_filesystem
627620
type: object
628621
helper_cpu_limit:
629622
type: string
@@ -675,6 +668,41 @@ spec:
675668
items:
676669
type: string
677670
type: array
671+
init_permissions_container_security_context:
672+
properties:
673+
allow_privilege_escalation:
674+
type: boolean
675+
capabilities:
676+
properties:
677+
add:
678+
items:
679+
description: Capability represent POSIX capabilities
680+
type
681+
type: string
682+
type: array
683+
drop:
684+
items:
685+
description: Capability represent POSIX capabilities
686+
type
687+
type: string
688+
type: array
689+
required:
690+
- add
691+
- drop
692+
type: object
693+
privileged:
694+
type: boolean
695+
read_only_root_filesystem:
696+
type: boolean
697+
run_as_group:
698+
format: int64
699+
type: integer
700+
run_as_non_root:
701+
type: boolean
702+
run_as_user:
703+
format: int64
704+
type: integer
705+
type: object
678706
key_file:
679707
type: string
680708
memory_limit:
@@ -693,6 +721,8 @@ spec:
693721
additionalProperties:
694722
type: string
695723
type: object
724+
node_selector_overwrite_allowed:
725+
type: string
696726
node_tolerations:
697727
additionalProperties:
698728
type: string
@@ -707,6 +737,8 @@ spec:
707737
additionalProperties:
708738
type: string
709739
type: object
740+
pod_labels_overwrite_allowed:
741+
type: string
710742
pod_security_context:
711743
properties:
712744
fs_group:
@@ -733,12 +765,20 @@ spec:
733765
type: integer
734766
poll_timeout:
735767
type: integer
768+
priority_class_name:
769+
type: string
736770
privileged:
737771
type: boolean
738772
pull_policy:
739773
items:
740774
type: string
741775
type: array
776+
resource_availability_check_max_attempts:
777+
type: integer
778+
runtime_class_name:
779+
type: string
780+
scheduler_name:
781+
type: string
742782
service_account:
743783
type: string
744784
service_account_overwrite_allowed:
@@ -777,10 +817,6 @@ spec:
777817
run_as_user:
778818
format: int64
779819
type: integer
780-
required:
781-
- allow_privilege_escalation
782-
- privileged
783-
- read_only_root_filesystem
784820
type: object
785821
service_cpu_limit:
786822
type: string
@@ -948,14 +984,9 @@ spec:
948984
- name
949985
type: object
950986
type: array
951-
required:
952-
- config_map
953-
- csi
954-
- empty_dir
955-
- host_path
956-
- pvc
957-
- secret
958987
type: object
988+
required:
989+
- scheduler_name
959990
type: object
960991
name:
961992
type: string
@@ -1063,3 +1094,9 @@ spec:
10631094
storage: true
10641095
subresources:
10651096
status: {}
1097+
status:
1098+
acceptedNames:
1099+
kind: ""
1100+
plural: ""
1101+
conditions: []
1102+
storedVersions: []

config/crd/bases/gitlab.k8s.alekc.dev_runners.yaml

Lines changed: 61 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
12
---
23
apiVersion: apiextensions.k8s.io/v1
34
kind: CustomResourceDefinition
45
metadata:
56
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
7+
controller-gen.kubebuilder.io/version: v0.4.1
78
creationTimestamp: null
89
name: runners.gitlab.k8s.alekc.dev
910
spec:
@@ -365,6 +366,10 @@ spec:
365366
items:
366367
type: string
367368
type: array
369+
allowed_pull_policies:
370+
items:
371+
type: string
372+
type: array
368373
allowed_services:
369374
items:
370375
type: string
@@ -407,10 +412,6 @@ spec:
407412
run_as_user:
408413
format: int64
409414
type: integer
410-
required:
411-
- allow_privilege_escalation
412-
- privileged
413-
- read_only_root_filesystem
414415
type: object
415416
ca_file:
416417
type: string
@@ -570,10 +571,6 @@ spec:
570571
items:
571572
type: string
572573
type: array
573-
required:
574-
- nameservers
575-
- options
576-
- searches
577574
type: object
578575
dns_policy:
579576
type: string
@@ -619,10 +616,6 @@ spec:
619616
run_as_user:
620617
format: int64
621618
type: integer
622-
required:
623-
- allow_privilege_escalation
624-
- privileged
625-
- read_only_root_filesystem
626619
type: object
627620
helper_cpu_limit:
628621
type: string
@@ -674,6 +667,41 @@ spec:
674667
items:
675668
type: string
676669
type: array
670+
init_permissions_container_security_context:
671+
properties:
672+
allow_privilege_escalation:
673+
type: boolean
674+
capabilities:
675+
properties:
676+
add:
677+
items:
678+
description: Capability represent POSIX capabilities
679+
type
680+
type: string
681+
type: array
682+
drop:
683+
items:
684+
description: Capability represent POSIX capabilities
685+
type
686+
type: string
687+
type: array
688+
required:
689+
- add
690+
- drop
691+
type: object
692+
privileged:
693+
type: boolean
694+
read_only_root_filesystem:
695+
type: boolean
696+
run_as_group:
697+
format: int64
698+
type: integer
699+
run_as_non_root:
700+
type: boolean
701+
run_as_user:
702+
format: int64
703+
type: integer
704+
type: object
677705
key_file:
678706
type: string
679707
memory_limit:
@@ -692,6 +720,8 @@ spec:
692720
additionalProperties:
693721
type: string
694722
type: object
723+
node_selector_overwrite_allowed:
724+
type: string
695725
node_tolerations:
696726
additionalProperties:
697727
type: string
@@ -706,6 +736,8 @@ spec:
706736
additionalProperties:
707737
type: string
708738
type: object
739+
pod_labels_overwrite_allowed:
740+
type: string
709741
pod_security_context:
710742
properties:
711743
fs_group:
@@ -732,12 +764,20 @@ spec:
732764
type: integer
733765
poll_timeout:
734766
type: integer
767+
priority_class_name:
768+
type: string
735769
privileged:
736770
type: boolean
737771
pull_policy:
738772
items:
739773
type: string
740774
type: array
775+
resource_availability_check_max_attempts:
776+
type: integer
777+
runtime_class_name:
778+
type: string
779+
scheduler_name:
780+
type: string
741781
service_account:
742782
type: string
743783
service_account_overwrite_allowed:
@@ -776,10 +816,6 @@ spec:
776816
run_as_user:
777817
format: int64
778818
type: integer
779-
required:
780-
- allow_privilege_escalation
781-
- privileged
782-
- read_only_root_filesystem
783819
type: object
784820
service_cpu_limit:
785821
type: string
@@ -947,14 +983,9 @@ spec:
947983
- name
948984
type: object
949985
type: array
950-
required:
951-
- config_map
952-
- csi
953-
- empty_dir
954-
- host_path
955-
- pvc
956-
- secret
957986
type: object
987+
required:
988+
- scheduler_name
958989
type: object
959990
gitlab_instance_url:
960991
type: string
@@ -1058,3 +1089,9 @@ spec:
10581089
storage: true
10591090
subresources:
10601091
status: {}
1092+
status:
1093+
acceptedNames:
1094+
kind: ""
1095+
plural: ""
1096+
conditions: []
1097+
storedVersions: []

0 commit comments

Comments
 (0)