Add domain settings and smpt
[ZITADOPER-1]
This commit is contained in:
@@ -70,6 +70,22 @@ spec:
|
||||
type: string
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
domainSettings:
|
||||
properties:
|
||||
smtpSenderAddressMatchesInstanceDomain:
|
||||
default: true
|
||||
type: boolean
|
||||
userLoginMustBeDomain:
|
||||
default: true
|
||||
type: boolean
|
||||
validateOrgDomains:
|
||||
default: true
|
||||
type: boolean
|
||||
required:
|
||||
- smtpSenderAddressMatchesInstanceDomain
|
||||
- userLoginMustBeDomain
|
||||
- validateOrgDomains
|
||||
type: object
|
||||
externalPort:
|
||||
default: 443
|
||||
format: int64
|
||||
@@ -164,8 +180,55 @@ spec:
|
||||
type: string
|
||||
description: ServiceAnnotations to add to the service metadata.
|
||||
type: object
|
||||
smtpConfig:
|
||||
properties:
|
||||
host:
|
||||
type: string
|
||||
password:
|
||||
properties:
|
||||
secretRef:
|
||||
description: SecretKeySelector selects a key of a Secret.
|
||||
properties:
|
||||
key:
|
||||
description: The key of the secret to select from. Must
|
||||
be a valid secret key.
|
||||
type: string
|
||||
name:
|
||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||
TODO: Add other useful fields. apiVersion, kind, uid?'
|
||||
type: string
|
||||
optional:
|
||||
description: Specify whether the Secret or its key must
|
||||
be defined
|
||||
type: boolean
|
||||
required:
|
||||
- key
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
required:
|
||||
- secretRef
|
||||
type: object
|
||||
replyToAddress:
|
||||
type: string
|
||||
senderAddress:
|
||||
type: string
|
||||
senderName:
|
||||
type: string
|
||||
tls:
|
||||
default: true
|
||||
type: boolean
|
||||
user:
|
||||
type: string
|
||||
required:
|
||||
- host
|
||||
- replyToAddress
|
||||
- senderAddress
|
||||
- senderName
|
||||
- tls
|
||||
type: object
|
||||
required:
|
||||
- crdbClusterRef
|
||||
- domainSettings
|
||||
- externalPort
|
||||
- externalSecure
|
||||
- firstOrgName
|
||||
@@ -173,6 +236,7 @@ spec:
|
||||
- image
|
||||
- purpose
|
||||
- resources
|
||||
- smtpConfig
|
||||
type: object
|
||||
status:
|
||||
description: ZitadelClusterStatus defines the observed state of ZitadelCluster
|
||||
|
||||
Reference in New Issue
Block a user