Class GRPCServerTLSConfig

    • Method Detail

      • getCa

        public SecretOrConfigMap getCa()
        GRPCServerTLSConfig defines TLS configuration for a gRPC server.
      • setCa

        public void setCa​(SecretOrConfigMap ca)
        GRPCServerTLSConfig defines TLS configuration for a gRPC server.
      • 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()
        GRPCServerTLSConfig defines TLS configuration for a gRPC server.
      • setCert

        public void setCert​(SecretOrConfigMap cert)
        GRPCServerTLSConfig defines TLS configuration for a gRPC server.
      • 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.
      • getCipherSuites

        public List<String> getCipherSuites()
        cipherSuites defines the 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


        It requires Thanos >= v0.42.0. Note that the operator doesn't verify if the Thanos version supports the provided values.

      • setCipherSuites

        public void setCipherSuites​(List<String> cipherSuites)
        cipherSuites defines the 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


        It requires Thanos >= v0.42.0. Note that the operator doesn't verify if the Thanos version supports the provided values.

      • getCurves

        public List<String> getCurves()
        curves defines the list of preferred elliptic curves for TLS handshakes.


        If not defined, the Go default curves are used. Available curves are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#CurveID


        It requires Thanos >= v0.42.0. Note that the operator doesn't verify if the Thanos version supports the provided values.

      • setCurves

        public void setCurves​(List<String> curves)
        curves defines the list of preferred elliptic curves for TLS handshakes.


        If not defined, the Go default curves are used. Available curves are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#CurveID


        It requires Thanos >= v0.42.0. Note that the operator doesn't verify if the Thanos version supports the provided values.

      • 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()
        GRPCServerTLSConfig defines TLS configuration for a gRPC server.
      • setKeySecret

        public void setKeySecret​(SecretKeySelector keySecret)
        GRPCServerTLSConfig defines TLS configuration for a gRPC server.
      • 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)