Skip to content

Commit 2df269c

Browse files
committed
crd - smtpconns - fix wrong default
Change-Id: I808a370c1fca1660f92b49e5ab1a8edc88650e34
1 parent f5d391d commit 2df269c

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

api/v1/softwarefactory_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ type SMTPConnection struct {
193193
Server string `json:"server"`
194194
// [port](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.port)
195195
Port uint16 `json:"port,omitempty"`
196-
// +kubebuilder:default:="openid profile"
197196
// [default_from](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.default_from)
198197
DefaultFrom string `json:"defaultFrom,omitempty"`
199198
// [default_to](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.default_to)

config/crd/bases/sf.softwarefactory-project.io_softwarefactories.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,6 @@ spec:
999999
When an optional parameter is not specified then Zuul's defaults apply
10001000
properties:
10011001
defaultFrom:
1002-
default: openid profile
10031002
description: '[default_from](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.default_from)'
10041003
type: string
10051004
defaultTo:

doc/reference/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ _Appears in:_
348348
| `name` _string_ | How the connection will be named in Zuul's configuration and appear in zuul-web | -|
349349
| `server` _string_ | [server](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.server) | -|
350350
| `port` _integer_ | [port](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.port) | -|
351-
| `defaultFrom` _string_ | [default_from](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.default_from) | {openid profile}|
351+
| `defaultFrom` _string_ | [default_from](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.default_from) | -|
352352
| `defaultTo` _string_ | [default_to](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.default_to) | -|
353353
| `user` _string_ | [user](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.user) | -|
354354
| `password` _string_ | [password](https://zuul-ci.org/docs/zuul/latest/drivers/smtp.html#attr-%3Csmtp%20connection%3E.password) | -|

0 commit comments

Comments
 (0)