This commit is contained in:
Nikola Jokic
2026-06-15 16:22:23 +02:00
parent b3a6c2e0cb
commit 9452b9eff0
5 changed files with 10 additions and 6 deletions
@@ -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"`
}
@@ -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
@@ -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