class GatewayTlsProvisioner implements ConfigurationProvisioner<T>, TlsProvisioner<T> {

  @Override
  public void provision(T k8sEnv, RuntimeIdentity identity) throws InfrastructureException {
    if (!isTlsEnabled) {
      return;
    }

    for (ConfigMap configMap : k8sEnv.getConfigMaps().values()) {
      if (configmapLabels.isGatewayConfig(configMap)) {
        useSecureProtocolForGatewayConfigMap(configMap);
      }
    }
  }

  @Inject public  GatewayTlsProvisioner(
      @Named("che.infra.kubernetes.tls_enabled") boolean isTlsEnabled,
      GatewayConfigmapLabels configmapLabels);

}