Merged in feature/ZITADOPER-10-use-postgresql-instead-of-c (pull request #13)

remove rootTLSSecret

Approved-by: Jose Phillips
This commit is contained in:
Haim Kortovich
2025-08-21 22:55:42 +00:00
committed by Jose Phillips
4 changed files with 1 additions and 35 deletions

View File

@@ -197,21 +197,6 @@ spec:
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type: object type: object
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: serviceAnnotations:
additionalProperties: additionalProperties:
type: string type: string
@@ -277,7 +262,6 @@ spec:
- postgresClusterRef - postgresClusterRef
- purpose - purpose
- resources - resources
- rootTLSSecret
- smtpConfig - smtpConfig
type: object type: object
status: status:

View File

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

View File

@@ -1089,7 +1089,6 @@ func (in *ZitadelClusterSpec) DeepCopyInto(out *ZitadelClusterSpec) {
(*out)[key] = val (*out)[key] = val
} }
} }
out.RootTLSSecret = in.RootTLSSecret
} }
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZitadelClusterSpec. // 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/ More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type: object type: object
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: serviceAnnotations:
additionalProperties: additionalProperties:
type: string type: string
@@ -278,7 +263,6 @@ spec:
- postgresClusterRef - postgresClusterRef
- purpose - purpose
- resources - resources
- rootTLSSecret
- smtpConfig - smtpConfig
type: object type: object
status: status: