All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.k8s.api.networking.v1.IngressTLS Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
package io.k8s.api.networking.v1;

import java.lang.String;
import java.util.List;

/**
 * IngressTLS describes the transport layer security associated with an ingress.
 */
public class IngressTLS {
  public List hosts;

  public String secretName;

  /**
   * hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
   */
  public IngressTLS hosts(List hosts) {
    this.hosts = hosts;
    return this;
  }

  /**
   * secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the "Host" header is used for routing.
   */
  public IngressTLS secretName(String secretName) {
    this.secretName = secretName;
    return this;
  }

  public static IngressTLS ingressTLS() {
    return new IngressTLS();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy