Skip to content

Commit

Permalink
upgraded gitlab runner crd to v15.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alekc committed Mar 17, 2023
1 parent ac65978 commit 52938b2
Show file tree
Hide file tree
Showing 9 changed files with 165 additions and 60 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*.dylib
bin
testbin/*
source

# Test binary, build with `go test -c`
*.test
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "source/gitlab-runner"]
path = source/gitlab-runner
url = https://gitlab.com/gitlab-org/gitlab-runner/
32 changes: 20 additions & 12 deletions api/v1beta1/gitlab_types.go

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions api/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 61 additions & 24 deletions config/crd/bases/gitlab.k8s.alekc.dev_multirunners.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: multirunners.gitlab.k8s.alekc.dev
spec:
Expand Down Expand Up @@ -366,6 +367,10 @@ spec:
items:
type: string
type: array
allowed_pull_policies:
items:
type: string
type: array
allowed_services:
items:
type: string
Expand Down Expand Up @@ -408,10 +413,6 @@ spec:
run_as_user:
format: int64
type: integer
required:
- allow_privilege_escalation
- privileged
- read_only_root_filesystem
type: object
ca_file:
type: string
Expand Down Expand Up @@ -571,10 +572,6 @@ spec:
items:
type: string
type: array
required:
- nameservers
- options
- searches
type: object
dns_policy:
type: string
Expand Down Expand Up @@ -620,10 +617,6 @@ spec:
run_as_user:
format: int64
type: integer
required:
- allow_privilege_escalation
- privileged
- read_only_root_filesystem
type: object
helper_cpu_limit:
type: string
Expand Down Expand Up @@ -675,6 +668,41 @@ spec:
items:
type: string
type: array
init_permissions_container_security_context:
properties:
allow_privilege_escalation:
type: boolean
capabilities:
properties:
add:
items:
description: Capability represent POSIX capabilities
type
type: string
type: array
drop:
items:
description: Capability represent POSIX capabilities
type
type: string
type: array
required:
- add
- drop
type: object
privileged:
type: boolean
read_only_root_filesystem:
type: boolean
run_as_group:
format: int64
type: integer
run_as_non_root:
type: boolean
run_as_user:
format: int64
type: integer
type: object
key_file:
type: string
memory_limit:
Expand All @@ -693,6 +721,8 @@ spec:
additionalProperties:
type: string
type: object
node_selector_overwrite_allowed:
type: string
node_tolerations:
additionalProperties:
type: string
Expand All @@ -707,6 +737,8 @@ spec:
additionalProperties:
type: string
type: object
pod_labels_overwrite_allowed:
type: string
pod_security_context:
properties:
fs_group:
Expand All @@ -733,12 +765,20 @@ spec:
type: integer
poll_timeout:
type: integer
priority_class_name:
type: string
privileged:
type: boolean
pull_policy:
items:
type: string
type: array
resource_availability_check_max_attempts:
type: integer
runtime_class_name:
type: string
scheduler_name:
type: string
service_account:
type: string
service_account_overwrite_allowed:
Expand Down Expand Up @@ -777,10 +817,6 @@ spec:
run_as_user:
format: int64
type: integer
required:
- allow_privilege_escalation
- privileged
- read_only_root_filesystem
type: object
service_cpu_limit:
type: string
Expand Down Expand Up @@ -948,14 +984,9 @@ spec:
- name
type: object
type: array
required:
- config_map
- csi
- empty_dir
- host_path
- pvc
- secret
type: object
required:
- scheduler_name
type: object
name:
type: string
Expand Down Expand Up @@ -1063,3 +1094,9 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
85 changes: 61 additions & 24 deletions config/crd/bases/gitlab.k8s.alekc.dev_runners.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: runners.gitlab.k8s.alekc.dev
spec:
Expand Down Expand Up @@ -365,6 +366,10 @@ spec:
items:
type: string
type: array
allowed_pull_policies:
items:
type: string
type: array
allowed_services:
items:
type: string
Expand Down Expand Up @@ -407,10 +412,6 @@ spec:
run_as_user:
format: int64
type: integer
required:
- allow_privilege_escalation
- privileged
- read_only_root_filesystem
type: object
ca_file:
type: string
Expand Down Expand Up @@ -570,10 +571,6 @@ spec:
items:
type: string
type: array
required:
- nameservers
- options
- searches
type: object
dns_policy:
type: string
Expand Down Expand Up @@ -619,10 +616,6 @@ spec:
run_as_user:
format: int64
type: integer
required:
- allow_privilege_escalation
- privileged
- read_only_root_filesystem
type: object
helper_cpu_limit:
type: string
Expand Down Expand Up @@ -674,6 +667,41 @@ spec:
items:
type: string
type: array
init_permissions_container_security_context:
properties:
allow_privilege_escalation:
type: boolean
capabilities:
properties:
add:
items:
description: Capability represent POSIX capabilities
type
type: string
type: array
drop:
items:
description: Capability represent POSIX capabilities
type
type: string
type: array
required:
- add
- drop
type: object
privileged:
type: boolean
read_only_root_filesystem:
type: boolean
run_as_group:
format: int64
type: integer
run_as_non_root:
type: boolean
run_as_user:
format: int64
type: integer
type: object
key_file:
type: string
memory_limit:
Expand All @@ -692,6 +720,8 @@ spec:
additionalProperties:
type: string
type: object
node_selector_overwrite_allowed:
type: string
node_tolerations:
additionalProperties:
type: string
Expand All @@ -706,6 +736,8 @@ spec:
additionalProperties:
type: string
type: object
pod_labels_overwrite_allowed:
type: string
pod_security_context:
properties:
fs_group:
Expand All @@ -732,12 +764,20 @@ spec:
type: integer
poll_timeout:
type: integer
priority_class_name:
type: string
privileged:
type: boolean
pull_policy:
items:
type: string
type: array
resource_availability_check_max_attempts:
type: integer
runtime_class_name:
type: string
scheduler_name:
type: string
service_account:
type: string
service_account_overwrite_allowed:
Expand Down Expand Up @@ -776,10 +816,6 @@ spec:
run_as_user:
format: int64
type: integer
required:
- allow_privilege_escalation
- privileged
- read_only_root_filesystem
type: object
service_cpu_limit:
type: string
Expand Down Expand Up @@ -947,14 +983,9 @@ spec:
- name
type: object
type: array
required:
- config_map
- csi
- empty_dir
- host_path
- pvc
- secret
type: object
required:
- scheduler_name
type: object
gitlab_instance_url:
type: string
Expand Down Expand Up @@ -1058,3 +1089,9 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit 52938b2

Please sign in to comment.