Tag fields with optional allowing patches without issues (#4528)
This commit is contained in:
parent
68c0a86188
commit
2fa72b510f
|
|
@ -24,36 +24,36 @@ import (
|
||||||
|
|
||||||
// AutoscalingListenerSpec defines the desired state of AutoscalingListener
|
// AutoscalingListenerSpec defines the desired state of AutoscalingListener
|
||||||
type AutoscalingListenerSpec struct {
|
type AutoscalingListenerSpec struct {
|
||||||
// Required
|
// +optional
|
||||||
GitHubConfigURL string `json:"githubConfigUrl,omitempty"`
|
GitHubConfigURL string `json:"githubConfigUrl,omitempty"`
|
||||||
|
|
||||||
// Required
|
// +optional
|
||||||
GitHubConfigSecret string `json:"githubConfigSecret,omitempty"`
|
GitHubConfigSecret string `json:"githubConfigSecret,omitempty"`
|
||||||
|
|
||||||
// Required
|
// +optional
|
||||||
RunnerScaleSetID int `json:"runnerScaleSetId,omitempty"`
|
RunnerScaleSetID int `json:"runnerScaleSetId,omitempty"`
|
||||||
|
|
||||||
// Required
|
// +optional
|
||||||
AutoscalingRunnerSetNamespace string `json:"autoscalingRunnerSetNamespace,omitempty"`
|
AutoscalingRunnerSetNamespace string `json:"autoscalingRunnerSetNamespace,omitempty"`
|
||||||
|
|
||||||
// Required
|
// +optional
|
||||||
AutoscalingRunnerSetName string `json:"autoscalingRunnerSetName,omitempty"`
|
AutoscalingRunnerSetName string `json:"autoscalingRunnerSetName,omitempty"`
|
||||||
|
|
||||||
// Required
|
// +optional
|
||||||
EphemeralRunnerSetName string `json:"ephemeralRunnerSetName,omitempty"`
|
EphemeralRunnerSetName string `json:"ephemeralRunnerSetName,omitempty"`
|
||||||
|
|
||||||
// Required
|
|
||||||
// +kubebuilder:validation:Minimum:=0
|
// +kubebuilder:validation:Minimum:=0
|
||||||
|
// +optional
|
||||||
MaxRunners int `json:"maxRunners,omitempty"`
|
MaxRunners int `json:"maxRunners,omitempty"`
|
||||||
|
|
||||||
// Required
|
|
||||||
// +kubebuilder:validation:Minimum:=0
|
// +kubebuilder:validation:Minimum:=0
|
||||||
|
// +optional
|
||||||
MinRunners int `json:"minRunners,omitempty"`
|
MinRunners int `json:"minRunners,omitempty"`
|
||||||
|
|
||||||
// Required
|
// +optional
|
||||||
Image string `json:"image,omitempty"`
|
Image string `json:"image,omitempty"`
|
||||||
|
|
||||||
// Required
|
// +optional
|
||||||
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
|
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
|
||||||
|
|
||||||
// +optional
|
// +optional
|
||||||
|
|
@ -99,10 +99,13 @@ type AutoscalingListenerStatus struct{}
|
||||||
|
|
||||||
// AutoscalingListener is the Schema for the autoscalinglisteners API
|
// AutoscalingListener is the Schema for the autoscalinglisteners API
|
||||||
type AutoscalingListener struct {
|
type AutoscalingListener struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||||
|
|
||||||
Spec AutoscalingListenerSpec `json:"spec,omitempty"`
|
// +optional
|
||||||
|
Spec AutoscalingListenerSpec `json:"spec,omitempty"`
|
||||||
|
// +optional
|
||||||
Status AutoscalingListenerStatus `json:"status,omitempty"`
|
Status AutoscalingListenerStatus `json:"status,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -110,6 +113,7 @@ type AutoscalingListener struct {
|
||||||
// AutoscalingListenerList contains a list of AutoscalingListener
|
// AutoscalingListenerList contains a list of AutoscalingListener
|
||||||
type AutoscalingListenerList struct {
|
type AutoscalingListenerList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
// +optional
|
||||||
metav1.ListMeta `json:"metadata,omitempty"`
|
metav1.ListMeta `json:"metadata,omitempty"`
|
||||||
Items []AutoscalingListener `json:"items"`
|
Items []AutoscalingListener `json:"items"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -45,19 +45,22 @@ import (
|
||||||
|
|
||||||
// AutoscalingRunnerSet is the Schema for the autoscalingrunnersets API
|
// AutoscalingRunnerSet is the Schema for the autoscalingrunnersets API
|
||||||
type AutoscalingRunnerSet struct {
|
type AutoscalingRunnerSet struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||||
|
|
||||||
Spec AutoscalingRunnerSetSpec `json:"spec,omitempty"`
|
// +optional
|
||||||
|
Spec AutoscalingRunnerSetSpec `json:"spec,omitempty"`
|
||||||
|
// +optional
|
||||||
Status AutoscalingRunnerSetStatus `json:"status,omitempty"`
|
Status AutoscalingRunnerSetStatus `json:"status,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// AutoscalingRunnerSetSpec defines the desired state of AutoscalingRunnerSet
|
// AutoscalingRunnerSetSpec defines the desired state of AutoscalingRunnerSet
|
||||||
type AutoscalingRunnerSetSpec struct {
|
type AutoscalingRunnerSetSpec struct {
|
||||||
// Required
|
// +optional
|
||||||
GitHubConfigUrl string `json:"githubConfigUrl,omitempty"`
|
GitHubConfigUrl string `json:"githubConfigUrl,omitempty"`
|
||||||
|
|
||||||
// Required
|
// +optional
|
||||||
GitHubConfigSecret string `json:"githubConfigSecret,omitempty"`
|
GitHubConfigSecret string `json:"githubConfigSecret,omitempty"`
|
||||||
|
|
||||||
// +optional
|
// +optional
|
||||||
|
|
@ -78,7 +81,7 @@ type AutoscalingRunnerSetSpec struct {
|
||||||
// +optional
|
// +optional
|
||||||
VaultConfig *VaultConfig `json:"vaultConfig,omitempty"`
|
VaultConfig *VaultConfig `json:"vaultConfig,omitempty"`
|
||||||
|
|
||||||
// Required
|
// +optional
|
||||||
Template corev1.PodTemplateSpec `json:"template,omitempty"`
|
Template corev1.PodTemplateSpec `json:"template,omitempty"`
|
||||||
|
|
||||||
// +optional
|
// +optional
|
||||||
|
|
|
||||||
|
|
@ -41,10 +41,13 @@ const EphemeralRunnerContainerName = "runner"
|
||||||
|
|
||||||
// EphemeralRunner is the Schema for the ephemeralrunners API
|
// EphemeralRunner is the Schema for the ephemeralrunners API
|
||||||
type EphemeralRunner struct {
|
type EphemeralRunner struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||||
|
|
||||||
Spec EphemeralRunnerSpec `json:"spec,omitempty"`
|
// +optional
|
||||||
|
Spec EphemeralRunnerSpec `json:"spec,omitempty"`
|
||||||
|
// +optional
|
||||||
Status EphemeralRunnerStatus `json:"status,omitempty"`
|
Status EphemeralRunnerStatus `json:"status,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -102,16 +105,16 @@ func (er *EphemeralRunner) VaultProxy() *ProxyConfig {
|
||||||
|
|
||||||
// EphemeralRunnerSpec defines the desired state of EphemeralRunner
|
// EphemeralRunnerSpec defines the desired state of EphemeralRunner
|
||||||
type EphemeralRunnerSpec struct {
|
type EphemeralRunnerSpec struct {
|
||||||
// +required
|
// +optional
|
||||||
GitHubConfigURL string `json:"githubConfigUrl,omitempty"`
|
GitHubConfigURL string `json:"githubConfigUrl,omitempty"`
|
||||||
|
|
||||||
// +required
|
// +optional
|
||||||
GitHubConfigSecret string `json:"githubConfigSecret,omitempty"`
|
GitHubConfigSecret string `json:"githubConfigSecret,omitempty"`
|
||||||
|
|
||||||
// +optional
|
// +optional
|
||||||
GitHubServerTLS *TLSConfig `json:"githubServerTLS,omitempty"`
|
GitHubServerTLS *TLSConfig `json:"githubServerTLS,omitempty"`
|
||||||
|
|
||||||
// +required
|
// +optional
|
||||||
RunnerScaleSetID int `json:"runnerScaleSetId,omitempty"`
|
RunnerScaleSetID int `json:"runnerScaleSetId,omitempty"`
|
||||||
|
|
||||||
// +optional
|
// +optional
|
||||||
|
|
@ -126,6 +129,7 @@ type EphemeralRunnerSpec struct {
|
||||||
// +optional
|
// +optional
|
||||||
EphemeralRunnerConfigSecretMetadata *ResourceMeta `json:"ephemeralRunnerConfigSecretMetadata,omitempty"`
|
EphemeralRunnerConfigSecretMetadata *ResourceMeta `json:"ephemeralRunnerConfigSecretMetadata,omitempty"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
corev1.PodTemplateSpec `json:",inline"`
|
corev1.PodTemplateSpec `json:",inline"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,13 @@ import (
|
||||||
// EphemeralRunnerSetSpec defines the desired state of EphemeralRunnerSet
|
// EphemeralRunnerSetSpec defines the desired state of EphemeralRunnerSet
|
||||||
type EphemeralRunnerSetSpec struct {
|
type EphemeralRunnerSetSpec struct {
|
||||||
// Replicas is the number of desired EphemeralRunner resources in the k8s namespace.
|
// Replicas is the number of desired EphemeralRunner resources in the k8s namespace.
|
||||||
|
// +optional
|
||||||
Replicas int `json:"replicas,omitempty"`
|
Replicas int `json:"replicas,omitempty"`
|
||||||
// PatchID is the unique identifier for the patch issued by the listener app
|
// PatchID is the unique identifier for the patch issued by the listener app
|
||||||
|
// +optional
|
||||||
PatchID int `json:"patchID"`
|
PatchID int `json:"patchID"`
|
||||||
// EphemeralRunnerSpec is the spec of the ephemeral runner
|
// EphemeralRunnerSpec is the spec of the ephemeral runner
|
||||||
|
// +optional
|
||||||
EphemeralRunnerSpec EphemeralRunnerSpec `json:"ephemeralRunnerSpec,omitempty"`
|
EphemeralRunnerSpec EphemeralRunnerSpec `json:"ephemeralRunnerSpec,omitempty"`
|
||||||
// EphemeralRunnerMetadata is the metadata to be applied to all ephemeral runners created by this set.
|
// EphemeralRunnerMetadata is the metadata to be applied to all ephemeral runners created by this set.
|
||||||
// If the EphemeralRunnerMetadata is updated, the update applies to new ephemeral runners created after the update,
|
// If the EphemeralRunnerMetadata is updated, the update applies to new ephemeral runners created after the update,
|
||||||
|
|
@ -38,6 +41,7 @@ type EphemeralRunnerSetSpec struct {
|
||||||
// EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
|
// EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
|
||||||
type EphemeralRunnerSetStatus struct {
|
type EphemeralRunnerSetStatus struct {
|
||||||
// CurrentReplicas is the number of currently running EphemeralRunner resources being managed by this EphemeralRunnerSet.
|
// CurrentReplicas is the number of currently running EphemeralRunner resources being managed by this EphemeralRunnerSet.
|
||||||
|
// +optional
|
||||||
CurrentReplicas int `json:"currentReplicas"`
|
CurrentReplicas int `json:"currentReplicas"`
|
||||||
// +optional
|
// +optional
|
||||||
PendingEphemeralRunners int `json:"pendingEphemeralRunners"`
|
PendingEphemeralRunners int `json:"pendingEphemeralRunners"`
|
||||||
|
|
@ -71,10 +75,13 @@ const (
|
||||||
|
|
||||||
// EphemeralRunnerSet is the Schema for the ephemeralrunnersets API
|
// EphemeralRunnerSet is the Schema for the ephemeralrunnersets API
|
||||||
type EphemeralRunnerSet struct {
|
type EphemeralRunnerSet struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||||
|
|
||||||
Spec EphemeralRunnerSetSpec `json:"spec,omitempty"`
|
// +optional
|
||||||
|
Spec EphemeralRunnerSetSpec `json:"spec,omitempty"`
|
||||||
|
// +optional
|
||||||
Status EphemeralRunnerSetStatus `json:"status,omitempty"`
|
Status EphemeralRunnerSetStatus `json:"status,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,10 +51,8 @@ spec:
|
||||||
description: AutoscalingListenerSpec defines the desired state of AutoscalingListener
|
description: AutoscalingListenerSpec defines the desired state of AutoscalingListener
|
||||||
properties:
|
properties:
|
||||||
autoscalingRunnerSetName:
|
autoscalingRunnerSetName:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
autoscalingRunnerSetNamespace:
|
autoscalingRunnerSetNamespace:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
configSecretMetadata:
|
configSecretMetadata:
|
||||||
description: ResourceMeta carries metadata common to all internal
|
description: ResourceMeta carries metadata common to all internal
|
||||||
|
|
@ -70,13 +68,10 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
ephemeralRunnerSetName:
|
ephemeralRunnerSetName:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubConfigSecret:
|
githubConfigSecret:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubConfigUrl:
|
githubConfigUrl:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubServerTLS:
|
githubServerTLS:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -109,10 +104,8 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
image:
|
image:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
description: Required
|
|
||||||
items:
|
items:
|
||||||
description: |-
|
description: |-
|
||||||
LocalObjectReference contains enough information to let you locate the
|
LocalObjectReference contains enough information to let you locate the
|
||||||
|
|
@ -131,7 +124,6 @@ spec:
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
maxRunners:
|
maxRunners:
|
||||||
description: Required
|
|
||||||
minimum: 0
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
metrics:
|
metrics:
|
||||||
|
|
@ -183,7 +175,6 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
minRunners:
|
minRunners:
|
||||||
description: Required
|
|
||||||
minimum: 0
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
proxy:
|
proxy:
|
||||||
|
|
@ -236,7 +227,6 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
runnerScaleSetId:
|
runnerScaleSetId:
|
||||||
description: Required
|
|
||||||
type: integer
|
type: integer
|
||||||
serviceAccountMetadata:
|
serviceAccountMetadata:
|
||||||
description: ResourceMeta carries metadata common to all internal
|
description: ResourceMeta carries metadata common to all internal
|
||||||
|
|
|
||||||
|
|
@ -113,10 +113,8 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
githubConfigSecret:
|
githubConfigSecret:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubConfigUrl:
|
githubConfigUrl:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubServerTLS:
|
githubServerTLS:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -8391,7 +8389,7 @@ spec:
|
||||||
runnerScaleSetName:
|
runnerScaleSetName:
|
||||||
type: string
|
type: string
|
||||||
template:
|
template:
|
||||||
description: Required
|
description: PodTemplateSpec describes the data a pod should have when created from a template
|
||||||
properties:
|
properties:
|
||||||
metadata:
|
metadata:
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -8290,10 +8290,6 @@ spec:
|
||||||
It is used to identify which vault integration should be used to resolve secrets.
|
It is used to identify which vault integration should be used to resolve secrets.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
required:
|
|
||||||
- githubConfigSecret
|
|
||||||
- githubConfigUrl
|
|
||||||
- runnerScaleSetId
|
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
description: EphemeralRunnerStatus defines the observed state of EphemeralRunner
|
description: EphemeralRunnerStatus defines the observed state of EphemeralRunner
|
||||||
|
|
|
||||||
|
|
@ -8299,10 +8299,6 @@ spec:
|
||||||
It is used to identify which vault integration should be used to resolve secrets.
|
It is used to identify which vault integration should be used to resolve secrets.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
required:
|
|
||||||
- githubConfigSecret
|
|
||||||
- githubConfigUrl
|
|
||||||
- runnerScaleSetId
|
|
||||||
type: object
|
type: object
|
||||||
patchID:
|
patchID:
|
||||||
description: PatchID is the unique identifier for the patch issued by the listener app
|
description: PatchID is the unique identifier for the patch issued by the listener app
|
||||||
|
|
@ -8310,8 +8306,6 @@ spec:
|
||||||
replicas:
|
replicas:
|
||||||
description: Replicas is the number of desired EphemeralRunner resources in the k8s namespace.
|
description: Replicas is the number of desired EphemeralRunner resources in the k8s namespace.
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
|
||||||
- patchID
|
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
description: EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
|
description: EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
|
||||||
|
|
@ -8328,8 +8322,6 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
runningEphemeralRunners:
|
runningEphemeralRunners:
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
|
||||||
- currentReplicas
|
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
|
|
|
||||||
|
|
@ -51,10 +51,8 @@ spec:
|
||||||
description: AutoscalingListenerSpec defines the desired state of AutoscalingListener
|
description: AutoscalingListenerSpec defines the desired state of AutoscalingListener
|
||||||
properties:
|
properties:
|
||||||
autoscalingRunnerSetName:
|
autoscalingRunnerSetName:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
autoscalingRunnerSetNamespace:
|
autoscalingRunnerSetNamespace:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
configSecretMetadata:
|
configSecretMetadata:
|
||||||
description: ResourceMeta carries metadata common to all internal
|
description: ResourceMeta carries metadata common to all internal
|
||||||
|
|
@ -70,13 +68,10 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
ephemeralRunnerSetName:
|
ephemeralRunnerSetName:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubConfigSecret:
|
githubConfigSecret:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubConfigUrl:
|
githubConfigUrl:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubServerTLS:
|
githubServerTLS:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -109,10 +104,8 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
image:
|
image:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
description: Required
|
|
||||||
items:
|
items:
|
||||||
description: |-
|
description: |-
|
||||||
LocalObjectReference contains enough information to let you locate the
|
LocalObjectReference contains enough information to let you locate the
|
||||||
|
|
@ -131,7 +124,6 @@ spec:
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
maxRunners:
|
maxRunners:
|
||||||
description: Required
|
|
||||||
minimum: 0
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
metrics:
|
metrics:
|
||||||
|
|
@ -183,7 +175,6 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
minRunners:
|
minRunners:
|
||||||
description: Required
|
|
||||||
minimum: 0
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
proxy:
|
proxy:
|
||||||
|
|
@ -236,7 +227,6 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
runnerScaleSetId:
|
runnerScaleSetId:
|
||||||
description: Required
|
|
||||||
type: integer
|
type: integer
|
||||||
serviceAccountMetadata:
|
serviceAccountMetadata:
|
||||||
description: ResourceMeta carries metadata common to all internal
|
description: ResourceMeta carries metadata common to all internal
|
||||||
|
|
|
||||||
|
|
@ -113,10 +113,8 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
githubConfigSecret:
|
githubConfigSecret:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubConfigUrl:
|
githubConfigUrl:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubServerTLS:
|
githubServerTLS:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -8391,7 +8389,7 @@ spec:
|
||||||
runnerScaleSetName:
|
runnerScaleSetName:
|
||||||
type: string
|
type: string
|
||||||
template:
|
template:
|
||||||
description: Required
|
description: PodTemplateSpec describes the data a pod should have when created from a template
|
||||||
properties:
|
properties:
|
||||||
metadata:
|
metadata:
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -8290,10 +8290,6 @@ spec:
|
||||||
It is used to identify which vault integration should be used to resolve secrets.
|
It is used to identify which vault integration should be used to resolve secrets.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
required:
|
|
||||||
- githubConfigSecret
|
|
||||||
- githubConfigUrl
|
|
||||||
- runnerScaleSetId
|
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
description: EphemeralRunnerStatus defines the observed state of EphemeralRunner
|
description: EphemeralRunnerStatus defines the observed state of EphemeralRunner
|
||||||
|
|
|
||||||
|
|
@ -8299,10 +8299,6 @@ spec:
|
||||||
It is used to identify which vault integration should be used to resolve secrets.
|
It is used to identify which vault integration should be used to resolve secrets.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
required:
|
|
||||||
- githubConfigSecret
|
|
||||||
- githubConfigUrl
|
|
||||||
- runnerScaleSetId
|
|
||||||
type: object
|
type: object
|
||||||
patchID:
|
patchID:
|
||||||
description: PatchID is the unique identifier for the patch issued by the listener app
|
description: PatchID is the unique identifier for the patch issued by the listener app
|
||||||
|
|
@ -8310,8 +8306,6 @@ spec:
|
||||||
replicas:
|
replicas:
|
||||||
description: Replicas is the number of desired EphemeralRunner resources in the k8s namespace.
|
description: Replicas is the number of desired EphemeralRunner resources in the k8s namespace.
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
|
||||||
- patchID
|
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
description: EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
|
description: EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
|
||||||
|
|
@ -8328,8 +8322,6 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
runningEphemeralRunners:
|
runningEphemeralRunners:
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
|
||||||
- currentReplicas
|
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
|
|
|
||||||
|
|
@ -51,10 +51,8 @@ spec:
|
||||||
description: AutoscalingListenerSpec defines the desired state of AutoscalingListener
|
description: AutoscalingListenerSpec defines the desired state of AutoscalingListener
|
||||||
properties:
|
properties:
|
||||||
autoscalingRunnerSetName:
|
autoscalingRunnerSetName:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
autoscalingRunnerSetNamespace:
|
autoscalingRunnerSetNamespace:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
configSecretMetadata:
|
configSecretMetadata:
|
||||||
description: ResourceMeta carries metadata common to all internal
|
description: ResourceMeta carries metadata common to all internal
|
||||||
|
|
@ -70,13 +68,10 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
ephemeralRunnerSetName:
|
ephemeralRunnerSetName:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubConfigSecret:
|
githubConfigSecret:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubConfigUrl:
|
githubConfigUrl:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubServerTLS:
|
githubServerTLS:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -109,10 +104,8 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
image:
|
image:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
description: Required
|
|
||||||
items:
|
items:
|
||||||
description: |-
|
description: |-
|
||||||
LocalObjectReference contains enough information to let you locate the
|
LocalObjectReference contains enough information to let you locate the
|
||||||
|
|
@ -131,7 +124,6 @@ spec:
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
type: array
|
type: array
|
||||||
maxRunners:
|
maxRunners:
|
||||||
description: Required
|
|
||||||
minimum: 0
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
metrics:
|
metrics:
|
||||||
|
|
@ -183,7 +175,6 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
minRunners:
|
minRunners:
|
||||||
description: Required
|
|
||||||
minimum: 0
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
proxy:
|
proxy:
|
||||||
|
|
@ -236,7 +227,6 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
runnerScaleSetId:
|
runnerScaleSetId:
|
||||||
description: Required
|
|
||||||
type: integer
|
type: integer
|
||||||
serviceAccountMetadata:
|
serviceAccountMetadata:
|
||||||
description: ResourceMeta carries metadata common to all internal
|
description: ResourceMeta carries metadata common to all internal
|
||||||
|
|
|
||||||
|
|
@ -113,10 +113,8 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
githubConfigSecret:
|
githubConfigSecret:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubConfigUrl:
|
githubConfigUrl:
|
||||||
description: Required
|
|
||||||
type: string
|
type: string
|
||||||
githubServerTLS:
|
githubServerTLS:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -8391,7 +8389,7 @@ spec:
|
||||||
runnerScaleSetName:
|
runnerScaleSetName:
|
||||||
type: string
|
type: string
|
||||||
template:
|
template:
|
||||||
description: Required
|
description: PodTemplateSpec describes the data a pod should have when created from a template
|
||||||
properties:
|
properties:
|
||||||
metadata:
|
metadata:
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -8290,10 +8290,6 @@ spec:
|
||||||
It is used to identify which vault integration should be used to resolve secrets.
|
It is used to identify which vault integration should be used to resolve secrets.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
required:
|
|
||||||
- githubConfigSecret
|
|
||||||
- githubConfigUrl
|
|
||||||
- runnerScaleSetId
|
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
description: EphemeralRunnerStatus defines the observed state of EphemeralRunner
|
description: EphemeralRunnerStatus defines the observed state of EphemeralRunner
|
||||||
|
|
|
||||||
|
|
@ -8299,10 +8299,6 @@ spec:
|
||||||
It is used to identify which vault integration should be used to resolve secrets.
|
It is used to identify which vault integration should be used to resolve secrets.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
required:
|
|
||||||
- githubConfigSecret
|
|
||||||
- githubConfigUrl
|
|
||||||
- runnerScaleSetId
|
|
||||||
type: object
|
type: object
|
||||||
patchID:
|
patchID:
|
||||||
description: PatchID is the unique identifier for the patch issued by the listener app
|
description: PatchID is the unique identifier for the patch issued by the listener app
|
||||||
|
|
@ -8310,8 +8306,6 @@ spec:
|
||||||
replicas:
|
replicas:
|
||||||
description: Replicas is the number of desired EphemeralRunner resources in the k8s namespace.
|
description: Replicas is the number of desired EphemeralRunner resources in the k8s namespace.
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
|
||||||
- patchID
|
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
description: EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
|
description: EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
|
||||||
|
|
@ -8328,8 +8322,6 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
runningEphemeralRunners:
|
runningEphemeralRunners:
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
|
||||||
- currentReplicas
|
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue