add/ remove '// +optional' tags & cleanup other annotations

Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
This commit is contained in:
Inteon 2021-04-30 15:08:08 +02:00
parent b44e347ce1
commit 421ea2c867
5 changed files with 7 additions and 5 deletions

View File

@ -324,6 +324,7 @@ type ACMEChallengeSolverHTTP01Istio struct {
// namespace qualifier is the same as specifying the VirtualService's
// namespace.
// ref: https://github.com/istio/api/blob/24c65c0415b63a6ebca18059c60fc8fccf041e9a/networking/v1beta1/virtual_service.pb.go#L233-L246
// +optional
Gateways []string `json:"gateways,omitempty"`
}

View File

@ -324,6 +324,7 @@ type ACMEChallengeSolverHTTP01Istio struct {
// namespace qualifier is the same as specifying the VirtualService's
// namespace.
// ref: https://github.com/istio/api/blob/24c65c0415b63a6ebca18059c60fc8fccf041e9a/networking/v1beta1/virtual_service.pb.go#L233-L246
// +optional
Gateways []string `json:"gateways,omitempty"`
}

View File

@ -324,6 +324,7 @@ type ACMEChallengeSolverHTTP01Istio struct {
// namespace qualifier is the same as specifying the VirtualService's
// namespace.
// ref: https://github.com/istio/api/blob/24c65c0415b63a6ebca18059c60fc8fccf041e9a/networking/v1beta1/virtual_service.pb.go#L233-L246
// +optional
Gateways []string `json:"gateways,omitempty"`
}

View File

@ -324,6 +324,7 @@ type ACMEChallengeSolverHTTP01Istio struct {
// namespace qualifier is the same as specifying the VirtualService's
// namespace.
// ref: https://github.com/istio/api/blob/24c65c0415b63a6ebca18059c60fc8fccf041e9a/networking/v1beta1/virtual_service.pb.go#L233-L246
// +optional
Gateways []string `json:"gateways,omitempty"`
}

View File

@ -192,8 +192,7 @@ type ACMEChallengeSolverHTTP01 struct {
// to the specified Istio gateway in order to route requests for
// '/.well-known/acme-challenge/XYZ' to 'challenge solver' pods that are
// provisioned by cert-manager for each Challenge to be completed.
// +optional
Istio *ACMEChallengeSolverHTTP01Istio `json:"istio,omitempty"`
Istio *ACMEChallengeSolverHTTP01Istio
}
type ACMEChallengeSolverHTTP01Ingress struct {
@ -282,8 +281,7 @@ type ACMEChallengeSolverHTTP01IngressObjectMeta struct {
type ACMEChallengeSolverHTTP01Istio struct {
// Optional service type for Kubernetes solver service
// +optional
ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
ServiceType corev1.ServiceType
// The names of the gateways that are used to generate the virtualservice
// that configures the HTTP01 challenge routes.
@ -291,7 +289,7 @@ type ACMEChallengeSolverHTTP01Istio struct {
// namespace qualifier is the same as specifying the VirtualService's
// namespace.
// ref: https://github.com/istio/api/blob/24c65c0415b63a6ebca18059c60fc8fccf041e9a/networking/v1beta1/virtual_service.pb.go#L233-L246
Gateways []string `json:"gateways,omitempty"`
Gateways []string
}
// Used to configure a DNS01 challenge provider to be used when solving DNS01