mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-18 05:07:35 +02:00
Improve performance of controllers
This commit is contained in:
@@ -21,4 +21,5 @@ rules:
|
||||
{{/* See https://github.com/actions/actions-runner-controller/pull/1268/files#r917331632 */}}
|
||||
- create
|
||||
- delete
|
||||
- deletecollection
|
||||
{{- end }}
|
||||
+14
-16
@@ -51,10 +51,8 @@ spec:
|
||||
description: AutoscalingListenerSpec defines the desired state of AutoscalingListener
|
||||
properties:
|
||||
autoscalingRunnerSetName:
|
||||
description: Required
|
||||
type: string
|
||||
autoscalingRunnerSetNamespace:
|
||||
description: Required
|
||||
type: string
|
||||
configSecretMetadata:
|
||||
description: ResourceMeta carries metadata common to all internal
|
||||
@@ -70,21 +68,17 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
ephemeralRunnerSetName:
|
||||
description: Required
|
||||
type: string
|
||||
githubConfigSecret:
|
||||
description: Required
|
||||
type: string
|
||||
githubConfigUrl:
|
||||
description: Required
|
||||
type: string
|
||||
githubServerTLS:
|
||||
properties:
|
||||
certificateFrom:
|
||||
description: Required
|
||||
properties:
|
||||
configMapKeyRef:
|
||||
description: Required
|
||||
description: Selects a key from a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
@@ -106,13 +100,15 @@ spec:
|
||||
- key
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
required:
|
||||
- configMapKeyRef
|
||||
type: object
|
||||
required:
|
||||
- certificateFrom
|
||||
type: object
|
||||
image:
|
||||
description: Required
|
||||
type: string
|
||||
imagePullSecrets:
|
||||
description: Required
|
||||
items:
|
||||
description: |-
|
||||
LocalObjectReference contains enough information to let you locate the
|
||||
@@ -131,7 +127,6 @@ spec:
|
||||
x-kubernetes-map-type: atomic
|
||||
type: array
|
||||
maxRunners:
|
||||
description: Required
|
||||
minimum: 0
|
||||
type: integer
|
||||
metrics:
|
||||
@@ -183,7 +178,6 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
minRunners:
|
||||
description: Required
|
||||
minimum: 0
|
||||
type: integer
|
||||
proxy:
|
||||
@@ -193,16 +187,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -236,7 +232,7 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
runnerScaleSetId:
|
||||
description: Required
|
||||
minimum: 1
|
||||
type: integer
|
||||
serviceAccountMetadata:
|
||||
description: ResourceMeta carries metadata common to all internal
|
||||
@@ -8782,16 +8778,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
|
||||
+35
-9
@@ -24,6 +24,15 @@ spec:
|
||||
- jsonPath: .status.phase
|
||||
name: Phase
|
||||
type: string
|
||||
- jsonPath: .status.pendingEphemeralRunners
|
||||
name: Pending Runners
|
||||
type: integer
|
||||
- jsonPath: .status.runningEphemeralRunners
|
||||
name: Running Runners
|
||||
type: integer
|
||||
- jsonPath: .status.failedEphemeralRunners
|
||||
name: Failed Runners
|
||||
type: integer
|
||||
name: v1alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
@@ -98,18 +107,15 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
githubConfigSecret:
|
||||
description: Required
|
||||
type: string
|
||||
githubConfigUrl:
|
||||
description: Required
|
||||
type: string
|
||||
githubServerTLS:
|
||||
properties:
|
||||
certificateFrom:
|
||||
description: Required
|
||||
properties:
|
||||
configMapKeyRef:
|
||||
description: Required
|
||||
description: Selects a key from a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
@@ -130,7 +136,11 @@ spec:
|
||||
- key
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
required:
|
||||
- configMapKeyRef
|
||||
type: object
|
||||
required:
|
||||
- certificateFrom
|
||||
type: object
|
||||
listenerConfigSecretMetadata:
|
||||
description: ResourceMeta carries metadata common to all internal resources
|
||||
@@ -8351,16 +8361,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -8376,7 +8388,7 @@ spec:
|
||||
runnerScaleSetName:
|
||||
type: string
|
||||
template:
|
||||
description: Required
|
||||
description: PodTemplateSpec describes the data a pod should have when created from a template
|
||||
properties:
|
||||
metadata:
|
||||
description: |-
|
||||
@@ -16502,16 +16514,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -16528,8 +16542,20 @@ spec:
|
||||
status:
|
||||
description: AutoscalingRunnerSetStatus defines the observed state of AutoscalingRunnerSet
|
||||
properties:
|
||||
currentRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
failedEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
pendingEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
phase:
|
||||
type: string
|
||||
runningEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
|
||||
+15
-10
@@ -89,10 +89,9 @@ spec:
|
||||
githubServerTLS:
|
||||
properties:
|
||||
certificateFrom:
|
||||
description: Required
|
||||
properties:
|
||||
configMapKeyRef:
|
||||
description: Required
|
||||
description: Selects a key from a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
@@ -113,7 +112,11 @@ spec:
|
||||
- key
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
required:
|
||||
- configMapKeyRef
|
||||
type: object
|
||||
required:
|
||||
- certificateFrom
|
||||
type: object
|
||||
metadata:
|
||||
description: |-
|
||||
@@ -144,16 +147,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -8268,16 +8273,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -8290,10 +8297,6 @@ spec:
|
||||
It is used to identify which vault integration should be used to resolve secrets.
|
||||
type: string
|
||||
type: object
|
||||
required:
|
||||
- githubConfigSecret
|
||||
- githubConfigUrl
|
||||
- runnerScaleSetId
|
||||
type: object
|
||||
status:
|
||||
description: EphemeralRunnerStatus defines the observed state of EphemeralRunner
|
||||
@@ -8342,6 +8345,8 @@ spec:
|
||||
type: integer
|
||||
type: object
|
||||
type: object
|
||||
selectableFields:
|
||||
- jsonPath: .status.phase
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
|
||||
+35
-12
@@ -83,10 +83,9 @@ spec:
|
||||
githubServerTLS:
|
||||
properties:
|
||||
certificateFrom:
|
||||
description: Required
|
||||
properties:
|
||||
configMapKeyRef:
|
||||
description: Required
|
||||
description: Selects a key from a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
@@ -107,7 +106,11 @@ spec:
|
||||
- key
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
required:
|
||||
- configMapKeyRef
|
||||
type: object
|
||||
required:
|
||||
- certificateFrom
|
||||
type: object
|
||||
metadata:
|
||||
description: |-
|
||||
@@ -138,16 +141,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -8262,16 +8267,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -8284,10 +8291,6 @@ spec:
|
||||
It is used to identify which vault integration should be used to resolve secrets.
|
||||
type: string
|
||||
type: object
|
||||
required:
|
||||
- githubConfigSecret
|
||||
- githubConfigUrl
|
||||
- runnerScaleSetId
|
||||
type: object
|
||||
patchID:
|
||||
description: PatchID is the unique identifier for the patch issued by the listener app
|
||||
@@ -8295,15 +8298,35 @@ spec:
|
||||
replicas:
|
||||
description: Replicas is the number of desired EphemeralRunner resources in the k8s namespace.
|
||||
type: integer
|
||||
required:
|
||||
- patchID
|
||||
type: object
|
||||
status:
|
||||
description: EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
|
||||
properties:
|
||||
currentReplicas:
|
||||
description: CurrentReplicas is the number of currently running EphemeralRunner resources being managed by this EphemeralRunnerSet.
|
||||
minimum: 0
|
||||
type: integer
|
||||
failedEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
pendingEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
phase:
|
||||
description: EphemeralRunnerSetPhase is the phase of the ephemeral runner set resource
|
||||
type: string
|
||||
reservedPatchID:
|
||||
description: ReservedPatchID is the patch ID associated with ReservedReplicas.
|
||||
type: integer
|
||||
reservedReplicas:
|
||||
description: |-
|
||||
ReservedReplicas is the controller's checkpointed scale decision for the current patch.
|
||||
It may be higher than CurrentaReplicas while the listener has not yet patched the desired count after runners complete.
|
||||
minimum: 0
|
||||
type: integer
|
||||
runningEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
|
||||
+1
@@ -92,6 +92,7 @@ rules:
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- deletecollection
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
|
||||
+1
@@ -66,6 +66,7 @@ rules:
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- deletecollection
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
|
||||
+14
-16
@@ -51,10 +51,8 @@ spec:
|
||||
description: AutoscalingListenerSpec defines the desired state of AutoscalingListener
|
||||
properties:
|
||||
autoscalingRunnerSetName:
|
||||
description: Required
|
||||
type: string
|
||||
autoscalingRunnerSetNamespace:
|
||||
description: Required
|
||||
type: string
|
||||
configSecretMetadata:
|
||||
description: ResourceMeta carries metadata common to all internal
|
||||
@@ -70,21 +68,17 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
ephemeralRunnerSetName:
|
||||
description: Required
|
||||
type: string
|
||||
githubConfigSecret:
|
||||
description: Required
|
||||
type: string
|
||||
githubConfigUrl:
|
||||
description: Required
|
||||
type: string
|
||||
githubServerTLS:
|
||||
properties:
|
||||
certificateFrom:
|
||||
description: Required
|
||||
properties:
|
||||
configMapKeyRef:
|
||||
description: Required
|
||||
description: Selects a key from a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
@@ -106,13 +100,15 @@ spec:
|
||||
- key
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
required:
|
||||
- configMapKeyRef
|
||||
type: object
|
||||
required:
|
||||
- certificateFrom
|
||||
type: object
|
||||
image:
|
||||
description: Required
|
||||
type: string
|
||||
imagePullSecrets:
|
||||
description: Required
|
||||
items:
|
||||
description: |-
|
||||
LocalObjectReference contains enough information to let you locate the
|
||||
@@ -131,7 +127,6 @@ spec:
|
||||
x-kubernetes-map-type: atomic
|
||||
type: array
|
||||
maxRunners:
|
||||
description: Required
|
||||
minimum: 0
|
||||
type: integer
|
||||
metrics:
|
||||
@@ -183,7 +178,6 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
minRunners:
|
||||
description: Required
|
||||
minimum: 0
|
||||
type: integer
|
||||
proxy:
|
||||
@@ -193,16 +187,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -236,7 +232,7 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
runnerScaleSetId:
|
||||
description: Required
|
||||
minimum: 1
|
||||
type: integer
|
||||
serviceAccountMetadata:
|
||||
description: ResourceMeta carries metadata common to all internal
|
||||
@@ -8782,16 +8778,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
|
||||
+35
-9
@@ -24,6 +24,15 @@ spec:
|
||||
- jsonPath: .status.phase
|
||||
name: Phase
|
||||
type: string
|
||||
- jsonPath: .status.pendingEphemeralRunners
|
||||
name: Pending Runners
|
||||
type: integer
|
||||
- jsonPath: .status.runningEphemeralRunners
|
||||
name: Running Runners
|
||||
type: integer
|
||||
- jsonPath: .status.failedEphemeralRunners
|
||||
name: Failed Runners
|
||||
type: integer
|
||||
name: v1alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
@@ -98,18 +107,15 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
githubConfigSecret:
|
||||
description: Required
|
||||
type: string
|
||||
githubConfigUrl:
|
||||
description: Required
|
||||
type: string
|
||||
githubServerTLS:
|
||||
properties:
|
||||
certificateFrom:
|
||||
description: Required
|
||||
properties:
|
||||
configMapKeyRef:
|
||||
description: Required
|
||||
description: Selects a key from a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
@@ -130,7 +136,11 @@ spec:
|
||||
- key
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
required:
|
||||
- configMapKeyRef
|
||||
type: object
|
||||
required:
|
||||
- certificateFrom
|
||||
type: object
|
||||
listenerConfigSecretMetadata:
|
||||
description: ResourceMeta carries metadata common to all internal resources
|
||||
@@ -8351,16 +8361,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -8376,7 +8388,7 @@ spec:
|
||||
runnerScaleSetName:
|
||||
type: string
|
||||
template:
|
||||
description: Required
|
||||
description: PodTemplateSpec describes the data a pod should have when created from a template
|
||||
properties:
|
||||
metadata:
|
||||
description: |-
|
||||
@@ -16502,16 +16514,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -16528,8 +16542,20 @@ spec:
|
||||
status:
|
||||
description: AutoscalingRunnerSetStatus defines the observed state of AutoscalingRunnerSet
|
||||
properties:
|
||||
currentRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
failedEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
pendingEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
phase:
|
||||
type: string
|
||||
runningEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
|
||||
+15
-10
@@ -89,10 +89,9 @@ spec:
|
||||
githubServerTLS:
|
||||
properties:
|
||||
certificateFrom:
|
||||
description: Required
|
||||
properties:
|
||||
configMapKeyRef:
|
||||
description: Required
|
||||
description: Selects a key from a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
@@ -113,7 +112,11 @@ spec:
|
||||
- key
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
required:
|
||||
- configMapKeyRef
|
||||
type: object
|
||||
required:
|
||||
- certificateFrom
|
||||
type: object
|
||||
metadata:
|
||||
description: |-
|
||||
@@ -144,16 +147,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -8268,16 +8273,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -8290,10 +8297,6 @@ spec:
|
||||
It is used to identify which vault integration should be used to resolve secrets.
|
||||
type: string
|
||||
type: object
|
||||
required:
|
||||
- githubConfigSecret
|
||||
- githubConfigUrl
|
||||
- runnerScaleSetId
|
||||
type: object
|
||||
status:
|
||||
description: EphemeralRunnerStatus defines the observed state of EphemeralRunner
|
||||
@@ -8342,6 +8345,8 @@ spec:
|
||||
type: integer
|
||||
type: object
|
||||
type: object
|
||||
selectableFields:
|
||||
- jsonPath: .status.phase
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
|
||||
+35
-12
@@ -83,10 +83,9 @@ spec:
|
||||
githubServerTLS:
|
||||
properties:
|
||||
certificateFrom:
|
||||
description: Required
|
||||
properties:
|
||||
configMapKeyRef:
|
||||
description: Required
|
||||
description: Selects a key from a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
@@ -107,7 +106,11 @@ spec:
|
||||
- key
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
required:
|
||||
- configMapKeyRef
|
||||
type: object
|
||||
required:
|
||||
- certificateFrom
|
||||
type: object
|
||||
metadata:
|
||||
description: |-
|
||||
@@ -138,16 +141,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -8262,16 +8267,18 @@ spec:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
https:
|
||||
properties:
|
||||
credentialSecretRef:
|
||||
type: string
|
||||
url:
|
||||
description: Required
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
noProxy:
|
||||
items:
|
||||
@@ -8284,10 +8291,6 @@ spec:
|
||||
It is used to identify which vault integration should be used to resolve secrets.
|
||||
type: string
|
||||
type: object
|
||||
required:
|
||||
- githubConfigSecret
|
||||
- githubConfigUrl
|
||||
- runnerScaleSetId
|
||||
type: object
|
||||
patchID:
|
||||
description: PatchID is the unique identifier for the patch issued by the listener app
|
||||
@@ -8295,15 +8298,35 @@ spec:
|
||||
replicas:
|
||||
description: Replicas is the number of desired EphemeralRunner resources in the k8s namespace.
|
||||
type: integer
|
||||
required:
|
||||
- patchID
|
||||
type: object
|
||||
status:
|
||||
description: EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
|
||||
properties:
|
||||
currentReplicas:
|
||||
description: CurrentReplicas is the number of currently running EphemeralRunner resources being managed by this EphemeralRunnerSet.
|
||||
minimum: 0
|
||||
type: integer
|
||||
failedEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
pendingEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
phase:
|
||||
description: EphemeralRunnerSetPhase is the phase of the ephemeral runner set resource
|
||||
type: string
|
||||
reservedPatchID:
|
||||
description: ReservedPatchID is the patch ID associated with ReservedReplicas.
|
||||
type: integer
|
||||
reservedReplicas:
|
||||
description: |-
|
||||
ReservedReplicas is the controller's checkpointed scale decision for the current patch.
|
||||
It may be higher than CurrentaReplicas while the listener has not yet patched the desired count after runners complete.
|
||||
minimum: 0
|
||||
type: integer
|
||||
runningEphemeralRunners:
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
|
||||
@@ -92,6 +92,7 @@ rules:
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- deletecollection
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
|
||||
+1
@@ -66,6 +66,7 @@ rules:
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- deletecollection
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
|
||||
@@ -82,7 +82,10 @@ volumeMounts:
|
||||
subPath: extension
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
{{ include "githubServerTLS.volumeMountItem" (dict "root" $ "existingVolumeMounts" (list)) | nindent 2 }}
|
||||
{{- with .Values.runner.container.volumeMounts }}
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{ include "githubServerTLS.volumeMountItem" (dict "root" $ "existingVolumeMounts" (.Values.runner.container.volumeMounts | default (list))) | nindent 2 }}
|
||||
{{- end }}
|
||||
|
||||
{{- define "runner-mode-kubernetes.pod-volumes" -}}
|
||||
|
||||
@@ -17,6 +17,8 @@ rules:
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- update
|
||||
- patch
|
||||
- get
|
||||
- apiGroups:
|
||||
- ""
|
||||
@@ -31,6 +33,7 @@ rules:
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- deletecollection
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
|
||||
@@ -41,6 +41,8 @@ rules:
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- update
|
||||
- patch
|
||||
- get
|
||||
- apiGroups:
|
||||
- ""
|
||||
@@ -55,6 +57,7 @@ rules:
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- deletecollection
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
|
||||
@@ -1364,11 +1364,11 @@ func TestTemplateRenderedWithProxy(t *testing.T) {
|
||||
|
||||
require.NotNil(t, ars.Spec.Proxy)
|
||||
require.NotNil(t, ars.Spec.Proxy.HTTP)
|
||||
assert.Equal(t, "http://proxy.example.com", ars.Spec.Proxy.HTTP.Url)
|
||||
assert.Equal(t, "http://proxy.example.com", ars.Spec.Proxy.HTTP.URL)
|
||||
assert.Equal(t, "http-secret", ars.Spec.Proxy.HTTP.CredentialSecretRef)
|
||||
|
||||
require.NotNil(t, ars.Spec.Proxy.HTTPS)
|
||||
assert.Equal(t, "https://proxy.example.com", ars.Spec.Proxy.HTTPS.Url)
|
||||
assert.Equal(t, "https://proxy.example.com", ars.Spec.Proxy.HTTPS.URL)
|
||||
assert.Equal(t, "https-secret", ars.Spec.Proxy.HTTPS.CredentialSecretRef)
|
||||
|
||||
require.NotNil(t, ars.Spec.Proxy.NoProxy)
|
||||
|
||||
Reference in New Issue
Block a user