remove rootTLSSecret

[ZITADOPER-10]
This commit is contained in:
Haim Kortovich
2025-04-29 19:39:45 -05:00
parent 094f11cf29
commit 953d03b3e1
4 changed files with 1 additions and 35 deletions

View File

@@ -82,8 +82,7 @@ type ZitadelClusterSpec struct {
ServiceAnnotations map[string]string `json:"serviceAnnotations,omitempty"`
// +kubebuilder:default=3
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:podCount"}
Replicas int32 `json:"replicas,omitempty"`
RootTLSSecret corev1.SecretReference `json:"rootTLSSecret"`
Replicas int32 `json:"replicas,omitempty"`
}
// ZitadelClusterStatus defines the observed state of ZitadelCluster

View File

@@ -1089,7 +1089,6 @@ func (in *ZitadelClusterSpec) DeepCopyInto(out *ZitadelClusterSpec) {
(*out)[key] = val
}
}
out.RootTLSSecret = in.RootTLSSecret
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZitadelClusterSpec.

View File

@@ -198,21 +198,6 @@ spec:
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type: object
type: object
rootTLSSecret:
description: |-
SecretReference represents a Secret Reference. It has enough information to retrieve secret
in any namespace
properties:
name:
description: name is unique within a namespace to reference a
secret resource.
type: string
namespace:
description: namespace defines the space within which the secret
name must be unique.
type: string
type: object
x-kubernetes-map-type: atomic
serviceAnnotations:
additionalProperties:
type: string
@@ -278,7 +263,6 @@ spec:
- postgresClusterRef
- purpose
- resources
- rootTLSSecret
- smtpConfig
type: object
status: