Class WebTLSConfig

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<WebTLSConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class WebTLSConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<WebTLSConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    WebTLSConfig defines the TLS parameters for HTTPS.
    See Also:
    Serialized Form
    • Method Detail

      • getCert

        public SecretOrConfigMap getCert()
        WebTLSConfig defines the TLS parameters for HTTPS.
      • setCert

        public void setCert​(SecretOrConfigMap cert)
        WebTLSConfig defines the TLS parameters for HTTPS.
      • getCertFile

        public String getCertFile()
        Path to the TLS certificate file in the container for the web server.


        Either `keySecret` or `keyFile` must be defined.


        It is mutually exclusive with `cert`.

      • setCertFile

        public void setCertFile​(String certFile)
        Path to the TLS certificate file in the container for the web server.


        Either `keySecret` or `keyFile` must be defined.


        It is mutually exclusive with `cert`.

      • getCipherSuites

        public List<String> getCipherSuites()
        List of supported cipher suites for TLS versions up to TLS 1.2.


        If not defined, the Go default cipher suites are used. Available cipher suites are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#pkg-constants

      • setCipherSuites

        public void setCipherSuites​(List<String> cipherSuites)
        List of supported cipher suites for TLS versions up to TLS 1.2.


        If not defined, the Go default cipher suites are used. Available cipher suites are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#pkg-constants

      • getClientAuthType

        public String getClientAuthType()
        The server policy for client TLS authentication.


        For more detail on clientAuth options: https://golang.org/pkg/crypto/tls/#ClientAuthType

      • setClientAuthType

        public void setClientAuthType​(String clientAuthType)
        The server policy for client TLS authentication.


        For more detail on clientAuth options: https://golang.org/pkg/crypto/tls/#ClientAuthType

      • getClientCAFile

        public String getClientCAFile()
        Path to the CA certificate file for client certificate authentication to the server.


        It is mutually exclusive with `client_ca`.

      • setClientCAFile

        public void setClientCAFile​(String clientCAFile)
        Path to the CA certificate file for client certificate authentication to the server.


        It is mutually exclusive with `client_ca`.

      • getClientCa

        public SecretOrConfigMap getClientCa()
        WebTLSConfig defines the TLS parameters for HTTPS.
      • setClientCa

        public void setClientCa​(SecretOrConfigMap clientCa)
        WebTLSConfig defines the TLS parameters for HTTPS.
      • getCurvePreferences

        public List<String> getCurvePreferences()
        Elliptic curves that will be used in an ECDHE handshake, in preference order.


        Available curves are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#CurveID

      • setCurvePreferences

        public void setCurvePreferences​(List<String> curvePreferences)
        Elliptic curves that will be used in an ECDHE handshake, in preference order.


        Available curves are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#CurveID

      • getKeyFile

        public String getKeyFile()
        Path to the TLS private key file in the container for the web server.


        If defined, either `cert` or `certFile` must be defined.


        It is mutually exclusive with `keySecret`.

      • setKeyFile

        public void setKeyFile​(String keyFile)
        Path to the TLS private key file in the container for the web server.


        If defined, either `cert` or `certFile` must be defined.


        It is mutually exclusive with `keySecret`.

      • getKeySecret

        public io.fabric8.kubernetes.api.model.SecretKeySelector getKeySecret()
        WebTLSConfig defines the TLS parameters for HTTPS.
      • setKeySecret

        public void setKeySecret​(io.fabric8.kubernetes.api.model.SecretKeySelector keySecret)
        WebTLSConfig defines the TLS parameters for HTTPS.
      • getMaxVersion

        public String getMaxVersion()
        Maximum TLS version that is acceptable.
      • setMaxVersion

        public void setMaxVersion​(String maxVersion)
        Maximum TLS version that is acceptable.
      • getMinVersion

        public String getMinVersion()
        Minimum TLS version that is acceptable.
      • setMinVersion

        public void setMinVersion​(String minVersion)
        Minimum TLS version that is acceptable.
      • getPreferServerCipherSuites

        public Boolean getPreferServerCipherSuites()
        Controls whether the server selects the client's most preferred cipher suite, or the server's most preferred cipher suite.


        If true then the server's preference, as expressed in the order of elements in cipherSuites, is used.

      • setPreferServerCipherSuites

        public void setPreferServerCipherSuites​(Boolean preferServerCipherSuites)
        Controls whether the server selects the client's most preferred cipher suite, or the server's most preferred cipher suite.


        If true then the server's preference, as expressed in the order of elements in cipherSuites, is used.

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)