Class TLSConfig

    • Method Detail

      • setCa

        public void setCa​(SecretOrConfigMap ca)
        TLSConfig defines full TLS configuration.
      • getCaFile

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

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

        public SecretOrConfigMap getCert()
        TLSConfig defines full TLS configuration.
      • setCert

        public void setCert​(SecretOrConfigMap cert)
        TLSConfig defines full TLS configuration.
      • getCertFile

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

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

        public Boolean getInsecureSkipVerify()
        insecureSkipVerify defines how to disable target certificate validation.
      • setInsecureSkipVerify

        public void setInsecureSkipVerify​(Boolean insecureSkipVerify)
        insecureSkipVerify defines how to disable target certificate validation.
      • getKeyFile

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

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

        public SecretKeySelector getKeySecret()
        TLSConfig defines full TLS configuration.
      • setKeySecret

        public void setKeySecret​(SecretKeySelector keySecret)
        TLSConfig defines full TLS configuration.
      • getMaxVersion

        public String getMaxVersion()
        maxVersion defines the maximum acceptable TLS version.


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

      • setMaxVersion

        public void setMaxVersion​(String maxVersion)
        maxVersion defines the maximum acceptable TLS version.


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

      • getMinVersion

        public String getMinVersion()
        minVersion defines the minimum acceptable TLS version.


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

      • setMinVersion

        public void setMinVersion​(String minVersion)
        minVersion defines the minimum acceptable TLS version.


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

      • getServerName

        public String getServerName()
        serverName is used to verify the hostname for the targets.
      • setServerName

        public void setServerName​(String serverName)
        serverName is 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)