From 32a8d208c826094eb282ec8eed20df1da8bf4ccc Mon Sep 17 00:00:00 2001 From: Nikola Jokic Date: Sat, 11 Jul 2026 00:55:57 +0200 Subject: [PATCH] revert optional --- .../v1alpha1/autoscalingrunnerset_types.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go b/apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go index 11c9edd9..91fd6e60 100644 --- a/apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go +++ b/apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go @@ -49,10 +49,10 @@ type AutoscalingRunnerSet struct { // AutoscalingRunnerSetSpec defines the desired state of AutoscalingRunnerSet type AutoscalingRunnerSetSpec struct { - // Required + // +optional GitHubConfigUrl string `json:"githubConfigUrl,omitempty"` - // Required + // +optional GitHubConfigSecret string `json:"githubConfigSecret,omitempty"` // +optional @@ -73,7 +73,7 @@ type AutoscalingRunnerSetSpec struct { // +optional VaultConfig *VaultConfig `json:"vaultConfig,omitempty"` - // Required + // +optional Template corev1.PodTemplateSpec `json:"template,omitempty"` // +optional @@ -116,7 +116,7 @@ type AutoscalingRunnerSetSpec struct { } type TLSConfig struct { - // Required + // +optional CertificateFrom *TLSCertificateSource `json:"certificateFrom,omitempty"` } @@ -153,7 +153,7 @@ func (c *TLSConfig) ToCertPool(keyFetcher func(name, key string) ([]byte, error) } type TLSCertificateSource struct { - // Required + // +optional ConfigMapKeyRef *corev1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty"` } @@ -254,7 +254,7 @@ func (c *ProxyConfig) ProxyFunc(secretFetcher func(string) (*corev1.Secret, erro } type ProxyServerConfig struct { - // Required + // +optional Url string `json:"url,omitempty"` // +optional