Class TLSConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class TLSConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<TLSConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    TLSConfig extends the safe TLS configuration with file parameters.
    See Also:
    Serialized Form
    • Method Detail

      • getCa

        public SecretOrConfigMap getCa()
        TLSConfig extends the safe TLS configuration with file parameters.
      • setCa

        public void setCa​(SecretOrConfigMap ca)
        TLSConfig extends the safe TLS configuration with file parameters.
      • getCaFile

        public String getCaFile()
        Path to the CA cert in the Prometheus container to use for the targets.
      • setCaFile

        public void setCaFile​(String caFile)
        Path to the CA cert in the Prometheus container to use for the targets.
      • getCert

        public SecretOrConfigMap getCert()
        TLSConfig extends the safe TLS configuration with file parameters.
      • setCert

        public void setCert​(SecretOrConfigMap cert)
        TLSConfig extends the safe TLS configuration with file parameters.
      • getCertFile

        public String getCertFile()
        Path to the client cert file in the Prometheus container for the targets.
      • setCertFile

        public void setCertFile​(String certFile)
        Path to the client cert file in the Prometheus container for the targets.
      • getInsecureSkipVerify

        public Boolean getInsecureSkipVerify()
        Disable target certificate validation.
      • setInsecureSkipVerify

        public void setInsecureSkipVerify​(Boolean insecureSkipVerify)
        Disable target certificate validation.
      • getKeyFile

        public String getKeyFile()
        Path to the client key file in the Prometheus container for the targets.
      • setKeyFile

        public void setKeyFile​(String keyFile)
        Path to the client key file in the Prometheus container for the targets.
      • getKeySecret

        public io.fabric8.kubernetes.api.model.SecretKeySelector getKeySecret()
        TLSConfig extends the safe TLS configuration with file parameters.
      • setKeySecret

        public void setKeySecret​(io.fabric8.kubernetes.api.model.SecretKeySelector keySecret)
        TLSConfig extends the safe TLS configuration with file parameters.
      • getMaxVersion

        public String getMaxVersion()
        Maximum acceptable TLS version.


        It requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.

      • setMaxVersion

        public void setMaxVersion​(String maxVersion)
        Maximum acceptable TLS version.


        It requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.

      • getMinVersion

        public String getMinVersion()
        Minimum acceptable TLS version.


        It requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.

      • setMinVersion

        public void setMinVersion​(String minVersion)
        Minimum acceptable TLS version.


        It requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.

      • getServerName

        public String getServerName()
        Used to verify the hostname for the targets.
      • setServerName

        public void setServerName​(String serverName)
        Used to verify the hostname for the targets.
      • getAdditionalProperties

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

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

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