Class GRPCServerTLSConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.GRPCServerTLSConfig
-
- All Implemented Interfaces:
Editable<GRPCServerTLSConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GRPCServerTLSConfig extends Object implements Editable<GRPCServerTLSConfigBuilder>, KubernetesResource
GRPCServerTLSConfig defines TLS configuration for a gRPC server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GRPCServerTLSConfig()No args constructor for use in serializationGRPCServerTLSConfig(SecretOrConfigMap ca, String caFile, SecretOrConfigMap cert, String certFile, List<String> cipherSuites, List<String> curves, Boolean insecureSkipVerify, String keyFile, SecretKeySelector keySecret, String maxVersion, String minVersion, String serverName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GRPCServerTLSConfigBuilderedit()Map<String,Object>getAdditionalProperties()SecretOrConfigMapgetCa()GRPCServerTLSConfig defines TLS configuration for a gRPC server.StringgetCaFile()caFile defines the path to the CA cert in the Prometheus container to use for the targets.SecretOrConfigMapgetCert()GRPCServerTLSConfig defines TLS configuration for a gRPC server.StringgetCertFile()certFile defines the path to the client cert file in the Prometheus container for the targets.List<String>getCipherSuites()cipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2.List<String>getCurves()curves defines the list of preferred elliptic curves for TLS handshakes.BooleangetInsecureSkipVerify()insecureSkipVerify defines how to disable target certificate validation.StringgetKeyFile()keyFile defines the path to the client key file in the Prometheus container for the targets.SecretKeySelectorgetKeySecret()GRPCServerTLSConfig defines TLS configuration for a gRPC server.StringgetMaxVersion()maxVersion defines the maximum acceptable TLS version.StringgetMinVersion()minVersion defines the minimum acceptable TLS version.StringgetServerName()serverName is used to verify the hostname for the targets.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCa(SecretOrConfigMap ca)GRPCServerTLSConfig defines TLS configuration for a gRPC server.voidsetCaFile(String caFile)caFile defines the path to the CA cert in the Prometheus container to use for the targets.voidsetCert(SecretOrConfigMap cert)GRPCServerTLSConfig defines TLS configuration for a gRPC server.voidsetCertFile(String certFile)certFile defines the path to the client cert file in the Prometheus container for the targets.voidsetCipherSuites(List<String> cipherSuites)cipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2.voidsetCurves(List<String> curves)curves defines the list of preferred elliptic curves for TLS handshakes.voidsetInsecureSkipVerify(Boolean insecureSkipVerify)insecureSkipVerify defines how to disable target certificate validation.voidsetKeyFile(String keyFile)keyFile defines the path to the client key file in the Prometheus container for the targets.voidsetKeySecret(SecretKeySelector keySecret)GRPCServerTLSConfig defines TLS configuration for a gRPC server.voidsetMaxVersion(String maxVersion)maxVersion defines the maximum acceptable TLS version.voidsetMinVersion(String minVersion)minVersion defines the minimum acceptable TLS version.voidsetServerName(String serverName)serverName is used to verify the hostname for the targets.GRPCServerTLSConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
GRPCServerTLSConfig
public GRPCServerTLSConfig()
No args constructor for use in serialization
-
GRPCServerTLSConfig
public GRPCServerTLSConfig(SecretOrConfigMap ca, String caFile, SecretOrConfigMap cert, String certFile, List<String> cipherSuites, List<String> curves, Boolean insecureSkipVerify, String keyFile, SecretKeySelector keySecret, String maxVersion, String minVersion, String serverName)
-
-
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.
-
edit
public GRPCServerTLSConfigBuilder edit()
- Specified by:
editin interfaceEditable<GRPCServerTLSConfigBuilder>
-
toBuilder
public GRPCServerTLSConfigBuilder toBuilder()
-
-