Class DNSTransportConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.DNSTransportConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DNSTransportConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DNSTransportConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<DNSTransportConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DNSTransportConfig groups related configuration parameters used for configuring forwarding to upstream resolvers that support DNS-over-TLS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DNSTransportConfig()No args constructor for use in serializationDNSTransportConfig(DNSOverTLSConfig tls, String transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DNSTransportConfigBuilderedit()Map<String,Object>getAdditionalProperties()DNSOverTLSConfiggetTls()DNSTransportConfig groups related configuration parameters used for configuring forwarding to upstream resolvers that support DNS-over-TLS.StringgetTransport()transport allows cluster administrators to opt-in to using a DNS-over-TLS connection between cluster DNS and an upstream resolver(s).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetTls(DNSOverTLSConfig tls)DNSTransportConfig groups related configuration parameters used for configuring forwarding to upstream resolvers that support DNS-over-TLS.voidsetTransport(String transport)transport allows cluster administrators to opt-in to using a DNS-over-TLS connection between cluster DNS and an upstream resolver(s).DNSTransportConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
DNSTransportConfig
public DNSTransportConfig()
No args constructor for use in serialization
-
DNSTransportConfig
public DNSTransportConfig(DNSOverTLSConfig tls, String transport)
-
-
Method Detail
-
getTls
public DNSOverTLSConfig getTls()
DNSTransportConfig groups related configuration parameters used for configuring forwarding to upstream resolvers that support DNS-over-TLS.
-
setTls
public void setTls(DNSOverTLSConfig tls)
DNSTransportConfig groups related configuration parameters used for configuring forwarding to upstream resolvers that support DNS-over-TLS.
-
getTransport
public String getTransport()
transport allows cluster administrators to opt-in to using a DNS-over-TLS connection between cluster DNS and an upstream resolver(s). Configuring TLS as the transport at this level without configuring a CABundle will result in the system certificates being used to verify the serving certificate of the upstream resolver(s).Possible values: "" (empty) - This means no explicit choice has been made and the platform chooses the default which is subject to change over time. The current default is "Cleartext". "Cleartext" - Cluster admin specified cleartext option. This results in the same functionality as an empty value but may be useful when a cluster admin wants to be more explicit about the transport, or wants to switch from "TLS" to "Cleartext" explicitly. "TLS" - This indicates that DNS queries should be sent over a TLS connection. If Transport is set to TLS, you MUST also set ServerName. If a port is not included with the upstream IP, port 853 will be tried by default per RFC 7858 section 3.1; https://datatracker.ietf.org/doc/html/rfc7858#section-3.1.
-
setTransport
public void setTransport(String transport)
transport allows cluster administrators to opt-in to using a DNS-over-TLS connection between cluster DNS and an upstream resolver(s). Configuring TLS as the transport at this level without configuring a CABundle will result in the system certificates being used to verify the serving certificate of the upstream resolver(s).Possible values: "" (empty) - This means no explicit choice has been made and the platform chooses the default which is subject to change over time. The current default is "Cleartext". "Cleartext" - Cluster admin specified cleartext option. This results in the same functionality as an empty value but may be useful when a cluster admin wants to be more explicit about the transport, or wants to switch from "TLS" to "Cleartext" explicitly. "TLS" - This indicates that DNS queries should be sent over a TLS connection. If Transport is set to TLS, you MUST also set ServerName. If a port is not included with the upstream IP, port 853 will be tried by default per RFC 7858 section 3.1; https://datatracker.ietf.org/doc/html/rfc7858#section-3.1.
-
edit
public DNSTransportConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DNSTransportConfigBuilder>
-
toBuilder
public DNSTransportConfigBuilder toBuilder()
-
-