Class TLSConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.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
-
-
Constructor Summary
Constructors Constructor Description TLSConfig()No args constructor for use in serializationTLSConfig(SecretOrConfigMap ca, String caFile, SecretOrConfigMap cert, String certFile, Boolean insecureSkipVerify, String keyFile, io.fabric8.kubernetes.api.model.SecretKeySelector keySecret, String maxVersion, String minVersion, String serverName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TLSConfigBuilderedit()Map<String,Object>getAdditionalProperties()SecretOrConfigMapgetCa()TLSConfig extends the safe TLS configuration with file parameters.StringgetCaFile()Path to the CA cert in the Prometheus container to use for the targets.SecretOrConfigMapgetCert()TLSConfig extends the safe TLS configuration with file parameters.StringgetCertFile()Path to the client cert file in the Prometheus container for the targets.BooleangetInsecureSkipVerify()Disable target certificate validation.StringgetKeyFile()Path to the client key file in the Prometheus container for the targets.io.fabric8.kubernetes.api.model.SecretKeySelectorgetKeySecret()TLSConfig extends the safe TLS configuration with file parameters.StringgetMaxVersion()Maximum acceptable TLS version.StringgetMinVersion()Minimum acceptable TLS version.StringgetServerName()Used to verify the hostname for the targets.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCa(SecretOrConfigMap ca)TLSConfig extends the safe TLS configuration with file parameters.voidsetCaFile(String caFile)Path to the CA cert in the Prometheus container to use for the targets.voidsetCert(SecretOrConfigMap cert)TLSConfig extends the safe TLS configuration with file parameters.voidsetCertFile(String certFile)Path to the client cert file in the Prometheus container for the targets.voidsetInsecureSkipVerify(Boolean insecureSkipVerify)Disable target certificate validation.voidsetKeyFile(String keyFile)Path to the client key file in the Prometheus container for the targets.voidsetKeySecret(io.fabric8.kubernetes.api.model.SecretKeySelector keySecret)TLSConfig extends the safe TLS configuration with file parameters.voidsetMaxVersion(String maxVersion)Maximum acceptable TLS version.voidsetMinVersion(String minVersion)Minimum acceptable TLS version.voidsetServerName(String serverName)Used to verify the hostname for the targets.TLSConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
TLSConfig
public TLSConfig()
No args constructor for use in serialization
-
TLSConfig
public TLSConfig(SecretOrConfigMap ca, String caFile, SecretOrConfigMap cert, String certFile, Boolean insecureSkipVerify, String keyFile, io.fabric8.kubernetes.api.model.SecretKeySelector keySecret, String maxVersion, String minVersion, String serverName)
-
-
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.
-
edit
public TLSConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TLSConfigBuilder>
-
toBuilder
public TLSConfigBuilder toBuilder()
-
-