mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-01 06:43:05 +02:00
wip
This commit is contained in:
@@ -31,6 +31,7 @@ type AutoscalingListenerSpec struct {
|
||||
GitHubConfigSecret string `json:"githubConfigSecret,omitempty"`
|
||||
|
||||
// +required
|
||||
// +kubebuilder:validation:Minimum=1
|
||||
RunnerScaleSetID int `json:"runnerScaleSetId,omitempty"`
|
||||
|
||||
// +required
|
||||
@@ -53,7 +54,7 @@ type AutoscalingListenerSpec struct {
|
||||
// +required
|
||||
Image string `json:"image,omitempty"`
|
||||
|
||||
// +required
|
||||
// +optional
|
||||
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
|
||||
|
||||
// +optional
|
||||
|
||||
@@ -44,10 +44,13 @@ import (
|
||||
|
||||
// AutoscalingRunnerSet is the Schema for the autoscalingrunnersets API
|
||||
type AutoscalingRunnerSet struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// +optional
|
||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||
|
||||
Spec AutoscalingRunnerSetSpec `json:"spec,omitempty"`
|
||||
// +optional
|
||||
Spec AutoscalingRunnerSetSpec `json:"spec,omitempty"`
|
||||
// +optional
|
||||
Status AutoscalingRunnerSetStatus `json:"status,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -232,6 +232,7 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
runnerScaleSetId:
|
||||
minimum: 1
|
||||
type: integer
|
||||
serviceAccountMetadata:
|
||||
description: ResourceMeta carries metadata common to all internal
|
||||
@@ -8808,7 +8809,6 @@ spec:
|
||||
- githubConfigSecret
|
||||
- githubConfigUrl
|
||||
- image
|
||||
- imagePullSecrets
|
||||
- maxRunners
|
||||
- minRunners
|
||||
- runnerScaleSetId
|
||||
|
||||
+1
-1
@@ -232,6 +232,7 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
runnerScaleSetId:
|
||||
minimum: 1
|
||||
type: integer
|
||||
serviceAccountMetadata:
|
||||
description: ResourceMeta carries metadata common to all internal
|
||||
@@ -8808,7 +8809,6 @@ spec:
|
||||
- githubConfigSecret
|
||||
- githubConfigUrl
|
||||
- image
|
||||
- imagePullSecrets
|
||||
- maxRunners
|
||||
- minRunners
|
||||
- runnerScaleSetId
|
||||
|
||||
@@ -232,6 +232,7 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
runnerScaleSetId:
|
||||
minimum: 1
|
||||
type: integer
|
||||
serviceAccountMetadata:
|
||||
description: ResourceMeta carries metadata common to all internal
|
||||
@@ -8808,7 +8809,6 @@ spec:
|
||||
- githubConfigSecret
|
||||
- githubConfigUrl
|
||||
- image
|
||||
- imagePullSecrets
|
||||
- maxRunners
|
||||
- minRunners
|
||||
- runnerScaleSetId
|
||||
|
||||
Reference in New Issue
Block a user